aspose_words_cloud 23.4.0 → 23.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +85 -1
  3. data/lib/aspose_words_cloud/api_client.rb +1 -1
  4. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +11 -11
  5. data/lib/aspose_words_cloud/models/comment.rb +39 -39
  6. data/lib/aspose_words_cloud/models/comment_insert.rb +21 -21
  7. data/lib/aspose_words_cloud/models/comment_update.rb +21 -21
  8. data/lib/aspose_words_cloud/models/custom_xml_part.rb +14 -14
  9. data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +14 -14
  10. data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +14 -14
  11. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +10 -10
  12. data/lib/aspose_words_cloud/models/document.rb +13 -13
  13. data/lib/aspose_words_cloud/models/document_entry.rb +41 -0
  14. data/lib/aspose_words_cloud/models/document_property.rb +15 -15
  15. data/lib/aspose_words_cloud/models/document_stat_data.rb +16 -16
  16. data/lib/aspose_words_cloud/models/drawing_object.rb +41 -41
  17. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +11 -11
  18. data/lib/aspose_words_cloud/models/footnote.rb +21 -21
  19. data/lib/aspose_words_cloud/models/form_field.rb +46 -46
  20. data/lib/aspose_words_cloud/models/form_field_checkbox.rb +59 -59
  21. data/lib/aspose_words_cloud/models/form_field_drop_down.rb +46 -46
  22. data/lib/aspose_words_cloud/models/form_field_text_input.rb +66 -66
  23. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +11 -11
  24. data/lib/aspose_words_cloud/models/header_footer.rb +14 -14
  25. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +10 -10
  26. data/lib/aspose_words_cloud/models/html_save_options_data.rb +10 -10
  27. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +11 -11
  28. data/lib/aspose_words_cloud/models/list_format.rb +15 -15
  29. data/lib/aspose_words_cloud/models/list_info.rb +35 -35
  30. data/lib/aspose_words_cloud/models/list_level.rb +76 -76
  31. data/lib/aspose_words_cloud/models/load_web_document_data.rb +14 -14
  32. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +10 -10
  33. data/lib/aspose_words_cloud/models/page_stat_data.rb +14 -14
  34. data/lib/aspose_words_cloud/models/paragraph_format.rb +21 -21
  35. data/lib/aspose_words_cloud/models/paragraph_format_base.rb +14 -14
  36. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +14 -14
  37. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +10 -10
  38. data/lib/aspose_words_cloud/models/png_save_options_data.rb +11 -11
  39. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +10 -10
  40. data/lib/aspose_words_cloud/models/requests/create_document_request.rb +9 -3
  41. data/lib/aspose_words_cloud/models/requests/insert_section_online_request.rb +204 -0
  42. data/lib/aspose_words_cloud/models/requests/insert_section_request.rb +203 -0
  43. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +10 -10
  44. data/lib/aspose_words_cloud/models/save_result.rb +16 -16
  45. data/lib/aspose_words_cloud/models/search_result.rb +14 -14
  46. data/lib/aspose_words_cloud/models/section.rb +15 -15
  47. data/lib/aspose_words_cloud/models/split_document_result.rb +16 -16
  48. data/lib/aspose_words_cloud/models/structured_document_tag.rb +142 -142
  49. data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +142 -142
  50. data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +142 -142
  51. data/lib/aspose_words_cloud/models/style.rb +71 -71
  52. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +10 -10
  53. data/lib/aspose_words_cloud/models/table.rb +14 -14
  54. data/lib/aspose_words_cloud/models/table_row.rb +14 -14
  55. data/lib/aspose_words_cloud/models/table_row_format.rb +24 -24
  56. data/lib/aspose_words_cloud/models/text_save_options_data.rb +10 -10
  57. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +19 -19
  58. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +10 -10
  59. data/lib/aspose_words_cloud/version.rb +1 -1
  60. data/lib/aspose_words_cloud.rb +2 -0
  61. metadata +4 -2
@@ -35,33 +35,33 @@ module AsposeWordsCloud
35
35
  # Gets or sets the node id.
36
36
  attr_accessor :node_id
37
37
 
38
- # Gets or sets the height of the DrawingObject in points.
39
- attr_accessor :height
38
+ # Gets or sets the list of links that originate from this DrawingObjectDto.
39
+ attr_accessor :render_links
40
40
 
41
- # Gets or sets the link to image data. Can be null if shape does not have an image.
42
- attr_accessor :image_data_link
41
+ # Gets or sets the width of the DrawingObjects in points.
42
+ attr_accessor :width
43
43
 
44
- # Gets or sets the distance in points from the origin to the left side of the image.
45
- attr_accessor :left
44
+ # Gets or sets the height of the DrawingObject in points.
45
+ attr_accessor :height
46
46
 
47
47
  # Gets or sets the link to OLE object. Can be null if shape does not have OLE data.
48
48
  attr_accessor :ole_data_link
49
49
 
50
+ # Gets or sets the link to image data. Can be null if shape does not have an image.
51
+ attr_accessor :image_data_link
52
+
50
53
  # Gets or sets the relative horizontal position, from which the distance to the image is measured.
51
54
  attr_accessor :relative_horizontal_position
52
55
 
56
+ # Gets or sets the distance in points from the origin to the left side of the image.
57
+ attr_accessor :left
58
+
53
59
  # Gets or sets the relative vertical position, from which the distance to the image is measured.
54
60
  attr_accessor :relative_vertical_position
55
61
 
56
- # Gets or sets the list of links that originate from this DrawingObjectDto.
57
- attr_accessor :render_links
58
-
59
62
  # Gets or sets the distance in points from the origin to the top side of the image.
60
63
  attr_accessor :top
61
64
 
62
- # Gets or sets the width of the DrawingObjects in points.
63
- attr_accessor :width
64
-
65
65
  # Gets or sets the option that controls how to wrap text around the image.
66
66
  attr_accessor :wrap_type
67
67
 
@@ -92,15 +92,15 @@ module AsposeWordsCloud
92
92
  {
93
93
  :'link' => :'Link',
94
94
  :'node_id' => :'NodeId',
95
+ :'render_links' => :'RenderLinks',
96
+ :'width' => :'Width',
95
97
  :'height' => :'Height',
96
- :'image_data_link' => :'ImageDataLink',
97
- :'left' => :'Left',
98
98
  :'ole_data_link' => :'OleDataLink',
99
+ :'image_data_link' => :'ImageDataLink',
99
100
  :'relative_horizontal_position' => :'RelativeHorizontalPosition',
101
+ :'left' => :'Left',
100
102
  :'relative_vertical_position' => :'RelativeVerticalPosition',
101
- :'render_links' => :'RenderLinks',
102
103
  :'top' => :'Top',
103
- :'width' => :'Width',
104
104
  :'wrap_type' => :'WrapType'
105
105
  }
106
106
  end
@@ -110,15 +110,15 @@ module AsposeWordsCloud
110
110
  {
111
111
  :'link' => :'WordsApiLink',
112
112
  :'node_id' => :'String',
113
+ :'render_links' => :'Array<WordsApiLink>',
114
+ :'width' => :'Float',
113
115
  :'height' => :'Float',
114
- :'image_data_link' => :'WordsApiLink',
115
- :'left' => :'Float',
116
116
  :'ole_data_link' => :'WordsApiLink',
117
+ :'image_data_link' => :'WordsApiLink',
117
118
  :'relative_horizontal_position' => :'String',
119
+ :'left' => :'Float',
118
120
  :'relative_vertical_position' => :'String',
119
- :'render_links' => :'Array<WordsApiLink>',
120
121
  :'top' => :'Float',
121
- :'width' => :'Float',
122
122
  :'wrap_type' => :'String'
123
123
  }
124
124
  end
@@ -139,44 +139,44 @@ module AsposeWordsCloud
139
139
  self.node_id = attributes[:'NodeId']
140
140
  end
141
141
 
142
- if attributes.key?(:'Height')
143
- self.height = attributes[:'Height']
142
+ if attributes.key?(:'RenderLinks')
143
+ if (value = attributes[:'RenderLinks']).is_a?(Array)
144
+ self.render_links = value
145
+ end
144
146
  end
145
147
 
146
- if attributes.key?(:'ImageDataLink')
147
- self.image_data_link = attributes[:'ImageDataLink']
148
+ if attributes.key?(:'Width')
149
+ self.width = attributes[:'Width']
148
150
  end
149
151
 
150
- if attributes.key?(:'Left')
151
- self.left = attributes[:'Left']
152
+ if attributes.key?(:'Height')
153
+ self.height = attributes[:'Height']
152
154
  end
153
155
 
154
156
  if attributes.key?(:'OleDataLink')
155
157
  self.ole_data_link = attributes[:'OleDataLink']
156
158
  end
157
159
 
160
+ if attributes.key?(:'ImageDataLink')
161
+ self.image_data_link = attributes[:'ImageDataLink']
162
+ end
163
+
158
164
  if attributes.key?(:'RelativeHorizontalPosition')
159
165
  self.relative_horizontal_position = attributes[:'RelativeHorizontalPosition']
160
166
  end
161
167
 
162
- if attributes.key?(:'RelativeVerticalPosition')
163
- self.relative_vertical_position = attributes[:'RelativeVerticalPosition']
168
+ if attributes.key?(:'Left')
169
+ self.left = attributes[:'Left']
164
170
  end
165
171
 
166
- if attributes.key?(:'RenderLinks')
167
- if (value = attributes[:'RenderLinks']).is_a?(Array)
168
- self.render_links = value
169
- end
172
+ if attributes.key?(:'RelativeVerticalPosition')
173
+ self.relative_vertical_position = attributes[:'RelativeVerticalPosition']
170
174
  end
171
175
 
172
176
  if attributes.key?(:'Top')
173
177
  self.top = attributes[:'Top']
174
178
  end
175
179
 
176
- if attributes.key?(:'Width')
177
- self.width = attributes[:'Width']
178
- end
179
-
180
180
  if attributes.key?(:'WrapType')
181
181
  self.wrap_type = attributes[:'WrapType']
182
182
  end
@@ -252,15 +252,15 @@ module AsposeWordsCloud
252
252
  self.class == other.class &&
253
253
  link == other.link &&
254
254
  node_id == other.node_id &&
255
+ render_links == other.render_links &&
256
+ width == other.width &&
255
257
  height == other.height &&
256
- image_data_link == other.image_data_link &&
257
- left == other.left &&
258
258
  ole_data_link == other.ole_data_link &&
259
+ image_data_link == other.image_data_link &&
259
260
  relative_horizontal_position == other.relative_horizontal_position &&
261
+ left == other.left &&
260
262
  relative_vertical_position == other.relative_vertical_position &&
261
- render_links == other.render_links &&
262
263
  top == other.top &&
263
- width == other.width &&
264
264
  wrap_type == other.wrap_type
265
265
  end
266
266
 
@@ -273,7 +273,7 @@ module AsposeWordsCloud
273
273
  # Calculates hash code according to all attributes.
274
274
  # @return [Fixnum] Hash code
275
275
  def hash
276
- [link, node_id, height, image_data_link, left, ole_data_link, relative_horizontal_position, relative_vertical_position, render_links, top, width, wrap_type].hash
276
+ [link, node_id, render_links, width, height, ole_data_link, image_data_link, relative_horizontal_position, left, relative_vertical_position, top, wrap_type].hash
277
277
  end
278
278
 
279
279
  # Builds the object from hash
@@ -126,9 +126,6 @@ module AsposeWordsCloud
126
126
  # Gets or sets a value indicating whether to use anti-aliasing for rendering.
127
127
  attr_accessor :use_anti_aliasing
128
128
 
129
- # Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
130
- attr_accessor :use_gdi_emf_renderer
131
-
132
129
  # Gets or sets a value indicating whether to use high quality (i.e. slow) rendering algorithms.
133
130
  attr_accessor :use_high_quality_rendering
134
131
 
@@ -137,6 +134,9 @@ module AsposeWordsCloud
137
134
  # The default value is 96.
138
135
  attr_accessor :vertical_resolution
139
136
 
137
+ # Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
138
+ attr_accessor :use_gdi_emf_renderer
139
+
140
140
  # Gets the format of save.
141
141
  attr_accessor :save_format
142
142
 
@@ -194,9 +194,9 @@ module AsposeWordsCloud
194
194
  :'resolution' => :'Resolution',
195
195
  :'scale' => :'Scale',
196
196
  :'use_anti_aliasing' => :'UseAntiAliasing',
197
- :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
198
197
  :'use_high_quality_rendering' => :'UseHighQualityRendering',
199
198
  :'vertical_resolution' => :'VerticalResolution',
199
+ :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
200
200
  :'save_format' => :'SaveFormat'
201
201
  }
202
202
  end
@@ -233,9 +233,9 @@ module AsposeWordsCloud
233
233
  :'resolution' => :'Float',
234
234
  :'scale' => :'Float',
235
235
  :'use_anti_aliasing' => :'BOOLEAN',
236
- :'use_gdi_emf_renderer' => :'BOOLEAN',
237
236
  :'use_high_quality_rendering' => :'BOOLEAN',
238
237
  :'vertical_resolution' => :'Float',
238
+ :'use_gdi_emf_renderer' => :'BOOLEAN',
239
239
  :'save_format' => :'String'
240
240
  }
241
241
  end
@@ -366,10 +366,6 @@ module AsposeWordsCloud
366
366
  self.use_anti_aliasing = attributes[:'UseAntiAliasing']
367
367
  end
368
368
 
369
- if attributes.key?(:'UseGdiEmfRenderer')
370
- self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
371
- end
372
-
373
369
  if attributes.key?(:'UseHighQualityRendering')
374
370
  self.use_high_quality_rendering = attributes[:'UseHighQualityRendering']
375
371
  end
@@ -377,6 +373,10 @@ module AsposeWordsCloud
377
373
  if attributes.key?(:'VerticalResolution')
378
374
  self.vertical_resolution = attributes[:'VerticalResolution']
379
375
  end
376
+
377
+ if attributes.key?(:'UseGdiEmfRenderer')
378
+ self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
379
+ end
380
380
  end
381
381
 
382
382
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -556,9 +556,9 @@ module AsposeWordsCloud
556
556
  resolution == other.resolution &&
557
557
  scale == other.scale &&
558
558
  use_anti_aliasing == other.use_anti_aliasing &&
559
- use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
560
559
  use_high_quality_rendering == other.use_high_quality_rendering &&
561
560
  vertical_resolution == other.vertical_resolution &&
561
+ use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
562
562
  save_format == other.save_format
563
563
  end
564
564
 
@@ -571,7 +571,7 @@ module AsposeWordsCloud
571
571
  # Calculates hash code according to all attributes.
572
572
  # @return [Fixnum] Hash code
573
573
  def hash
574
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution, save_format].hash
574
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_high_quality_rendering, vertical_resolution, use_gdi_emf_renderer, save_format].hash
575
575
  end
576
576
 
577
577
  # Builds the object from hash
@@ -35,15 +35,12 @@ module AsposeWordsCloud
35
35
  # Gets or sets the node id.
36
36
  attr_accessor :node_id
37
37
 
38
- # Gets or sets the content of the footnote.
39
- attr_accessor :content
38
+ # Gets or sets the link to comment range start node.
39
+ attr_accessor :position
40
40
 
41
41
  # Gets or sets the value, that specifies whether this is a footnote or endnote.
42
42
  attr_accessor :footnote_type
43
43
 
44
- # Gets or sets the link to comment range start node.
45
- attr_accessor :position
46
-
47
44
  # Gets or sets the custom reference mark to be used for this footnote.
48
45
  # Default value is Empty, meaning auto-numbered footnotes are used.
49
46
  attr_accessor :reference_mark
@@ -51,6 +48,9 @@ module AsposeWordsCloud
51
48
  # Gets or sets text of the footnote.
52
49
  attr_accessor :text
53
50
 
51
+ # Gets or sets the content of the footnote.
52
+ attr_accessor :content
53
+
54
54
  class EnumAttributeValidator
55
55
  attr_reader :datatype
56
56
  attr_reader :allowable_values
@@ -78,11 +78,11 @@ module AsposeWordsCloud
78
78
  {
79
79
  :'link' => :'Link',
80
80
  :'node_id' => :'NodeId',
81
- :'content' => :'Content',
82
- :'footnote_type' => :'FootnoteType',
83
81
  :'position' => :'Position',
82
+ :'footnote_type' => :'FootnoteType',
84
83
  :'reference_mark' => :'ReferenceMark',
85
- :'text' => :'Text'
84
+ :'text' => :'Text',
85
+ :'content' => :'Content'
86
86
  }
87
87
  end
88
88
 
@@ -91,11 +91,11 @@ module AsposeWordsCloud
91
91
  {
92
92
  :'link' => :'WordsApiLink',
93
93
  :'node_id' => :'String',
94
- :'content' => :'StoryChildNodes',
95
- :'footnote_type' => :'String',
96
94
  :'position' => :'DocumentPosition',
95
+ :'footnote_type' => :'String',
97
96
  :'reference_mark' => :'String',
98
- :'text' => :'String'
97
+ :'text' => :'String',
98
+ :'content' => :'StoryChildNodes'
99
99
  }
100
100
  end
101
101
 
@@ -115,18 +115,14 @@ module AsposeWordsCloud
115
115
  self.node_id = attributes[:'NodeId']
116
116
  end
117
117
 
118
- if attributes.key?(:'Content')
119
- self.content = attributes[:'Content']
118
+ if attributes.key?(:'Position')
119
+ self.position = attributes[:'Position']
120
120
  end
121
121
 
122
122
  if attributes.key?(:'FootnoteType')
123
123
  self.footnote_type = attributes[:'FootnoteType']
124
124
  end
125
125
 
126
- if attributes.key?(:'Position')
127
- self.position = attributes[:'Position']
128
- end
129
-
130
126
  if attributes.key?(:'ReferenceMark')
131
127
  self.reference_mark = attributes[:'ReferenceMark']
132
128
  end
@@ -134,6 +130,10 @@ module AsposeWordsCloud
134
130
  if attributes.key?(:'Text')
135
131
  self.text = attributes[:'Text']
136
132
  end
133
+
134
+ if attributes.key?(:'Content')
135
+ self.content = attributes[:'Content']
136
+ end
137
137
  end
138
138
 
139
139
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -174,11 +174,11 @@ module AsposeWordsCloud
174
174
  self.class == other.class &&
175
175
  link == other.link &&
176
176
  node_id == other.node_id &&
177
- content == other.content &&
178
- footnote_type == other.footnote_type &&
179
177
  position == other.position &&
178
+ footnote_type == other.footnote_type &&
180
179
  reference_mark == other.reference_mark &&
181
- text == other.text
180
+ text == other.text &&
181
+ content == other.content
182
182
  end
183
183
 
184
184
  # @see the `==` method
@@ -190,7 +190,7 @@ module AsposeWordsCloud
190
190
  # Calculates hash code according to all attributes.
191
191
  # @return [Fixnum] Hash code
192
192
  def hash
193
- [link, node_id, content, footnote_type, position, reference_mark, text].hash
193
+ [link, node_id, position, footnote_type, reference_mark, text, content].hash
194
194
  end
195
195
 
196
196
  # Builds the object from hash
@@ -35,46 +35,46 @@ module AsposeWordsCloud
35
35
  # Gets or sets the node id.
36
36
  attr_accessor :node_id
37
37
 
38
- # Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
39
- attr_accessor :calculate_on_exit
38
+ # Gets or sets the form field name.
39
+ attr_accessor :name
40
40
 
41
41
  # Gets or sets a value indicating whether a form field is enabled.
42
42
  attr_accessor :enabled
43
43
 
44
- # Gets or sets the entry macro name for the form field.
45
- attr_accessor :entry_macro
44
+ # Gets or sets text, displayed in the status bar when a form field has the focus.
45
+ attr_accessor :status_text
46
46
 
47
- # Gets or sets the exit macro name for the form field.
48
- attr_accessor :exit_macro
47
+ # Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus.
48
+ attr_accessor :own_status
49
49
 
50
50
  # Gets or sets text, displayed in a message box when the form field has the focus and the user presses F1.
51
51
  attr_accessor :help_text
52
52
 
53
- # Gets or sets the form field name.
54
- attr_accessor :name
55
-
56
53
  # Gets or sets a value indicating whether the source of the text that's displayed in a message box when a form field has the focus and the user presses F1.
57
54
  attr_accessor :own_help
58
55
 
59
- # Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus.
60
- attr_accessor :own_status
56
+ # Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
57
+ attr_accessor :calculate_on_exit
61
58
 
62
- # Gets or sets text, displayed in the status bar when a form field has the focus.
63
- attr_accessor :status_text
59
+ # Gets or sets the entry macro name for the form field.
60
+ attr_accessor :entry_macro
61
+
62
+ # Gets or sets the exit macro name for the form field.
63
+ attr_accessor :exit_macro
64
64
  # Attribute mapping from ruby-style variable name to JSON key.
65
65
  def self.attribute_map
66
66
  {
67
67
  :'link' => :'Link',
68
68
  :'node_id' => :'NodeId',
69
- :'calculate_on_exit' => :'CalculateOnExit',
69
+ :'name' => :'Name',
70
70
  :'enabled' => :'Enabled',
71
- :'entry_macro' => :'EntryMacro',
72
- :'exit_macro' => :'ExitMacro',
71
+ :'status_text' => :'StatusText',
72
+ :'own_status' => :'OwnStatus',
73
73
  :'help_text' => :'HelpText',
74
- :'name' => :'Name',
75
74
  :'own_help' => :'OwnHelp',
76
- :'own_status' => :'OwnStatus',
77
- :'status_text' => :'StatusText'
75
+ :'calculate_on_exit' => :'CalculateOnExit',
76
+ :'entry_macro' => :'EntryMacro',
77
+ :'exit_macro' => :'ExitMacro'
78
78
  }
79
79
  end
80
80
 
@@ -83,15 +83,15 @@ module AsposeWordsCloud
83
83
  {
84
84
  :'link' => :'WordsApiLink',
85
85
  :'node_id' => :'String',
86
- :'calculate_on_exit' => :'BOOLEAN',
86
+ :'name' => :'String',
87
87
  :'enabled' => :'BOOLEAN',
88
- :'entry_macro' => :'String',
89
- :'exit_macro' => :'String',
88
+ :'status_text' => :'String',
89
+ :'own_status' => :'BOOLEAN',
90
90
  :'help_text' => :'String',
91
- :'name' => :'String',
92
91
  :'own_help' => :'BOOLEAN',
93
- :'own_status' => :'BOOLEAN',
94
- :'status_text' => :'String'
92
+ :'calculate_on_exit' => :'BOOLEAN',
93
+ :'entry_macro' => :'String',
94
+ :'exit_macro' => :'String'
95
95
  }
96
96
  end
97
97
 
@@ -111,40 +111,40 @@ module AsposeWordsCloud
111
111
  self.node_id = attributes[:'NodeId']
112
112
  end
113
113
 
114
- if attributes.key?(:'CalculateOnExit')
115
- self.calculate_on_exit = attributes[:'CalculateOnExit']
114
+ if attributes.key?(:'Name')
115
+ self.name = attributes[:'Name']
116
116
  end
117
117
 
118
118
  if attributes.key?(:'Enabled')
119
119
  self.enabled = attributes[:'Enabled']
120
120
  end
121
121
 
122
- if attributes.key?(:'EntryMacro')
123
- self.entry_macro = attributes[:'EntryMacro']
122
+ if attributes.key?(:'StatusText')
123
+ self.status_text = attributes[:'StatusText']
124
124
  end
125
125
 
126
- if attributes.key?(:'ExitMacro')
127
- self.exit_macro = attributes[:'ExitMacro']
126
+ if attributes.key?(:'OwnStatus')
127
+ self.own_status = attributes[:'OwnStatus']
128
128
  end
129
129
 
130
130
  if attributes.key?(:'HelpText')
131
131
  self.help_text = attributes[:'HelpText']
132
132
  end
133
133
 
134
- if attributes.key?(:'Name')
135
- self.name = attributes[:'Name']
136
- end
137
-
138
134
  if attributes.key?(:'OwnHelp')
139
135
  self.own_help = attributes[:'OwnHelp']
140
136
  end
141
137
 
142
- if attributes.key?(:'OwnStatus')
143
- self.own_status = attributes[:'OwnStatus']
138
+ if attributes.key?(:'CalculateOnExit')
139
+ self.calculate_on_exit = attributes[:'CalculateOnExit']
144
140
  end
145
141
 
146
- if attributes.key?(:'StatusText')
147
- self.status_text = attributes[:'StatusText']
142
+ if attributes.key?(:'EntryMacro')
143
+ self.entry_macro = attributes[:'EntryMacro']
144
+ end
145
+
146
+ if attributes.key?(:'ExitMacro')
147
+ self.exit_macro = attributes[:'ExitMacro']
148
148
  end
149
149
  end
150
150
 
@@ -168,15 +168,15 @@ module AsposeWordsCloud
168
168
  self.class == other.class &&
169
169
  link == other.link &&
170
170
  node_id == other.node_id &&
171
- calculate_on_exit == other.calculate_on_exit &&
171
+ name == other.name &&
172
172
  enabled == other.enabled &&
173
- entry_macro == other.entry_macro &&
174
- exit_macro == other.exit_macro &&
173
+ status_text == other.status_text &&
174
+ own_status == other.own_status &&
175
175
  help_text == other.help_text &&
176
- name == other.name &&
177
176
  own_help == other.own_help &&
178
- own_status == other.own_status &&
179
- status_text == other.status_text
177
+ calculate_on_exit == other.calculate_on_exit &&
178
+ entry_macro == other.entry_macro &&
179
+ exit_macro == other.exit_macro
180
180
  end
181
181
 
182
182
  # @see the `==` method
@@ -188,7 +188,7 @@ module AsposeWordsCloud
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Fixnum] Hash code
190
190
  def hash
191
- [link, node_id, calculate_on_exit, enabled, entry_macro, exit_macro, help_text, name, own_help, own_status, status_text].hash
191
+ [link, node_id, name, enabled, status_text, own_status, help_text, own_help, calculate_on_exit, entry_macro, exit_macro].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash