Object/BubbleSeries.pm untested

filter: Statementstmt 0.0% 0 / 86 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 20 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 110 CC 2 SCAR 8.7
CC
2
Cov
0%
TO_JSON
6.0
new
2.0
BEGIN
2.0
CRAP 2.4
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::BubbleSeries;
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::BubbleChartDataPoint;
41 use AsposeSlidesCloud::Object::DataSource;
42 use AsposeSlidesCloud::Object::EffectFormat;
43 use AsposeSlidesCloud::Object::FillFormat;
44 use AsposeSlidesCloud::Object::LineFormat;
45 use AsposeSlidesCloud::Object::SeriesMarker;
46 use AsposeSlidesCloud::Object::XYSeries;
47  
48 use base ("Class::Accessor", "Class::Data::Inheritable");
49  
50  
51 #
52 #A bubble series.
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->{ data_point_type } = 'Bubble';
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 => 'A bubble series.',
96 class => 'BubbleSeries',
97 required => [], # TODO
98 } );
99  
100 __PACKAGE__->method_documentation({
101 'type' => {
102 datatype => 'string',
103 base_name => 'Type',
104 description => 'Series type.',
105 format => '',
106 read_only => '',
107 },
108 'name' => {
109 datatype => 'string',
110 base_name => 'Name',
111 description => 'Series name.',
112 format => '',
113 read_only => '',
114 },
115 'data_source_for_series_name' => {
116 datatype => 'DataSource',
117 base_name => 'DataSourceForSeriesName',
118 description => 'Series name data source.',
119 format => '',
120 read_only => '',
121 },
122 'is_color_varied' => {
123 datatype => 'boolean',
124 base_name => 'IsColorVaried',
125 description => 'True if each data marker in the series has a different color.',
126 format => '',
127 read_only => '',
128 },
129 'inverted_solid_fill_color' => {
130 datatype => 'string',
131 base_name => 'InvertedSolidFillColor',
132 description => 'Invert solid color for the series.',
133 format => '',
134 read_only => '',
135 },
136 'smooth' => {
137 datatype => 'boolean',
138 base_name => 'Smooth',
139 description => 'True if curve smoothing is turned on. Applies only to line and scatter connected by lines charts.',
140 format => '',
141 read_only => '',
142 },
143 'plot_on_second_axis' => {
144 datatype => 'boolean',
145 base_name => 'PlotOnSecondAxis',
146 description => 'True if the series is plotted on second value axis.',
147 format => '',
148 read_only => '',
149 },
150 'order' => {
151 datatype => 'int',
152 base_name => 'Order',
153 description => 'Series order.',
154 format => '',
155 read_only => '',
156 },
157 'invert_if_negative' => {
158 datatype => 'boolean',
159 base_name => 'InvertIfNegative',
160 description => 'True if the series shall invert its colors if the value is negative. Applies to bar, column and bubble series.',
161 format => '',
162 read_only => '',
163 },
164 'explosion' => {
165 datatype => 'int',
166 base_name => 'Explosion',
167 description => 'The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.',
168 format => '',
169 read_only => '',
170 },
171 'marker' => {
172 datatype => 'SeriesMarker',
173 base_name => 'Marker',
174 description => 'Series marker.',
175 format => '',
176 read_only => '',
177 },
178 'fill_format' => {
179 datatype => 'FillFormat',
180 base_name => 'FillFormat',
181 description => 'Fill properties set for the series.',
182 format => '',
183 read_only => '',
184 },
185 'effect_format' => {
186 datatype => 'EffectFormat',
187 base_name => 'EffectFormat',
188 description => 'Effect properties set for the series.',
189 format => '',
190 read_only => '',
191 },
192 'line_format' => {
193 datatype => 'LineFormat',
194 base_name => 'LineFormat',
195 description => 'Line properties set for the series.',
196 format => '',
197 read_only => '',
198 },
199 'data_point_type' => {
200 datatype => 'string',
201 base_name => 'DataPointType',
202 description => 'Data point type.',
203 format => '',
204 read_only => '',
205 },
206 'number_format_of_y_values' => {
207 datatype => 'string',
208 base_name => 'NumberFormatOfYValues',
209 description => 'The number format for the series y values.',
210 format => '',
211 read_only => '',
212 },
213 'number_format_of_x_values' => {
214 datatype => 'string',
215 base_name => 'NumberFormatOfXValues',
216 description => 'The number format for the series x values.',
217 format => '',
218 read_only => '',
219 },
220 'data_source_for_x_values' => {
221 datatype => 'DataSource',
222 base_name => 'DataSourceForXValues',
223 description => 'Data source type for X Values.',
224 format => '',
225 read_only => '',
226 },
227 'data_source_for_y_values' => {
228 datatype => 'DataSource',
229 base_name => 'DataSourceForYValues',
230 description => 'Data source type for Y Values.',
231 format => '',
232 read_only => '',
233 },
234 'data_points' => {
235 datatype => 'ARRAY[BubbleChartDataPoint]',
236 base_name => 'DataPoints',
237 description => 'Gets or sets the values.',
238 format => '',
239 read_only => '',
240 },
241 'number_format_of_bubble_sizes' => {
242 datatype => 'string',
243 base_name => 'NumberFormatOfBubbleSizes',
244 description => 'The number format for the series bubble sizes.',
245 format => '',
246 read_only => '',
247 },
248 'data_source_for_bubble_size_values' => {
249 datatype => 'DataSource',
250 base_name => 'DataSourceForBubbleSizeValues',
251 description => 'Data source type for Bubble size values.',
252 format => '',
253 read_only => '',
254 },
255 });
256  
257 __PACKAGE__->swagger_types( {
258 'type' => 'string',
259 'name' => 'string',
260 'data_source_for_series_name' => 'DataSource',
261 'is_color_varied' => 'boolean',
262 'inverted_solid_fill_color' => 'string',
263 'smooth' => 'boolean',
264 'plot_on_second_axis' => 'boolean',
265 'order' => 'int',
266 'invert_if_negative' => 'boolean',
267 'explosion' => 'int',
268 'marker' => 'SeriesMarker',
269 'fill_format' => 'FillFormat',
270 'effect_format' => 'EffectFormat',
271 'line_format' => 'LineFormat',
272 'data_point_type' => 'string',
273 'number_format_of_y_values' => 'string',
274 'number_format_of_x_values' => 'string',
275 'data_source_for_x_values' => 'DataSource',
276 'data_source_for_y_values' => 'DataSource',
277 'data_points' => 'ARRAY[BubbleChartDataPoint]',
278 'number_format_of_bubble_sizes' => 'string',
279 'data_source_for_bubble_size_values' => 'DataSource'
280 } );
281  
282 __PACKAGE__->attribute_map( {
283 'type' => 'Type',
284 'name' => 'Name',
285 'data_source_for_series_name' => 'DataSourceForSeriesName',
286 'is_color_varied' => 'IsColorVaried',
287 'inverted_solid_fill_color' => 'InvertedSolidFillColor',
288 'smooth' => 'Smooth',
289 'plot_on_second_axis' => 'PlotOnSecondAxis',
290 'order' => 'Order',
291 'invert_if_negative' => 'InvertIfNegative',
292 'explosion' => 'Explosion',
293 'marker' => 'Marker',
294 'fill_format' => 'FillFormat',
295 'effect_format' => 'EffectFormat',
296 'line_format' => 'LineFormat',
297 'data_point_type' => 'DataPointType',
298 'number_format_of_y_values' => 'NumberFormatOfYValues',
299 'number_format_of_x_values' => 'NumberFormatOfXValues',
300 'data_source_for_x_values' => 'DataSourceForXValues',
301 'data_source_for_y_values' => 'DataSourceForYValues',
302 'data_points' => 'DataPoints',
303 'number_format_of_bubble_sizes' => 'NumberFormatOfBubbleSizes',
304 'data_source_for_bubble_size_values' => 'DataSourceForBubbleSizeValues'
305 } );
306  
307 __PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
308  
309  
310 1;