Object/SlideShowTransition.pm untested

filter: Statementstmt 0.0% 0 / 64 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 13 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 81 CC 2 SCAR 9.4
CC
2
Cov
0%
TO_JSON
6.0
new
2.0
BEGIN
2.0
CRAP 2.6
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::SlideShowTransition;
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  
41 use base ("Class::Accessor", "Class::Data::Inheritable");
42  
43  
44 #
45 #Slide Show Transition.
46 #
47 # NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
48 # REF: https://github.com/swagger-api/swagger-codegen
49 #
50  
51 #
52 # NOTE: This class is auto generated by the swagger code generator program.
53 # Do not edit the class manually.
54 # Ref: https://github.com/swagger-api/swagger-codegen
55 #
56 __PACKAGE__->mk_classdata('attribute_map' => {});
57 __PACKAGE__->mk_classdata('swagger_types' => {});
58 __PACKAGE__->mk_classdata('method_documentation' => {});
59 __PACKAGE__->mk_classdata('class_documentation' => {});
60  
61 # new object
62 sub new {
63 my ($class, %args) = @_;
64  
65 my $self = bless {}, $class;
66
67 foreach my $attribute (keys %{$class->attribute_map}) {
68 my $args_key = $class->attribute_map->{$attribute};
69 $self->$attribute( $args{ $args_key } );
70 }
71 return $self;
72 }
73  
74 # used by JSON for serialization
75 sub TO_JSON {
76 my $self = shift;
77 my $_data = {};
78 foreach my $_key (keys %{$self->attribute_map}) {
79 if (defined $self->{$_key}) {
80 $_data->{$self->attribute_map->{$_key}} = $self->{$_key};
81 }
82 }
83 return $_data;
84 }
85  
86  
87 __PACKAGE__->class_documentation({description => 'Slide Show Transition.',
88 class => 'SlideShowTransition',
89 required => [], # TODO
90 } );
91  
92 __PACKAGE__->method_documentation({
93 'type' => {
94 datatype => 'string',
95 base_name => 'Type',
96 description => 'Transition Type',
97 format => '',
98 read_only => '',
99 },
100 'advance_after' => {
101 datatype => 'boolean',
102 base_name => 'AdvanceAfter',
103 description => 'Advance After',
104 format => '',
105 read_only => '',
106 },
107 'advance_after_time' => {
108 datatype => 'int',
109 base_name => 'AdvanceAfterTime',
110 description => 'Advance After Time',
111 format => '',
112 read_only => '',
113 },
114 'advance_on_click' => {
115 datatype => 'boolean',
116 base_name => 'AdvanceOnClick',
117 description => 'Advance On Click',
118 format => '',
119 read_only => '',
120 },
121 'sound_is_built_in' => {
122 datatype => 'boolean',
123 base_name => 'SoundIsBuiltIn',
124 description => 'Sound Is Built In',
125 format => '',
126 read_only => '',
127 },
128 'sound_loop' => {
129 datatype => 'boolean',
130 base_name => 'SoundLoop',
131 description => 'Sound Loop',
132 format => '',
133 read_only => '',
134 },
135 'sound_mode' => {
136 datatype => 'string',
137 base_name => 'SoundMode',
138 description => 'Sound Mode',
139 format => '',
140 read_only => '',
141 },
142 'sound_name' => {
143 datatype => 'string',
144 base_name => 'SoundName',
145 description => 'Sound Name',
146 format => '',
147 read_only => '',
148 },
149 'speed' => {
150 datatype => 'string',
151 base_name => 'Speed',
152 description => 'Speed',
153 format => '',
154 read_only => '',
155 },
156 'corner_direction' => {
157 datatype => 'string',
158 base_name => 'CornerDirection',
159 description => 'Corner Direction.',
160 format => '',
161 read_only => '',
162 },
163 'eight_direction' => {
164 datatype => 'string',
165 base_name => 'EightDirection',
166 description => 'Eight Direction.',
167 format => '',
168 read_only => '',
169 },
170 'in_out_direction' => {
171 datatype => 'string',
172 base_name => 'InOutDirection',
173 description => 'In/Out Direction.',
174 format => '',
175 read_only => '',
176 },
177 'has_bounce' => {
178 datatype => 'boolean',
179 base_name => 'HasBounce',
180 description => 'Has Bounce.',
181 format => '',
182 read_only => '',
183 },
184 'side_direction' => {
185 datatype => 'string',
186 base_name => 'SideDirection',
187 description => 'Side Direction.',
188 format => '',
189 read_only => '',
190 },
191 'pattern' => {
192 datatype => 'string',
193 base_name => 'Pattern',
194 description => 'Pattern.',
195 format => '',
196 read_only => '',
197 },
198 'left_right_direction' => {
199 datatype => 'string',
200 base_name => 'LeftRightDirection',
201 description => 'Left/Right Direction.',
202 format => '',
203 read_only => '',
204 },
205 'morph_type' => {
206 datatype => 'string',
207 base_name => 'MorphType',
208 description => 'Morph Type.',
209 format => '',
210 read_only => '',
211 },
212 'from_black' => {
213 datatype => 'boolean',
214 base_name => 'FromBlack',
215 description => 'From Black.',
216 format => '',
217 read_only => '',
218 },
219 'orientation_direction' => {
220 datatype => 'string',
221 base_name => 'OrientationDirection',
222 description => 'Orientation Direction.',
223 format => '',
224 read_only => '',
225 },
226 'through_black' => {
227 datatype => 'boolean',
228 base_name => 'ThroughBlack',
229 description => 'Through Black.',
230 format => '',
231 read_only => '',
232 },
233 'corner_and_center_direction' => {
234 datatype => 'string',
235 base_name => 'CornerAndCenterDirection',
236 description => 'Orientation.',
237 format => '',
238 read_only => '',
239 },
240 'shred_pattern' => {
241 datatype => 'string',
242 base_name => 'ShredPattern',
243 description => 'Shred Pattern.',
244 format => '',
245 read_only => '',
246 },
247 'orientation' => {
248 datatype => 'string',
249 base_name => 'Orientation',
250 description => 'Orientation.',
251 format => '',
252 read_only => '',
253 },
254 'spokes' => {
255 datatype => 'int',
256 base_name => 'Spokes',
257 description => 'Spokes.',
258 format => '',
259 read_only => '',
260 },
261 'duration' => {
262 datatype => 'int',
263 base_name => 'Duration',
264 description => 'The duration of the slide transition effect in milliseconds. If not set, the duration is determined automatically based on Speed and Type values.',
265 format => '',
266 read_only => '',
267 },
268 });
269  
270 __PACKAGE__->swagger_types( {
271 'type' => 'string',
272 'advance_after' => 'boolean',
273 'advance_after_time' => 'int',
274 'advance_on_click' => 'boolean',
275 'sound_is_built_in' => 'boolean',
276 'sound_loop' => 'boolean',
277 'sound_mode' => 'string',
278 'sound_name' => 'string',
279 'speed' => 'string',
280 'corner_direction' => 'string',
281 'eight_direction' => 'string',
282 'in_out_direction' => 'string',
283 'has_bounce' => 'boolean',
284 'side_direction' => 'string',
285 'pattern' => 'string',
286 'left_right_direction' => 'string',
287 'morph_type' => 'string',
288 'from_black' => 'boolean',
289 'orientation_direction' => 'string',
290 'through_black' => 'boolean',
291 'corner_and_center_direction' => 'string',
292 'shred_pattern' => 'string',
293 'orientation' => 'string',
294 'spokes' => 'int',
295 'duration' => 'int'
296 } );
297  
298 __PACKAGE__->attribute_map( {
299 'type' => 'Type',
300 'advance_after' => 'AdvanceAfter',
301 'advance_after_time' => 'AdvanceAfterTime',
302 'advance_on_click' => 'AdvanceOnClick',
303 'sound_is_built_in' => 'SoundIsBuiltIn',
304 'sound_loop' => 'SoundLoop',
305 'sound_mode' => 'SoundMode',
306 'sound_name' => 'SoundName',
307 'speed' => 'Speed',
308 'corner_direction' => 'CornerDirection',
309 'eight_direction' => 'EightDirection',
310 'in_out_direction' => 'InOutDirection',
311 'has_bounce' => 'HasBounce',
312 'side_direction' => 'SideDirection',
313 'pattern' => 'Pattern',
314 'left_right_direction' => 'LeftRightDirection',
315 'morph_type' => 'MorphType',
316 'from_black' => 'FromBlack',
317 'orientation_direction' => 'OrientationDirection',
318 'through_black' => 'ThroughBlack',
319 'corner_and_center_direction' => 'CornerAndCenterDirection',
320 'shred_pattern' => 'ShredPattern',
321 'orientation' => 'Orientation',
322 'spokes' => 'Spokes',
323 'duration' => 'Duration'
324 } );
325  
326 __PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
327  
328  
329 1;