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
@@ -40,6 +40,9 @@ module AsposeSlidesCloud
40
40
  # Get or sets the line format.
41
41
  attr_accessor :line_format
42
42
 
43
+ # Gets or sets the data points for chart data
44
+ attr_accessor :data_points
45
+
43
46
  # Attribute mapping from ruby-style variable name to JSON key.
44
47
  def self.attribute_map
45
48
  {
@@ -47,7 +50,8 @@ module AsposeSlidesCloud
47
50
  :'value' => :'Value',
48
51
  :'fill_format' => :'FillFormat',
49
52
  :'effect_format' => :'EffectFormat',
50
- :'line_format' => :'LineFormat'
53
+ :'line_format' => :'LineFormat',
54
+ :'data_points' => :'DataPoints',
51
55
  }
52
56
  end
53
57
 
@@ -58,7 +62,8 @@ module AsposeSlidesCloud
58
62
  :'value' => :'String',
59
63
  :'fill_format' => :'FillFormat',
60
64
  :'effect_format' => :'EffectFormat',
61
- :'line_format' => :'LineFormat'
65
+ :'line_format' => :'LineFormat',
66
+ :'data_points' => :'Array<OneValueChartDataPoint>',
62
67
  }
63
68
  end
64
69
 
@@ -91,6 +96,12 @@ module AsposeSlidesCloud
91
96
  if attributes.has_key?(:'LineFormat')
92
97
  self.line_format = attributes[:'LineFormat']
93
98
  end
99
+
100
+ if attributes.has_key?(:'DataPoints')
101
+ if (value = attributes[:'DataPoints']).is_a?(Array)
102
+ self.data_points = value
103
+ end
104
+ end
94
105
  end
95
106
 
96
107
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -115,7 +126,8 @@ module AsposeSlidesCloud
115
126
  value == o.value &&
116
127
  fill_format == o.fill_format &&
117
128
  effect_format == o.effect_format &&
118
- line_format == o.line_format
129
+ line_format == o.line_format &&
130
+ data_points == o.data_points
119
131
  end
120
132
 
121
133
  # @see the `==` method
@@ -127,7 +139,7 @@ module AsposeSlidesCloud
127
139
  # Calculates hash code according to all attributes.
128
140
  # @return [Fixnum] Hash code
129
141
  def hash
130
- [categories, value, fill_format, effect_format, line_format].hash
142
+ [categories, value, fill_format, effect_format, line_format, data_points].hash
131
143
  end
132
144
 
133
145
  # Builds the object from hash
@@ -35,7 +35,7 @@ module AsposeSlidesCloud
35
35
  def self.attribute_map
36
36
  {
37
37
  :'text' => :'Text',
38
- :'has_title' => :'HasTitle'
38
+ :'has_title' => :'HasTitle',
39
39
  }
40
40
  end
41
41
 
@@ -43,7 +43,7 @@ module AsposeSlidesCloud
43
43
  def self.swagger_types
44
44
  {
45
45
  :'text' => :'String',
46
- :'has_title' => :'BOOLEAN'
46
+ :'has_title' => :'BOOLEAN',
47
47
  }
48
48
  end
49
49
 
@@ -69,7 +69,7 @@ module AsposeSlidesCloud
69
69
  :'effect_format' => :'EffectFormat',
70
70
  :'line_format' => :'LineFormat',
71
71
  :'thickness' => :'Thickness',
72
- :'picture_type' => :'PictureType'
72
+ :'picture_type' => :'PictureType',
73
73
  }
74
74
  end
75
75
 
@@ -80,7 +80,7 @@ module AsposeSlidesCloud
80
80
  :'effect_format' => :'EffectFormat',
81
81
  :'line_format' => :'LineFormat',
82
82
  :'thickness' => :'Integer',
83
- :'picture_type' => :'String'
83
+ :'picture_type' => :'String',
84
84
  }
85
85
  end
86
86
 
@@ -24,13 +24,7 @@ require 'date'
24
24
 
25
25
  module AsposeSlidesCloud
26
26
  # Slide's color scheme DTO
27
- class ColorScheme
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
-
27
+ class ColorScheme < ResourceBase
34
28
  # First accent color.
35
29
  attr_accessor :accent1
36
30
 
@@ -69,9 +63,7 @@ module AsposeSlidesCloud
69
63
 
70
64
  # Attribute mapping from ruby-style variable name to JSON key.
71
65
  def self.attribute_map
72
- {
73
- :'self_uri' => :'SelfUri',
74
- :'alternate_links' => :'AlternateLinks',
66
+ super.merge({
75
67
  :'accent1' => :'Accent1',
76
68
  :'accent2' => :'Accent2',
77
69
  :'accent3' => :'Accent3',
@@ -83,15 +75,13 @@ module AsposeSlidesCloud
83
75
  :'followed_hyperlink' => :'FollowedHyperlink',
84
76
  :'hyperlink' => :'Hyperlink',
85
77
  :'light1' => :'Light1',
86
- :'light2' => :'Light2'
87
- }
78
+ :'light2' => :'Light2',
79
+ })
88
80
  end
89
81
 
90
82
  # Attribute type mapping.
91
83
  def self.swagger_types
92
- {
93
- :'self_uri' => :'ResourceUri',
94
- :'alternate_links' => :'Array<ResourceUri>',
84
+ super.merge({
95
85
  :'accent1' => :'String',
96
86
  :'accent2' => :'String',
97
87
  :'accent3' => :'String',
@@ -103,27 +93,14 @@ module AsposeSlidesCloud
103
93
  :'followed_hyperlink' => :'String',
104
94
  :'hyperlink' => :'String',
105
95
  :'light1' => :'String',
106
- :'light2' => :'String'
107
- }
96
+ :'light2' => :'String',
97
+ })
108
98
  end
109
99
 
110
100
  # Initializes the object
111
101
  # @param [Hash] attributes Model attributes in the form of hash
112
102
  def initialize(attributes = {})
113
- return unless attributes.is_a?(Hash)
114
-
115
- # convert string to symbol for hash key
116
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
117
-
118
- if attributes.has_key?(:'SelfUri')
119
- self.self_uri = attributes[:'SelfUri']
120
- end
121
-
122
- if attributes.has_key?(:'AlternateLinks')
123
- if (value = attributes[:'AlternateLinks']).is_a?(Array)
124
- self.alternate_links = value
125
- end
126
- end
103
+ super
127
104
 
128
105
  if attributes.has_key?(:'Accent1')
129
106
  self.accent1 = attributes[:'Accent1']
@@ -177,13 +154,14 @@ module AsposeSlidesCloud
177
154
  # Show invalid properties with the reasons. Usually used together with valid?
178
155
  # @return Array for valid properties with the reasons
179
156
  def list_invalid_properties
180
- invalid_properties = Array.new
157
+ invalid_properties = super
181
158
  invalid_properties
182
159
  end
183
160
 
184
161
  # Check to see if the all the properties in the model are valid
185
162
  # @return true if the model is valid
186
163
  def valid?
164
+ return false if !super
187
165
  true
188
166
  end
189
167
 
@@ -35,7 +35,7 @@ module AsposeSlidesCloud
35
35
  def self.attribute_map
36
36
  {
37
37
  :'scale' => :'Scale',
38
- :'variable_scale' => :'VariableScale'
38
+ :'variable_scale' => :'VariableScale',
39
39
  }
40
40
  end
41
41
 
@@ -43,7 +43,7 @@ module AsposeSlidesCloud
43
43
  def self.swagger_types
44
44
  {
45
45
  :'scale' => :'Integer',
46
- :'variable_scale' => :'BOOLEAN'
46
+ :'variable_scale' => :'BOOLEAN',
47
47
  }
48
48
  end
49
49
 
@@ -24,61 +24,7 @@ require 'date'
24
24
 
25
25
  module AsposeSlidesCloud
26
26
  # Represents Connector resource.
27
- class Connector
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 Connector < GeometryShape
82
28
  # Start shape link.
83
29
  attr_accessor :start_shape_connected_to
84
30
 
@@ -115,143 +61,28 @@ module AsposeSlidesCloud
115
61
 
116
62
  # Attribute mapping from ruby-style variable name to JSON key.
117
63
  def self.attribute_map
118
- {
119
- :'self_uri' => :'SelfUri',
120
- :'alternate_links' => :'AlternateLinks',
121
- :'name' => :'Name',
122
- :'width' => :'Width',
123
- :'height' => :'Height',
124
- :'alternative_text' => :'AlternativeText',
125
- :'alternative_text_title' => :'AlternativeTextTitle',
126
- :'hidden' => :'Hidden',
127
- :'x' => :'X',
128
- :'y' => :'Y',
129
- :'z_order_position' => :'ZOrderPosition',
130
- :'shapes' => :'Shapes',
131
- :'fill_format' => :'FillFormat',
132
- :'effect_format' => :'EffectFormat',
133
- :'line_format' => :'LineFormat',
134
- :'type' => :'Type',
135
- :'shape_type' => :'ShapeType',
136
- :'geometry_shape_type' => :'GeometryShapeType',
64
+ super.merge({
137
65
  :'start_shape_connected_to' => :'StartShapeConnectedTo',
138
66
  :'start_shape_connected_to_index' => :'StartShapeConnectedToIndex',
139
67
  :'end_shape_connected_to' => :'EndShapeConnectedTo',
140
- :'end_shape_connected_to_index' => :'EndShapeConnectedToIndex'
141
- }
68
+ :'end_shape_connected_to_index' => :'EndShapeConnectedToIndex',
69
+ })
142
70
  end
143
71
 
144
72
  # Attribute type mapping.
145
73
  def self.swagger_types
146
- {
147
- :'self_uri' => :'ResourceUri',
148
- :'alternate_links' => :'Array<ResourceUri>',
149
- :'name' => :'String',
150
- :'width' => :'Float',
151
- :'height' => :'Float',
152
- :'alternative_text' => :'String',
153
- :'alternative_text_title' => :'String',
154
- :'hidden' => :'BOOLEAN',
155
- :'x' => :'Float',
156
- :'y' => :'Float',
157
- :'z_order_position' => :'Integer',
158
- :'shapes' => :'ResourceUriElement',
159
- :'fill_format' => :'FillFormat',
160
- :'effect_format' => :'EffectFormat',
161
- :'line_format' => :'LineFormat',
162
- :'type' => :'String',
163
- :'shape_type' => :'String',
164
- :'geometry_shape_type' => :'String',
74
+ super.merge({
165
75
  :'start_shape_connected_to' => :'ResourceUri',
166
76
  :'start_shape_connected_to_index' => :'Integer',
167
77
  :'end_shape_connected_to' => :'ResourceUri',
168
- :'end_shape_connected_to_index' => :'Integer'
169
- }
78
+ :'end_shape_connected_to_index' => :'Integer',
79
+ })
170
80
  end
171
81
 
172
82
  # Initializes the object
173
83
  # @param [Hash] attributes Model attributes in the form of hash
174
84
  def initialize(attributes = {})
175
- return unless attributes.is_a?(Hash)
176
-
177
- # convert string to symbol for hash key
178
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
179
-
180
- if attributes.has_key?(:'SelfUri')
181
- self.self_uri = attributes[:'SelfUri']
182
- end
183
-
184
- if attributes.has_key?(:'AlternateLinks')
185
- if (value = attributes[:'AlternateLinks']).is_a?(Array)
186
- self.alternate_links = value
187
- end
188
- end
189
-
190
- if attributes.has_key?(:'Name')
191
- self.name = attributes[:'Name']
192
- end
193
-
194
- if attributes.has_key?(:'Width')
195
- self.width = attributes[:'Width']
196
- end
197
-
198
- if attributes.has_key?(:'Height')
199
- self.height = attributes[:'Height']
200
- end
201
-
202
- if attributes.has_key?(:'AlternativeText')
203
- self.alternative_text = attributes[:'AlternativeText']
204
- end
205
-
206
- if attributes.has_key?(:'AlternativeTextTitle')
207
- self.alternative_text_title = attributes[:'AlternativeTextTitle']
208
- end
209
-
210
- if attributes.has_key?(:'Hidden')
211
- self.hidden = attributes[:'Hidden']
212
- end
213
-
214
- if attributes.has_key?(:'X')
215
- self.x = attributes[:'X']
216
- end
217
-
218
- if attributes.has_key?(:'Y')
219
- self.y = attributes[:'Y']
220
- end
221
-
222
- if attributes.has_key?(:'ZOrderPosition')
223
- self.z_order_position = attributes[:'ZOrderPosition']
224
- end
225
-
226
- if attributes.has_key?(:'Shapes')
227
- self.shapes = attributes[:'Shapes']
228
- end
229
-
230
- if attributes.has_key?(:'FillFormat')
231
- self.fill_format = attributes[:'FillFormat']
232
- end
233
-
234
- if attributes.has_key?(:'EffectFormat')
235
- self.effect_format = attributes[:'EffectFormat']
236
- end
237
-
238
- if attributes.has_key?(:'LineFormat')
239
- self.line_format = attributes[:'LineFormat']
240
- end
241
-
242
- if attributes.has_key?(:'Type')
243
- self.type = attributes[:'Type']
244
- else
245
- self.type = "Connector"
246
- end
247
-
248
- if attributes.has_key?(:'ShapeType')
249
- self.shape_type = attributes[:'ShapeType']
250
- end
251
-
252
- if attributes.has_key?(:'GeometryShapeType')
253
- self.geometry_shape_type = attributes[:'GeometryShapeType']
254
- end
85
+ super
255
86
 
256
87
  if attributes.has_key?(:'StartShapeConnectedTo')
257
88
  self.start_shape_connected_to = attributes[:'StartShapeConnectedTo']
@@ -268,77 +99,23 @@ module AsposeSlidesCloud
268
99
  if attributes.has_key?(:'EndShapeConnectedToIndex')
269
100
  self.end_shape_connected_to_index = attributes[:'EndShapeConnectedToIndex']
270
101
  end
102
+ self.type = "Connector"
271
103
  end
272
104
 
273
105
  # Show invalid properties with the reasons. Usually used together with valid?
274
106
  # @return Array for valid properties with the reasons
275
107
  def list_invalid_properties
276
- invalid_properties = Array.new
277
- if @z_order_position.nil?
278
- invalid_properties.push('invalid value for "z_order_position", z_order_position cannot be nil.')
279
- end
280
-
281
- if @type.nil?
282
- invalid_properties.push('invalid value for "type", type cannot be nil.')
283
- end
284
-
285
- if @shape_type.nil?
286
- invalid_properties.push('invalid value for "shape_type", shape_type cannot be nil.')
287
- end
288
-
289
- if @geometry_shape_type.nil?
290
- invalid_properties.push('invalid value for "geometry_shape_type", geometry_shape_type cannot be nil.')
291
- end
292
-
108
+ invalid_properties = super
293
109
  invalid_properties
294
110
  end
295
111
 
296
112
  # Check to see if the all the properties in the model are valid
297
113
  # @return true if the model is valid
298
114
  def valid?
299
- return false if @z_order_position.nil?
300
- return false if @type.nil?
301
- type_validator = EnumAttributeValidator.new('String', ['Shape', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'SmartArt', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'Connector', 'SmartArtShape'])
302
- return false unless type_validator.valid?(@type)
303
- return false if @shape_type.nil?
304
- 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'])
305
- return false unless shape_type_validator.valid?(@shape_type)
306
- return false if @geometry_shape_type.nil?
307
- 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'])
308
- return false unless geometry_shape_type_validator.valid?(@geometry_shape_type)
115
+ return false if !super
309
116
  true
310
117
  end
311
118
 
312
- # Custom attribute writer method checking allowed values (enum).
313
- # @param [Object] type Object to be assigned
314
- def type=(type)
315
- validator = EnumAttributeValidator.new('String', ['Shape', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'SmartArt', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'Connector', 'SmartArtShape'])
316
- unless validator.valid?(type)
317
- fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
318
- end
319
- @type = type
320
- end
321
-
322
- # Custom attribute writer method checking allowed values (enum).
323
- # @param [Object] shape_type Object to be assigned
324
- def shape_type=(shape_type)
325
- 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'])
326
- unless validator.valid?(shape_type)
327
- fail ArgumentError, 'invalid value for "shape_type", must be one of #{validator.allowable_values}.'
328
- end
329
- @shape_type = shape_type
330
- end
331
-
332
- # Custom attribute writer method checking allowed values (enum).
333
- # @param [Object] geometry_shape_type Object to be assigned
334
- def geometry_shape_type=(geometry_shape_type)
335
- 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'])
336
- unless validator.valid?(geometry_shape_type)
337
- fail ArgumentError, 'invalid value for "geometry_shape_type", must be one of #{validator.allowable_values}.'
338
- end
339
- @geometry_shape_type = geometry_shape_type
340
- end
341
-
342
119
  # Checks equality by comparing each attribute.
343
120
  # @param [Object] Object to be compared
344
121
  def ==(o)