Object/ReflectionEffect.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::ReflectionEffect;
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 #Represents reflection effect
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 => 'Represents reflection effect ',
88 class => 'ReflectionEffect',
89 required => [], # TODO
90 } );
91  
92 __PACKAGE__->method_documentation({
93 'direction' => {
94 datatype => 'double',
95 base_name => 'Direction',
96 description => 'direction',
97 format => '',
98 read_only => '',
99 },
100 'fade_direction' => {
101 datatype => 'double',
102 base_name => 'FadeDirection',
103 description => 'fade direction',
104 format => '',
105 read_only => '',
106 },
107 'distance' => {
108 datatype => 'double',
109 base_name => 'Distance',
110 description => 'distance',
111 format => '',
112 read_only => '',
113 },
114 'blur_radius' => {
115 datatype => 'double',
116 base_name => 'BlurRadius',
117 description => 'blur radius',
118 format => '',
119 read_only => '',
120 },
121 'scale_horizontal' => {
122 datatype => 'double',
123 base_name => 'ScaleHorizontal',
124 description => 'scale horizontal',
125 format => '',
126 read_only => '',
127 },
128 'scale_vertical' => {
129 datatype => 'double',
130 base_name => 'ScaleVertical',
131 description => 'scale vertical',
132 format => '',
133 read_only => '',
134 },
135 'skew_horizontal' => {
136 datatype => 'double',
137 base_name => 'SkewHorizontal',
138 description => 'skew horizontal',
139 format => '',
140 read_only => '',
141 },
142 'skew_vertical' => {
143 datatype => 'double',
144 base_name => 'SkewVertical',
145 description => 'skew vertical',
146 format => '',
147 read_only => '',
148 },
149 'start_pos_alpha' => {
150 datatype => 'double',
151 base_name => 'StartPosAlpha',
152 description => 'start pos alpha',
153 format => '',
154 read_only => '',
155 },
156 'end_pos_alpha' => {
157 datatype => 'double',
158 base_name => 'EndPosAlpha',
159 description => 'end pos alpha',
160 format => '',
161 read_only => '',
162 },
163 'start_reflection_opacity' => {
164 datatype => 'double',
165 base_name => 'StartReflectionOpacity',
166 description => 'start reflection opacity',
167 format => '',
168 read_only => '',
169 },
170 'end_reflection_opacity' => {
171 datatype => 'double',
172 base_name => 'EndReflectionOpacity',
173 description => 'end reflection opacity',
174 format => '',
175 read_only => '',
176 },
177 'rectangle_align' => {
178 datatype => 'string',
179 base_name => 'RectangleAlign',
180 description => 'rectangle alignment',
181 format => '',
182 read_only => '',
183 },
184 'rotate_shadow_with_shape' => {
185 datatype => 'boolean',
186 base_name => 'RotateShadowWithShape',
187 description => 'true if the reflection should rotate with the shape when the shape is rotated',
188 format => '',
189 read_only => '',
190 },
191 });
192  
193 __PACKAGE__->swagger_types( {
194 'direction' => 'double',
195 'fade_direction' => 'double',
196 'distance' => 'double',
197 'blur_radius' => 'double',
198 'scale_horizontal' => 'double',
199 'scale_vertical' => 'double',
200 'skew_horizontal' => 'double',
201 'skew_vertical' => 'double',
202 'start_pos_alpha' => 'double',
203 'end_pos_alpha' => 'double',
204 'start_reflection_opacity' => 'double',
205 'end_reflection_opacity' => 'double',
206 'rectangle_align' => 'string',
207 'rotate_shadow_with_shape' => 'boolean'
208 } );
209  
210 __PACKAGE__->attribute_map( {
211 'direction' => 'Direction',
212 'fade_direction' => 'FadeDirection',
213 'distance' => 'Distance',
214 'blur_radius' => 'BlurRadius',
215 'scale_horizontal' => 'ScaleHorizontal',
216 'scale_vertical' => 'ScaleVertical',
217 'skew_horizontal' => 'SkewHorizontal',
218 'skew_vertical' => 'SkewVertical',
219 'start_pos_alpha' => 'StartPosAlpha',
220 'end_pos_alpha' => 'EndPosAlpha',
221 'start_reflection_opacity' => 'StartReflectionOpacity',
222 'end_reflection_opacity' => 'EndReflectionOpacity',
223 'rectangle_align' => 'RectangleAlign',
224 'rotate_shadow_with_shape' => 'RotateShadowWithShape'
225 } );
226  
227 __PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
228  
229  
230 1;