groupdocs_conversion_cloud 23.2 → 23.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/lib/groupdocs_conversion_cloud/models/bmp_convert_options.rb +11 -11
  3. data/lib/groupdocs_conversion_cloud/models/convert_options.rb +14 -4
  4. data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +11 -11
  5. data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +11 -11
  6. data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +11 -11
  7. data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +11 -11
  8. data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +11 -11
  9. data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +11 -11
  10. data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +11 -11
  11. data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +11 -11
  12. data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +11 -11
  13. data/lib/groupdocs_conversion_cloud/models/{xps_convert_options.rb → e_book_convert_options.rb} +84 -131
  14. data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +11 -11
  15. data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +11 -11
  16. data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +11 -11
  17. data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +11 -11
  18. data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +11 -11
  19. data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +11 -11
  20. data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +11 -11
  21. data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +11 -11
  22. data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +11 -11
  23. data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +11 -11
  24. data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +11 -11
  25. data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +11 -11
  26. data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +11 -11
  27. data/lib/groupdocs_conversion_cloud/models/odp_convert_options.rb +14 -14
  28. data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +14 -14
  29. data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +11 -11
  30. data/lib/groupdocs_conversion_cloud/models/otp_convert_options.rb +14 -14
  31. data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +14 -14
  32. data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +11 -11
  33. data/lib/groupdocs_conversion_cloud/models/pdf_convert_options.rb +14 -14
  34. data/lib/groupdocs_conversion_cloud/models/{svg_convert_options.rb → pdl_convert_options.rb} +4 -79
  35. data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +11 -11
  36. data/lib/groupdocs_conversion_cloud/models/potm_convert_options.rb +14 -14
  37. data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +14 -14
  38. data/lib/groupdocs_conversion_cloud/models/pps_convert_options.rb +14 -14
  39. data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +14 -14
  40. data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +14 -14
  41. data/lib/groupdocs_conversion_cloud/models/ppt_convert_options.rb +14 -14
  42. data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +14 -14
  43. data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +14 -14
  44. data/lib/groupdocs_conversion_cloud/models/presentation_convert_options.rb +14 -14
  45. data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +11 -11
  46. data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +11 -11
  47. data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +14 -14
  48. data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +11 -11
  49. data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +11 -11
  50. data/lib/groupdocs_conversion_cloud/models/tsv_convert_options.rb +14 -14
  51. data/lib/groupdocs_conversion_cloud/models/txt_convert_options.rb +14 -4
  52. data/lib/groupdocs_conversion_cloud/models/{html_convert_options.rb → web_convert_options.rb} +16 -16
  53. data/lib/groupdocs_conversion_cloud/models/{html_load_options.rb → web_load_options.rb} +2 -2
  54. data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +11 -11
  55. data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +11 -11
  56. data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +11 -11
  57. data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +14 -14
  58. data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +14 -14
  59. data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +14 -14
  60. data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +14 -14
  61. data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +14 -14
  62. data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +14 -14
  63. data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +14 -14
  64. data/lib/groupdocs_conversion_cloud/version.rb +1 -1
  65. data/lib/groupdocs_conversion_cloud.rb +4 -6
  66. metadata +6 -8
  67. data/lib/groupdocs_conversion_cloud/models/cgm_convert_options.rb +0 -458
  68. data/lib/groupdocs_conversion_cloud/models/epub_convert_options.rb +0 -386
@@ -40,6 +40,9 @@ module GroupDocsConversionCloud
40
40
  # Convert specific pages. The list contains the page indexes of the pages to be converted
41
41
  attr_accessor :pages
42
42
 
43
+ # Watermark specific options
44
+ attr_accessor :watermark_options
45
+
43
46
  # Set this property if you want to protect the converted document with a password
44
47
  attr_accessor :password
45
48
 
@@ -49,19 +52,16 @@ module GroupDocsConversionCloud
49
52
  # If true, the input firstly is converted to PDF and after that to desired format
50
53
  attr_accessor :use_pdf
51
54
 
52
- # Watermark specific options
53
- attr_accessor :watermark_options
54
-
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
58
  :'from_page' => :'FromPage',
59
59
  :'pages_count' => :'PagesCount',
60
60
  :'pages' => :'Pages',
61
+ :'watermark_options' => :'WatermarkOptions',
61
62
  :'password' => :'Password',
62
63
  :'zoom' => :'Zoom',
63
- :'use_pdf' => :'UsePdf',
64
- :'watermark_options' => :'WatermarkOptions'
64
+ :'use_pdf' => :'UsePdf'
65
65
  }
66
66
  end
67
67
 
@@ -71,10 +71,10 @@ module GroupDocsConversionCloud
71
71
  :'from_page' => :'Integer',
72
72
  :'pages_count' => :'Integer',
73
73
  :'pages' => :'Array<Integer>',
74
+ :'watermark_options' => :'WatermarkOptions',
74
75
  :'password' => :'String',
75
76
  :'zoom' => :'Integer',
76
- :'use_pdf' => :'BOOLEAN',
77
- :'watermark_options' => :'WatermarkOptions'
77
+ :'use_pdf' => :'BOOLEAN'
78
78
  }
79
79
  end
80
80
 
@@ -100,6 +100,10 @@ module GroupDocsConversionCloud
100
100
  end
101
101
  end
102
102
 
103
+ if attributes.key?(:'WatermarkOptions')
104
+ self.watermark_options = attributes[:'WatermarkOptions']
105
+ end
106
+
103
107
  if attributes.key?(:'Password')
104
108
  self.password = attributes[:'Password']
105
109
  end
@@ -112,10 +116,6 @@ module GroupDocsConversionCloud
112
116
  self.use_pdf = attributes[:'UsePdf']
113
117
  end
114
118
 
115
- if attributes.key?(:'WatermarkOptions')
116
- self.watermark_options = attributes[:'WatermarkOptions']
117
- end
118
-
119
119
  end
120
120
 
121
121
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -159,10 +159,10 @@ module GroupDocsConversionCloud
159
159
  from_page == other.from_page &&
160
160
  pages_count == other.pages_count &&
161
161
  pages == other.pages &&
162
+ watermark_options == other.watermark_options &&
162
163
  password == other.password &&
163
164
  zoom == other.zoom &&
164
- use_pdf == other.use_pdf &&
165
- watermark_options == other.watermark_options
165
+ use_pdf == other.use_pdf
166
166
  end
167
167
 
168
168
  # @see the `==` method
@@ -174,7 +174,7 @@ module GroupDocsConversionCloud
174
174
  # Calculates hash code according to all attributes.
175
175
  # @return [Fixnum] Hash code
176
176
  def hash
177
- [from_page, pages_count, pages, password, zoom, use_pdf, watermark_options].hash
177
+ [from_page, pages_count, pages, watermark_options, password, zoom, use_pdf].hash
178
178
  end
179
179
 
180
180
  # Downcases first letter.
@@ -40,6 +40,9 @@ module GroupDocsConversionCloud
40
40
  # Convert specific pages. The list contains the page indexes of the pages to be converted
41
41
  attr_accessor :pages
42
42
 
43
+ # Watermark specific options
44
+ attr_accessor :watermark_options
45
+
43
46
  # Desired page width after conversion
44
47
  attr_accessor :width
45
48
 
@@ -55,9 +58,6 @@ module GroupDocsConversionCloud
55
58
  # Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
56
59
  attr_accessor :zoom
57
60
 
58
- # Watermark specific options
59
- attr_accessor :watermark_options
60
-
61
61
  # Recognition mode when converting from pdf
62
62
  attr_accessor :pdf_recognition_mode
63
63
 
@@ -94,12 +94,12 @@ module GroupDocsConversionCloud
94
94
  :'from_page' => :'FromPage',
95
95
  :'pages_count' => :'PagesCount',
96
96
  :'pages' => :'Pages',
97
+ :'watermark_options' => :'WatermarkOptions',
97
98
  :'width' => :'Width',
98
99
  :'height' => :'Height',
99
100
  :'dpi' => :'Dpi',
100
101
  :'password' => :'Password',
101
102
  :'zoom' => :'Zoom',
102
- :'watermark_options' => :'WatermarkOptions',
103
103
  :'pdf_recognition_mode' => :'PdfRecognitionMode',
104
104
  :'page_size' => :'PageSize',
105
105
  :'page_orientation' => :'PageOrientation'
@@ -112,12 +112,12 @@ module GroupDocsConversionCloud
112
112
  :'from_page' => :'Integer',
113
113
  :'pages_count' => :'Integer',
114
114
  :'pages' => :'Array<Integer>',
115
+ :'watermark_options' => :'WatermarkOptions',
115
116
  :'width' => :'Integer',
116
117
  :'height' => :'Integer',
117
118
  :'dpi' => :'Float',
118
119
  :'password' => :'String',
119
120
  :'zoom' => :'Integer',
120
- :'watermark_options' => :'WatermarkOptions',
121
121
  :'pdf_recognition_mode' => :'String',
122
122
  :'page_size' => :'String',
123
123
  :'page_orientation' => :'String'
@@ -146,6 +146,10 @@ module GroupDocsConversionCloud
146
146
  end
147
147
  end
148
148
 
149
+ if attributes.key?(:'WatermarkOptions')
150
+ self.watermark_options = attributes[:'WatermarkOptions']
151
+ end
152
+
149
153
  if attributes.key?(:'Width')
150
154
  self.width = attributes[:'Width']
151
155
  end
@@ -166,10 +170,6 @@ module GroupDocsConversionCloud
166
170
  self.zoom = attributes[:'Zoom']
167
171
  end
168
172
 
169
- if attributes.key?(:'WatermarkOptions')
170
- self.watermark_options = attributes[:'WatermarkOptions']
171
- end
172
-
173
173
  if attributes.key?(:'PdfRecognitionMode')
174
174
  self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
175
175
  end
@@ -298,12 +298,12 @@ module GroupDocsConversionCloud
298
298
  from_page == other.from_page &&
299
299
  pages_count == other.pages_count &&
300
300
  pages == other.pages &&
301
+ watermark_options == other.watermark_options &&
301
302
  width == other.width &&
302
303
  height == other.height &&
303
304
  dpi == other.dpi &&
304
305
  password == other.password &&
305
306
  zoom == other.zoom &&
306
- watermark_options == other.watermark_options &&
307
307
  pdf_recognition_mode == other.pdf_recognition_mode &&
308
308
  page_size == other.page_size &&
309
309
  page_orientation == other.page_orientation
@@ -318,7 +318,7 @@ module GroupDocsConversionCloud
318
318
  # Calculates hash code according to all attributes.
319
319
  # @return [Fixnum] Hash code
320
320
  def hash
321
- [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options, pdf_recognition_mode, page_size, page_orientation].hash
321
+ [from_page, pages_count, pages, watermark_options, width, height, dpi, password, zoom, pdf_recognition_mode, page_size, page_orientation].hash
322
322
  end
323
323
 
324
324
  # Downcases first letter.
@@ -40,24 +40,24 @@ module GroupDocsConversionCloud
40
40
  # Convert specific pages. The list contains the page indexes of the pages to be converted
41
41
  attr_accessor :pages
42
42
 
43
+ # Watermark specific options
44
+ attr_accessor :watermark_options
45
+
43
46
  # Set this property if you want to protect the converted document with a password
44
47
  attr_accessor :password
45
48
 
46
49
  # Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
47
50
  attr_accessor :zoom
48
51
 
49
- # Watermark specific options
50
- attr_accessor :watermark_options
51
-
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
55
  :'from_page' => :'FromPage',
56
56
  :'pages_count' => :'PagesCount',
57
57
  :'pages' => :'Pages',
58
+ :'watermark_options' => :'WatermarkOptions',
58
59
  :'password' => :'Password',
59
- :'zoom' => :'Zoom',
60
- :'watermark_options' => :'WatermarkOptions'
60
+ :'zoom' => :'Zoom'
61
61
  }
62
62
  end
63
63
 
@@ -67,9 +67,9 @@ module GroupDocsConversionCloud
67
67
  :'from_page' => :'Integer',
68
68
  :'pages_count' => :'Integer',
69
69
  :'pages' => :'Array<Integer>',
70
+ :'watermark_options' => :'WatermarkOptions',
70
71
  :'password' => :'String',
71
- :'zoom' => :'Integer',
72
- :'watermark_options' => :'WatermarkOptions'
72
+ :'zoom' => :'Integer'
73
73
  }
74
74
  end
75
75
 
@@ -95,6 +95,10 @@ module GroupDocsConversionCloud
95
95
  end
96
96
  end
97
97
 
98
+ if attributes.key?(:'WatermarkOptions')
99
+ self.watermark_options = attributes[:'WatermarkOptions']
100
+ end
101
+
98
102
  if attributes.key?(:'Password')
99
103
  self.password = attributes[:'Password']
100
104
  end
@@ -103,10 +107,6 @@ module GroupDocsConversionCloud
103
107
  self.zoom = attributes[:'Zoom']
104
108
  end
105
109
 
106
- if attributes.key?(:'WatermarkOptions')
107
- self.watermark_options = attributes[:'WatermarkOptions']
108
- end
109
-
110
110
  end
111
111
 
112
112
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -145,9 +145,9 @@ module GroupDocsConversionCloud
145
145
  from_page == other.from_page &&
146
146
  pages_count == other.pages_count &&
147
147
  pages == other.pages &&
148
+ watermark_options == other.watermark_options &&
148
149
  password == other.password &&
149
- zoom == other.zoom &&
150
- watermark_options == other.watermark_options
150
+ zoom == other.zoom
151
151
  end
152
152
 
153
153
  # @see the `==` method
@@ -159,7 +159,7 @@ module GroupDocsConversionCloud
159
159
  # Calculates hash code according to all attributes.
160
160
  # @return [Fixnum] Hash code
161
161
  def hash
162
- [from_page, pages_count, pages, password, zoom, watermark_options].hash
162
+ [from_page, pages_count, pages, watermark_options, password, zoom].hash
163
163
  end
164
164
 
165
165
  # Downcases first letter.
@@ -40,6 +40,9 @@ module GroupDocsConversionCloud
40
40
  # Convert specific pages. The list contains the page indexes of the pages to be converted
41
41
  attr_accessor :pages
42
42
 
43
+ # Watermark specific options
44
+ attr_accessor :watermark_options
45
+
43
46
  # Set this property if you want to protect the converted document with a password
44
47
  attr_accessor :password
45
48
 
@@ -49,19 +52,16 @@ module GroupDocsConversionCloud
49
52
  # If true, the input firstly is converted to PDF and after that to desired format
50
53
  attr_accessor :use_pdf
51
54
 
52
- # Watermark specific options
53
- attr_accessor :watermark_options
54
-
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
58
  :'from_page' => :'FromPage',
59
59
  :'pages_count' => :'PagesCount',
60
60
  :'pages' => :'Pages',
61
+ :'watermark_options' => :'WatermarkOptions',
61
62
  :'password' => :'Password',
62
63
  :'zoom' => :'Zoom',
63
- :'use_pdf' => :'UsePdf',
64
- :'watermark_options' => :'WatermarkOptions'
64
+ :'use_pdf' => :'UsePdf'
65
65
  }
66
66
  end
67
67
 
@@ -71,10 +71,10 @@ module GroupDocsConversionCloud
71
71
  :'from_page' => :'Integer',
72
72
  :'pages_count' => :'Integer',
73
73
  :'pages' => :'Array<Integer>',
74
+ :'watermark_options' => :'WatermarkOptions',
74
75
  :'password' => :'String',
75
76
  :'zoom' => :'Integer',
76
- :'use_pdf' => :'BOOLEAN',
77
- :'watermark_options' => :'WatermarkOptions'
77
+ :'use_pdf' => :'BOOLEAN'
78
78
  }
79
79
  end
80
80
 
@@ -100,6 +100,10 @@ module GroupDocsConversionCloud
100
100
  end
101
101
  end
102
102
 
103
+ if attributes.key?(:'WatermarkOptions')
104
+ self.watermark_options = attributes[:'WatermarkOptions']
105
+ end
106
+
103
107
  if attributes.key?(:'Password')
104
108
  self.password = attributes[:'Password']
105
109
  end
@@ -112,10 +116,6 @@ module GroupDocsConversionCloud
112
116
  self.use_pdf = attributes[:'UsePdf']
113
117
  end
114
118
 
115
- if attributes.key?(:'WatermarkOptions')
116
- self.watermark_options = attributes[:'WatermarkOptions']
117
- end
118
-
119
119
  end
120
120
 
121
121
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -159,10 +159,10 @@ module GroupDocsConversionCloud
159
159
  from_page == other.from_page &&
160
160
  pages_count == other.pages_count &&
161
161
  pages == other.pages &&
162
+ watermark_options == other.watermark_options &&
162
163
  password == other.password &&
163
164
  zoom == other.zoom &&
164
- use_pdf == other.use_pdf &&
165
- watermark_options == other.watermark_options
165
+ use_pdf == other.use_pdf
166
166
  end
167
167
 
168
168
  # @see the `==` method
@@ -174,7 +174,7 @@ module GroupDocsConversionCloud
174
174
  # Calculates hash code according to all attributes.
175
175
  # @return [Fixnum] Hash code
176
176
  def hash
177
- [from_page, pages_count, pages, password, zoom, use_pdf, watermark_options].hash
177
+ [from_page, pages_count, pages, watermark_options, password, zoom, use_pdf].hash
178
178
  end
179
179
 
180
180
  # Downcases first letter.
@@ -40,6 +40,9 @@ module GroupDocsConversionCloud
40
40
  # Convert specific pages. The list contains the page indexes of the pages to be converted
41
41
  attr_accessor :pages
42
42
 
43
+ # Watermark specific options
44
+ attr_accessor :watermark_options
45
+
43
46
  # Desired page width after conversion
44
47
  attr_accessor :width
45
48
 
@@ -55,9 +58,6 @@ module GroupDocsConversionCloud
55
58
  # Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
56
59
  attr_accessor :zoom
57
60
 
58
- # Watermark specific options
59
- attr_accessor :watermark_options
60
-
61
61
  # Recognition mode when converting from pdf
62
62
  attr_accessor :pdf_recognition_mode
63
63
 
@@ -94,12 +94,12 @@ module GroupDocsConversionCloud
94
94
  :'from_page' => :'FromPage',
95
95
  :'pages_count' => :'PagesCount',
96
96
  :'pages' => :'Pages',
97
+ :'watermark_options' => :'WatermarkOptions',
97
98
  :'width' => :'Width',
98
99
  :'height' => :'Height',
99
100
  :'dpi' => :'Dpi',
100
101
  :'password' => :'Password',
101
102
  :'zoom' => :'Zoom',
102
- :'watermark_options' => :'WatermarkOptions',
103
103
  :'pdf_recognition_mode' => :'PdfRecognitionMode',
104
104
  :'page_size' => :'PageSize',
105
105
  :'page_orientation' => :'PageOrientation'
@@ -112,12 +112,12 @@ module GroupDocsConversionCloud
112
112
  :'from_page' => :'Integer',
113
113
  :'pages_count' => :'Integer',
114
114
  :'pages' => :'Array<Integer>',
115
+ :'watermark_options' => :'WatermarkOptions',
115
116
  :'width' => :'Integer',
116
117
  :'height' => :'Integer',
117
118
  :'dpi' => :'Float',
118
119
  :'password' => :'String',
119
120
  :'zoom' => :'Integer',
120
- :'watermark_options' => :'WatermarkOptions',
121
121
  :'pdf_recognition_mode' => :'String',
122
122
  :'page_size' => :'String',
123
123
  :'page_orientation' => :'String'
@@ -146,6 +146,10 @@ module GroupDocsConversionCloud
146
146
  end
147
147
  end
148
148
 
149
+ if attributes.key?(:'WatermarkOptions')
150
+ self.watermark_options = attributes[:'WatermarkOptions']
151
+ end
152
+
149
153
  if attributes.key?(:'Width')
150
154
  self.width = attributes[:'Width']
151
155
  end
@@ -166,10 +170,6 @@ module GroupDocsConversionCloud
166
170
  self.zoom = attributes[:'Zoom']
167
171
  end
168
172
 
169
- if attributes.key?(:'WatermarkOptions')
170
- self.watermark_options = attributes[:'WatermarkOptions']
171
- end
172
-
173
173
  if attributes.key?(:'PdfRecognitionMode')
174
174
  self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
175
175
  end
@@ -298,12 +298,12 @@ module GroupDocsConversionCloud
298
298
  from_page == other.from_page &&
299
299
  pages_count == other.pages_count &&
300
300
  pages == other.pages &&
301
+ watermark_options == other.watermark_options &&
301
302
  width == other.width &&
302
303
  height == other.height &&
303
304
  dpi == other.dpi &&
304
305
  password == other.password &&
305
306
  zoom == other.zoom &&
306
- watermark_options == other.watermark_options &&
307
307
  pdf_recognition_mode == other.pdf_recognition_mode &&
308
308
  page_size == other.page_size &&
309
309
  page_orientation == other.page_orientation
@@ -318,7 +318,7 @@ module GroupDocsConversionCloud
318
318
  # Calculates hash code according to all attributes.
319
319
  # @return [Fixnum] Hash code
320
320
  def hash
321
- [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options, pdf_recognition_mode, page_size, page_orientation].hash
321
+ [from_page, pages_count, pages, watermark_options, width, height, dpi, password, zoom, pdf_recognition_mode, page_size, page_orientation].hash
322
322
  end
323
323
 
324
324
  # Downcases first letter.
@@ -40,6 +40,9 @@ module GroupDocsConversionCloud
40
40
  # Convert specific pages. The list contains the page indexes of the pages to be converted
41
41
  attr_accessor :pages
42
42
 
43
+ # Watermark specific options
44
+ attr_accessor :watermark_options
45
+
43
46
  # Desired page width in pixels after conversion
44
47
  attr_accessor :width
45
48
 
@@ -129,9 +132,6 @@ module GroupDocsConversionCloud
129
132
 
130
133
  # Rotate page
131
134
  attr_accessor :rotate
132
-
133
- # Watermark specific options
134
- attr_accessor :watermark_options
135
135
  class EnumAttributeValidator
136
136
  attr_reader :datatype
137
137
  attr_reader :allowable_values
@@ -160,6 +160,7 @@ module GroupDocsConversionCloud
160
160
  :'from_page' => :'FromPage',
161
161
  :'pages_count' => :'PagesCount',
162
162
  :'pages' => :'Pages',
163
+ :'watermark_options' => :'WatermarkOptions',
163
164
  :'width' => :'Width',
164
165
  :'height' => :'Height',
165
166
  :'dpi' => :'Dpi',
@@ -189,8 +190,7 @@ module GroupDocsConversionCloud
189
190
  :'non_full_screen_page_mode' => :'NonFullScreenPageMode',
190
191
  :'page_layout' => :'PageLayout',
191
192
  :'page_mode' => :'PageMode',
192
- :'rotate' => :'Rotate',
193
- :'watermark_options' => :'WatermarkOptions'
193
+ :'rotate' => :'Rotate'
194
194
  }
195
195
  end
196
196
 
@@ -200,6 +200,7 @@ module GroupDocsConversionCloud
200
200
  :'from_page' => :'Integer',
201
201
  :'pages_count' => :'Integer',
202
202
  :'pages' => :'Array<Integer>',
203
+ :'watermark_options' => :'WatermarkOptions',
203
204
  :'width' => :'Integer',
204
205
  :'height' => :'Integer',
205
206
  :'dpi' => :'Float',
@@ -229,8 +230,7 @@ module GroupDocsConversionCloud
229
230
  :'non_full_screen_page_mode' => :'String',
230
231
  :'page_layout' => :'String',
231
232
  :'page_mode' => :'String',
232
- :'rotate' => :'String',
233
- :'watermark_options' => :'WatermarkOptions'
233
+ :'rotate' => :'String'
234
234
  }
235
235
  end
236
236
 
@@ -256,6 +256,10 @@ module GroupDocsConversionCloud
256
256
  end
257
257
  end
258
258
 
259
+ if attributes.key?(:'WatermarkOptions')
260
+ self.watermark_options = attributes[:'WatermarkOptions']
261
+ end
262
+
259
263
  if attributes.key?(:'Width')
260
264
  self.width = attributes[:'Width']
261
265
  end
@@ -376,10 +380,6 @@ module GroupDocsConversionCloud
376
380
  self.rotate = attributes[:'Rotate']
377
381
  end
378
382
 
379
- if attributes.key?(:'WatermarkOptions')
380
- self.watermark_options = attributes[:'WatermarkOptions']
381
- end
382
-
383
383
  end
384
384
 
385
385
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -654,6 +654,7 @@ module GroupDocsConversionCloud
654
654
  from_page == other.from_page &&
655
655
  pages_count == other.pages_count &&
656
656
  pages == other.pages &&
657
+ watermark_options == other.watermark_options &&
657
658
  width == other.width &&
658
659
  height == other.height &&
659
660
  dpi == other.dpi &&
@@ -683,8 +684,7 @@ module GroupDocsConversionCloud
683
684
  non_full_screen_page_mode == other.non_full_screen_page_mode &&
684
685
  page_layout == other.page_layout &&
685
686
  page_mode == other.page_mode &&
686
- rotate == other.rotate &&
687
- watermark_options == other.watermark_options
687
+ rotate == other.rotate
688
688
  end
689
689
 
690
690
  # @see the `==` method
@@ -696,7 +696,7 @@ module GroupDocsConversionCloud
696
696
  # Calculates hash code according to all attributes.
697
697
  # @return [Fixnum] Hash code
698
698
  def hash
699
- [from_page, pages_count, pages, width, height, dpi, password, margin_top, margin_bottom, margin_left, margin_right, pdf_format, remove_pdfa_compliance, zoom, linearize, link_duplicate_streams, remove_unused_objects, remove_unused_streams, compress_images, image_quality, unembed_fonts, grayscale, center_window, direction, display_doc_title, fit_window, hide_menu_bar, hide_tool_bar, hide_window_ui, non_full_screen_page_mode, page_layout, page_mode, rotate, watermark_options].hash
699
+ [from_page, pages_count, pages, watermark_options, width, height, dpi, password, margin_top, margin_bottom, margin_left, margin_right, pdf_format, remove_pdfa_compliance, zoom, linearize, link_duplicate_streams, remove_unused_objects, remove_unused_streams, compress_images, image_quality, unembed_fonts, grayscale, center_window, direction, display_doc_title, fit_window, hide_menu_bar, hide_tool_bar, hide_window_ui, non_full_screen_page_mode, page_layout, page_mode, rotate].hash
700
700
  end
701
701
 
702
702
  # Downcases first letter.