aspose_slides_cloud 20.7.0 → 20.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/TestData/ChartTest.pptx +0 -0
  3. data/lib/aspose_slides_cloud.rb +5 -3
  4. data/lib/aspose_slides_cloud/api/slides_api.rb +407 -0
  5. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +165 -0
  6. data/lib/aspose_slides_cloud/api_client.rb +1 -2
  7. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +11 -40
  8. data/lib/aspose_slides_cloud/models/add_master_slide.rb +11 -40
  9. data/lib/aspose_slides_cloud/models/add_shape.rb +11 -40
  10. data/lib/aspose_slides_cloud/models/add_slide.rb +11 -40
  11. data/lib/aspose_slides_cloud/models/api_info.rb +2 -2
  12. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +2 -2
  13. data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -236
  14. data/lib/aspose_slides_cloud/models/axes.rb +2 -2
  15. data/lib/aspose_slides_cloud/models/axis.rb +2 -2
  16. data/lib/aspose_slides_cloud/models/base64_input_file.rb +11 -49
  17. data/lib/aspose_slides_cloud/models/blur_effect.rb +2 -2
  18. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +11 -216
  19. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +10 -40
  20. data/lib/aspose_slides_cloud/models/bubble_series.rb +11 -205
  21. data/lib/aspose_slides_cloud/models/chart.rb +12 -210
  22. data/lib/aspose_slides_cloud/models/chart_category.rb +16 -4
  23. data/lib/aspose_slides_cloud/models/chart_title.rb +2 -2
  24. data/lib/aspose_slides_cloud/models/chart_wall.rb +2 -2
  25. data/lib/aspose_slides_cloud/models/color_scheme.rb +10 -32
  26. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +2 -2
  27. data/lib/aspose_slides_cloud/models/connector.rb +11 -234
  28. data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +2 -2
  29. data/lib/aspose_slides_cloud/models/disc_usage.rb +2 -2
  30. data/lib/aspose_slides_cloud/models/document.rb +10 -32
  31. data/lib/aspose_slides_cloud/models/document_properties.rb +10 -32
  32. data/lib/aspose_slides_cloud/models/document_property.rb +10 -32
  33. data/lib/aspose_slides_cloud/models/document_replace_result.rb +10 -86
  34. data/lib/aspose_slides_cloud/models/effect.rb +2 -2
  35. data/lib/aspose_slides_cloud/models/effect_format.rb +2 -2
  36. data/lib/aspose_slides_cloud/models/entity_exists.rb +2 -2
  37. data/lib/aspose_slides_cloud/models/error.rb +2 -2
  38. data/lib/aspose_slides_cloud/models/error_details.rb +2 -2
  39. data/lib/aspose_slides_cloud/models/export_options.rb +13 -3
  40. data/lib/aspose_slides_cloud/models/file_version.rb +10 -67
  41. data/lib/aspose_slides_cloud/models/file_versions.rb +2 -2
  42. data/lib/aspose_slides_cloud/models/files_list.rb +2 -2
  43. data/lib/aspose_slides_cloud/models/files_upload_result.rb +2 -2
  44. data/lib/aspose_slides_cloud/models/fill_format.rb +2 -2
  45. data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +2 -2
  46. data/lib/aspose_slides_cloud/models/font_scheme.rb +10 -32
  47. data/lib/aspose_slides_cloud/models/font_set.rb +2 -2
  48. data/lib/aspose_slides_cloud/models/format_scheme.rb +10 -32
  49. data/lib/aspose_slides_cloud/models/geometry_shape.rb +10 -200
  50. data/lib/aspose_slides_cloud/models/glow_effect.rb +2 -2
  51. data/lib/aspose_slides_cloud/models/gradient_fill.rb +11 -40
  52. data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +2 -2
  53. data/lib/aspose_slides_cloud/models/graphical_object.rb +11 -209
  54. data/lib/aspose_slides_cloud/models/group_shape.rb +11 -209
  55. data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -24
  56. data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +2 -2
  57. data/lib/aspose_slides_cloud/models/image.rb +10 -32
  58. data/lib/aspose_slides_cloud/models/image_export_options.rb +13 -24
  59. data/lib/aspose_slides_cloud/models/images.rb +10 -32
  60. data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +2 -2
  61. data/lib/aspose_slides_cloud/models/input.rb +2 -2
  62. data/lib/aspose_slides_cloud/models/input_file.rb +2 -2
  63. data/lib/aspose_slides_cloud/models/interactive_sequence.rb +2 -2
  64. data/lib/aspose_slides_cloud/models/layout_slide.rb +10 -32
  65. data/lib/aspose_slides_cloud/models/layout_slides.rb +10 -32
  66. data/lib/aspose_slides_cloud/models/legend.rb +2 -2
  67. data/lib/aspose_slides_cloud/models/line_format.rb +2 -2
  68. data/lib/aspose_slides_cloud/models/master_slide.rb +10 -32
  69. data/lib/aspose_slides_cloud/models/master_slides.rb +10 -32
  70. data/lib/aspose_slides_cloud/models/merge.rb +11 -40
  71. data/lib/aspose_slides_cloud/models/merging_source.rb +2 -2
  72. data/lib/aspose_slides_cloud/models/no_fill.rb +9 -38
  73. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +2 -2
  74. data/lib/aspose_slides_cloud/models/notes_slide.rb +10 -32
  75. data/lib/aspose_slides_cloud/models/object_exist.rb +2 -2
  76. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +12 -210
  77. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +10 -12
  78. data/lib/aspose_slides_cloud/models/one_value_series.rb +11 -205
  79. data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +2 -2
  80. data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +2 -2
  81. data/lib/aspose_slides_cloud/models/output_file.rb +2 -2
  82. data/lib/aspose_slides_cloud/models/paragraph.rb +10 -32
  83. data/lib/aspose_slides_cloud/models/paragraphs.rb +10 -32
  84. data/lib/aspose_slides_cloud/models/path_input_file.rb +11 -49
  85. data/lib/aspose_slides_cloud/models/path_output_file.rb +11 -40
  86. data/lib/aspose_slides_cloud/models/pattern_fill.rb +11 -40
  87. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -24
  88. data/lib/aspose_slides_cloud/models/picture_fill.rb +11 -40
  89. data/lib/aspose_slides_cloud/models/picture_frame.rb +12 -236
  90. data/lib/aspose_slides_cloud/models/pipeline.rb +2 -2
  91. data/lib/aspose_slides_cloud/models/placeholder.rb +10 -32
  92. data/lib/aspose_slides_cloud/models/placeholders.rb +10 -32
  93. data/lib/aspose_slides_cloud/models/plot_area.rb +2 -2
  94. data/lib/aspose_slides_cloud/models/portion.rb +10 -32
  95. data/lib/aspose_slides_cloud/models/portions.rb +10 -32
  96. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +13 -24
  97. data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +2 -2
  98. data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +2 -2
  99. data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +2 -2
  100. data/lib/aspose_slides_cloud/models/reflection_effect.rb +2 -2
  101. data/lib/aspose_slides_cloud/models/remove_shape.rb +11 -40
  102. data/lib/aspose_slides_cloud/models/remove_slide.rb +11 -40
  103. data/lib/aspose_slides_cloud/models/reorder_slide.rb +11 -40
  104. data/lib/aspose_slides_cloud/models/replace_text.rb +11 -40
  105. data/lib/aspose_slides_cloud/models/request_input_file.rb +11 -49
  106. data/lib/aspose_slides_cloud/models/reset_slide.rb +11 -40
  107. data/lib/aspose_slides_cloud/models/resource_base.rb +2 -2
  108. data/lib/aspose_slides_cloud/models/resource_uri.rb +2 -2
  109. data/lib/aspose_slides_cloud/models/resource_uri_element.rb +2 -2
  110. data/lib/aspose_slides_cloud/models/response_output_file.rb +9 -38
  111. data/lib/aspose_slides_cloud/models/save.rb +11 -40
  112. data/lib/aspose_slides_cloud/models/save_shape.rb +11 -40
  113. data/lib/aspose_slides_cloud/models/save_slide.rb +11 -40
  114. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +10 -12
  115. data/lib/aspose_slides_cloud/models/scatter_series.rb +11 -205
  116. data/lib/aspose_slides_cloud/models/series.rb +2 -2
  117. data/lib/aspose_slides_cloud/models/series_marker.rb +2 -2
  118. data/lib/aspose_slides_cloud/models/shape.rb +11 -234
  119. data/lib/aspose_slides_cloud/models/shape_base.rb +10 -32
  120. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +2 -2
  121. data/lib/aspose_slides_cloud/models/shapes.rb +10 -32
  122. data/lib/aspose_slides_cloud/models/slide.rb +10 -32
  123. data/lib/aspose_slides_cloud/models/slide_animation.rb +10 -32
  124. data/lib/aspose_slides_cloud/models/slide_background.rb +10 -32
  125. data/lib/aspose_slides_cloud/models/slide_comment.rb +2 -2
  126. data/lib/aspose_slides_cloud/models/slide_comments.rb +10 -32
  127. data/lib/aspose_slides_cloud/models/slide_replace_result.rb +10 -146
  128. data/lib/aspose_slides_cloud/models/slides.rb +10 -32
  129. data/lib/aspose_slides_cloud/models/smart_art.rb +12 -210
  130. data/lib/aspose_slides_cloud/models/smart_art_node.rb +2 -2
  131. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +11 -209
  132. data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +2 -2
  133. data/lib/aspose_slides_cloud/models/solid_fill.rb +11 -40
  134. data/lib/aspose_slides_cloud/models/split_document_result.rb +10 -32
  135. data/lib/aspose_slides_cloud/models/storage_exist.rb +2 -2
  136. data/lib/aspose_slides_cloud/models/storage_file.rb +2 -2
  137. data/lib/aspose_slides_cloud/models/svg_export_options.rb +13 -24
  138. data/lib/aspose_slides_cloud/models/swf_export_options.rb +13 -24
  139. data/lib/aspose_slides_cloud/models/table.rb +12 -210
  140. data/lib/aspose_slides_cloud/models/table_cell.rb +2 -2
  141. data/lib/aspose_slides_cloud/models/table_column.rb +2 -2
  142. data/lib/aspose_slides_cloud/models/table_row.rb +2 -2
  143. data/lib/aspose_slides_cloud/models/task.rb +2 -2
  144. data/lib/aspose_slides_cloud/models/text_item.rb +2 -2
  145. data/lib/aspose_slides_cloud/models/text_items.rb +10 -32
  146. data/lib/aspose_slides_cloud/models/theme.rb +10 -32
  147. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +13 -24
  148. data/lib/aspose_slides_cloud/models/update_background.rb +11 -40
  149. data/lib/aspose_slides_cloud/models/update_shape.rb +11 -40
  150. data/lib/aspose_slides_cloud/models/video_frame.rb +12 -236
  151. data/lib/aspose_slides_cloud/models/view_properties.rb +10 -32
  152. data/lib/aspose_slides_cloud/models/waterfall_series.rb +11 -216
  153. data/lib/aspose_slides_cloud/models/xps_export_options.rb +13 -24
  154. data/lib/aspose_slides_cloud/type_registry.rb +313 -0
  155. data/lib/aspose_slides_cloud/version.rb +1 -1
  156. data/spec/api/slides_api_spec.rb +1417 -63
  157. data/spec/extra/extra_spec.rb +66 -33
  158. data/testRules.json +31 -0
  159. metadata +4 -2
@@ -24,7 +24,7 @@ require 'date'
24
24
 
25
25
  module AsposeSlidesCloud
26
26
  # Scatter chart (two-dimensional) data point
27
- class ScatterChartDataPoint
27
+ class ScatterChartDataPoint < DataPoint
28
28
  # X-value
29
29
  attr_accessor :x_value
30
30
 
@@ -33,27 +33,24 @@ module AsposeSlidesCloud
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
- {
36
+ super.merge({
37
37
  :'x_value' => :'XValue',
38
- :'y_value' => :'YValue'
39
- }
38
+ :'y_value' => :'YValue',
39
+ })
40
40
  end
41
41
 
42
42
  # Attribute type mapping.
43
43
  def self.swagger_types
44
- {
44
+ super.merge({
45
45
  :'x_value' => :'Float',
46
- :'y_value' => :'Float'
47
- }
46
+ :'y_value' => :'Float',
47
+ })
48
48
  end
49
49
 
50
50
  # Initializes the object
51
51
  # @param [Hash] attributes Model attributes in the form of hash
52
52
  def initialize(attributes = {})
53
- return unless attributes.is_a?(Hash)
54
-
55
- # convert string to symbol for hash key
56
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
53
+ super
57
54
 
58
55
  if attributes.has_key?(:'XValue')
59
56
  self.x_value = attributes[:'XValue']
@@ -67,7 +64,7 @@ module AsposeSlidesCloud
67
64
  # Show invalid properties with the reasons. Usually used together with valid?
68
65
  # @return Array for valid properties with the reasons
69
66
  def list_invalid_properties
70
- invalid_properties = Array.new
67
+ invalid_properties = super
71
68
  if @x_value.nil?
72
69
  invalid_properties.push('invalid value for "x_value", x_value cannot be nil.')
73
70
  end
@@ -82,6 +79,7 @@ module AsposeSlidesCloud
82
79
  # Check to see if the all the properties in the model are valid
83
80
  # @return true if the model is valid
84
81
  def valid?
82
+ return false if !super
85
83
  return false if @x_value.nil?
86
84
  return false if @y_value.nil?
87
85
  true
@@ -24,61 +24,7 @@ require 'date'
24
24
 
25
25
  module AsposeSlidesCloud
26
26
  # A scatter series
27
- class ScatterSeries
28
- # Series type.
29
- attr_accessor :type
30
-
31
- # Series name.
32
- attr_accessor :name
33
-
34
- # True if each data marker in the series has a different color.
35
- attr_accessor :is_color_varied
36
-
37
- # Invert solid color for the series.
38
- attr_accessor :inverted_solid_fill_color
39
-
40
- # True if curve smoothing is turned on. Applies only to line and scatter connected by lines charts.
41
- attr_accessor :smooth
42
-
43
- # True if the series is plotted on second value axis.
44
- attr_accessor :plot_on_second_axis
45
-
46
- # Series order.
47
- attr_accessor :order
48
-
49
- # The number format for the series y values.
50
- attr_accessor :number_format_of_y_values
51
-
52
- # The number format for the series x values.
53
- attr_accessor :number_format_of_x_values
54
-
55
- # The number format for the series values.
56
- attr_accessor :number_format_of_values
57
-
58
- # The number format for the series bubble sizes.
59
- attr_accessor :number_format_of_bubble_sizes
60
-
61
- # True if the series shall invert its colors if the value is negative. Applies to bar, column and bubble series.
62
- attr_accessor :invert_if_negative
63
-
64
- # The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
65
- attr_accessor :explosion
66
-
67
- # Series marker.
68
- attr_accessor :marker
69
-
70
- # Fill properties set for the series.
71
- attr_accessor :fill_format
72
-
73
- # Effect properties set for the series.
74
- attr_accessor :effect_format
75
-
76
- # Line properties set for the series.
77
- attr_accessor :line_format
78
-
79
- # Data point type.
80
- attr_accessor :data_point_type
81
-
27
+ class ScatterSeries < Series
82
28
  # Gets or sets the values.
83
29
  attr_accessor :data_points
84
30
 
@@ -106,185 +52,45 @@ module AsposeSlidesCloud
106
52
 
107
53
  # Attribute mapping from ruby-style variable name to JSON key.
108
54
  def self.attribute_map
109
- {
110
- :'type' => :'Type',
111
- :'name' => :'Name',
112
- :'is_color_varied' => :'IsColorVaried',
113
- :'inverted_solid_fill_color' => :'InvertedSolidFillColor',
114
- :'smooth' => :'Smooth',
115
- :'plot_on_second_axis' => :'PlotOnSecondAxis',
116
- :'order' => :'Order',
117
- :'number_format_of_y_values' => :'NumberFormatOfYValues',
118
- :'number_format_of_x_values' => :'NumberFormatOfXValues',
119
- :'number_format_of_values' => :'NumberFormatOfValues',
120
- :'number_format_of_bubble_sizes' => :'NumberFormatOfBubbleSizes',
121
- :'invert_if_negative' => :'InvertIfNegative',
122
- :'explosion' => :'Explosion',
123
- :'marker' => :'Marker',
124
- :'fill_format' => :'FillFormat',
125
- :'effect_format' => :'EffectFormat',
126
- :'line_format' => :'LineFormat',
127
- :'data_point_type' => :'DataPointType',
128
- :'data_points' => :'DataPoints'
129
- }
55
+ super.merge({
56
+ :'data_points' => :'DataPoints',
57
+ })
130
58
  end
131
59
 
132
60
  # Attribute type mapping.
133
61
  def self.swagger_types
134
- {
135
- :'type' => :'String',
136
- :'name' => :'String',
137
- :'is_color_varied' => :'BOOLEAN',
138
- :'inverted_solid_fill_color' => :'String',
139
- :'smooth' => :'BOOLEAN',
140
- :'plot_on_second_axis' => :'BOOLEAN',
141
- :'order' => :'Integer',
142
- :'number_format_of_y_values' => :'String',
143
- :'number_format_of_x_values' => :'String',
144
- :'number_format_of_values' => :'String',
145
- :'number_format_of_bubble_sizes' => :'String',
146
- :'invert_if_negative' => :'BOOLEAN',
147
- :'explosion' => :'Integer',
148
- :'marker' => :'SeriesMarker',
149
- :'fill_format' => :'FillFormat',
150
- :'effect_format' => :'EffectFormat',
151
- :'line_format' => :'LineFormat',
152
- :'data_point_type' => :'String',
153
- :'data_points' => :'Array<ScatterChartDataPoint>'
154
- }
62
+ super.merge({
63
+ :'data_points' => :'Array<ScatterChartDataPoint>',
64
+ })
155
65
  end
156
66
 
157
67
  # Initializes the object
158
68
  # @param [Hash] attributes Model attributes in the form of hash
159
69
  def initialize(attributes = {})
160
- return unless attributes.is_a?(Hash)
161
-
162
- # convert string to symbol for hash key
163
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
164
-
165
- if attributes.has_key?(:'Type')
166
- self.type = attributes[:'Type']
167
- end
168
-
169
- if attributes.has_key?(:'Name')
170
- self.name = attributes[:'Name']
171
- end
172
-
173
- if attributes.has_key?(:'IsColorVaried')
174
- self.is_color_varied = attributes[:'IsColorVaried']
175
- end
176
-
177
- if attributes.has_key?(:'InvertedSolidFillColor')
178
- self.inverted_solid_fill_color = attributes[:'InvertedSolidFillColor']
179
- end
180
-
181
- if attributes.has_key?(:'Smooth')
182
- self.smooth = attributes[:'Smooth']
183
- end
184
-
185
- if attributes.has_key?(:'PlotOnSecondAxis')
186
- self.plot_on_second_axis = attributes[:'PlotOnSecondAxis']
187
- end
188
-
189
- if attributes.has_key?(:'Order')
190
- self.order = attributes[:'Order']
191
- end
192
-
193
- if attributes.has_key?(:'NumberFormatOfYValues')
194
- self.number_format_of_y_values = attributes[:'NumberFormatOfYValues']
195
- end
196
-
197
- if attributes.has_key?(:'NumberFormatOfXValues')
198
- self.number_format_of_x_values = attributes[:'NumberFormatOfXValues']
199
- end
200
-
201
- if attributes.has_key?(:'NumberFormatOfValues')
202
- self.number_format_of_values = attributes[:'NumberFormatOfValues']
203
- end
204
-
205
- if attributes.has_key?(:'NumberFormatOfBubbleSizes')
206
- self.number_format_of_bubble_sizes = attributes[:'NumberFormatOfBubbleSizes']
207
- end
208
-
209
- if attributes.has_key?(:'InvertIfNegative')
210
- self.invert_if_negative = attributes[:'InvertIfNegative']
211
- end
212
-
213
- if attributes.has_key?(:'Explosion')
214
- self.explosion = attributes[:'Explosion']
215
- end
216
-
217
- if attributes.has_key?(:'Marker')
218
- self.marker = attributes[:'Marker']
219
- end
220
-
221
- if attributes.has_key?(:'FillFormat')
222
- self.fill_format = attributes[:'FillFormat']
223
- end
224
-
225
- if attributes.has_key?(:'EffectFormat')
226
- self.effect_format = attributes[:'EffectFormat']
227
- end
228
-
229
- if attributes.has_key?(:'LineFormat')
230
- self.line_format = attributes[:'LineFormat']
231
- end
232
-
233
- if attributes.has_key?(:'DataPointType')
234
- self.data_point_type = attributes[:'DataPointType']
235
- else
236
- self.data_point_type = "Scatter"
237
- end
70
+ super
238
71
 
239
72
  if attributes.has_key?(:'DataPoints')
240
73
  if (value = attributes[:'DataPoints']).is_a?(Array)
241
74
  self.data_points = value
242
75
  end
243
76
  end
77
+ self.data_point_type = "Scatter"
244
78
  end
245
79
 
246
80
  # Show invalid properties with the reasons. Usually used together with valid?
247
81
  # @return Array for valid properties with the reasons
248
82
  def list_invalid_properties
249
- invalid_properties = Array.new
250
- if @data_point_type.nil?
251
- invalid_properties.push('invalid value for "data_point_type", data_point_type cannot be nil.')
252
- end
253
-
83
+ invalid_properties = super
254
84
  invalid_properties
255
85
  end
256
86
 
257
87
  # Check to see if the all the properties in the model are valid
258
88
  # @return true if the model is valid
259
89
  def valid?
260
- type_validator = EnumAttributeValidator.new('String', ['ClusteredColumn', 'StackedColumn', 'PercentsStackedColumn', 'ClusteredColumn3D', 'StackedColumn3D', 'PercentsStackedColumn3D', 'Column3D', 'ClusteredCylinder', 'StackedCylinder', 'PercentsStackedCylinder', 'Cylinder3D', 'ClusteredCone', 'StackedCone', 'PercentsStackedCone', 'Cone3D', 'ClusteredPyramid', 'StackedPyramid', 'PercentsStackedPyramid', 'Pyramid3D', 'Line', 'StackedLine', 'PercentsStackedLine', 'LineWithMarkers', 'StackedLineWithMarkers', 'PercentsStackedLineWithMarkers', 'Line3D', 'Pie', 'Pie3D', 'PieOfPie', 'ExplodedPie', 'ExplodedPie3D', 'BarOfPie', 'PercentsStackedBar', 'ClusteredBar3D', 'ClusteredBar', 'StackedBar', 'StackedBar3D', 'PercentsStackedBar3D', 'ClusteredHorizontalCylinder', 'StackedHorizontalCylinder', 'PercentsStackedHorizontalCylinder', 'ClusteredHorizontalCone', 'StackedHorizontalCone', 'PercentsStackedHorizontalCone', 'ClusteredHorizontalPyramid', 'StackedHorizontalPyramid', 'PercentsStackedHorizontalPyramid', 'Area', 'StackedArea', 'PercentsStackedArea', 'Area3D', 'StackedArea3D', 'PercentsStackedArea3D', 'ScatterWithMarkers', 'ScatterWithSmoothLinesAndMarkers', 'ScatterWithSmoothLines', 'ScatterWithStraightLinesAndMarkers', 'ScatterWithStraightLines', 'HighLowClose', 'OpenHighLowClose', 'VolumeHighLowClose', 'VolumeOpenHighLowClose', 'Surface3D', 'WireframeSurface3D', 'Contour', 'WireframeContour', 'Doughnut', 'ExplodedDoughnut', 'Bubble', 'BubbleWith3D', 'Radar', 'RadarWithMarkers', 'FilledRadar', 'SeriesOfMixedTypes', 'Treemap', 'Sunburst', 'Histogram', 'ParetoLine', 'BoxAndWhisker', 'Waterfall', 'Funnel'])
261
- return false unless type_validator.valid?(@type)
262
- return false if @data_point_type.nil?
263
- data_point_type_validator = EnumAttributeValidator.new('String', ['OneValue', 'Scatter', 'Bubble'])
264
- return false unless data_point_type_validator.valid?(@data_point_type)
90
+ return false if !super
265
91
  true
266
92
  end
267
93
 
268
- # Custom attribute writer method checking allowed values (enum).
269
- # @param [Object] type Object to be assigned
270
- def type=(type)
271
- validator = EnumAttributeValidator.new('String', ['ClusteredColumn', 'StackedColumn', 'PercentsStackedColumn', 'ClusteredColumn3D', 'StackedColumn3D', 'PercentsStackedColumn3D', 'Column3D', 'ClusteredCylinder', 'StackedCylinder', 'PercentsStackedCylinder', 'Cylinder3D', 'ClusteredCone', 'StackedCone', 'PercentsStackedCone', 'Cone3D', 'ClusteredPyramid', 'StackedPyramid', 'PercentsStackedPyramid', 'Pyramid3D', 'Line', 'StackedLine', 'PercentsStackedLine', 'LineWithMarkers', 'StackedLineWithMarkers', 'PercentsStackedLineWithMarkers', 'Line3D', 'Pie', 'Pie3D', 'PieOfPie', 'ExplodedPie', 'ExplodedPie3D', 'BarOfPie', 'PercentsStackedBar', 'ClusteredBar3D', 'ClusteredBar', 'StackedBar', 'StackedBar3D', 'PercentsStackedBar3D', 'ClusteredHorizontalCylinder', 'StackedHorizontalCylinder', 'PercentsStackedHorizontalCylinder', 'ClusteredHorizontalCone', 'StackedHorizontalCone', 'PercentsStackedHorizontalCone', 'ClusteredHorizontalPyramid', 'StackedHorizontalPyramid', 'PercentsStackedHorizontalPyramid', 'Area', 'StackedArea', 'PercentsStackedArea', 'Area3D', 'StackedArea3D', 'PercentsStackedArea3D', 'ScatterWithMarkers', 'ScatterWithSmoothLinesAndMarkers', 'ScatterWithSmoothLines', 'ScatterWithStraightLinesAndMarkers', 'ScatterWithStraightLines', 'HighLowClose', 'OpenHighLowClose', 'VolumeHighLowClose', 'VolumeOpenHighLowClose', 'Surface3D', 'WireframeSurface3D', 'Contour', 'WireframeContour', 'Doughnut', 'ExplodedDoughnut', 'Bubble', 'BubbleWith3D', 'Radar', 'RadarWithMarkers', 'FilledRadar', 'SeriesOfMixedTypes', 'Treemap', 'Sunburst', 'Histogram', 'ParetoLine', 'BoxAndWhisker', 'Waterfall', 'Funnel'])
272
- unless validator.valid?(type)
273
- fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
274
- end
275
- @type = type
276
- end
277
-
278
- # Custom attribute writer method checking allowed values (enum).
279
- # @param [Object] data_point_type Object to be assigned
280
- def data_point_type=(data_point_type)
281
- validator = EnumAttributeValidator.new('String', ['OneValue', 'Scatter', 'Bubble'])
282
- unless validator.valid?(data_point_type)
283
- fail ArgumentError, 'invalid value for "data_point_type", must be one of #{validator.allowable_values}.'
284
- end
285
- @data_point_type = data_point_type
286
- end
287
-
288
94
  # Checks equality by comparing each attribute.
289
95
  # @param [Object] Object to be compared
290
96
  def ==(o)
@@ -120,7 +120,7 @@ module AsposeSlidesCloud
120
120
  :'fill_format' => :'FillFormat',
121
121
  :'effect_format' => :'EffectFormat',
122
122
  :'line_format' => :'LineFormat',
123
- :'data_point_type' => :'DataPointType'
123
+ :'data_point_type' => :'DataPointType',
124
124
  }
125
125
  end
126
126
 
@@ -144,7 +144,7 @@ module AsposeSlidesCloud
144
144
  :'fill_format' => :'FillFormat',
145
145
  :'effect_format' => :'EffectFormat',
146
146
  :'line_format' => :'LineFormat',
147
- :'data_point_type' => :'String'
147
+ :'data_point_type' => :'String',
148
148
  }
149
149
  end
150
150
 
@@ -69,7 +69,7 @@ module AsposeSlidesCloud
69
69
  :'symbol' => :'Symbol',
70
70
  :'fill_format' => :'FillFormat',
71
71
  :'effect_format' => :'EffectFormat',
72
- :'line_format' => :'LineFormat'
72
+ :'line_format' => :'LineFormat',
73
73
  }
74
74
  end
75
75
 
@@ -80,7 +80,7 @@ module AsposeSlidesCloud
80
80
  :'symbol' => :'String',
81
81
  :'fill_format' => :'FillFormat',
82
82
  :'effect_format' => :'EffectFormat',
83
- :'line_format' => :'LineFormat'
83
+ :'line_format' => :'LineFormat',
84
84
  }
85
85
  end
86
86
 
@@ -24,61 +24,7 @@ require 'date'
24
24
 
25
25
  module AsposeSlidesCloud
26
26
  # Represents AutoShape resource.
27
- class Shape
28
- # Gets or sets the link to this resource.
29
- attr_accessor :self_uri
30
-
31
- # List of alternate links.
32
- attr_accessor :alternate_links
33
-
34
- # Gets or sets the name.
35
- attr_accessor :name
36
-
37
- # Gets or sets the width.
38
- attr_accessor :width
39
-
40
- # Gets or sets the height.
41
- attr_accessor :height
42
-
43
- # Gets or sets the alternative text.
44
- attr_accessor :alternative_text
45
-
46
- # The title of alternative text associated with the shape.
47
- attr_accessor :alternative_text_title
48
-
49
- # Gets or sets a value indicating whether this ShapeBase is hidden.
50
- attr_accessor :hidden
51
-
52
- # Gets or sets the X
53
- attr_accessor :x
54
-
55
- # Gets or sets the Y.
56
- attr_accessor :y
57
-
58
- # Gets z-order position of shape
59
- attr_accessor :z_order_position
60
-
61
- # Gets or sets the link to shapes.
62
- attr_accessor :shapes
63
-
64
- # Gets or sets the fill format.
65
- attr_accessor :fill_format
66
-
67
- # Gets or sets the effect format.
68
- attr_accessor :effect_format
69
-
70
- # Gets or sets the line format.
71
- attr_accessor :line_format
72
-
73
- # Shape type.
74
- attr_accessor :type
75
-
76
- # Shape type.
77
- attr_accessor :shape_type
78
-
79
- # Geometry shape type.
80
- attr_accessor :geometry_shape_type
81
-
27
+ class Shape < GeometryShape
82
28
  # Gets or sets the text.
83
29
  attr_accessor :text
84
30
 
@@ -109,139 +55,24 @@ module AsposeSlidesCloud
109
55
 
110
56
  # Attribute mapping from ruby-style variable name to JSON key.
111
57
  def self.attribute_map
112
- {
113
- :'self_uri' => :'SelfUri',
114
- :'alternate_links' => :'AlternateLinks',
115
- :'name' => :'Name',
116
- :'width' => :'Width',
117
- :'height' => :'Height',
118
- :'alternative_text' => :'AlternativeText',
119
- :'alternative_text_title' => :'AlternativeTextTitle',
120
- :'hidden' => :'Hidden',
121
- :'x' => :'X',
122
- :'y' => :'Y',
123
- :'z_order_position' => :'ZOrderPosition',
124
- :'shapes' => :'Shapes',
125
- :'fill_format' => :'FillFormat',
126
- :'effect_format' => :'EffectFormat',
127
- :'line_format' => :'LineFormat',
128
- :'type' => :'Type',
129
- :'shape_type' => :'ShapeType',
130
- :'geometry_shape_type' => :'GeometryShapeType',
58
+ super.merge({
131
59
  :'text' => :'Text',
132
- :'paragraphs' => :'Paragraphs'
133
- }
60
+ :'paragraphs' => :'Paragraphs',
61
+ })
134
62
  end
135
63
 
136
64
  # Attribute type mapping.
137
65
  def self.swagger_types
138
- {
139
- :'self_uri' => :'ResourceUri',
140
- :'alternate_links' => :'Array<ResourceUri>',
141
- :'name' => :'String',
142
- :'width' => :'Float',
143
- :'height' => :'Float',
144
- :'alternative_text' => :'String',
145
- :'alternative_text_title' => :'String',
146
- :'hidden' => :'BOOLEAN',
147
- :'x' => :'Float',
148
- :'y' => :'Float',
149
- :'z_order_position' => :'Integer',
150
- :'shapes' => :'ResourceUriElement',
151
- :'fill_format' => :'FillFormat',
152
- :'effect_format' => :'EffectFormat',
153
- :'line_format' => :'LineFormat',
154
- :'type' => :'String',
155
- :'shape_type' => :'String',
156
- :'geometry_shape_type' => :'String',
66
+ super.merge({
157
67
  :'text' => :'String',
158
- :'paragraphs' => :'ResourceUriElement'
159
- }
68
+ :'paragraphs' => :'ResourceUriElement',
69
+ })
160
70
  end
161
71
 
162
72
  # Initializes the object
163
73
  # @param [Hash] attributes Model attributes in the form of hash
164
74
  def initialize(attributes = {})
165
- return unless attributes.is_a?(Hash)
166
-
167
- # convert string to symbol for hash key
168
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
169
-
170
- if attributes.has_key?(:'SelfUri')
171
- self.self_uri = attributes[:'SelfUri']
172
- end
173
-
174
- if attributes.has_key?(:'AlternateLinks')
175
- if (value = attributes[:'AlternateLinks']).is_a?(Array)
176
- self.alternate_links = value
177
- end
178
- end
179
-
180
- if attributes.has_key?(:'Name')
181
- self.name = attributes[:'Name']
182
- end
183
-
184
- if attributes.has_key?(:'Width')
185
- self.width = attributes[:'Width']
186
- end
187
-
188
- if attributes.has_key?(:'Height')
189
- self.height = attributes[:'Height']
190
- end
191
-
192
- if attributes.has_key?(:'AlternativeText')
193
- self.alternative_text = attributes[:'AlternativeText']
194
- end
195
-
196
- if attributes.has_key?(:'AlternativeTextTitle')
197
- self.alternative_text_title = attributes[:'AlternativeTextTitle']
198
- end
199
-
200
- if attributes.has_key?(:'Hidden')
201
- self.hidden = attributes[:'Hidden']
202
- end
203
-
204
- if attributes.has_key?(:'X')
205
- self.x = attributes[:'X']
206
- end
207
-
208
- if attributes.has_key?(:'Y')
209
- self.y = attributes[:'Y']
210
- end
211
-
212
- if attributes.has_key?(:'ZOrderPosition')
213
- self.z_order_position = attributes[:'ZOrderPosition']
214
- end
215
-
216
- if attributes.has_key?(:'Shapes')
217
- self.shapes = attributes[:'Shapes']
218
- end
219
-
220
- if attributes.has_key?(:'FillFormat')
221
- self.fill_format = attributes[:'FillFormat']
222
- end
223
-
224
- if attributes.has_key?(:'EffectFormat')
225
- self.effect_format = attributes[:'EffectFormat']
226
- end
227
-
228
- if attributes.has_key?(:'LineFormat')
229
- self.line_format = attributes[:'LineFormat']
230
- end
231
-
232
- if attributes.has_key?(:'Type')
233
- self.type = attributes[:'Type']
234
- else
235
- self.type = "Shape"
236
- end
237
-
238
- if attributes.has_key?(:'ShapeType')
239
- self.shape_type = attributes[:'ShapeType']
240
- end
241
-
242
- if attributes.has_key?(:'GeometryShapeType')
243
- self.geometry_shape_type = attributes[:'GeometryShapeType']
244
- end
75
+ super
245
76
 
246
77
  if attributes.has_key?(:'Text')
247
78
  self.text = attributes[:'Text']
@@ -250,77 +81,23 @@ module AsposeSlidesCloud
250
81
  if attributes.has_key?(:'Paragraphs')
251
82
  self.paragraphs = attributes[:'Paragraphs']
252
83
  end
84
+ self.type = "Shape"
253
85
  end
254
86
 
255
87
  # Show invalid properties with the reasons. Usually used together with valid?
256
88
  # @return Array for valid properties with the reasons
257
89
  def list_invalid_properties
258
- invalid_properties = Array.new
259
- if @z_order_position.nil?
260
- invalid_properties.push('invalid value for "z_order_position", z_order_position cannot be nil.')
261
- end
262
-
263
- if @type.nil?
264
- invalid_properties.push('invalid value for "type", type cannot be nil.')
265
- end
266
-
267
- if @shape_type.nil?
268
- invalid_properties.push('invalid value for "shape_type", shape_type cannot be nil.')
269
- end
270
-
271
- if @geometry_shape_type.nil?
272
- invalid_properties.push('invalid value for "geometry_shape_type", geometry_shape_type cannot be nil.')
273
- end
274
-
90
+ invalid_properties = super
275
91
  invalid_properties
276
92
  end
277
93
 
278
94
  # Check to see if the all the properties in the model are valid
279
95
  # @return true if the model is valid
280
96
  def valid?
281
- return false if @z_order_position.nil?
282
- return false if @type.nil?
283
- type_validator = EnumAttributeValidator.new('String', ['Shape', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'SmartArt', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'Connector', 'SmartArtShape'])
284
- return false unless type_validator.valid?(@type)
285
- return false if @shape_type.nil?
286
- shape_type_validator = EnumAttributeValidator.new('String', ['Custom', 'Line', 'LineInverse', 'Triangle', 'RightTriangle', 'Rectangle', 'Diamond', 'Parallelogram', 'Trapezoid', 'NonIsoscelesTrapezoid', 'Pentagon', 'Hexagon', 'Heptagon', 'Octagon', 'Decagon', 'Dodecagon', 'FourPointedStar', 'FivePointedStar', 'SixPointedStar', 'SevenPointedStar', 'EightPointedStar', 'TenPointedStar', 'TwelvePointedStar', 'SixteenPointedStar', 'TwentyFourPointedStar', 'ThirtyTwoPointedStar', 'RoundCornerRectangle', 'OneRoundCornerRectangle', 'TwoSamesideRoundCornerRectangle', 'TwoDiagonalRoundCornerRectangle', 'OneSnipOneRoundCornerRectangle', 'OneSnipCornerRectangle', 'TwoSamesideSnipCornerRectangle', 'TwoDiagonalSnipCornerRectangle', 'Plaque', 'Ellipse', 'Teardrop', 'HomePlate', 'Chevron', 'PieWedge', 'Pie', 'BlockArc', 'Donut', 'NoSmoking', 'RightArrow', 'LeftArrow', 'UpArrow', 'DownArrow', 'StripedRightArrow', 'NotchedRightArrow', 'BentUpArrow', 'LeftRightArrow', 'UpDownArrow', 'LeftUpArrow', 'LeftRightUpArrow', 'QuadArrow', 'CalloutLeftArrow', 'CalloutRightArrow', 'CalloutUpArrow', 'CalloutDownArrow', 'CalloutLeftRightArrow', 'CalloutUpDownArrow', 'CalloutQuadArrow', 'BentArrow', 'UTurnArrow', 'CircularArrow', 'LeftCircularArrow', 'LeftRightCircularArrow', 'CurvedRightArrow', 'CurvedLeftArrow', 'CurvedUpArrow', 'CurvedDownArrow', 'SwooshArrow', 'Cube', 'Can', 'LightningBolt', 'Heart', 'Sun', 'Moon', 'SmileyFace', 'IrregularSeal1', 'IrregularSeal2', 'FoldedCorner', 'Bevel', 'Frame', 'HalfFrame', 'Corner', 'DiagonalStripe', 'Chord', 'CurvedArc', 'LeftBracket', 'RightBracket', 'LeftBrace', 'RightBrace', 'BracketPair', 'BracePair', 'StraightConnector1', 'BentConnector2', 'BentConnector3', 'BentConnector4', 'BentConnector5', 'CurvedConnector2', 'CurvedConnector3', 'CurvedConnector4', 'CurvedConnector5', 'Callout1', 'Callout2', 'Callout3', 'Callout1WithAccent', 'Callout2WithAccent', 'Callout3WithAccent', 'Callout1WithBorder', 'Callout2WithBorder', 'Callout3WithBorder', 'Callout1WithBorderAndAccent', 'Callout2WithBorderAndAccent', 'Callout3WithBorderAndAccent', 'CalloutWedgeRectangle', 'CalloutWedgeRoundRectangle', 'CalloutWedgeEllipse', 'CalloutCloud', 'Cloud', 'Ribbon', 'Ribbon2', 'EllipseRibbon', 'EllipseRibbon2', 'LeftRightRibbon', 'VerticalScroll', 'HorizontalScroll', 'Wave', 'DoubleWave', 'Plus', 'ProcessFlow', 'DecisionFlow', 'InputOutputFlow', 'PredefinedProcessFlow', 'InternalStorageFlow', 'DocumentFlow', 'MultiDocumentFlow', 'TerminatorFlow', 'PreparationFlow', 'ManualInputFlow', 'ManualOperationFlow', 'ConnectorFlow', 'PunchedCardFlow', 'PunchedTapeFlow', 'SummingJunctionFlow', 'OrFlow', 'CollateFlow', 'SortFlow', 'ExtractFlow', 'MergeFlow', 'OfflineStorageFlow', 'OnlineStorageFlow', 'MagneticTapeFlow', 'MagneticDiskFlow', 'MagneticDrumFlow', 'DisplayFlow', 'DelayFlow', 'AlternateProcessFlow', 'OffPageConnectorFlow', 'BlankButton', 'HomeButton', 'HelpButton', 'InformationButton', 'ForwardOrNextButton', 'BackOrPreviousButton', 'EndButton', 'BeginningButton', 'ReturnButton', 'DocumentButton', 'SoundButton', 'MovieButton', 'Gear6', 'Gear9', 'Funnel', 'PlusMath', 'MinusMath', 'MultiplyMath', 'DivideMath', 'EqualMath', 'NotEqualMath', 'CornerTabs', 'SquareTabs', 'PlaqueTabs', 'ChartX', 'ChartStar', 'ChartPlus', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'Diagram', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'NotDefined'])
287
- return false unless shape_type_validator.valid?(@shape_type)
288
- return false if @geometry_shape_type.nil?
289
- geometry_shape_type_validator = EnumAttributeValidator.new('String', ['Custom', 'Line', 'LineInverse', 'Triangle', 'RightTriangle', 'Rectangle', 'Diamond', 'Parallelogram', 'Trapezoid', 'NonIsoscelesTrapezoid', 'Pentagon', 'Hexagon', 'Heptagon', 'Octagon', 'Decagon', 'Dodecagon', 'FourPointedStar', 'FivePointedStar', 'SixPointedStar', 'SevenPointedStar', 'EightPointedStar', 'TenPointedStar', 'TwelvePointedStar', 'SixteenPointedStar', 'TwentyFourPointedStar', 'ThirtyTwoPointedStar', 'RoundCornerRectangle', 'OneRoundCornerRectangle', 'TwoSamesideRoundCornerRectangle', 'TwoDiagonalRoundCornerRectangle', 'OneSnipOneRoundCornerRectangle', 'OneSnipCornerRectangle', 'TwoSamesideSnipCornerRectangle', 'TwoDiagonalSnipCornerRectangle', 'Plaque', 'Ellipse', 'Teardrop', 'HomePlate', 'Chevron', 'PieWedge', 'Pie', 'BlockArc', 'Donut', 'NoSmoking', 'RightArrow', 'LeftArrow', 'UpArrow', 'DownArrow', 'StripedRightArrow', 'NotchedRightArrow', 'BentUpArrow', 'LeftRightArrow', 'UpDownArrow', 'LeftUpArrow', 'LeftRightUpArrow', 'QuadArrow', 'CalloutLeftArrow', 'CalloutRightArrow', 'CalloutUpArrow', 'CalloutDownArrow', 'CalloutLeftRightArrow', 'CalloutUpDownArrow', 'CalloutQuadArrow', 'BentArrow', 'UTurnArrow', 'CircularArrow', 'LeftCircularArrow', 'LeftRightCircularArrow', 'CurvedRightArrow', 'CurvedLeftArrow', 'CurvedUpArrow', 'CurvedDownArrow', 'SwooshArrow', 'Cube', 'Can', 'LightningBolt', 'Heart', 'Sun', 'Moon', 'SmileyFace', 'IrregularSeal1', 'IrregularSeal2', 'FoldedCorner', 'Bevel', 'Frame', 'HalfFrame', 'Corner', 'DiagonalStripe', 'Chord', 'CurvedArc', 'LeftBracket', 'RightBracket', 'LeftBrace', 'RightBrace', 'BracketPair', 'BracePair', 'StraightConnector1', 'BentConnector2', 'BentConnector3', 'BentConnector4', 'BentConnector5', 'CurvedConnector2', 'CurvedConnector3', 'CurvedConnector4', 'CurvedConnector5', 'Callout1', 'Callout2', 'Callout3', 'Callout1WithAccent', 'Callout2WithAccent', 'Callout3WithAccent', 'Callout1WithBorder', 'Callout2WithBorder', 'Callout3WithBorder', 'Callout1WithBorderAndAccent', 'Callout2WithBorderAndAccent', 'Callout3WithBorderAndAccent', 'CalloutWedgeRectangle', 'CalloutWedgeRoundRectangle', 'CalloutWedgeEllipse', 'CalloutCloud', 'Cloud', 'Ribbon', 'Ribbon2', 'EllipseRibbon', 'EllipseRibbon2', 'LeftRightRibbon', 'VerticalScroll', 'HorizontalScroll', 'Wave', 'DoubleWave', 'Plus', 'ProcessFlow', 'DecisionFlow', 'InputOutputFlow', 'PredefinedProcessFlow', 'InternalStorageFlow', 'DocumentFlow', 'MultiDocumentFlow', 'TerminatorFlow', 'PreparationFlow', 'ManualInputFlow', 'ManualOperationFlow', 'ConnectorFlow', 'PunchedCardFlow', 'PunchedTapeFlow', 'SummingJunctionFlow', 'OrFlow', 'CollateFlow', 'SortFlow', 'ExtractFlow', 'MergeFlow', 'OfflineStorageFlow', 'OnlineStorageFlow', 'MagneticTapeFlow', 'MagneticDiskFlow', 'MagneticDrumFlow', 'DisplayFlow', 'DelayFlow', 'AlternateProcessFlow', 'OffPageConnectorFlow', 'BlankButton', 'HomeButton', 'HelpButton', 'InformationButton', 'ForwardOrNextButton', 'BackOrPreviousButton', 'EndButton', 'BeginningButton', 'ReturnButton', 'DocumentButton', 'SoundButton', 'MovieButton', 'Gear6', 'Gear9', 'Funnel', 'PlusMath', 'MinusMath', 'MultiplyMath', 'DivideMath', 'EqualMath', 'NotEqualMath', 'CornerTabs', 'SquareTabs', 'PlaqueTabs', 'ChartX', 'ChartStar', 'ChartPlus', 'NotDefined'])
290
- return false unless geometry_shape_type_validator.valid?(@geometry_shape_type)
97
+ return false if !super
291
98
  true
292
99
  end
293
100
 
294
- # Custom attribute writer method checking allowed values (enum).
295
- # @param [Object] type Object to be assigned
296
- def type=(type)
297
- validator = EnumAttributeValidator.new('String', ['Shape', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'SmartArt', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'Connector', 'SmartArtShape'])
298
- unless validator.valid?(type)
299
- fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
300
- end
301
- @type = type
302
- end
303
-
304
- # Custom attribute writer method checking allowed values (enum).
305
- # @param [Object] shape_type Object to be assigned
306
- def shape_type=(shape_type)
307
- validator = EnumAttributeValidator.new('String', ['Custom', 'Line', 'LineInverse', 'Triangle', 'RightTriangle', 'Rectangle', 'Diamond', 'Parallelogram', 'Trapezoid', 'NonIsoscelesTrapezoid', 'Pentagon', 'Hexagon', 'Heptagon', 'Octagon', 'Decagon', 'Dodecagon', 'FourPointedStar', 'FivePointedStar', 'SixPointedStar', 'SevenPointedStar', 'EightPointedStar', 'TenPointedStar', 'TwelvePointedStar', 'SixteenPointedStar', 'TwentyFourPointedStar', 'ThirtyTwoPointedStar', 'RoundCornerRectangle', 'OneRoundCornerRectangle', 'TwoSamesideRoundCornerRectangle', 'TwoDiagonalRoundCornerRectangle', 'OneSnipOneRoundCornerRectangle', 'OneSnipCornerRectangle', 'TwoSamesideSnipCornerRectangle', 'TwoDiagonalSnipCornerRectangle', 'Plaque', 'Ellipse', 'Teardrop', 'HomePlate', 'Chevron', 'PieWedge', 'Pie', 'BlockArc', 'Donut', 'NoSmoking', 'RightArrow', 'LeftArrow', 'UpArrow', 'DownArrow', 'StripedRightArrow', 'NotchedRightArrow', 'BentUpArrow', 'LeftRightArrow', 'UpDownArrow', 'LeftUpArrow', 'LeftRightUpArrow', 'QuadArrow', 'CalloutLeftArrow', 'CalloutRightArrow', 'CalloutUpArrow', 'CalloutDownArrow', 'CalloutLeftRightArrow', 'CalloutUpDownArrow', 'CalloutQuadArrow', 'BentArrow', 'UTurnArrow', 'CircularArrow', 'LeftCircularArrow', 'LeftRightCircularArrow', 'CurvedRightArrow', 'CurvedLeftArrow', 'CurvedUpArrow', 'CurvedDownArrow', 'SwooshArrow', 'Cube', 'Can', 'LightningBolt', 'Heart', 'Sun', 'Moon', 'SmileyFace', 'IrregularSeal1', 'IrregularSeal2', 'FoldedCorner', 'Bevel', 'Frame', 'HalfFrame', 'Corner', 'DiagonalStripe', 'Chord', 'CurvedArc', 'LeftBracket', 'RightBracket', 'LeftBrace', 'RightBrace', 'BracketPair', 'BracePair', 'StraightConnector1', 'BentConnector2', 'BentConnector3', 'BentConnector4', 'BentConnector5', 'CurvedConnector2', 'CurvedConnector3', 'CurvedConnector4', 'CurvedConnector5', 'Callout1', 'Callout2', 'Callout3', 'Callout1WithAccent', 'Callout2WithAccent', 'Callout3WithAccent', 'Callout1WithBorder', 'Callout2WithBorder', 'Callout3WithBorder', 'Callout1WithBorderAndAccent', 'Callout2WithBorderAndAccent', 'Callout3WithBorderAndAccent', 'CalloutWedgeRectangle', 'CalloutWedgeRoundRectangle', 'CalloutWedgeEllipse', 'CalloutCloud', 'Cloud', 'Ribbon', 'Ribbon2', 'EllipseRibbon', 'EllipseRibbon2', 'LeftRightRibbon', 'VerticalScroll', 'HorizontalScroll', 'Wave', 'DoubleWave', 'Plus', 'ProcessFlow', 'DecisionFlow', 'InputOutputFlow', 'PredefinedProcessFlow', 'InternalStorageFlow', 'DocumentFlow', 'MultiDocumentFlow', 'TerminatorFlow', 'PreparationFlow', 'ManualInputFlow', 'ManualOperationFlow', 'ConnectorFlow', 'PunchedCardFlow', 'PunchedTapeFlow', 'SummingJunctionFlow', 'OrFlow', 'CollateFlow', 'SortFlow', 'ExtractFlow', 'MergeFlow', 'OfflineStorageFlow', 'OnlineStorageFlow', 'MagneticTapeFlow', 'MagneticDiskFlow', 'MagneticDrumFlow', 'DisplayFlow', 'DelayFlow', 'AlternateProcessFlow', 'OffPageConnectorFlow', 'BlankButton', 'HomeButton', 'HelpButton', 'InformationButton', 'ForwardOrNextButton', 'BackOrPreviousButton', 'EndButton', 'BeginningButton', 'ReturnButton', 'DocumentButton', 'SoundButton', 'MovieButton', 'Gear6', 'Gear9', 'Funnel', 'PlusMath', 'MinusMath', 'MultiplyMath', 'DivideMath', 'EqualMath', 'NotEqualMath', 'CornerTabs', 'SquareTabs', 'PlaqueTabs', 'ChartX', 'ChartStar', 'ChartPlus', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'Diagram', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'NotDefined'])
308
- unless validator.valid?(shape_type)
309
- fail ArgumentError, 'invalid value for "shape_type", must be one of #{validator.allowable_values}.'
310
- end
311
- @shape_type = shape_type
312
- end
313
-
314
- # Custom attribute writer method checking allowed values (enum).
315
- # @param [Object] geometry_shape_type Object to be assigned
316
- def geometry_shape_type=(geometry_shape_type)
317
- validator = EnumAttributeValidator.new('String', ['Custom', 'Line', 'LineInverse', 'Triangle', 'RightTriangle', 'Rectangle', 'Diamond', 'Parallelogram', 'Trapezoid', 'NonIsoscelesTrapezoid', 'Pentagon', 'Hexagon', 'Heptagon', 'Octagon', 'Decagon', 'Dodecagon', 'FourPointedStar', 'FivePointedStar', 'SixPointedStar', 'SevenPointedStar', 'EightPointedStar', 'TenPointedStar', 'TwelvePointedStar', 'SixteenPointedStar', 'TwentyFourPointedStar', 'ThirtyTwoPointedStar', 'RoundCornerRectangle', 'OneRoundCornerRectangle', 'TwoSamesideRoundCornerRectangle', 'TwoDiagonalRoundCornerRectangle', 'OneSnipOneRoundCornerRectangle', 'OneSnipCornerRectangle', 'TwoSamesideSnipCornerRectangle', 'TwoDiagonalSnipCornerRectangle', 'Plaque', 'Ellipse', 'Teardrop', 'HomePlate', 'Chevron', 'PieWedge', 'Pie', 'BlockArc', 'Donut', 'NoSmoking', 'RightArrow', 'LeftArrow', 'UpArrow', 'DownArrow', 'StripedRightArrow', 'NotchedRightArrow', 'BentUpArrow', 'LeftRightArrow', 'UpDownArrow', 'LeftUpArrow', 'LeftRightUpArrow', 'QuadArrow', 'CalloutLeftArrow', 'CalloutRightArrow', 'CalloutUpArrow', 'CalloutDownArrow', 'CalloutLeftRightArrow', 'CalloutUpDownArrow', 'CalloutQuadArrow', 'BentArrow', 'UTurnArrow', 'CircularArrow', 'LeftCircularArrow', 'LeftRightCircularArrow', 'CurvedRightArrow', 'CurvedLeftArrow', 'CurvedUpArrow', 'CurvedDownArrow', 'SwooshArrow', 'Cube', 'Can', 'LightningBolt', 'Heart', 'Sun', 'Moon', 'SmileyFace', 'IrregularSeal1', 'IrregularSeal2', 'FoldedCorner', 'Bevel', 'Frame', 'HalfFrame', 'Corner', 'DiagonalStripe', 'Chord', 'CurvedArc', 'LeftBracket', 'RightBracket', 'LeftBrace', 'RightBrace', 'BracketPair', 'BracePair', 'StraightConnector1', 'BentConnector2', 'BentConnector3', 'BentConnector4', 'BentConnector5', 'CurvedConnector2', 'CurvedConnector3', 'CurvedConnector4', 'CurvedConnector5', 'Callout1', 'Callout2', 'Callout3', 'Callout1WithAccent', 'Callout2WithAccent', 'Callout3WithAccent', 'Callout1WithBorder', 'Callout2WithBorder', 'Callout3WithBorder', 'Callout1WithBorderAndAccent', 'Callout2WithBorderAndAccent', 'Callout3WithBorderAndAccent', 'CalloutWedgeRectangle', 'CalloutWedgeRoundRectangle', 'CalloutWedgeEllipse', 'CalloutCloud', 'Cloud', 'Ribbon', 'Ribbon2', 'EllipseRibbon', 'EllipseRibbon2', 'LeftRightRibbon', 'VerticalScroll', 'HorizontalScroll', 'Wave', 'DoubleWave', 'Plus', 'ProcessFlow', 'DecisionFlow', 'InputOutputFlow', 'PredefinedProcessFlow', 'InternalStorageFlow', 'DocumentFlow', 'MultiDocumentFlow', 'TerminatorFlow', 'PreparationFlow', 'ManualInputFlow', 'ManualOperationFlow', 'ConnectorFlow', 'PunchedCardFlow', 'PunchedTapeFlow', 'SummingJunctionFlow', 'OrFlow', 'CollateFlow', 'SortFlow', 'ExtractFlow', 'MergeFlow', 'OfflineStorageFlow', 'OnlineStorageFlow', 'MagneticTapeFlow', 'MagneticDiskFlow', 'MagneticDrumFlow', 'DisplayFlow', 'DelayFlow', 'AlternateProcessFlow', 'OffPageConnectorFlow', 'BlankButton', 'HomeButton', 'HelpButton', 'InformationButton', 'ForwardOrNextButton', 'BackOrPreviousButton', 'EndButton', 'BeginningButton', 'ReturnButton', 'DocumentButton', 'SoundButton', 'MovieButton', 'Gear6', 'Gear9', 'Funnel', 'PlusMath', 'MinusMath', 'MultiplyMath', 'DivideMath', 'EqualMath', 'NotEqualMath', 'CornerTabs', 'SquareTabs', 'PlaqueTabs', 'ChartX', 'ChartStar', 'ChartPlus', 'NotDefined'])
318
- unless validator.valid?(geometry_shape_type)
319
- fail ArgumentError, 'invalid value for "geometry_shape_type", must be one of #{validator.allowable_values}.'
320
- end
321
- @geometry_shape_type = geometry_shape_type
322
- end
323
-
324
101
  # Checks equality by comparing each attribute.
325
102
  # @param [Object] Object to be compared
326
103
  def ==(o)