Object/ScatterChartDataPoint.pm untested

filter: Statementstmt 0.0% 0 / 83 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 19 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 106 CC 2 SCAR 8.8
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::ScatterChartDataPoint;
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::DataPoint;
41 use AsposeSlidesCloud::Object::EffectFormat;
42 use AsposeSlidesCloud::Object::FillFormat;
43 use AsposeSlidesCloud::Object::LineFormat;
44 use AsposeSlidesCloud::Object::SeriesMarker;
45 use AsposeSlidesCloud::Object::ThreeDFormat;
46  
47 use base ("Class::Accessor", "Class::Data::Inheritable");
48  
49  
50 #
51 #Scatter chart (two-dimensional) data point
52 #
53 # NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
54 # REF: https://github.com/swagger-api/swagger-codegen
55 #
56  
57 #
58 # NOTE: This class is auto generated by the swagger code generator program.
59 # Do not edit the class manually.
60 # Ref: https://github.com/swagger-api/swagger-codegen
61 #
62 __PACKAGE__->mk_classdata('attribute_map' => {});
63 __PACKAGE__->mk_classdata('swagger_types' => {});
64 __PACKAGE__->mk_classdata('method_documentation' => {});
65 __PACKAGE__->mk_classdata('class_documentation' => {});
66  
67 # new object
68 sub new {
69 my ($class, %args) = @_;
70  
71 my $self = bless {}, $class;
72
73 foreach my $attribute (keys %{$class->attribute_map}) {
74 my $args_key = $class->attribute_map->{$attribute};
75 $self->$attribute( $args{ $args_key } );
76 }
77 $self->{ type } = 'Scatter';
78 return $self;
79 }
80  
81 # used by JSON for serialization
82 sub TO_JSON {
83 my $self = shift;
84 my $_data = {};
85 foreach my $_key (keys %{$self->attribute_map}) {
86 if (defined $self->{$_key}) {
87 $_data->{$self->attribute_map->{$_key}} = $self->{$_key};
88 }
89 }
90 return $_data;
91 }
92  
93  
94 __PACKAGE__->class_documentation({description => 'Scatter chart (two-dimensional) data point',
95 class => 'ScatterChartDataPoint',
96 required => [], # TODO
97 } );
98  
99 __PACKAGE__->method_documentation({
100 'fill_format' => {
101 datatype => 'FillFormat',
102 base_name => 'FillFormat',
103 description => 'Gets or sets the fill format.',
104 format => '',
105 read_only => '',
106 },
107 'effect_format' => {
108 datatype => 'EffectFormat',
109 base_name => 'EffectFormat',
110 description => 'Gets or sets the effect format.',
111 format => '',
112 read_only => '',
113 },
114 'three_d_format' => {
115 datatype => 'ThreeDFormat',
116 base_name => 'ThreeDFormat',
117 description => 'Gets or sets the 3D format',
118 format => '',
119 read_only => '',
120 },
121 'line_format' => {
122 datatype => 'LineFormat',
123 base_name => 'LineFormat',
124 description => 'Gets or sets the line format.',
125 format => '',
126 read_only => '',
127 },
128 'marker' => {
129 datatype => 'SeriesMarker',
130 base_name => 'Marker',
131 description => 'Gets or sets the marker.',
132 format => '',
133 read_only => '',
134 },
135 'type' => {
136 datatype => 'string',
137 base_name => 'Type',
138 description => 'Data point type.',
139 format => '',
140 read_only => '',
141 },
142 'x_value' => {
143 datatype => 'double',
144 base_name => 'XValue',
145 description => 'X-value',
146 format => '',
147 read_only => '',
148 },
149 'y_value' => {
150 datatype => 'double',
151 base_name => 'YValue',
152 description => 'Y-value',
153 format => '',
154 read_only => '',
155 },
156 'x_value_formula' => {
157 datatype => 'string',
158 base_name => 'XValueFormula',
159 description => 'Spreadsheet formula in A1-style.',
160 format => '',
161 read_only => '',
162 },
163 'y_value_formula' => {
164 datatype => 'string',
165 base_name => 'YValueFormula',
166 description => 'Spreadsheet formula in A1-style.',
167 format => '',
168 read_only => '',
169 },
170 });
171  
172 __PACKAGE__->swagger_types( {
173 'fill_format' => 'FillFormat',
174 'effect_format' => 'EffectFormat',
175 'three_d_format' => 'ThreeDFormat',
176 'line_format' => 'LineFormat',
177 'marker' => 'SeriesMarker',
178 'type' => 'string',
179 'x_value' => 'double',
180 'y_value' => 'double',
181 'x_value_formula' => 'string',
182 'y_value_formula' => 'string'
183 } );
184  
185 __PACKAGE__->attribute_map( {
186 'fill_format' => 'FillFormat',
187 'effect_format' => 'EffectFormat',
188 'three_d_format' => 'ThreeDFormat',
189 'line_format' => 'LineFormat',
190 'marker' => 'Marker',
191 'type' => 'Type',
192 'x_value' => 'XValue',
193 'y_value' => 'YValue',
194 'x_value_formula' => 'XValueFormula',
195 'y_value_formula' => 'YValueFormula'
196 } );
197  
198 __PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
199  
200  
201 1;