aspose_slides_cloud 22.2.0 → 22.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -7
  3. data/LICENSE +20 -20
  4. data/README.md +27 -0
  5. data/Rakefile +8 -8
  6. data/TestData/oleObject.xlsx +0 -0
  7. data/TestData/test.pptx +0 -0
  8. data/aspose_slides_cloud.gemspec +56 -56
  9. data/lib/aspose_slides_cloud/api/slides_api.rb +192 -13
  10. data/lib/aspose_slides_cloud/api_error.rb +48 -48
  11. data/lib/aspose_slides_cloud/configuration.rb +188 -188
  12. data/lib/aspose_slides_cloud/models/access_permissions.rb +321 -0
  13. data/lib/aspose_slides_cloud/models/{waterfall_series.rb → alpha_bi_level_effect.rb} +16 -26
  14. data/lib/aspose_slides_cloud/models/alpha_ceiling_effect.rb +223 -0
  15. data/lib/aspose_slides_cloud/models/alpha_floor_effect.rb +223 -0
  16. data/lib/aspose_slides_cloud/models/alpha_inverse_effect.rb +223 -0
  17. data/lib/aspose_slides_cloud/models/alpha_modulate_effect.rb +223 -0
  18. data/lib/aspose_slides_cloud/models/alpha_modulate_fixed_effect.rb +238 -0
  19. data/lib/aspose_slides_cloud/models/alpha_replace_effect.rb +238 -0
  20. data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -3
  21. data/lib/aspose_slides_cloud/models/axis.rb +22 -2
  22. data/lib/aspose_slides_cloud/models/bi_level_effect.rb +238 -0
  23. data/lib/aspose_slides_cloud/models/blur_image_effect.rb +253 -0
  24. data/lib/aspose_slides_cloud/models/chart.rb +1 -2
  25. data/lib/aspose_slides_cloud/models/chart_lines_format.rb +221 -0
  26. data/lib/aspose_slides_cloud/models/color_change_effect.rb +243 -0
  27. data/lib/aspose_slides_cloud/models/color_replace_effect.rb +233 -0
  28. data/lib/aspose_slides_cloud/models/connector.rb +1 -2
  29. data/lib/aspose_slides_cloud/models/duotone_effect.rb +243 -0
  30. data/lib/aspose_slides_cloud/models/export_options.rb +10 -18
  31. data/lib/aspose_slides_cloud/models/fill_overlay_image_effect.rb +260 -0
  32. data/lib/aspose_slides_cloud/models/font_fallback_rule.rb +243 -0
  33. data/lib/aspose_slides_cloud/models/geometry_shape.rb +1 -2
  34. data/lib/aspose_slides_cloud/models/gif_export_options.rb +4 -3
  35. data/lib/aspose_slides_cloud/models/graphical_object.rb +1 -2
  36. data/lib/aspose_slides_cloud/models/{waterfall_chart_data_point.rb → gray_scale_effect.rb} +26 -13
  37. data/lib/aspose_slides_cloud/models/group_shape.rb +12 -3
  38. data/lib/aspose_slides_cloud/models/hsl_effect.rb +268 -0
  39. data/lib/aspose_slides_cloud/models/html5_export_options.rb +2 -3
  40. data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -3
  41. data/lib/aspose_slides_cloud/models/image_export_options.rb +4 -3
  42. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +222 -0
  43. data/lib/aspose_slides_cloud/models/image_transform_effect.rb +244 -0
  44. data/lib/aspose_slides_cloud/models/legend.rb +12 -2
  45. data/lib/aspose_slides_cloud/models/luminance_effect.rb +253 -0
  46. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +72 -3
  47. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +12 -2
  48. data/lib/aspose_slides_cloud/models/one_value_series.rb +74 -2
  49. data/lib/aspose_slides_cloud/models/paragraph.rb +12 -2
  50. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +3 -16
  51. data/lib/aspose_slides_cloud/models/picture_fill.rb +14 -2
  52. data/lib/aspose_slides_cloud/models/picture_frame.rb +1 -2
  53. data/lib/aspose_slides_cloud/models/portion.rb +32 -2
  54. data/lib/aspose_slides_cloud/models/portion_format.rb +633 -0
  55. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +2 -3
  56. data/lib/aspose_slides_cloud/models/resource_uri.rb +22 -2
  57. data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +1 -2
  58. data/lib/aspose_slides_cloud/models/shape.rb +1 -2
  59. data/lib/aspose_slides_cloud/models/shape_base.rb +1 -11
  60. data/lib/aspose_slides_cloud/models/shape_type.rb +54 -0
  61. data/lib/aspose_slides_cloud/models/slide_comment.rb +32 -48
  62. data/lib/aspose_slides_cloud/models/slide_comment_base.rb +286 -0
  63. data/lib/aspose_slides_cloud/models/slide_comments.rb +1 -1
  64. data/lib/aspose_slides_cloud/models/{box_and_whisker_series.rb → slide_modern_comment.rb} +37 -68
  65. data/lib/aspose_slides_cloud/models/smart_art.rb +1 -2
  66. data/lib/aspose_slides_cloud/models/smart_art_node.rb +12 -2
  67. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +1 -2
  68. data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +1 -2
  69. data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +1 -2
  70. data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -3
  71. data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -3
  72. data/lib/aspose_slides_cloud/models/table.rb +1 -2
  73. data/lib/aspose_slides_cloud/models/table_cell.rb +22 -2
  74. data/lib/aspose_slides_cloud/models/text_bounds.rb +261 -0
  75. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +4 -3
  76. data/lib/aspose_slides_cloud/models/tint_effect.rb +253 -0
  77. data/lib/aspose_slides_cloud/models/video_export_options.rb +35 -4
  78. data/lib/aspose_slides_cloud/models/video_frame.rb +12 -3
  79. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -3
  80. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -3
  81. data/lib/aspose_slides_cloud/models/zoom_frame.rb +1 -2
  82. data/lib/aspose_slides_cloud/models/zoom_object.rb +2 -2
  83. data/lib/aspose_slides_cloud/type_registry.rb +54 -13
  84. data/lib/aspose_slides_cloud/version.rb +1 -1
  85. data/lib/aspose_slides_cloud.rb +31 -7
  86. data/spec/api/slides_api_spec.rb +585 -33
  87. data/spec/spec_helper.rb +122 -122
  88. data/spec/use_cases/merge_spec.rb +0 -1
  89. data/spec/use_cases/shape_spec.rb +0 -2
  90. data/testRules.json +6 -4
  91. metadata +30 -7
  92. data/Dockerfile +0 -16
  93. data/docker-entrypoint.sh +0 -7
@@ -0,0 +1,243 @@
1
+ =begin
2
+ Copyright (c) 2019 Aspose Pty Ltd
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
21
+ =end
22
+
23
+ require 'date'
24
+
25
+ module AsposeSlidesCloud
26
+ # Represents font fallback rule.
27
+ class FontFallbackRule
28
+ # First index of continuous unicode range.
29
+ attr_accessor :range_start_index
30
+
31
+ # Last index of continuous unicode range.
32
+ attr_accessor :range_end_index
33
+
34
+ # List of fallback font links.
35
+ attr_accessor :fallback_font_list
36
+
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ def self.attribute_map
39
+ {
40
+ :'range_start_index' => :'RangeStartIndex',
41
+ :'range_end_index' => :'RangeEndIndex',
42
+ :'fallback_font_list' => :'FallbackFontList',
43
+ }
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.swagger_types
48
+ {
49
+ :'range_start_index' => :'Integer',
50
+ :'range_end_index' => :'Integer',
51
+ :'fallback_font_list' => :'Array<String>',
52
+ }
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ return unless attributes.is_a?(Hash)
59
+
60
+ # convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
62
+
63
+ if attributes.has_key?(:'RangeStartIndex')
64
+ self.range_start_index = attributes[:'RangeStartIndex']
65
+ end
66
+
67
+ if attributes.has_key?(:'RangeEndIndex')
68
+ self.range_end_index = attributes[:'RangeEndIndex']
69
+ end
70
+
71
+ if attributes.has_key?(:'FallbackFontList')
72
+ if (value = attributes[:'FallbackFontList']).is_a?(Array)
73
+ self.fallback_font_list = value
74
+ end
75
+ end
76
+ end
77
+
78
+ # Show invalid properties with the reasons. Usually used together with valid?
79
+ # @return Array for valid properties with the reasons
80
+ def list_invalid_properties
81
+ invalid_properties = Array.new
82
+ if @range_start_index.nil?
83
+ invalid_properties.push('invalid value for "range_start_index", range_start_index cannot be nil.')
84
+ end
85
+
86
+ if @range_end_index.nil?
87
+ invalid_properties.push('invalid value for "range_end_index", range_end_index cannot be nil.')
88
+ end
89
+
90
+ invalid_properties
91
+ end
92
+
93
+ # Check to see if the all the properties in the model are valid
94
+ # @return true if the model is valid
95
+ def valid?
96
+ return false if @range_start_index.nil?
97
+ return false if @range_end_index.nil?
98
+ true
99
+ end
100
+
101
+ # Checks equality by comparing each attribute.
102
+ # @param [Object] Object to be compared
103
+ def ==(o)
104
+ return true if self.equal?(o)
105
+ self.class == o.class &&
106
+ range_start_index == o.range_start_index &&
107
+ range_end_index == o.range_end_index &&
108
+ fallback_font_list == o.fallback_font_list
109
+ end
110
+
111
+ # @see the `==` method
112
+ # @param [Object] Object to be compared
113
+ def eql?(o)
114
+ self == o
115
+ end
116
+
117
+ # Calculates hash code according to all attributes.
118
+ # @return [Fixnum] Hash code
119
+ def hash
120
+ [range_start_index, range_end_index, fallback_font_list].hash
121
+ end
122
+
123
+ # Builds the object from hash
124
+ # @param [Hash] attributes Model attributes in the form of hash
125
+ # @return [Object] Returns the model itself
126
+ def build_from_hash(attributes)
127
+ return nil unless attributes.is_a?(Hash)
128
+ self.class.swagger_types.each_pair do |key, type|
129
+ mapKey = self.class.attribute_map[key]
130
+ if !mapKey.nil?
131
+ val = attributes[mapKey]
132
+ if val.nil?
133
+ mapKeyString = mapKey.to_s
134
+ mapKeyString[0] = mapKeyString[0].downcase
135
+ mapKey = mapKeyString.to_sym
136
+ val = attributes[mapKey]
137
+ end
138
+ if !val.nil?
139
+ if type =~ /\AArray<(.*)>/i
140
+ # check to ensure the input is an array given that the the attribute
141
+ # is documented as an array but the input is not
142
+ if val.is_a?(Array)
143
+ self.send("#{key}=", val.map { |v| _deserialize($1, v) })
144
+ end
145
+ else
146
+ self.send("#{key}=", _deserialize(type, val))
147
+ end
148
+ end
149
+ end
150
+ end
151
+
152
+ self
153
+ end
154
+
155
+ # Deserializes the data based on type
156
+ # @param string type Data type
157
+ # @param string value Value to be deserialized
158
+ # @return [Object] Deserialized data
159
+ def _deserialize(type, value)
160
+ case type.to_sym
161
+ when :DateTime
162
+ DateTime.parse(value)
163
+ when :Date
164
+ Date.parse(value)
165
+ when :String
166
+ value.to_s
167
+ when :Integer
168
+ value.to_i
169
+ when :Float
170
+ value.to_f
171
+ when :BOOLEAN
172
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
173
+ true
174
+ else
175
+ false
176
+ end
177
+ when :Object
178
+ # generic object (usually a Hash), return directly
179
+ value
180
+ when /\AArray<(?<inner_type>.+)>\z/
181
+ inner_type = Regexp.last_match[:inner_type]
182
+ value.map { |v| _deserialize(inner_type, v) }
183
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
184
+ k_type = Regexp.last_match[:k_type]
185
+ v_type = Regexp.last_match[:v_type]
186
+ {}.tap do |hash|
187
+ value.each do |k, v|
188
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
189
+ end
190
+ end
191
+ else # model
192
+ registry_type = AsposeSlidesCloud::TypeRegistry.get_type(type.to_s, value)
193
+ if registry_type
194
+ type = registry_type
195
+ end
196
+ temp_model = AsposeSlidesCloud.const_get(type).new
197
+ temp_model.build_from_hash(value)
198
+ end
199
+ end
200
+
201
+ # Returns the string representation of the object
202
+ # @return [String] String presentation of the object
203
+ def to_s
204
+ to_hash.to_s
205
+ end
206
+
207
+ # to_body is an alias to to_hash (backward compatibility)
208
+ # @return [Hash] Returns the object in the form of hash
209
+ def to_body
210
+ to_hash
211
+ end
212
+
213
+ # Returns the object in the form of hash
214
+ # @return [Hash] Returns the object in the form of hash
215
+ def to_hash
216
+ hash = {}
217
+ self.class.attribute_map.each_pair do |attr, param|
218
+ value = self.send(attr)
219
+ next if value.nil?
220
+ hash[param] = _to_hash(value)
221
+ end
222
+ hash
223
+ end
224
+
225
+ # Outputs non-array value in the form of hash
226
+ # For object, use to_hash. Otherwise, just return the value
227
+ # @param [Object] value Any valid value
228
+ # @return [Hash] Returns the value in the form of hash
229
+ def _to_hash(value)
230
+ if value.is_a?(Array)
231
+ value.compact.map { |v| _to_hash(v) }
232
+ elsif value.is_a?(Hash)
233
+ {}.tap do |hash|
234
+ value.each { |k, v| hash[k] = _to_hash(v) }
235
+ end
236
+ elsif value.respond_to? :to_hash
237
+ value.to_hash
238
+ else
239
+ value
240
+ end
241
+ end
242
+ end
243
+ end
@@ -121,7 +121,6 @@ module AsposeSlidesCloud
121
121
  x == o.x &&
122
122
  y == o.y &&
123
123
  z_order_position == o.z_order_position &&
124
- shapes == o.shapes &&
125
124
  fill_format == o.fill_format &&
126
125
  effect_format == o.effect_format &&
127
126
  three_d_format == o.three_d_format &&
@@ -141,7 +140,7 @@ module AsposeSlidesCloud
141
140
  # Calculates hash code according to all attributes.
142
141
  # @return [Fixnum] Hash code
143
142
  def hash
144
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, shapes, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type].hash
143
+ [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type].hash
145
144
  end
146
145
 
147
146
  # Builds the object from hash
@@ -24,7 +24,7 @@ require 'date'
24
24
 
25
25
  module AsposeSlidesCloud
26
26
  # Provides options that control how a presentation is saved in Gif format.
27
- class GifExportOptions < ExportOptions
27
+ class GifExportOptions < ImageExportOptionsBase
28
28
  # Determines whether hidden slides will be exported.
29
29
  attr_accessor :export_hidden_slides
30
30
 
@@ -91,9 +91,10 @@ module AsposeSlidesCloud
91
91
  return true if self.equal?(o)
92
92
  self.class == o.class &&
93
93
  default_regular_font == o.default_regular_font &&
94
+ font_fallback_rules == o.font_fallback_rules &&
95
+ format == o.format &&
94
96
  height == o.height &&
95
97
  width == o.width &&
96
- format == o.format &&
97
98
  export_hidden_slides == o.export_hidden_slides &&
98
99
  transition_fps == o.transition_fps &&
99
100
  default_delay == o.default_delay
@@ -108,7 +109,7 @@ module AsposeSlidesCloud
108
109
  # Calculates hash code according to all attributes.
109
110
  # @return [Fixnum] Hash code
110
111
  def hash
111
- [default_regular_font, height, width, format, export_hidden_slides, transition_fps, default_delay].hash
112
+ [default_regular_font, font_fallback_rules, format, height, width, export_hidden_slides, transition_fps, default_delay].hash
112
113
  end
113
114
 
114
115
  # Builds the object from hash
@@ -96,7 +96,6 @@ module AsposeSlidesCloud
96
96
  x == o.x &&
97
97
  y == o.y &&
98
98
  z_order_position == o.z_order_position &&
99
- shapes == o.shapes &&
100
99
  fill_format == o.fill_format &&
101
100
  effect_format == o.effect_format &&
102
101
  three_d_format == o.three_d_format &&
@@ -115,7 +114,7 @@ module AsposeSlidesCloud
115
114
  # Calculates hash code according to all attributes.
116
115
  # @return [Fixnum] Hash code
117
116
  def hash
118
- [self_uri, alternate_linksname, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, shapes, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type].hash
117
+ [self_uri, alternate_linksname, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type].hash
119
118
  end
120
119
 
121
120
  # Builds the object from hash
@@ -23,22 +23,39 @@ SOFTWARE.
23
23
  require 'date'
24
24
 
25
25
  module AsposeSlidesCloud
26
- # One value chart data point.
27
- class WaterfallChartDataPoint < OneValueChartDataPoint
28
- # Value.
29
- attr_accessor :set_as_total
26
+ # Represents an Gray Scale effect.
27
+ class GrayScaleEffect < ImageTransformEffect
28
+ class EnumAttributeValidator
29
+ attr_reader :datatype
30
+ attr_reader :allowable_values
31
+
32
+ def initialize(datatype, allowable_values)
33
+ @allowable_values = allowable_values.map do |value|
34
+ case datatype.to_s
35
+ when /Integer/i
36
+ value.to_i
37
+ when /Float/i
38
+ value.to_f
39
+ else
40
+ value
41
+ end
42
+ end
43
+ end
44
+
45
+ def valid?(value)
46
+ !value || allowable_values.any?{ |s| s.casecmp(value) == 0 }
47
+ end
48
+ end
30
49
 
31
50
  # Attribute mapping from ruby-style variable name to JSON key.
32
51
  def self.attribute_map
33
52
  super.merge({
34
- :'set_as_total' => :'SetAsTotal',
35
53
  })
36
54
  end
37
55
 
38
56
  # Attribute type mapping.
39
57
  def self.swagger_types
40
58
  super.merge({
41
- :'set_as_total' => :'BOOLEAN',
42
59
  })
43
60
  end
44
61
 
@@ -46,10 +63,7 @@ module AsposeSlidesCloud
46
63
  # @param [Hash] attributes Model attributes in the form of hash
47
64
  def initialize(attributes = {})
48
65
  super
49
-
50
- if attributes.has_key?(:'SetAsTotal')
51
- self.set_as_total = attributes[:'SetAsTotal']
52
- end
66
+ self.type = "GrayScale"
53
67
  end
54
68
 
55
69
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -71,8 +85,7 @@ module AsposeSlidesCloud
71
85
  def ==(o)
72
86
  return true if self.equal?(o)
73
87
  self.class == o.class &&
74
- value == o.value &&
75
- set_as_total == o.set_as_total
88
+ type == o.type
76
89
  end
77
90
 
78
91
  # @see the `==` method
@@ -84,7 +97,7 @@ module AsposeSlidesCloud
84
97
  # Calculates hash code according to all attributes.
85
98
  # @return [Fixnum] Hash code
86
99
  def hash
87
- [value, set_as_total].hash
100
+ [type].hash
88
101
  end
89
102
 
90
103
  # Builds the object from hash
@@ -25,6 +25,9 @@ require 'date'
25
25
  module AsposeSlidesCloud
26
26
  # Represents GroupShape resource.
27
27
  class GroupShape < ShapeBase
28
+ # Gets or sets the link to shapes.
29
+ attr_accessor :shapes
30
+
28
31
  class EnumAttributeValidator
29
32
  attr_reader :datatype
30
33
  attr_reader :allowable_values
@@ -50,12 +53,14 @@ module AsposeSlidesCloud
50
53
  # Attribute mapping from ruby-style variable name to JSON key.
51
54
  def self.attribute_map
52
55
  super.merge({
56
+ :'shapes' => :'Shapes',
53
57
  })
54
58
  end
55
59
 
56
60
  # Attribute type mapping.
57
61
  def self.swagger_types
58
62
  super.merge({
63
+ :'shapes' => :'ResourceUri',
59
64
  })
60
65
  end
61
66
 
@@ -63,6 +68,10 @@ module AsposeSlidesCloud
63
68
  # @param [Hash] attributes Model attributes in the form of hash
64
69
  def initialize(attributes = {})
65
70
  super
71
+
72
+ if attributes.has_key?(:'Shapes')
73
+ self.shapes = attributes[:'Shapes']
74
+ end
66
75
  self.type = "GroupShape"
67
76
  end
68
77
 
@@ -96,14 +105,14 @@ module AsposeSlidesCloud
96
105
  x == o.x &&
97
106
  y == o.y &&
98
107
  z_order_position == o.z_order_position &&
99
- shapes == o.shapes &&
100
108
  fill_format == o.fill_format &&
101
109
  effect_format == o.effect_format &&
102
110
  three_d_format == o.three_d_format &&
103
111
  line_format == o.line_format &&
104
112
  hyperlink_click == o.hyperlink_click &&
105
113
  hyperlink_mouse_over == o.hyperlink_mouse_over &&
106
- type == o.type
114
+ type == o.type &&
115
+ shapes == o.shapes
107
116
  end
108
117
 
109
118
  # @see the `==` method
@@ -115,7 +124,7 @@ module AsposeSlidesCloud
115
124
  # Calculates hash code according to all attributes.
116
125
  # @return [Fixnum] Hash code
117
126
  def hash
118
- [self_uri, alternate_linksname, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, shapes, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type].hash
127
+ [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shapes].hash
119
128
  end
120
129
 
121
130
  # Builds the object from hash