| 1 | =begin comment | ||
| 2 | |||
| 3 | Copyright (c) 2019 Aspose Pty Ltd | ||
| 4 | |||
| 5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 6 | of this software and associated documentation files (the "Software"), to deal | ||
| 7 | in the Software without restriction, including without limitation the rights | ||
| 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 9 | copies of the Software, and to permit persons to whom the Software is | ||
| 10 | furnished to do so, subject to the following conditions: | ||
| 11 | |||
| 12 | The above copyright notice and this permission notice shall be included in all | ||
| 13 | copies or substantial portions of the Software. | ||
| 14 | |||
| 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| 21 | SOFTWARE. | ||
| 22 | |||
| 23 | =end comment | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | package AsposeSlidesCloud::Object::SummaryZoomSection; | ||
| 28 | |||
| 29 | require 5.6.0; | ||
| 30 | use strict; | ||
| 31 | use warnings; | ||
| 32 | use utf8; | ||
| 33 | use JSON qw(decode_json); | ||
| 34 | use Data::Dumper; | ||
| 35 | use Module::Runtime qw(use_module); | ||
| 36 | use Log::Any qw($log); | ||
| 37 | use Date::Parse; | ||
| 38 | use DateTime; | ||
| 39 | |||
| 40 | use AsposeSlidesCloud::Object::EffectFormat; | ||
| 41 | use AsposeSlidesCloud::Object::FillFormat; | ||
| 42 | use AsposeSlidesCloud::Object::Hyperlink; | ||
| 43 | use AsposeSlidesCloud::Object::LineFormat; | ||
| 44 | use AsposeSlidesCloud::Object::ResourceUri; | ||
| 45 | use AsposeSlidesCloud::Object::SectionZoomFrame; | ||
| 46 | use AsposeSlidesCloud::Object::ThreeDFormat; | ||
| 47 | |||
| 48 | use base ("Class::Accessor", "Class::Data::Inheritable"); | ||
| 49 | |||
| 50 | |||
| 51 | # | ||
| 52 | #Represents summary zoom section | ||
| 53 | # | ||
| 54 | # NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. | ||
| 55 | # REF: https://github.com/swagger-api/swagger-codegen | ||
| 56 | # | ||
| 57 | |||
| 58 | # | ||
| 59 | # NOTE: This class is auto generated by the swagger code generator program. | ||
| 60 | # Do not edit the class manually. | ||
| 61 | # Ref: https://github.com/swagger-api/swagger-codegen | ||
| 62 | # | ||
| 63 | __PACKAGE__->mk_classdata('attribute_map' => {}); | ||
| 64 | __PACKAGE__->mk_classdata('swagger_types' => {}); | ||
| 65 | __PACKAGE__->mk_classdata('method_documentation' => {}); | ||
| 66 | __PACKAGE__->mk_classdata('class_documentation' => {}); | ||
| 67 | |||
| 68 | # new object | ||
| 69 | sub new { | ||
| 70 | my ($class, %args) = @_; | ||
| 71 | |||
| 72 | my $self = bless {}, $class; | ||
| 73 | |||
| 74 | foreach my $attribute (keys %{$class->attribute_map}) { | ||
| 75 | my $args_key = $class->attribute_map->{$attribute}; | ||
| 76 | $self->$attribute( $args{ $args_key } ); | ||
| 77 | } | ||
| 78 | $self->{ type } = 'SummaryZoomSection'; | ||
| 79 | return $self; | ||
| 80 | } | ||
| 81 | |||
| 82 | # used by JSON for serialization | ||
| 83 | sub TO_JSON { | ||
| 84 | my $self = shift; | ||
| 85 | my $_data = {}; | ||
| 86 | foreach my $_key (keys %{$self->attribute_map}) { | ||
| 87 | if (defined $self->{$_key}) { | ||
| 88 | $_data->{$self->attribute_map->{$_key}} = $self->{$_key}; | ||
| 89 | } | ||
| 90 | } | ||
| 91 | return $_data; | ||
| 92 | } | ||
| 93 | |||
| 94 | |||
| 95 | __PACKAGE__->class_documentation({description => 'Represents summary zoom section', | ||
| 96 | class => 'SummaryZoomSection', | ||
| 97 | required => [], # TODO | ||
| 98 | } ); | ||
| 99 | |||
| 100 | __PACKAGE__->method_documentation({ | ||
| 101 | 'self_uri' => { | ||
| 102 | datatype => 'ResourceUri', | ||
| 103 | base_name => 'SelfUri', | ||
| 104 | description => 'Gets or sets the link to this resource.', | ||
| 105 | format => '', | ||
| 106 | read_only => '', | ||
| 107 | }, | ||
| 108 | 'alternate_links' => { | ||
| 109 | datatype => 'ARRAY[ResourceUri]', | ||
| 110 | base_name => 'AlternateLinks', | ||
| 111 | description => 'List of alternate links.', | ||
| 112 | format => '', | ||
| 113 | read_only => '', | ||
| 114 | }, | ||
| 115 | 'name' => { | ||
| 116 | datatype => 'string', | ||
| 117 | base_name => 'Name', | ||
| 118 | description => 'Gets or sets the name.', | ||
| 119 | format => '', | ||
| 120 | read_only => '', | ||
| 121 | }, | ||
| 122 | 'width' => { | ||
| 123 | datatype => 'double', | ||
| 124 | base_name => 'Width', | ||
| 125 | description => 'Gets or sets the width.', | ||
| 126 | format => '', | ||
| 127 | read_only => '', | ||
| 128 | }, | ||
| 129 | 'height' => { | ||
| 130 | datatype => 'double', | ||
| 131 | base_name => 'Height', | ||
| 132 | description => 'Gets or sets the height.', | ||
| 133 | format => '', | ||
| 134 | read_only => '', | ||
| 135 | }, | ||
| 136 | 'alternative_text' => { | ||
| 137 | datatype => 'string', | ||
| 138 | base_name => 'AlternativeText', | ||
| 139 | description => 'Gets or sets the alternative text.', | ||
| 140 | format => '', | ||
| 141 | read_only => '', | ||
| 142 | }, | ||
| 143 | 'alternative_text_title' => { | ||
| 144 | datatype => 'string', | ||
| 145 | base_name => 'AlternativeTextTitle', | ||
| 146 | description => 'The title of alternative text associated with the shape.', | ||
| 147 | format => '', | ||
| 148 | read_only => '', | ||
| 149 | }, | ||
| 150 | 'hidden' => { | ||
| 151 | datatype => 'boolean', | ||
| 152 | base_name => 'Hidden', | ||
| 153 | description => 'Gets or sets a value indicating whether this ShapeBase is hidden.', | ||
| 154 | format => '', | ||
| 155 | read_only => '', | ||
| 156 | }, | ||
| 157 | 'is_decorative' => { | ||
| 158 | datatype => 'boolean', | ||
| 159 | base_name => 'IsDecorative', | ||
| 160 | description => 'Gets or sets 'Mark as decorative' option.', | ||
| 161 | format => '', | ||
| 162 | read_only => '', | ||
| 163 | }, | ||
| 164 | 'x' => { | ||
| 165 | datatype => 'double', | ||
| 166 | base_name => 'X', | ||
| 167 | description => 'Gets or sets the X', | ||
| 168 | format => '', | ||
| 169 | read_only => '', | ||
| 170 | }, | ||
| 171 | 'y' => { | ||
| 172 | datatype => 'double', | ||
| 173 | base_name => 'Y', | ||
| 174 | description => 'Gets or sets the Y.', | ||
| 175 | format => '', | ||
| 176 | read_only => '', | ||
| 177 | }, | ||
| 178 | 'z_order_position' => { | ||
| 179 | datatype => 'int', | ||
| 180 | base_name => 'ZOrderPosition', | ||
| 181 | description => 'Gets z-order position of shape', | ||
| 182 | format => '', | ||
| 183 | read_only => '', | ||
| 184 | }, | ||
| 185 | 'fill_format' => { | ||
| 186 | datatype => 'FillFormat', | ||
| 187 | base_name => 'FillFormat', | ||
| 188 | description => 'Gets or sets the fill format.', | ||
| 189 | format => '', | ||
| 190 | read_only => '', | ||
| 191 | }, | ||
| 192 | 'effect_format' => { | ||
| 193 | datatype => 'EffectFormat', | ||
| 194 | base_name => 'EffectFormat', | ||
| 195 | description => 'Gets or sets the effect format.', | ||
| 196 | format => '', | ||
| 197 | read_only => '', | ||
| 198 | }, | ||
| 199 | 'three_d_format' => { | ||
| 200 | datatype => 'ThreeDFormat', | ||
| 201 | base_name => 'ThreeDFormat', | ||
| 202 | description => 'Gets or sets the 3D format', | ||
| 203 | format => '', | ||
| 204 | read_only => '', | ||
| 205 | }, | ||
| 206 | 'line_format' => { | ||
| 207 | datatype => 'LineFormat', | ||
| 208 | base_name => 'LineFormat', | ||
| 209 | description => 'Gets or sets the line format.', | ||
| 210 | format => '', | ||
| 211 | read_only => '', | ||
| 212 | }, | ||
| 213 | 'hyperlink_click' => { | ||
| 214 | datatype => 'Hyperlink', | ||
| 215 | base_name => 'HyperlinkClick', | ||
| 216 | description => 'Hyperlink defined for mouse click.', | ||
| 217 | format => '', | ||
| 218 | read_only => '', | ||
| 219 | }, | ||
| 220 | 'hyperlink_mouse_over' => { | ||
| 221 | datatype => 'Hyperlink', | ||
| 222 | base_name => 'HyperlinkMouseOver', | ||
| 223 | description => 'Hyperlink defined for mouse over.', | ||
| 224 | format => '', | ||
| 225 | read_only => '', | ||
| 226 | }, | ||
| 227 | 'type' => { | ||
| 228 | datatype => 'string', | ||
| 229 | base_name => 'Type', | ||
| 230 | description => 'Shape type.', | ||
| 231 | format => '', | ||
| 232 | read_only => '', | ||
| 233 | }, | ||
| 234 | 'image_type' => { | ||
| 235 | datatype => 'string', | ||
| 236 | base_name => 'ImageType', | ||
| 237 | description => 'Image type of a zoom object. ', | ||
| 238 | format => '', | ||
| 239 | read_only => '', | ||
| 240 | }, | ||
| 241 | 'return_to_parent' => { | ||
| 242 | datatype => 'boolean', | ||
| 243 | base_name => 'ReturnToParent', | ||
| 244 | description => 'Navigation behavior in slideshow. ', | ||
| 245 | format => '', | ||
| 246 | read_only => '', | ||
| 247 | }, | ||
| 248 | 'show_background' => { | ||
| 249 | datatype => 'boolean', | ||
| 250 | base_name => 'ShowBackground', | ||
| 251 | description => 'Specifies whether the Zoom will use the background of the destination slide.', | ||
| 252 | format => '', | ||
| 253 | read_only => '', | ||
| 254 | }, | ||
| 255 | 'image' => { | ||
| 256 | datatype => 'ResourceUri', | ||
| 257 | base_name => 'Image', | ||
| 258 | description => 'Internal image link for zoom object', | ||
| 259 | format => '', | ||
| 260 | read_only => '', | ||
| 261 | }, | ||
| 262 | 'transition_duration' => { | ||
| 263 | datatype => 'double', | ||
| 264 | base_name => 'TransitionDuration', | ||
| 265 | description => 'Duration of the transition between Zoom and slide.', | ||
| 266 | format => '', | ||
| 267 | read_only => '', | ||
| 268 | }, | ||
| 269 | 'target_section_index' => { | ||
| 270 | datatype => 'int', | ||
| 271 | base_name => 'TargetSectionIndex', | ||
| 272 | description => 'Index of the target section', | ||
| 273 | format => '', | ||
| 274 | read_only => '', | ||
| 275 | }, | ||
| 276 | 'title' => { | ||
| 277 | datatype => 'string', | ||
| 278 | base_name => 'Title', | ||
| 279 | description => 'Section title', | ||
| 280 | format => '', | ||
| 281 | read_only => '', | ||
| 282 | }, | ||
| 283 | 'description' => { | ||
| 284 | datatype => 'string', | ||
| 285 | base_name => 'Description', | ||
| 286 | description => 'Description of the Summary Zoom Section object. ', | ||
| 287 | format => '', | ||
| 288 | read_only => '', | ||
| 289 | }, | ||
| 290 | }); | ||
| 291 | |||
| 292 | __PACKAGE__->swagger_types( { | ||
| 293 | 'self_uri' => 'ResourceUri', | ||
| 294 | 'alternate_links' => 'ARRAY[ResourceUri]', | ||
| 295 | 'name' => 'string', | ||
| 296 | 'width' => 'double', | ||
| 297 | 'height' => 'double', | ||
| 298 | 'alternative_text' => 'string', | ||
| 299 | 'alternative_text_title' => 'string', | ||
| 300 | 'hidden' => 'boolean', | ||
| 301 | 'is_decorative' => 'boolean', | ||
| 302 | 'x' => 'double', | ||
| 303 | 'y' => 'double', | ||
| 304 | 'z_order_position' => 'int', | ||
| 305 | 'fill_format' => 'FillFormat', | ||
| 306 | 'effect_format' => 'EffectFormat', | ||
| 307 | 'three_d_format' => 'ThreeDFormat', | ||
| 308 | 'line_format' => 'LineFormat', | ||
| 309 | 'hyperlink_click' => 'Hyperlink', | ||
| 310 | 'hyperlink_mouse_over' => 'Hyperlink', | ||
| 311 | 'type' => 'string', | ||
| 312 | 'image_type' => 'string', | ||
| 313 | 'return_to_parent' => 'boolean', | ||
| 314 | 'show_background' => 'boolean', | ||
| 315 | 'image' => 'ResourceUri', | ||
| 316 | 'transition_duration' => 'double', | ||
| 317 | 'target_section_index' => 'int', | ||
| 318 | 'title' => 'string', | ||
| 319 | 'description' => 'string' | ||
| 320 | } ); | ||
| 321 | |||
| 322 | __PACKAGE__->attribute_map( { | ||
| 323 | 'self_uri' => 'SelfUri', | ||
| 324 | 'alternate_links' => 'AlternateLinks', | ||
| 325 | 'name' => 'Name', | ||
| 326 | 'width' => 'Width', | ||
| 327 | 'height' => 'Height', | ||
| 328 | 'alternative_text' => 'AlternativeText', | ||
| 329 | 'alternative_text_title' => 'AlternativeTextTitle', | ||
| 330 | 'hidden' => 'Hidden', | ||
| 331 | 'is_decorative' => 'IsDecorative', | ||
| 332 | 'x' => 'X', | ||
| 333 | 'y' => 'Y', | ||
| 334 | 'z_order_position' => 'ZOrderPosition', | ||
| 335 | 'fill_format' => 'FillFormat', | ||
| 336 | 'effect_format' => 'EffectFormat', | ||
| 337 | 'three_d_format' => 'ThreeDFormat', | ||
| 338 | 'line_format' => 'LineFormat', | ||
| 339 | 'hyperlink_click' => 'HyperlinkClick', | ||
| 340 | 'hyperlink_mouse_over' => 'HyperlinkMouseOver', | ||
| 341 | 'type' => 'Type', | ||
| 342 | 'image_type' => 'ImageType', | ||
| 343 | 'return_to_parent' => 'ReturnToParent', | ||
| 344 | 'show_background' => 'ShowBackground', | ||
| 345 | 'image' => 'Image', | ||
| 346 | 'transition_duration' => 'TransitionDuration', | ||
| 347 | 'target_section_index' => 'TargetSectionIndex', | ||
| 348 | 'title' => 'Title', | ||
| 349 | 'description' => 'Description' | ||
| 350 | } ); | ||
| 351 | |||
| 352 | __PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map}); | ||
| 353 | |||
| 354 | |||
| 355 | 1; |