groupdocs_conversion_cloud 22.10 → 23.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +4 -4
  2. data/lib/groupdocs_conversion_cloud/api/convert_api.rb +3 -3
  3. data/lib/groupdocs_conversion_cloud/api/file_api.rb +6 -6
  4. data/lib/groupdocs_conversion_cloud/api/folder_api.rb +6 -6
  5. data/lib/groupdocs_conversion_cloud/api/info_api.rb +3 -3
  6. data/lib/groupdocs_conversion_cloud/api/license_api.rb +1 -1
  7. data/lib/groupdocs_conversion_cloud/api/storage_api.rb +5 -5
  8. data/lib/groupdocs_conversion_cloud/api_client.rb +1 -1
  9. data/lib/groupdocs_conversion_cloud/api_error.rb +1 -1
  10. data/lib/groupdocs_conversion_cloud/configuration.rb +1 -1
  11. data/lib/groupdocs_conversion_cloud/models/bmp_convert_options.rb +12 -12
  12. data/lib/groupdocs_conversion_cloud/models/bmp_load_options.rb +1 -1
  13. data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +1 -1
  14. data/lib/groupdocs_conversion_cloud/models/consumption_result.rb +1 -1
  15. data/lib/groupdocs_conversion_cloud/models/convert_options.rb +15 -5
  16. data/lib/groupdocs_conversion_cloud/models/convert_settings.rb +1 -1
  17. data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +1 -1
  18. data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +12 -12
  19. data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +1 -1
  20. data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +1 -1
  21. data/lib/groupdocs_conversion_cloud/models/diagram_load_options.rb +1 -1
  22. data/lib/groupdocs_conversion_cloud/models/disc_usage.rb +1 -1
  23. data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +12 -12
  24. data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +12 -12
  25. data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +1 -1
  26. data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +77 -15
  27. data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +1 -1
  28. data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +77 -15
  29. data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +1 -1
  30. data/lib/groupdocs_conversion_cloud/models/document_metadata.rb +1 -1
  31. data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +77 -15
  32. data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +1 -1
  33. data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +77 -15
  34. data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +1 -1
  35. data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +77 -15
  36. data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +1 -1
  37. data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +77 -15
  38. data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +1 -1
  39. data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +1 -1
  40. data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +1 -1
  41. data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +1 -1
  42. data/lib/groupdocs_conversion_cloud/models/{xps_convert_options.rb → e_book_convert_options.rb} +85 -132
  43. data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +1 -1
  44. data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +12 -12
  45. data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +1 -1
  46. data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +1 -1
  47. data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +1 -1
  48. data/lib/groupdocs_conversion_cloud/models/error.rb +1 -1
  49. data/lib/groupdocs_conversion_cloud/models/error_details.rb +1 -1
  50. data/lib/groupdocs_conversion_cloud/models/field_label.rb +1 -1
  51. data/lib/groupdocs_conversion_cloud/models/file_version.rb +1 -1
  52. data/lib/groupdocs_conversion_cloud/models/file_versions.rb +1 -1
  53. data/lib/groupdocs_conversion_cloud/models/files_list.rb +1 -1
  54. data/lib/groupdocs_conversion_cloud/models/files_upload_result.rb +1 -1
  55. data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +12 -12
  56. data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +1 -1
  57. data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +12 -12
  58. data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +1 -1
  59. data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +1 -1
  60. data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +1 -1
  61. data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +12 -12
  62. data/lib/groupdocs_conversion_cloud/models/image_load_options.rb +1 -1
  63. data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +12 -12
  64. data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +1 -1
  65. data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +12 -12
  66. data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +1 -1
  67. data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +12 -12
  68. data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +1 -1
  69. data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +12 -12
  70. data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +1 -1
  71. data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +12 -12
  72. data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +1 -1
  73. data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +12 -12
  74. data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +1 -1
  75. data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +12 -12
  76. data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +1 -1
  77. data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +12 -12
  78. data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +1 -1
  79. data/lib/groupdocs_conversion_cloud/models/load_options.rb +1 -1
  80. data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +1 -1
  81. data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +1 -1
  82. data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +1 -1
  83. data/lib/groupdocs_conversion_cloud/models/object_exist.rb +1 -1
  84. data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +12 -12
  85. data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +1 -1
  86. data/lib/groupdocs_conversion_cloud/models/odp_convert_options.rb +15 -15
  87. data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +1 -1
  88. data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +15 -15
  89. data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +1 -1
  90. data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +77 -15
  91. data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +1 -1
  92. data/lib/groupdocs_conversion_cloud/models/one_load_options.rb +1 -1
  93. data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +1 -1
  94. data/lib/groupdocs_conversion_cloud/models/otp_convert_options.rb +15 -15
  95. data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +1 -1
  96. data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +15 -15
  97. data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +1 -1
  98. data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +77 -15
  99. data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +1 -1
  100. data/lib/groupdocs_conversion_cloud/models/pdf_convert_options.rb +15 -15
  101. data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +1 -1
  102. data/lib/groupdocs_conversion_cloud/models/{svg_convert_options.rb → pdl_convert_options.rb} +5 -80
  103. data/lib/groupdocs_conversion_cloud/models/personal_storage_load_options.rb +1 -1
  104. data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +1 -1
  105. data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +12 -12
  106. data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +1 -1
  107. data/lib/groupdocs_conversion_cloud/models/potm_convert_options.rb +15 -15
  108. data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +1 -1
  109. data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +15 -15
  110. data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +1 -1
  111. data/lib/groupdocs_conversion_cloud/models/pps_convert_options.rb +15 -15
  112. data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +1 -1
  113. data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +15 -15
  114. data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +1 -1
  115. data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +15 -15
  116. data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +1 -1
  117. data/lib/groupdocs_conversion_cloud/models/ppt_convert_options.rb +15 -15
  118. data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +1 -1
  119. data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +15 -15
  120. data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +1 -1
  121. data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +15 -15
  122. data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +1 -1
  123. data/lib/groupdocs_conversion_cloud/models/presentation_convert_options.rb +15 -15
  124. data/lib/groupdocs_conversion_cloud/models/presentation_load_options.rb +1 -1
  125. data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +12 -12
  126. data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +1 -1
  127. data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +1 -1
  128. data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +74 -12
  129. data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +15 -15
  130. data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +1 -1
  131. data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +1 -1
  132. data/lib/groupdocs_conversion_cloud/models/storage_exist.rb +1 -1
  133. data/lib/groupdocs_conversion_cloud/models/storage_file.rb +1 -1
  134. data/lib/groupdocs_conversion_cloud/models/stored_converted_result.rb +1 -1
  135. data/lib/groupdocs_conversion_cloud/models/supported_format.rb +1 -1
  136. data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +12 -12
  137. data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +1 -1
  138. data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +12 -12
  139. data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +1 -1
  140. data/lib/groupdocs_conversion_cloud/models/tsv_convert_options.rb +15 -15
  141. data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +1 -1
  142. data/lib/groupdocs_conversion_cloud/models/txt_convert_options.rb +15 -5
  143. data/lib/groupdocs_conversion_cloud/models/txt_load_options.rb +1 -1
  144. data/lib/groupdocs_conversion_cloud/models/vdw_load_options.rb +1 -1
  145. data/lib/groupdocs_conversion_cloud/models/vdx_load_options.rb +1 -1
  146. data/lib/groupdocs_conversion_cloud/models/vsd_load_options.rb +1 -1
  147. data/lib/groupdocs_conversion_cloud/models/vsdm_load_options.rb +1 -1
  148. data/lib/groupdocs_conversion_cloud/models/vsdx_load_options.rb +1 -1
  149. data/lib/groupdocs_conversion_cloud/models/vss_load_options.rb +1 -1
  150. data/lib/groupdocs_conversion_cloud/models/vssm_load_options.rb +1 -1
  151. data/lib/groupdocs_conversion_cloud/models/vssx_load_options.rb +1 -1
  152. data/lib/groupdocs_conversion_cloud/models/vst_load_options.rb +1 -1
  153. data/lib/groupdocs_conversion_cloud/models/vstm_load_options.rb +1 -1
  154. data/lib/groupdocs_conversion_cloud/models/vstx_load_options.rb +1 -1
  155. data/lib/groupdocs_conversion_cloud/models/vsx_load_options.rb +1 -1
  156. data/lib/groupdocs_conversion_cloud/models/vtx_load_options.rb +1 -1
  157. data/lib/groupdocs_conversion_cloud/models/watermark_options.rb +1 -1
  158. data/lib/groupdocs_conversion_cloud/models/{html_convert_options.rb → web_convert_options.rb} +17 -17
  159. data/lib/groupdocs_conversion_cloud/models/{html_load_options.rb → web_load_options.rb} +3 -3
  160. data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +12 -12
  161. data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +1 -1
  162. data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +12 -12
  163. data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +1 -1
  164. data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +77 -15
  165. data/lib/groupdocs_conversion_cloud/models/word_processing_load_options.rb +1 -1
  166. data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +15 -15
  167. data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +1 -1
  168. data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +15 -15
  169. data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +1 -1
  170. data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +15 -15
  171. data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +1 -1
  172. data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +15 -15
  173. data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +1 -1
  174. data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +15 -15
  175. data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +1 -1
  176. data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +15 -15
  177. data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +1 -1
  178. data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +15 -15
  179. data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +1 -1
  180. data/lib/groupdocs_conversion_cloud/models/xml_load_options.rb +1 -1
  181. data/lib/groupdocs_conversion_cloud/version.rb +2 -2
  182. data/lib/groupdocs_conversion_cloud.rb +5 -7
  183. metadata +10 -12
  184. data/lib/groupdocs_conversion_cloud/models/cgm_convert_options.rb +0 -458
  185. data/lib/groupdocs_conversion_cloud/models/epub_convert_options.rb +0 -386
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="tif_convert_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -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
@@ -338,6 +338,7 @@ module GroupDocsConversionCloud
338
338
  from_page == other.from_page &&
339
339
  pages_count == other.pages_count &&
340
340
  pages == other.pages &&
341
+ watermark_options == other.watermark_options &&
341
342
  width == other.width &&
342
343
  height == other.height &&
343
344
  horizontal_resolution == other.horizontal_resolution &&
@@ -345,7 +346,6 @@ module GroupDocsConversionCloud
345
346
  grayscale == other.grayscale &&
346
347
  rotate_angle == other.rotate_angle &&
347
348
  use_pdf == other.use_pdf &&
348
- watermark_options == other.watermark_options &&
349
349
  brightness == other.brightness &&
350
350
  contrast == other.contrast &&
351
351
  gamma == other.gamma &&
@@ -362,7 +362,7 @@ module GroupDocsConversionCloud
362
362
  # Calculates hash code according to all attributes.
363
363
  # @return [Fixnum] Hash code
364
364
  def hash
365
- [from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, watermark_options, brightness, contrast, gamma, flip_mode, compression].hash
365
+ [from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, compression].hash
366
366
  end
367
367
 
368
368
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="tif_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="tiff_convert_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -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
@@ -338,6 +338,7 @@ module GroupDocsConversionCloud
338
338
  from_page == other.from_page &&
339
339
  pages_count == other.pages_count &&
340
340
  pages == other.pages &&
341
+ watermark_options == other.watermark_options &&
341
342
  width == other.width &&
342
343
  height == other.height &&
343
344
  horizontal_resolution == other.horizontal_resolution &&
@@ -345,7 +346,6 @@ module GroupDocsConversionCloud
345
346
  grayscale == other.grayscale &&
346
347
  rotate_angle == other.rotate_angle &&
347
348
  use_pdf == other.use_pdf &&
348
- watermark_options == other.watermark_options &&
349
349
  brightness == other.brightness &&
350
350
  contrast == other.contrast &&
351
351
  gamma == other.gamma &&
@@ -362,7 +362,7 @@ module GroupDocsConversionCloud
362
362
  # Calculates hash code according to all attributes.
363
363
  # @return [Fixnum] Hash code
364
364
  def hash
365
- [from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, watermark_options, brightness, contrast, gamma, flip_mode, compression].hash
365
+ [from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, compression].hash
366
366
  end
367
367
 
368
368
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="tiff_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="tsv_convert_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -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.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="tsv_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="txt_convert_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -40,12 +40,16 @@ 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
  # Attribute mapping from ruby-style variable name to JSON key.
44
47
  def self.attribute_map
45
48
  {
46
49
  :'from_page' => :'FromPage',
47
50
  :'pages_count' => :'PagesCount',
48
- :'pages' => :'Pages'
51
+ :'pages' => :'Pages',
52
+ :'watermark_options' => :'WatermarkOptions'
49
53
  }
50
54
  end
51
55
 
@@ -54,7 +58,8 @@ module GroupDocsConversionCloud
54
58
  {
55
59
  :'from_page' => :'Integer',
56
60
  :'pages_count' => :'Integer',
57
- :'pages' => :'Array<Integer>'
61
+ :'pages' => :'Array<Integer>',
62
+ :'watermark_options' => :'WatermarkOptions'
58
63
  }
59
64
  end
60
65
 
@@ -80,6 +85,10 @@ module GroupDocsConversionCloud
80
85
  end
81
86
  end
82
87
 
88
+ if attributes.key?(:'WatermarkOptions')
89
+ self.watermark_options = attributes[:'WatermarkOptions']
90
+ end
91
+
83
92
  end
84
93
 
85
94
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,7 +121,8 @@ module GroupDocsConversionCloud
112
121
  self.class == other.class &&
113
122
  from_page == other.from_page &&
114
123
  pages_count == other.pages_count &&
115
- pages == other.pages
124
+ pages == other.pages &&
125
+ watermark_options == other.watermark_options
116
126
  end
117
127
 
118
128
  # @see the `==` method
@@ -124,7 +134,7 @@ module GroupDocsConversionCloud
124
134
  # Calculates hash code according to all attributes.
125
135
  # @return [Fixnum] Hash code
126
136
  def hash
127
- [from_page, pages_count, pages].hash
137
+ [from_page, pages_count, pages, watermark_options].hash
128
138
  end
129
139
 
130
140
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="txt_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vdw_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vdx_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vsd_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vsdm_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vsdx_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vss_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vssm_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vssx_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vst_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vstm_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vstx_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vsx_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="vtx_load_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="watermark_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
- # <copyright company="Aspose Pty Ltd" file="html_convert_options.rb">
4
- # Copyright (c) 2003-2022 Aspose Pty Ltd
3
+ # <copyright company="Aspose Pty Ltd" file="web_convert_options.rb">
4
+ # Copyright (c) 2003-2023 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -29,7 +29,7 @@ require 'date'
29
29
 
30
30
  module GroupDocsConversionCloud
31
31
  # Options for to Html conversion
32
- class HtmlConvertOptions
32
+ class WebConvertOptions
33
33
 
34
34
  # Start conversion from FromPage page
35
35
  attr_accessor :from_page
@@ -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
  # If true, the input firstly is converted to PDF and after that to desired format
44
47
  attr_accessor :use_pdf
45
48
 
@@ -52,20 +55,17 @@ module GroupDocsConversionCloud
52
55
  # Specifies the zoom level in percentage. Default is 100.
53
56
  attr_accessor :zoom
54
57
 
55
- # Watermark specific options
56
- attr_accessor :watermark_options
57
-
58
58
  # Attribute mapping from ruby-style variable name to JSON key.
59
59
  def self.attribute_map
60
60
  {
61
61
  :'from_page' => :'FromPage',
62
62
  :'pages_count' => :'PagesCount',
63
63
  :'pages' => :'Pages',
64
+ :'watermark_options' => :'WatermarkOptions',
64
65
  :'use_pdf' => :'UsePdf',
65
66
  :'fixed_layout' => :'FixedLayout',
66
67
  :'fixed_layout_show_borders' => :'FixedLayoutShowBorders',
67
- :'zoom' => :'Zoom',
68
- :'watermark_options' => :'WatermarkOptions'
68
+ :'zoom' => :'Zoom'
69
69
  }
70
70
  end
71
71
 
@@ -75,11 +75,11 @@ module GroupDocsConversionCloud
75
75
  :'from_page' => :'Integer',
76
76
  :'pages_count' => :'Integer',
77
77
  :'pages' => :'Array<Integer>',
78
+ :'watermark_options' => :'WatermarkOptions',
78
79
  :'use_pdf' => :'BOOLEAN',
79
80
  :'fixed_layout' => :'BOOLEAN',
80
81
  :'fixed_layout_show_borders' => :'BOOLEAN',
81
- :'zoom' => :'Integer',
82
- :'watermark_options' => :'WatermarkOptions'
82
+ :'zoom' => :'Integer'
83
83
  }
84
84
  end
85
85
 
@@ -105,6 +105,10 @@ module GroupDocsConversionCloud
105
105
  end
106
106
  end
107
107
 
108
+ if attributes.key?(:'WatermarkOptions')
109
+ self.watermark_options = attributes[:'WatermarkOptions']
110
+ end
111
+
108
112
  if attributes.key?(:'UsePdf')
109
113
  self.use_pdf = attributes[:'UsePdf']
110
114
  end
@@ -121,10 +125,6 @@ module GroupDocsConversionCloud
121
125
  self.zoom = attributes[:'Zoom']
122
126
  end
123
127
 
124
- if attributes.key?(:'WatermarkOptions')
125
- self.watermark_options = attributes[:'WatermarkOptions']
126
- end
127
-
128
128
  end
129
129
 
130
130
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -178,11 +178,11 @@ module GroupDocsConversionCloud
178
178
  from_page == other.from_page &&
179
179
  pages_count == other.pages_count &&
180
180
  pages == other.pages &&
181
+ watermark_options == other.watermark_options &&
181
182
  use_pdf == other.use_pdf &&
182
183
  fixed_layout == other.fixed_layout &&
183
184
  fixed_layout_show_borders == other.fixed_layout_show_borders &&
184
- zoom == other.zoom &&
185
- watermark_options == other.watermark_options
185
+ zoom == other.zoom
186
186
  end
187
187
 
188
188
  # @see the `==` method
@@ -194,7 +194,7 @@ module GroupDocsConversionCloud
194
194
  # Calculates hash code according to all attributes.
195
195
  # @return [Fixnum] Hash code
196
196
  def hash
197
- [from_page, pages_count, pages, use_pdf, fixed_layout, fixed_layout_show_borders, zoom, watermark_options].hash
197
+ [from_page, pages_count, pages, watermark_options, use_pdf, fixed_layout, fixed_layout_show_borders, zoom].hash
198
198
  end
199
199
 
200
200
  # Downcases first letter.