groupdocs_conversion_cloud 23.2 → 23.4

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
  # Desired image width after conversion
44
47
  attr_accessor :width
45
48
 
@@ -61,9 +64,6 @@ module GroupDocsConversionCloud
61
64
  # If true, the input firstly is converted to PDF and after that to desired format
62
65
  attr_accessor :use_pdf
63
66
 
64
- # Watermark specific options
65
- attr_accessor :watermark_options
66
-
67
67
  # Adjust image brightness
68
68
  attr_accessor :brightness
69
69
 
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
106
106
  :'from_page' => :'FromPage',
107
107
  :'pages_count' => :'PagesCount',
108
108
  :'pages' => :'Pages',
109
+ :'watermark_options' => :'WatermarkOptions',
109
110
  :'width' => :'Width',
110
111
  :'height' => :'Height',
111
112
  :'horizontal_resolution' => :'HorizontalResolution',
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
113
114
  :'grayscale' => :'Grayscale',
114
115
  :'rotate_angle' => :'RotateAngle',
115
116
  :'use_pdf' => :'UsePdf',
116
- :'watermark_options' => :'WatermarkOptions',
117
117
  :'brightness' => :'Brightness',
118
118
  :'contrast' => :'Contrast',
119
119
  :'gamma' => :'Gamma',
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
128
128
  :'from_page' => :'Integer',
129
129
  :'pages_count' => :'Integer',
130
130
  :'pages' => :'Array<Integer>',
131
+ :'watermark_options' => :'WatermarkOptions',
131
132
  :'width' => :'Integer',
132
133
  :'height' => :'Integer',
133
134
  :'horizontal_resolution' => :'Integer',
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
135
136
  :'grayscale' => :'BOOLEAN',
136
137
  :'rotate_angle' => :'Integer',
137
138
  :'use_pdf' => :'BOOLEAN',
138
- :'watermark_options' => :'WatermarkOptions',
139
139
  :'brightness' => :'Integer',
140
140
  :'contrast' => :'Integer',
141
141
  :'gamma' => :'Float',
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
166
166
  end
167
167
  end
168
168
 
169
+ if attributes.key?(:'WatermarkOptions')
170
+ self.watermark_options = attributes[:'WatermarkOptions']
171
+ end
172
+
169
173
  if attributes.key?(:'Width')
170
174
  self.width = attributes[:'Width']
171
175
  end
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
194
198
  self.use_pdf = attributes[:'UsePdf']
195
199
  end
196
200
 
197
- if attributes.key?(:'WatermarkOptions')
198
- self.watermark_options = attributes[:'WatermarkOptions']
199
- end
200
-
201
201
  if attributes.key?(:'Brightness')
202
202
  self.brightness = attributes[:'Brightness']
203
203
  end
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
327
327
  from_page == other.from_page &&
328
328
  pages_count == other.pages_count &&
329
329
  pages == other.pages &&
330
+ watermark_options == other.watermark_options &&
330
331
  width == other.width &&
331
332
  height == other.height &&
332
333
  horizontal_resolution == other.horizontal_resolution &&
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
334
335
  grayscale == other.grayscale &&
335
336
  rotate_angle == other.rotate_angle &&
336
337
  use_pdf == other.use_pdf &&
337
- watermark_options == other.watermark_options &&
338
338
  brightness == other.brightness &&
339
339
  contrast == other.contrast &&
340
340
  gamma == other.gamma &&
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
351
351
  # Calculates hash code according to all attributes.
352
352
  # @return [Fixnum] Hash code
353
353
  def hash
354
- [from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, watermark_options, brightness, contrast, gamma, flip_mode, quality].hash
354
+ [from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
355
355
  end
356
356
 
357
357
  # 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 image width after conversion
44
47
  attr_accessor :width
45
48
 
@@ -61,9 +64,6 @@ module GroupDocsConversionCloud
61
64
  # If true, the input firstly is converted to PDF and after that to desired format
62
65
  attr_accessor :use_pdf
63
66
 
64
- # Watermark specific options
65
- attr_accessor :watermark_options
66
-
67
67
  # Adjust image brightness
68
68
  attr_accessor :brightness
69
69
 
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
106
106
  :'from_page' => :'FromPage',
107
107
  :'pages_count' => :'PagesCount',
108
108
  :'pages' => :'Pages',
109
+ :'watermark_options' => :'WatermarkOptions',
109
110
  :'width' => :'Width',
110
111
  :'height' => :'Height',
111
112
  :'horizontal_resolution' => :'HorizontalResolution',
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
113
114
  :'grayscale' => :'Grayscale',
114
115
  :'rotate_angle' => :'RotateAngle',
115
116
  :'use_pdf' => :'UsePdf',
116
- :'watermark_options' => :'WatermarkOptions',
117
117
  :'brightness' => :'Brightness',
118
118
  :'contrast' => :'Contrast',
119
119
  :'gamma' => :'Gamma',
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
128
128
  :'from_page' => :'Integer',
129
129
  :'pages_count' => :'Integer',
130
130
  :'pages' => :'Array<Integer>',
131
+ :'watermark_options' => :'WatermarkOptions',
131
132
  :'width' => :'Integer',
132
133
  :'height' => :'Integer',
133
134
  :'horizontal_resolution' => :'Integer',
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
135
136
  :'grayscale' => :'BOOLEAN',
136
137
  :'rotate_angle' => :'Integer',
137
138
  :'use_pdf' => :'BOOLEAN',
138
- :'watermark_options' => :'WatermarkOptions',
139
139
  :'brightness' => :'Integer',
140
140
  :'contrast' => :'Integer',
141
141
  :'gamma' => :'Float',
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
166
166
  end
167
167
  end
168
168
 
169
+ if attributes.key?(:'WatermarkOptions')
170
+ self.watermark_options = attributes[:'WatermarkOptions']
171
+ end
172
+
169
173
  if attributes.key?(:'Width')
170
174
  self.width = attributes[:'Width']
171
175
  end
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
194
198
  self.use_pdf = attributes[:'UsePdf']
195
199
  end
196
200
 
197
- if attributes.key?(:'WatermarkOptions')
198
- self.watermark_options = attributes[:'WatermarkOptions']
199
- end
200
-
201
201
  if attributes.key?(:'Brightness')
202
202
  self.brightness = attributes[:'Brightness']
203
203
  end
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
327
327
  from_page == other.from_page &&
328
328
  pages_count == other.pages_count &&
329
329
  pages == other.pages &&
330
+ watermark_options == other.watermark_options &&
330
331
  width == other.width &&
331
332
  height == other.height &&
332
333
  horizontal_resolution == other.horizontal_resolution &&
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
334
335
  grayscale == other.grayscale &&
335
336
  rotate_angle == other.rotate_angle &&
336
337
  use_pdf == other.use_pdf &&
337
- watermark_options == other.watermark_options &&
338
338
  brightness == other.brightness &&
339
339
  contrast == other.contrast &&
340
340
  gamma == other.gamma &&
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
351
351
  # Calculates hash code according to all attributes.
352
352
  # @return [Fixnum] Hash code
353
353
  def hash
354
- [from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, watermark_options, brightness, contrast, gamma, flip_mode, quality].hash
354
+ [from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
355
355
  end
356
356
 
357
357
  # 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 image width after conversion
44
47
  attr_accessor :width
45
48
 
@@ -61,9 +64,6 @@ module GroupDocsConversionCloud
61
64
  # If true, the input firstly is converted to PDF and after that to desired format
62
65
  attr_accessor :use_pdf
63
66
 
64
- # Watermark specific options
65
- attr_accessor :watermark_options
66
-
67
67
  # Adjust image brightness
68
68
  attr_accessor :brightness
69
69
 
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
106
106
  :'from_page' => :'FromPage',
107
107
  :'pages_count' => :'PagesCount',
108
108
  :'pages' => :'Pages',
109
+ :'watermark_options' => :'WatermarkOptions',
109
110
  :'width' => :'Width',
110
111
  :'height' => :'Height',
111
112
  :'horizontal_resolution' => :'HorizontalResolution',
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
113
114
  :'grayscale' => :'Grayscale',
114
115
  :'rotate_angle' => :'RotateAngle',
115
116
  :'use_pdf' => :'UsePdf',
116
- :'watermark_options' => :'WatermarkOptions',
117
117
  :'brightness' => :'Brightness',
118
118
  :'contrast' => :'Contrast',
119
119
  :'gamma' => :'Gamma',
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
128
128
  :'from_page' => :'Integer',
129
129
  :'pages_count' => :'Integer',
130
130
  :'pages' => :'Array<Integer>',
131
+ :'watermark_options' => :'WatermarkOptions',
131
132
  :'width' => :'Integer',
132
133
  :'height' => :'Integer',
133
134
  :'horizontal_resolution' => :'Integer',
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
135
136
  :'grayscale' => :'BOOLEAN',
136
137
  :'rotate_angle' => :'Integer',
137
138
  :'use_pdf' => :'BOOLEAN',
138
- :'watermark_options' => :'WatermarkOptions',
139
139
  :'brightness' => :'Integer',
140
140
  :'contrast' => :'Integer',
141
141
  :'gamma' => :'Float',
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
166
166
  end
167
167
  end
168
168
 
169
+ if attributes.key?(:'WatermarkOptions')
170
+ self.watermark_options = attributes[:'WatermarkOptions']
171
+ end
172
+
169
173
  if attributes.key?(:'Width')
170
174
  self.width = attributes[:'Width']
171
175
  end
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
194
198
  self.use_pdf = attributes[:'UsePdf']
195
199
  end
196
200
 
197
- if attributes.key?(:'WatermarkOptions')
198
- self.watermark_options = attributes[:'WatermarkOptions']
199
- end
200
-
201
201
  if attributes.key?(:'Brightness')
202
202
  self.brightness = attributes[:'Brightness']
203
203
  end
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
327
327
  from_page == other.from_page &&
328
328
  pages_count == other.pages_count &&
329
329
  pages == other.pages &&
330
+ watermark_options == other.watermark_options &&
330
331
  width == other.width &&
331
332
  height == other.height &&
332
333
  horizontal_resolution == other.horizontal_resolution &&
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
334
335
  grayscale == other.grayscale &&
335
336
  rotate_angle == other.rotate_angle &&
336
337
  use_pdf == other.use_pdf &&
337
- watermark_options == other.watermark_options &&
338
338
  brightness == other.brightness &&
339
339
  contrast == other.contrast &&
340
340
  gamma == other.gamma &&
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
351
351
  # Calculates hash code according to all attributes.
352
352
  # @return [Fixnum] Hash code
353
353
  def hash
354
- [from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, watermark_options, brightness, contrast, gamma, flip_mode, quality].hash
354
+ [from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
355
355
  end
356
356
 
357
357
  # 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 image width after conversion
44
47
  attr_accessor :width
45
48
 
@@ -61,9 +64,6 @@ module GroupDocsConversionCloud
61
64
  # If true, the input firstly is converted to PDF and after that to desired format
62
65
  attr_accessor :use_pdf
63
66
 
64
- # Watermark specific options
65
- attr_accessor :watermark_options
66
-
67
67
  # Adjust image brightness
68
68
  attr_accessor :brightness
69
69
 
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
106
106
  :'from_page' => :'FromPage',
107
107
  :'pages_count' => :'PagesCount',
108
108
  :'pages' => :'Pages',
109
+ :'watermark_options' => :'WatermarkOptions',
109
110
  :'width' => :'Width',
110
111
  :'height' => :'Height',
111
112
  :'horizontal_resolution' => :'HorizontalResolution',
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
113
114
  :'grayscale' => :'Grayscale',
114
115
  :'rotate_angle' => :'RotateAngle',
115
116
  :'use_pdf' => :'UsePdf',
116
- :'watermark_options' => :'WatermarkOptions',
117
117
  :'brightness' => :'Brightness',
118
118
  :'contrast' => :'Contrast',
119
119
  :'gamma' => :'Gamma',
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
128
128
  :'from_page' => :'Integer',
129
129
  :'pages_count' => :'Integer',
130
130
  :'pages' => :'Array<Integer>',
131
+ :'watermark_options' => :'WatermarkOptions',
131
132
  :'width' => :'Integer',
132
133
  :'height' => :'Integer',
133
134
  :'horizontal_resolution' => :'Integer',
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
135
136
  :'grayscale' => :'BOOLEAN',
136
137
  :'rotate_angle' => :'Integer',
137
138
  :'use_pdf' => :'BOOLEAN',
138
- :'watermark_options' => :'WatermarkOptions',
139
139
  :'brightness' => :'Integer',
140
140
  :'contrast' => :'Integer',
141
141
  :'gamma' => :'Float',
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
166
166
  end
167
167
  end
168
168
 
169
+ if attributes.key?(:'WatermarkOptions')
170
+ self.watermark_options = attributes[:'WatermarkOptions']
171
+ end
172
+
169
173
  if attributes.key?(:'Width')
170
174
  self.width = attributes[:'Width']
171
175
  end
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
194
198
  self.use_pdf = attributes[:'UsePdf']
195
199
  end
196
200
 
197
- if attributes.key?(:'WatermarkOptions')
198
- self.watermark_options = attributes[:'WatermarkOptions']
199
- end
200
-
201
201
  if attributes.key?(:'Brightness')
202
202
  self.brightness = attributes[:'Brightness']
203
203
  end
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
327
327
  from_page == other.from_page &&
328
328
  pages_count == other.pages_count &&
329
329
  pages == other.pages &&
330
+ watermark_options == other.watermark_options &&
330
331
  width == other.width &&
331
332
  height == other.height &&
332
333
  horizontal_resolution == other.horizontal_resolution &&
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
334
335
  grayscale == other.grayscale &&
335
336
  rotate_angle == other.rotate_angle &&
336
337
  use_pdf == other.use_pdf &&
337
- watermark_options == other.watermark_options &&
338
338
  brightness == other.brightness &&
339
339
  contrast == other.contrast &&
340
340
  gamma == other.gamma &&
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
351
351
  # Calculates hash code according to all attributes.
352
352
  # @return [Fixnum] Hash code
353
353
  def hash
354
- [from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, watermark_options, brightness, contrast, gamma, flip_mode, quality].hash
354
+ [from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
355
355
  end
356
356
 
357
357
  # 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 image width after conversion
44
47
  attr_accessor :width
45
48
 
@@ -61,9 +64,6 @@ module GroupDocsConversionCloud
61
64
  # If true, the input firstly is converted to PDF and after that to desired format
62
65
  attr_accessor :use_pdf
63
66
 
64
- # Watermark specific options
65
- attr_accessor :watermark_options
66
-
67
67
  # Adjust image brightness
68
68
  attr_accessor :brightness
69
69
 
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
106
106
  :'from_page' => :'FromPage',
107
107
  :'pages_count' => :'PagesCount',
108
108
  :'pages' => :'Pages',
109
+ :'watermark_options' => :'WatermarkOptions',
109
110
  :'width' => :'Width',
110
111
  :'height' => :'Height',
111
112
  :'horizontal_resolution' => :'HorizontalResolution',
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
113
114
  :'grayscale' => :'Grayscale',
114
115
  :'rotate_angle' => :'RotateAngle',
115
116
  :'use_pdf' => :'UsePdf',
116
- :'watermark_options' => :'WatermarkOptions',
117
117
  :'brightness' => :'Brightness',
118
118
  :'contrast' => :'Contrast',
119
119
  :'gamma' => :'Gamma',
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
128
128
  :'from_page' => :'Integer',
129
129
  :'pages_count' => :'Integer',
130
130
  :'pages' => :'Array<Integer>',
131
+ :'watermark_options' => :'WatermarkOptions',
131
132
  :'width' => :'Integer',
132
133
  :'height' => :'Integer',
133
134
  :'horizontal_resolution' => :'Integer',
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
135
136
  :'grayscale' => :'BOOLEAN',
136
137
  :'rotate_angle' => :'Integer',
137
138
  :'use_pdf' => :'BOOLEAN',
138
- :'watermark_options' => :'WatermarkOptions',
139
139
  :'brightness' => :'Integer',
140
140
  :'contrast' => :'Integer',
141
141
  :'gamma' => :'Float',
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
166
166
  end
167
167
  end
168
168
 
169
+ if attributes.key?(:'WatermarkOptions')
170
+ self.watermark_options = attributes[:'WatermarkOptions']
171
+ end
172
+
169
173
  if attributes.key?(:'Width')
170
174
  self.width = attributes[:'Width']
171
175
  end
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
194
198
  self.use_pdf = attributes[:'UsePdf']
195
199
  end
196
200
 
197
- if attributes.key?(:'WatermarkOptions')
198
- self.watermark_options = attributes[:'WatermarkOptions']
199
- end
200
-
201
201
  if attributes.key?(:'Brightness')
202
202
  self.brightness = attributes[:'Brightness']
203
203
  end
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
327
327
  from_page == other.from_page &&
328
328
  pages_count == other.pages_count &&
329
329
  pages == other.pages &&
330
+ watermark_options == other.watermark_options &&
330
331
  width == other.width &&
331
332
  height == other.height &&
332
333
  horizontal_resolution == other.horizontal_resolution &&
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
334
335
  grayscale == other.grayscale &&
335
336
  rotate_angle == other.rotate_angle &&
336
337
  use_pdf == other.use_pdf &&
337
- watermark_options == other.watermark_options &&
338
338
  brightness == other.brightness &&
339
339
  contrast == other.contrast &&
340
340
  gamma == other.gamma &&
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
351
351
  # Calculates hash code according to all attributes.
352
352
  # @return [Fixnum] Hash code
353
353
  def hash
354
- [from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, watermark_options, brightness, contrast, gamma, flip_mode, quality].hash
354
+ [from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
355
355
  end
356
356
 
357
357
  # 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 image width after conversion
44
47
  attr_accessor :width
45
48
 
@@ -61,9 +64,6 @@ module GroupDocsConversionCloud
61
64
  # If true, the input firstly is converted to PDF and after that to desired format
62
65
  attr_accessor :use_pdf
63
66
 
64
- # Watermark specific options
65
- attr_accessor :watermark_options
66
-
67
67
  # Adjust image brightness
68
68
  attr_accessor :brightness
69
69
 
@@ -103,6 +103,7 @@ module GroupDocsConversionCloud
103
103
  :'from_page' => :'FromPage',
104
104
  :'pages_count' => :'PagesCount',
105
105
  :'pages' => :'Pages',
106
+ :'watermark_options' => :'WatermarkOptions',
106
107
  :'width' => :'Width',
107
108
  :'height' => :'Height',
108
109
  :'horizontal_resolution' => :'HorizontalResolution',
@@ -110,7 +111,6 @@ module GroupDocsConversionCloud
110
111
  :'grayscale' => :'Grayscale',
111
112
  :'rotate_angle' => :'RotateAngle',
112
113
  :'use_pdf' => :'UsePdf',
113
- :'watermark_options' => :'WatermarkOptions',
114
114
  :'brightness' => :'Brightness',
115
115
  :'contrast' => :'Contrast',
116
116
  :'gamma' => :'Gamma',
@@ -124,6 +124,7 @@ module GroupDocsConversionCloud
124
124
  :'from_page' => :'Integer',
125
125
  :'pages_count' => :'Integer',
126
126
  :'pages' => :'Array<Integer>',
127
+ :'watermark_options' => :'WatermarkOptions',
127
128
  :'width' => :'Integer',
128
129
  :'height' => :'Integer',
129
130
  :'horizontal_resolution' => :'Integer',
@@ -131,7 +132,6 @@ module GroupDocsConversionCloud
131
132
  :'grayscale' => :'BOOLEAN',
132
133
  :'rotate_angle' => :'Integer',
133
134
  :'use_pdf' => :'BOOLEAN',
134
- :'watermark_options' => :'WatermarkOptions',
135
135
  :'brightness' => :'Integer',
136
136
  :'contrast' => :'Integer',
137
137
  :'gamma' => :'Float',
@@ -161,6 +161,10 @@ module GroupDocsConversionCloud
161
161
  end
162
162
  end
163
163
 
164
+ if attributes.key?(:'WatermarkOptions')
165
+ self.watermark_options = attributes[:'WatermarkOptions']
166
+ end
167
+
164
168
  if attributes.key?(:'Width')
165
169
  self.width = attributes[:'Width']
166
170
  end
@@ -189,10 +193,6 @@ module GroupDocsConversionCloud
189
193
  self.use_pdf = attributes[:'UsePdf']
190
194
  end
191
195
 
192
- if attributes.key?(:'WatermarkOptions')
193
- self.watermark_options = attributes[:'WatermarkOptions']
194
- end
195
-
196
196
  if attributes.key?(:'Brightness')
197
197
  self.brightness = attributes[:'Brightness']
198
198
  end
@@ -313,6 +313,7 @@ module GroupDocsConversionCloud
313
313
  from_page == other.from_page &&
314
314
  pages_count == other.pages_count &&
315
315
  pages == other.pages &&
316
+ watermark_options == other.watermark_options &&
316
317
  width == other.width &&
317
318
  height == other.height &&
318
319
  horizontal_resolution == other.horizontal_resolution &&
@@ -320,7 +321,6 @@ module GroupDocsConversionCloud
320
321
  grayscale == other.grayscale &&
321
322
  rotate_angle == other.rotate_angle &&
322
323
  use_pdf == other.use_pdf &&
323
- watermark_options == other.watermark_options &&
324
324
  brightness == other.brightness &&
325
325
  contrast == other.contrast &&
326
326
  gamma == other.gamma &&
@@ -336,7 +336,7 @@ module GroupDocsConversionCloud
336
336
  # Calculates hash code according to all attributes.
337
337
  # @return [Fixnum] Hash code
338
338
  def hash
339
- [from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, watermark_options, brightness, contrast, gamma, flip_mode].hash
339
+ [from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode].hash
340
340
  end
341
341
 
342
342
  # 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.