aspose_slides_cloud 19.10.0 → 20.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +51 -2
  4. data/lib/aspose_slides_cloud.rb +7 -0
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +1847 -407
  6. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +742 -152
  7. data/lib/aspose_slides_cloud/api_client.rb +1 -0
  8. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +0 -15
  9. data/lib/aspose_slides_cloud/models/axis.rb +0 -160
  10. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +490 -0
  11. data/lib/aspose_slides_cloud/models/bubble_series.rb +2 -37
  12. data/lib/aspose_slides_cloud/models/chart.rb +3 -3
  13. data/lib/aspose_slides_cloud/models/chart_category.rb +237 -0
  14. data/lib/aspose_slides_cloud/models/chart_wall.rb +0 -10
  15. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +205 -0
  16. data/lib/aspose_slides_cloud/models/document.rb +11 -1
  17. data/lib/aspose_slides_cloud/models/document_replace_result.rb +11 -1
  18. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  19. data/lib/aspose_slides_cloud/models/legend.rb +0 -30
  20. data/lib/aspose_slides_cloud/models/line_format.rb +0 -35
  21. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +205 -0
  22. data/lib/aspose_slides_cloud/models/one_value_series.rb +2 -37
  23. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +33 -6
  24. data/lib/aspose_slides_cloud/models/plot_area.rb +0 -25
  25. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  26. data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
  27. data/lib/aspose_slides_cloud/models/scatter_series.rb +2 -37
  28. data/lib/aspose_slides_cloud/models/series.rb +2 -37
  29. data/lib/aspose_slides_cloud/models/series_marker.rb +0 -10
  30. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  31. data/lib/aspose_slides_cloud/models/table.rb +0 -40
  32. data/lib/aspose_slides_cloud/models/table_cell.rb +0 -40
  33. data/lib/aspose_slides_cloud/models/view_properties.rb +367 -0
  34. data/lib/aspose_slides_cloud/models/waterfall_series.rb +438 -0
  35. data/lib/aspose_slides_cloud/version.rb +1 -1
  36. data/spec/api/slides_api_spec.rb +16468 -11925
  37. data/spec/extra/extra_spec.rb +5 -5
  38. data/spec/spec_utils.rb +1 -1
  39. data/testRules.json +53 -5
  40. metadata +8 -2
@@ -82,6 +82,9 @@ module AsposeSlidesCloud
82
82
  # True to apply specified ImageTransparentColor to an image.
83
83
  attr_accessor :apply_image_transparent
84
84
 
85
+ # Access permissions that should be granted when the document is opened with user access. Default is AccessPermissions.None.
86
+ attr_accessor :access_permissions
87
+
85
88
  class EnumAttributeValidator
86
89
  attr_reader :datatype
87
90
  attr_reader :allowable_values
@@ -125,7 +128,8 @@ module AsposeSlidesCloud
125
128
  :'comments_area_color' => :'CommentsAreaColor',
126
129
  :'show_comments_by_no_author' => :'ShowCommentsByNoAuthor',
127
130
  :'image_transparent_color' => :'ImageTransparentColor',
128
- :'apply_image_transparent' => :'ApplyImageTransparent'
131
+ :'apply_image_transparent' => :'ApplyImageTransparent',
132
+ :'access_permissions' => :'AccessPermissions'
129
133
  }
130
134
  end
131
135
 
@@ -150,7 +154,8 @@ module AsposeSlidesCloud
150
154
  :'comments_area_color' => :'String',
151
155
  :'show_comments_by_no_author' => :'BOOLEAN',
152
156
  :'image_transparent_color' => :'String',
153
- :'apply_image_transparent' => :'BOOLEAN'
157
+ :'apply_image_transparent' => :'BOOLEAN',
158
+ :'access_permissions' => :'String'
154
159
  }
155
160
  end
156
161
 
@@ -241,6 +246,10 @@ module AsposeSlidesCloud
241
246
  if attributes.has_key?(:'ApplyImageTransparent')
242
247
  self.apply_image_transparent = attributes[:'ApplyImageTransparent']
243
248
  end
249
+
250
+ if attributes.has_key?(:'AccessPermissions')
251
+ self.access_permissions = attributes[:'AccessPermissions']
252
+ end
244
253
  end
245
254
 
246
255
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -303,6 +312,10 @@ module AsposeSlidesCloud
303
312
  invalid_properties.push('invalid value for "apply_image_transparent", apply_image_transparent cannot be nil.')
304
313
  end
305
314
 
315
+ if @access_permissions.nil?
316
+ invalid_properties.push('invalid value for "access_permissions", access_permissions cannot be nil.')
317
+ end
318
+
306
319
  invalid_properties
307
320
  end
308
321
 
@@ -314,7 +327,7 @@ module AsposeSlidesCloud
314
327
  return false unless text_compression_validator.valid?(@text_compression)
315
328
  return false if @embed_full_fonts.nil?
316
329
  return false if @compliance.nil?
317
- compliance_validator = EnumAttributeValidator.new('String', ['Pdf15', 'PdfA1b'])
330
+ compliance_validator = EnumAttributeValidator.new('String', ['Pdf15', 'PdfA1b', 'PdfA1a', 'PdfUa'])
318
331
  return false unless compliance_validator.valid?(@compliance)
319
332
  return false if @sufficient_resolution.nil?
320
333
  return false if @jpeg_quality.nil?
@@ -331,6 +344,9 @@ module AsposeSlidesCloud
331
344
  return false if @comments_area_width.nil?
332
345
  return false if @show_comments_by_no_author.nil?
333
346
  return false if @apply_image_transparent.nil?
347
+ return false if @access_permissions.nil?
348
+ access_permissions_validator = EnumAttributeValidator.new('String', ['None', 'PrintDocument', 'ModifyContent', 'CopyTextAndGraphics', 'AddOrModifyFields', 'FillExistingFields', 'ExtractTextAndGraphics', 'AssembleDocument', 'HighQualityPrint'])
349
+ return false unless access_permissions_validator.valid?(@access_permissions)
334
350
  true
335
351
  end
336
352
 
@@ -347,7 +363,7 @@ module AsposeSlidesCloud
347
363
  # Custom attribute writer method checking allowed values (enum).
348
364
  # @param [Object] compliance Object to be assigned
349
365
  def compliance=(compliance)
350
- validator = EnumAttributeValidator.new('String', ['Pdf15', 'PdfA1b'])
366
+ validator = EnumAttributeValidator.new('String', ['Pdf15', 'PdfA1b', 'PdfA1a', 'PdfUa'])
351
367
  unless validator.valid?(compliance)
352
368
  fail ArgumentError, 'invalid value for "compliance", must be one of #{validator.allowable_values}.'
353
369
  end
@@ -374,6 +390,16 @@ module AsposeSlidesCloud
374
390
  @comments_position = comments_position
375
391
  end
376
392
 
393
+ # Custom attribute writer method checking allowed values (enum).
394
+ # @param [Object] access_permissions Object to be assigned
395
+ def access_permissions=(access_permissions)
396
+ validator = EnumAttributeValidator.new('String', ['None', 'PrintDocument', 'ModifyContent', 'CopyTextAndGraphics', 'AddOrModifyFields', 'FillExistingFields', 'ExtractTextAndGraphics', 'AssembleDocument', 'HighQualityPrint'])
397
+ unless validator.valid?(access_permissions)
398
+ fail ArgumentError, 'invalid value for "access_permissions", must be one of #{validator.allowable_values}.'
399
+ end
400
+ @access_permissions = access_permissions
401
+ end
402
+
377
403
  # Checks equality by comparing each attribute.
378
404
  # @param [Object] Object to be compared
379
405
  def ==(o)
@@ -397,7 +423,8 @@ module AsposeSlidesCloud
397
423
  comments_area_color == o.comments_area_color &&
398
424
  show_comments_by_no_author == o.show_comments_by_no_author &&
399
425
  image_transparent_color == o.image_transparent_color &&
400
- apply_image_transparent == o.apply_image_transparent
426
+ apply_image_transparent == o.apply_image_transparent &&
427
+ access_permissions == o.access_permissions
401
428
  end
402
429
 
403
430
  # @see the `==` method
@@ -409,7 +436,7 @@ module AsposeSlidesCloud
409
436
  # Calculates hash code according to all attributes.
410
437
  # @return [Fixnum] Hash code
411
438
  def hash
412
- [format, text_compression, embed_full_fonts, compliance, sufficient_resolution, jpeg_quality, draw_slides_frame, show_hidden_slides, save_metafiles_as_png, password, embed_true_type_fonts_for_ascii, additional_common_font_families, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author, image_transparent_color, apply_image_transparent].hash
439
+ [format, text_compression, embed_full_fonts, compliance, sufficient_resolution, jpeg_quality, draw_slides_frame, show_hidden_slides, save_metafiles_as_png, password, embed_true_type_fonts_for_ascii, additional_common_font_families, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author, image_transparent_color, apply_image_transparent, access_permissions].hash
413
440
  end
414
441
 
415
442
  # Builds the object from hash
@@ -144,37 +144,12 @@ module AsposeSlidesCloud
144
144
  # @return Array for valid properties with the reasons
145
145
  def list_invalid_properties
146
146
  invalid_properties = Array.new
147
- if @x.nil?
148
- invalid_properties.push('invalid value for "x", x cannot be nil.')
149
- end
150
-
151
- if @y.nil?
152
- invalid_properties.push('invalid value for "y", y cannot be nil.')
153
- end
154
-
155
- if @width.nil?
156
- invalid_properties.push('invalid value for "width", width cannot be nil.')
157
- end
158
-
159
- if @height.nil?
160
- invalid_properties.push('invalid value for "height", height cannot be nil.')
161
- end
162
-
163
- if @layout_target_type.nil?
164
- invalid_properties.push('invalid value for "layout_target_type", layout_target_type cannot be nil.')
165
- end
166
-
167
147
  invalid_properties
168
148
  end
169
149
 
170
150
  # Check to see if the all the properties in the model are valid
171
151
  # @return true if the model is valid
172
152
  def valid?
173
- return false if @x.nil?
174
- return false if @y.nil?
175
- return false if @width.nil?
176
- return false if @height.nil?
177
- return false if @layout_target_type.nil?
178
153
  layout_target_type_validator = EnumAttributeValidator.new('String', ['Inner', 'Outer'])
179
154
  return false unless layout_target_type_validator.valid?(@layout_target_type)
180
155
  true
@@ -128,7 +128,7 @@ module AsposeSlidesCloud
128
128
  type_validator = EnumAttributeValidator.new('String', ['Save', 'SaveSlide', 'SaveShape', 'AddSlide', 'AddMasterSlide', 'AddLayoutSlide', 'RemoveSlide', 'ReoderSlide', 'Merge', 'UpdateBackground', 'ResetSlide', 'AddShape', 'RemoveShape', 'UpdateShape', 'ReplaceText'])
129
129
  return false unless type_validator.valid?(@type)
130
130
  return false if @format.nil?
131
- format_validator = EnumAttributeValidator.new('String', ['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp'])
131
+ format_validator = EnumAttributeValidator.new('String', ['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'])
132
132
  return false unless format_validator.valid?(@format)
133
133
  true
134
134
  end
@@ -146,7 +146,7 @@ module AsposeSlidesCloud
146
146
  # Custom attribute writer method checking allowed values (enum).
147
147
  # @param [Object] format Object to be assigned
148
148
  def format=(format)
149
- validator = EnumAttributeValidator.new('String', ['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp'])
149
+ validator = EnumAttributeValidator.new('String', ['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'])
150
150
  unless validator.valid?(format)
151
151
  fail ArgumentError, 'invalid value for "format", must be one of #{validator.allowable_values}.'
152
152
  end
@@ -159,7 +159,7 @@ module AsposeSlidesCloud
159
159
  type_validator = EnumAttributeValidator.new('String', ['Save', 'SaveSlide', 'SaveShape', 'AddSlide', 'AddMasterSlide', 'AddLayoutSlide', 'RemoveSlide', 'ReoderSlide', 'Merge', 'UpdateBackground', 'ResetSlide', 'AddShape', 'RemoveShape', 'UpdateShape', 'ReplaceText'])
160
160
  return false unless type_validator.valid?(@type)
161
161
  return false if @format.nil?
162
- format_validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg'])
162
+ format_validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp'])
163
163
  return false unless format_validator.valid?(@format)
164
164
  return false if @position.nil?
165
165
  true
@@ -178,7 +178,7 @@ module AsposeSlidesCloud
178
178
  # Custom attribute writer method checking allowed values (enum).
179
179
  # @param [Object] format Object to be assigned
180
180
  def format=(format)
181
- validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg'])
181
+ validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp'])
182
182
  unless validator.valid?(format)
183
183
  fail ArgumentError, 'invalid value for "format", must be one of #{validator.allowable_values}.'
184
184
  end
@@ -245,34 +245,6 @@ module AsposeSlidesCloud
245
245
  # @return Array for valid properties with the reasons
246
246
  def list_invalid_properties
247
247
  invalid_properties = Array.new
248
- if @type.nil?
249
- invalid_properties.push('invalid value for "type", type cannot be nil.')
250
- end
251
-
252
- if @is_color_varied.nil?
253
- invalid_properties.push('invalid value for "is_color_varied", is_color_varied cannot be nil.')
254
- end
255
-
256
- if @smooth.nil?
257
- invalid_properties.push('invalid value for "smooth", smooth cannot be nil.')
258
- end
259
-
260
- if @plot_on_second_axis.nil?
261
- invalid_properties.push('invalid value for "plot_on_second_axis", plot_on_second_axis cannot be nil.')
262
- end
263
-
264
- if @order.nil?
265
- invalid_properties.push('invalid value for "order", order cannot be nil.')
266
- end
267
-
268
- if @invert_if_negative.nil?
269
- invalid_properties.push('invalid value for "invert_if_negative", invert_if_negative cannot be nil.')
270
- end
271
-
272
- if @explosion.nil?
273
- invalid_properties.push('invalid value for "explosion", explosion cannot be nil.')
274
- end
275
-
276
248
  if @data_point_type.nil?
277
249
  invalid_properties.push('invalid value for "data_point_type", data_point_type cannot be nil.')
278
250
  end
@@ -283,15 +255,8 @@ module AsposeSlidesCloud
283
255
  # Check to see if the all the properties in the model are valid
284
256
  # @return true if the model is valid
285
257
  def valid?
286
- return false if @type.nil?
287
- 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'])
258
+ 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'])
288
259
  return false unless type_validator.valid?(@type)
289
- return false if @is_color_varied.nil?
290
- return false if @smooth.nil?
291
- return false if @plot_on_second_axis.nil?
292
- return false if @order.nil?
293
- return false if @invert_if_negative.nil?
294
- return false if @explosion.nil?
295
260
  return false if @data_point_type.nil?
296
261
  data_point_type_validator = EnumAttributeValidator.new('String', ['OneValue', 'Scatter', 'Bubble'])
297
262
  return false unless data_point_type_validator.valid?(@data_point_type)
@@ -301,7 +266,7 @@ module AsposeSlidesCloud
301
266
  # Custom attribute writer method checking allowed values (enum).
302
267
  # @param [Object] type Object to be assigned
303
268
  def type=(type)
304
- 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'])
269
+ 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'])
305
270
  unless validator.valid?(type)
306
271
  fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
307
272
  end
@@ -225,56 +225,21 @@ module AsposeSlidesCloud
225
225
  # @return Array for valid properties with the reasons
226
226
  def list_invalid_properties
227
227
  invalid_properties = Array.new
228
- if @type.nil?
229
- invalid_properties.push('invalid value for "type", type cannot be nil.')
230
- end
231
-
232
- if @is_color_varied.nil?
233
- invalid_properties.push('invalid value for "is_color_varied", is_color_varied cannot be nil.')
234
- end
235
-
236
- if @smooth.nil?
237
- invalid_properties.push('invalid value for "smooth", smooth cannot be nil.')
238
- end
239
-
240
- if @plot_on_second_axis.nil?
241
- invalid_properties.push('invalid value for "plot_on_second_axis", plot_on_second_axis cannot be nil.')
242
- end
243
-
244
- if @order.nil?
245
- invalid_properties.push('invalid value for "order", order cannot be nil.')
246
- end
247
-
248
- if @invert_if_negative.nil?
249
- invalid_properties.push('invalid value for "invert_if_negative", invert_if_negative cannot be nil.')
250
- end
251
-
252
- if @explosion.nil?
253
- invalid_properties.push('invalid value for "explosion", explosion cannot be nil.')
254
- end
255
-
256
228
  invalid_properties
257
229
  end
258
230
 
259
231
  # Check to see if the all the properties in the model are valid
260
232
  # @return true if the model is valid
261
233
  def valid?
262
- return false if @type.nil?
263
- 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'])
234
+ 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'])
264
235
  return false unless type_validator.valid?(@type)
265
- return false if @is_color_varied.nil?
266
- return false if @smooth.nil?
267
- return false if @plot_on_second_axis.nil?
268
- return false if @order.nil?
269
- return false if @invert_if_negative.nil?
270
- return false if @explosion.nil?
271
236
  true
272
237
  end
273
238
 
274
239
  # Custom attribute writer method checking allowed values (enum).
275
240
  # @param [Object] type Object to be assigned
276
241
  def type=(type)
277
- 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'])
242
+ 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'])
278
243
  unless validator.valid?(type)
279
244
  fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
280
245
  end
@@ -117,22 +117,12 @@ module AsposeSlidesCloud
117
117
  # @return Array for valid properties with the reasons
118
118
  def list_invalid_properties
119
119
  invalid_properties = Array.new
120
- if @size.nil?
121
- invalid_properties.push('invalid value for "size", size cannot be nil.')
122
- end
123
-
124
- if @symbol.nil?
125
- invalid_properties.push('invalid value for "symbol", symbol cannot be nil.')
126
- end
127
-
128
120
  invalid_properties
129
121
  end
130
122
 
131
123
  # Check to see if the all the properties in the model are valid
132
124
  # @return true if the model is valid
133
125
  def valid?
134
- return false if @size.nil?
135
- return false if @symbol.nil?
136
126
  symbol_validator = EnumAttributeValidator.new('String', ['Circle', 'Dash', 'Diamond', 'Dot', 'None', 'Picture', 'Plus', 'Square', 'Star', 'Triangle', 'X', 'NotDefined'])
137
127
  return false unless symbol_validator.valid?(@symbol)
138
128
  true
@@ -45,6 +45,7 @@ module AsposeSlidesCloud
45
45
  POT = "Pot".freeze
46
46
  POTM = "Potm".freeze
47
47
  SVG = "Svg".freeze
48
+ FODP = "Fodp".freeze
48
49
 
49
50
  # Builds the enum from string
50
51
  # @param [String] The enum value in the form of the string
@@ -337,38 +337,6 @@ module AsposeSlidesCloud
337
337
  invalid_properties.push('invalid value for "shape_type", shape_type cannot be nil.')
338
338
  end
339
339
 
340
- if @style.nil?
341
- invalid_properties.push('invalid value for "style", style cannot be nil.')
342
- end
343
-
344
- if @first_col.nil?
345
- invalid_properties.push('invalid value for "first_col", first_col cannot be nil.')
346
- end
347
-
348
- if @first_row.nil?
349
- invalid_properties.push('invalid value for "first_row", first_row cannot be nil.')
350
- end
351
-
352
- if @horizontal_banding.nil?
353
- invalid_properties.push('invalid value for "horizontal_banding", horizontal_banding cannot be nil.')
354
- end
355
-
356
- if @last_col.nil?
357
- invalid_properties.push('invalid value for "last_col", last_col cannot be nil.')
358
- end
359
-
360
- if @last_row.nil?
361
- invalid_properties.push('invalid value for "last_row", last_row cannot be nil.')
362
- end
363
-
364
- if @right_to_left.nil?
365
- invalid_properties.push('invalid value for "right_to_left", right_to_left cannot be nil.')
366
- end
367
-
368
- if @vertical_banding.nil?
369
- invalid_properties.push('invalid value for "vertical_banding", vertical_banding cannot be nil.')
370
- end
371
-
372
340
  invalid_properties
373
341
  end
374
342
 
@@ -382,16 +350,8 @@ module AsposeSlidesCloud
382
350
  return false if @shape_type.nil?
383
351
  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'])
384
352
  return false unless shape_type_validator.valid?(@shape_type)
385
- return false if @style.nil?
386
353
  style_validator = EnumAttributeValidator.new('String', ['None', 'MediumStyle2Accent1', 'MediumStyle2', 'NoStyleNoGrid', 'ThemedStyle1Accent1', 'ThemedStyle1Accent2', 'ThemedStyle1Accent3', 'ThemedStyle1Accent4', 'ThemedStyle1Accent5', 'ThemedStyle1Accent6', 'NoStyleTableGrid', 'ThemedStyle2Accent1', 'ThemedStyle2Accent2', 'ThemedStyle2Accent3', 'ThemedStyle2Accent4', 'ThemedStyle2Accent5', 'ThemedStyle2Accent6', 'LightStyle1', 'LightStyle1Accent1', 'LightStyle1Accent2', 'LightStyle1Accent3', 'LightStyle1Accent4', 'LightStyle2Accent5', 'LightStyle1Accent6', 'LightStyle2', 'LightStyle2Accent1', 'LightStyle2Accent2', 'LightStyle2Accent3', 'MediumStyle2Accent3', 'MediumStyle2Accent4', 'MediumStyle2Accent5', 'LightStyle2Accent6', 'LightStyle2Accent4', 'LightStyle3', 'LightStyle3Accent1', 'MediumStyle2Accent2', 'LightStyle3Accent2', 'LightStyle3Accent3', 'LightStyle3Accent4', 'LightStyle3Accent5', 'LightStyle3Accent6', 'MediumStyle1', 'MediumStyle1Accent1', 'MediumStyle1Accent2', 'MediumStyle1Accent3', 'MediumStyle1Accent4', 'MediumStyle1Accent5', 'MediumStyle1Accent6', 'MediumStyle2Accent6', 'MediumStyle3', 'MediumStyle3Accent1', 'MediumStyle3Accent2', 'MediumStyle3Accent3', 'MediumStyle3Accent4', 'MediumStyle3Accent5', 'MediumStyle3Accent6', 'MediumStyle4', 'MediumStyle4Accent1', 'MediumStyle4Accent2', 'MediumStyle4Accent3', 'MediumStyle4Accent4', 'MediumStyle4Accent5', 'MediumStyle4Accent6', 'DarkStyle1', 'DarkStyle1Accent1', 'DarkStyle1Accent2', 'DarkStyle1Accent3', 'DarkStyle1Accent4', 'DarkStyle1Accent5', 'DarkStyle1Accent6', 'DarkStyle2', 'DarkStyle2Accent1Accent2', 'DarkStyle2Accent3Accent4', 'DarkStyle2Accent5Accent6', 'LightStyle1Accent5', 'Custom'])
387
354
  return false unless style_validator.valid?(@style)
388
- return false if @first_col.nil?
389
- return false if @first_row.nil?
390
- return false if @horizontal_banding.nil?
391
- return false if @last_col.nil?
392
- return false if @last_row.nil?
393
- return false if @right_to_left.nil?
394
- return false if @vertical_banding.nil?
395
355
  true
396
356
  end
397
357
 
@@ -216,54 +216,14 @@ module AsposeSlidesCloud
216
216
  # @return Array for valid properties with the reasons
217
217
  def list_invalid_properties
218
218
  invalid_properties = Array.new
219
- if @row_span.nil?
220
- invalid_properties.push('invalid value for "row_span", row_span cannot be nil.')
221
- end
222
-
223
- if @col_span.nil?
224
- invalid_properties.push('invalid value for "col_span", col_span cannot be nil.')
225
- end
226
-
227
- if @margin_top.nil?
228
- invalid_properties.push('invalid value for "margin_top", margin_top cannot be nil.')
229
- end
230
-
231
- if @margin_right.nil?
232
- invalid_properties.push('invalid value for "margin_right", margin_right cannot be nil.')
233
- end
234
-
235
- if @margin_left.nil?
236
- invalid_properties.push('invalid value for "margin_left", margin_left cannot be nil.')
237
- end
238
-
239
- if @margin_bottom.nil?
240
- invalid_properties.push('invalid value for "margin_bottom", margin_bottom cannot be nil.')
241
- end
242
-
243
- if @text_anchor_type.nil?
244
- invalid_properties.push('invalid value for "text_anchor_type", text_anchor_type cannot be nil.')
245
- end
246
-
247
- if @text_vertical_type.nil?
248
- invalid_properties.push('invalid value for "text_vertical_type", text_vertical_type cannot be nil.')
249
- end
250
-
251
219
  invalid_properties
252
220
  end
253
221
 
254
222
  # Check to see if the all the properties in the model are valid
255
223
  # @return true if the model is valid
256
224
  def valid?
257
- return false if @row_span.nil?
258
- return false if @col_span.nil?
259
- return false if @margin_top.nil?
260
- return false if @margin_right.nil?
261
- return false if @margin_left.nil?
262
- return false if @margin_bottom.nil?
263
- return false if @text_anchor_type.nil?
264
225
  text_anchor_type_validator = EnumAttributeValidator.new('String', ['Top', 'Center', 'Bottom', 'Justified', 'Distributed', 'NotDefined'])
265
226
  return false unless text_anchor_type_validator.valid?(@text_anchor_type)
266
- return false if @text_vertical_type.nil?
267
227
  text_vertical_type_validator = EnumAttributeValidator.new('String', ['Horizontal', 'Vertical', 'Vertical270', 'WordArtVertical', 'EastAsianVertical', 'MongolianVertical', 'WordArtVerticalRightToLeft', 'NotDefined'])
268
228
  return false unless text_vertical_type_validator.valid?(@text_vertical_type)
269
229
  true