groupdocs_conversion_cloud 20.11 → 21.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) 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/storage_api.rb +5 -5
  7. data/lib/groupdocs_conversion_cloud/api_client.rb +1 -1
  8. data/lib/groupdocs_conversion_cloud/api_error.rb +18 -5
  9. data/lib/groupdocs_conversion_cloud/configuration.rb +1 -1
  10. data/lib/groupdocs_conversion_cloud/models/bmp_convert_options.rb +1 -1
  11. data/lib/groupdocs_conversion_cloud/models/bmp_load_options.rb +1 -1
  12. data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +1 -1
  13. data/lib/groupdocs_conversion_cloud/models/cgm_convert_options.rb +1 -1
  14. data/lib/groupdocs_conversion_cloud/models/convert_options.rb +1 -1
  15. data/lib/groupdocs_conversion_cloud/models/convert_settings.rb +15 -5
  16. data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +1 -1
  17. data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +1 -1
  18. data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +1 -1
  19. data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +1 -1
  20. data/lib/groupdocs_conversion_cloud/models/diagram_load_options.rb +1 -1
  21. data/lib/groupdocs_conversion_cloud/models/disc_usage.rb +1 -1
  22. data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +1 -1
  23. data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +1 -1
  24. data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +1 -1
  25. data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +57 -5
  26. data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +1 -1
  27. data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +57 -5
  28. data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +1 -1
  29. data/lib/groupdocs_conversion_cloud/models/document_metadata.rb +1 -1
  30. data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +57 -5
  31. data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +1 -1
  32. data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +57 -5
  33. data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +1 -1
  34. data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +57 -5
  35. data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +1 -1
  36. data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +57 -5
  37. data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +1 -1
  38. data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +1 -1
  39. data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +1 -1
  40. data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +1 -1
  41. data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +1 -1
  42. data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +1 -1
  43. data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +1 -1
  44. data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +1 -1
  45. data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +1 -1
  46. data/lib/groupdocs_conversion_cloud/models/epub_convert_options.rb +1 -1
  47. data/lib/groupdocs_conversion_cloud/models/error.rb +1 -1
  48. data/lib/groupdocs_conversion_cloud/models/error_details.rb +1 -1
  49. data/lib/groupdocs_conversion_cloud/models/field_label.rb +1 -1
  50. data/lib/groupdocs_conversion_cloud/models/file_version.rb +1 -1
  51. data/lib/groupdocs_conversion_cloud/models/file_versions.rb +1 -1
  52. data/lib/groupdocs_conversion_cloud/models/files_list.rb +1 -1
  53. data/lib/groupdocs_conversion_cloud/models/files_upload_result.rb +1 -1
  54. data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +1 -1
  55. data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +1 -1
  56. data/lib/groupdocs_conversion_cloud/models/html_convert_options.rb +1 -1
  57. data/lib/groupdocs_conversion_cloud/models/html_load_options.rb +1 -1
  58. data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +1 -1
  59. data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +1 -1
  60. data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +1 -1
  61. data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +1 -1
  62. data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +1 -1
  63. data/lib/groupdocs_conversion_cloud/models/image_load_options.rb +1 -1
  64. data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +1 -1
  65. data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +1 -1
  66. data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +1 -1
  67. data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +1 -1
  68. data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +1 -1
  69. data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +1 -1
  70. data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +1 -1
  71. data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +1 -1
  72. data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +1 -1
  73. data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +1 -1
  74. data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +1 -1
  75. data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +1 -1
  76. data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +1 -1
  77. data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +1 -1
  78. data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +1 -1
  79. data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +1 -1
  80. data/lib/groupdocs_conversion_cloud/models/load_options.rb +1 -1
  81. data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +1 -1
  82. data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +1 -1
  83. data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +1 -1
  84. data/lib/groupdocs_conversion_cloud/models/object_exist.rb +1 -1
  85. data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +1 -1
  86. data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +1 -1
  87. data/lib/groupdocs_conversion_cloud/models/odp_convert_options.rb +1 -1
  88. data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +1 -1
  89. data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +1 -1
  90. data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +1 -1
  91. data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +57 -5
  92. data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +1 -1
  93. data/lib/groupdocs_conversion_cloud/models/one_load_options.rb +1 -1
  94. data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +1 -1
  95. data/lib/groupdocs_conversion_cloud/models/otp_convert_options.rb +1 -1
  96. data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +1 -1
  97. data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +1 -1
  98. data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +1 -1
  99. data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +57 -5
  100. data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +1 -1
  101. data/lib/groupdocs_conversion_cloud/models/pdf_convert_options.rb +1 -1
  102. data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +1 -1
  103. data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +1 -1
  104. data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +1 -1
  105. data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +1 -1
  106. data/lib/groupdocs_conversion_cloud/models/potm_convert_options.rb +1 -1
  107. data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +1 -1
  108. data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +1 -1
  109. data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +1 -1
  110. data/lib/groupdocs_conversion_cloud/models/pps_convert_options.rb +1 -1
  111. data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +1 -1
  112. data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +1 -1
  113. data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +1 -1
  114. data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +1 -1
  115. data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +1 -1
  116. data/lib/groupdocs_conversion_cloud/models/ppt_convert_options.rb +1 -1
  117. data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +1 -1
  118. data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +1 -1
  119. data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +1 -1
  120. data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +1 -1
  121. data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +1 -1
  122. data/lib/groupdocs_conversion_cloud/models/presentation_convert_options.rb +1 -1
  123. data/lib/groupdocs_conversion_cloud/models/presentation_load_options.rb +1 -1
  124. data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +1 -1
  125. data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +1 -1
  126. data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +1 -1
  127. data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +54 -2
  128. data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +1 -1
  129. data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +1 -1
  130. data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +1 -1
  131. data/lib/groupdocs_conversion_cloud/models/storage_exist.rb +1 -1
  132. data/lib/groupdocs_conversion_cloud/models/storage_file.rb +1 -1
  133. data/lib/groupdocs_conversion_cloud/models/stored_converted_result.rb +1 -1
  134. data/lib/groupdocs_conversion_cloud/models/supported_format.rb +1 -1
  135. data/lib/groupdocs_conversion_cloud/models/svg_convert_options.rb +1 -1
  136. data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +1 -1
  137. data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +1 -1
  138. data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +1 -1
  139. data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +1 -1
  140. data/lib/groupdocs_conversion_cloud/models/tsv_convert_options.rb +1 -1
  141. data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +1 -1
  142. data/lib/groupdocs_conversion_cloud/models/txt_convert_options.rb +1 -1
  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 +50 -5
  158. data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +1 -1
  159. data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +1 -1
  160. data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +1 -1
  161. data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +1 -1
  162. data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +57 -5
  163. data/lib/groupdocs_conversion_cloud/models/word_processing_load_options.rb +1 -1
  164. data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +1 -1
  165. data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +1 -1
  166. data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +1 -1
  167. data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +1 -1
  168. data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +1 -1
  169. data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +1 -1
  170. data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +1 -1
  171. data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +1 -1
  172. data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +1 -1
  173. data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +1 -1
  174. data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +1 -1
  175. data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +1 -1
  176. data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +1 -1
  177. data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +1 -1
  178. data/lib/groupdocs_conversion_cloud/models/xml_load_options.rb +1 -1
  179. data/lib/groupdocs_conversion_cloud/models/xps_convert_options.rb +1 -1
  180. data/lib/groupdocs_conversion_cloud/version.rb +2 -2
  181. data/lib/groupdocs_conversion_cloud.rb +1 -1
  182. metadata +2 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18da3cb06a0d9903c15f85613514b8d6661cfd36
4
- data.tar.gz: 4fb6ec826fdba39736a67205a373a9ccbae42b17
3
+ metadata.gz: 3be17c2fe263bae3b5889aa0d992ccbabf1939ff
4
+ data.tar.gz: 16614c047dc40a8cbd738f29d912dfd46d0d7954
5
5
  SHA512:
6
- metadata.gz: 49f18a2e0dbe85e1931f53b710ffe33111a9e8e1e969134df67a27805144bbb3175153412cc504c76d33e0738ea37cf46e0b2b9ab89d7330878b632ae614719e
7
- data.tar.gz: 10f8f7cef692322788b431642cc177b150d882de37f24a0e6df3792f4acb857842509783a82a934c431108968f9be1bcc2a1e10bca9442658d2f9cc4ec0ae5c0
6
+ metadata.gz: 17e7015ecf96f2cbd4a7904a53bf0bdeab2a37ca8ec185194d988a603f79878ddf5a9f917e87ed32dfe2d5b4c00d9acbeac7b4f5ebf3455f24065514eb0d46cc
7
+ data.tar.gz: 26e5c06321f8dd63c5358b02c20d842b36151be1bd7e6cbd638daa8397c5374556756b44a1cdc49dfebb6d75af5e4aac2a46653215f3961f2a32dfb3aeb72c0c
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="convert.rb">
3
- # Copyright (c) 2003-2020 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -241,7 +241,7 @@ end
241
241
  #
242
242
  # --------------------------------------------------------------------------------------------------------------------
243
243
  # <copyright company="Aspose Pty Ltd" file="convert_document_request.rb">
244
- # Copyright (c) 2003-2020 Aspose Pty Ltd
244
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
245
245
  # </copyright>
246
246
  # <summary>
247
247
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -286,7 +286,7 @@ end
286
286
  #
287
287
  # --------------------------------------------------------------------------------------------------------------------
288
288
  # <copyright company="Aspose Pty Ltd" file="convert_document_direct_request.rb">
289
- # Copyright (c) 2003-2020 Aspose Pty Ltd
289
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
290
290
  # </copyright>
291
291
  # <summary>
292
292
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="file.rb">
3
- # Copyright (c) 2003-2020 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -449,7 +449,7 @@ end
449
449
  #
450
450
  # --------------------------------------------------------------------------------------------------------------------
451
451
  # <copyright company="Aspose Pty Ltd" file="copy_file_request.rb">
452
- # Copyright (c) 2003-2020 Aspose Pty Ltd
452
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
453
453
  # </copyright>
454
454
  # <summary>
455
455
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -510,7 +510,7 @@ end
510
510
  #
511
511
  # --------------------------------------------------------------------------------------------------------------------
512
512
  # <copyright company="Aspose Pty Ltd" file="delete_file_request.rb">
513
- # Copyright (c) 2003-2020 Aspose Pty Ltd
513
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
514
514
  # </copyright>
515
515
  # <summary>
516
516
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -563,7 +563,7 @@ end
563
563
  #
564
564
  # --------------------------------------------------------------------------------------------------------------------
565
565
  # <copyright company="Aspose Pty Ltd" file="download_file_request.rb">
566
- # Copyright (c) 2003-2020 Aspose Pty Ltd
566
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
567
567
  # </copyright>
568
568
  # <summary>
569
569
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -616,7 +616,7 @@ end
616
616
  #
617
617
  # --------------------------------------------------------------------------------------------------------------------
618
618
  # <copyright company="Aspose Pty Ltd" file="move_file_request.rb">
619
- # Copyright (c) 2003-2020 Aspose Pty Ltd
619
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
620
620
  # </copyright>
621
621
  # <summary>
622
622
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -677,7 +677,7 @@ end
677
677
  #
678
678
  # --------------------------------------------------------------------------------------------------------------------
679
679
  # <copyright company="Aspose Pty Ltd" file="upload_file_request.rb">
680
- # Copyright (c) 2003-2020 Aspose Pty Ltd
680
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
681
681
  # </copyright>
682
682
  # <summary>
683
683
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="folder.rb">
3
- # Copyright (c) 2003-2020 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -430,7 +430,7 @@ end
430
430
  #
431
431
  # --------------------------------------------------------------------------------------------------------------------
432
432
  # <copyright company="Aspose Pty Ltd" file="copy_folder_request.rb">
433
- # Copyright (c) 2003-2020 Aspose Pty Ltd
433
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
434
434
  # </copyright>
435
435
  # <summary>
436
436
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -487,7 +487,7 @@ end
487
487
  #
488
488
  # --------------------------------------------------------------------------------------------------------------------
489
489
  # <copyright company="Aspose Pty Ltd" file="create_folder_request.rb">
490
- # Copyright (c) 2003-2020 Aspose Pty Ltd
490
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
491
491
  # </copyright>
492
492
  # <summary>
493
493
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -536,7 +536,7 @@ end
536
536
  #
537
537
  # --------------------------------------------------------------------------------------------------------------------
538
538
  # <copyright company="Aspose Pty Ltd" file="delete_folder_request.rb">
539
- # Copyright (c) 2003-2020 Aspose Pty Ltd
539
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
540
540
  # </copyright>
541
541
  # <summary>
542
542
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -589,7 +589,7 @@ end
589
589
  #
590
590
  # --------------------------------------------------------------------------------------------------------------------
591
591
  # <copyright company="Aspose Pty Ltd" file="get_files_list_request.rb">
592
- # Copyright (c) 2003-2020 Aspose Pty Ltd
592
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
593
593
  # </copyright>
594
594
  # <summary>
595
595
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -638,7 +638,7 @@ end
638
638
  #
639
639
  # --------------------------------------------------------------------------------------------------------------------
640
640
  # <copyright company="Aspose Pty Ltd" file="move_folder_request.rb">
641
- # Copyright (c) 2003-2020 Aspose Pty Ltd
641
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
642
642
  # </copyright>
643
643
  # <summary>
644
644
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="info.rb">
3
- # Copyright (c) 2003-2020 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -246,7 +246,7 @@ end
246
246
  #
247
247
  # --------------------------------------------------------------------------------------------------------------------
248
248
  # <copyright company="Aspose Pty Ltd" file="get_document_metadata_request.rb">
249
- # Copyright (c) 2003-2020 Aspose Pty Ltd
249
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
250
250
  # </copyright>
251
251
  # <summary>
252
252
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -295,7 +295,7 @@ end
295
295
  #
296
296
  # --------------------------------------------------------------------------------------------------------------------
297
297
  # <copyright company="Aspose Pty Ltd" file="get_supported_conversion_types_request.rb">
298
- # Copyright (c) 2003-2020 Aspose Pty Ltd
298
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
299
299
  # </copyright>
300
300
  # <summary>
301
301
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="storage.rb">
3
- # Copyright (c) 2003-2020 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -350,7 +350,7 @@ end
350
350
  #
351
351
  # --------------------------------------------------------------------------------------------------------------------
352
352
  # <copyright company="Aspose Pty Ltd" file="get_disc_usage_request.rb">
353
- # Copyright (c) 2003-2020 Aspose Pty Ltd
353
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
354
354
  # </copyright>
355
355
  # <summary>
356
356
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -395,7 +395,7 @@ end
395
395
  #
396
396
  # --------------------------------------------------------------------------------------------------------------------
397
397
  # <copyright company="Aspose Pty Ltd" file="get_file_versions_request.rb">
398
- # Copyright (c) 2003-2020 Aspose Pty Ltd
398
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
399
399
  # </copyright>
400
400
  # <summary>
401
401
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -444,7 +444,7 @@ end
444
444
  #
445
445
  # --------------------------------------------------------------------------------------------------------------------
446
446
  # <copyright company="Aspose Pty Ltd" file="object_exists_request.rb">
447
- # Copyright (c) 2003-2020 Aspose Pty Ltd
447
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
448
448
  # </copyright>
449
449
  # <summary>
450
450
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -497,7 +497,7 @@ end
497
497
  #
498
498
  # --------------------------------------------------------------------------------------------------------------------
499
499
  # <copyright company="Aspose Pty Ltd" file="storage_exists_request.rb">
500
- # Copyright (c) 2003-2020 Aspose Pty Ltd
500
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
501
501
  # </copyright>
502
502
  # <summary>
503
503
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="api_client.rb">
3
- # Copyright (c) 2003-2020 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="api_error.rb">
3
- # Copyright (c) 2003-2020 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -39,10 +39,23 @@ module GroupDocsConversionCloud
39
39
 
40
40
  if arg.key?(:response_body) then
41
41
  data = JSON.parse(arg[:response_body], :symbolize_names => true)
42
- if !data.nil? && !data[:error].nil? then
43
- @message = data[:error]
44
- elsif !data.nil? && !data[:Error].nil? && !data[:Error][:Message].nil? then
45
- @message = data[:Error][:Message]
42
+ if !data.nil? then
43
+ if !data[:error].nil? then
44
+ error = data[:error]
45
+ if error.kind_of?(String) then
46
+ @message = error
47
+ else
48
+ @message = error[:message]
49
+ end
50
+ else
51
+ message = data[:message]
52
+ if !message.nil? && message.kind_of?(String) then
53
+ @message = message
54
+ @code = data[:code]
55
+ else
56
+ @message = data
57
+ end
58
+ end
46
59
  end
47
60
  end
48
61
 
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="configuration.rb">
3
- # Copyright (c) 2003-2020 Aspose Pty Ltd
3
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # 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="bmp_convert_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="bmp_load_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="cad_load_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="cgm_convert_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="convert_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="convert_settings.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -49,6 +49,9 @@ module GroupDocsConversionCloud
49
49
  # Gets or sets converted file save path
50
50
  attr_accessor :output_path
51
51
 
52
+ # The path to directory containing custom fonts in storage
53
+ attr_accessor :fonts_path
54
+
52
55
  # Attribute mapping from ruby-style variable name to JSON key.
53
56
  def self.attribute_map
54
57
  {
@@ -57,7 +60,8 @@ module GroupDocsConversionCloud
57
60
  :'format' => :'Format',
58
61
  :'load_options' => :'LoadOptions',
59
62
  :'convert_options' => :'ConvertOptions',
60
- :'output_path' => :'OutputPath'
63
+ :'output_path' => :'OutputPath',
64
+ :'fonts_path' => :'FontsPath'
61
65
  }
62
66
  end
63
67
 
@@ -69,7 +73,8 @@ module GroupDocsConversionCloud
69
73
  :'format' => :'String',
70
74
  :'load_options' => :'LoadOptions',
71
75
  :'convert_options' => :'ConvertOptions',
72
- :'output_path' => :'String'
76
+ :'output_path' => :'String',
77
+ :'fonts_path' => :'String'
73
78
  }
74
79
  end
75
80
 
@@ -105,6 +110,10 @@ module GroupDocsConversionCloud
105
110
  self.output_path = attributes[:'OutputPath']
106
111
  end
107
112
 
113
+ if attributes.key?(:'FontsPath')
114
+ self.fonts_path = attributes[:'FontsPath']
115
+ end
116
+
108
117
  end
109
118
 
110
119
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -178,7 +187,8 @@ module GroupDocsConversionCloud
178
187
  format == other.format &&
179
188
  load_options == other.load_options &&
180
189
  convert_options == other.convert_options &&
181
- output_path == other.output_path
190
+ output_path == other.output_path &&
191
+ fonts_path == other.fonts_path
182
192
  end
183
193
 
184
194
  # @see the `==` method
@@ -190,7 +200,7 @@ module GroupDocsConversionCloud
190
200
  # Calculates hash code according to all attributes.
191
201
  # @return [Fixnum] Hash code
192
202
  def hash
193
- [storage_name, file_path, format, load_options, convert_options, output_path].hash
203
+ [storage_name, file_path, format, load_options, convert_options, output_path, fonts_path].hash
194
204
  end
195
205
 
196
206
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="csv_load_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="dcm_convert_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="dcm_load_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="dgn_load_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="diagram_load_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="disc_usage.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="djvu_convert_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="dng_convert_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="dng_load_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="doc_convert_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -58,6 +58,30 @@ module GroupDocsConversionCloud
58
58
  # Watermark specific options
59
59
  attr_accessor :watermark_options
60
60
 
61
+ # Recognition mode when converting from pdf
62
+ attr_accessor :pdf_recognition_mode
63
+ class EnumAttributeValidator
64
+ attr_reader :datatype
65
+ attr_reader :allowable_values
66
+
67
+ def initialize(datatype, allowable_values)
68
+ @allowable_values = allowable_values.map do |value|
69
+ case datatype.to_s
70
+ when /Integer/i
71
+ value.to_i
72
+ when /Float/i
73
+ value.to_f
74
+ else
75
+ value
76
+ end
77
+ end
78
+ end
79
+
80
+ def valid?(value)
81
+ !value || allowable_values.include?(value)
82
+ end
83
+ end
84
+
61
85
  # Attribute mapping from ruby-style variable name to JSON key.
62
86
  def self.attribute_map
63
87
  {
@@ -69,7 +93,8 @@ module GroupDocsConversionCloud
69
93
  :'dpi' => :'Dpi',
70
94
  :'password' => :'Password',
71
95
  :'zoom' => :'Zoom',
72
- :'watermark_options' => :'WatermarkOptions'
96
+ :'watermark_options' => :'WatermarkOptions',
97
+ :'pdf_recognition_mode' => :'PdfRecognitionMode'
73
98
  }
74
99
  end
75
100
 
@@ -84,7 +109,8 @@ module GroupDocsConversionCloud
84
109
  :'dpi' => :'Float',
85
110
  :'password' => :'String',
86
111
  :'zoom' => :'Integer',
87
- :'watermark_options' => :'WatermarkOptions'
112
+ :'watermark_options' => :'WatermarkOptions',
113
+ :'pdf_recognition_mode' => :'String'
88
114
  }
89
115
  end
90
116
 
@@ -134,6 +160,10 @@ module GroupDocsConversionCloud
134
160
  self.watermark_options = attributes[:'WatermarkOptions']
135
161
  end
136
162
 
163
+ if attributes.key?(:'PdfRecognitionMode')
164
+ self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
165
+ end
166
+
137
167
  end
138
168
 
139
169
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,6 +194,10 @@ module GroupDocsConversionCloud
164
194
  invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
165
195
  end
166
196
 
197
+ if @pdf_recognition_mode.nil?
198
+ invalid_properties.push("invalid value for 'pdf_recognition_mode', pdf_recognition_mode cannot be nil.")
199
+ end
200
+
167
201
  return invalid_properties
168
202
  end
169
203
 
@@ -176,9 +210,26 @@ module GroupDocsConversionCloud
176
210
  return false if @height.nil?
177
211
  return false if @dpi.nil?
178
212
  return false if @zoom.nil?
213
+ return false if @pdf_recognition_mode.nil?
214
+ pdf_recognition_mode_validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
215
+ return false unless pdf_recognition_mode_validator.valid?(@pdf_recognition_mode)
179
216
  return true
180
217
  end
181
218
 
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] pdf_recognition_mode Object to be assigned
221
+ def pdf_recognition_mode=(pdf_recognition_mode)
222
+ validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
223
+ if pdf_recognition_mode.to_i == 0
224
+ unless validator.valid?(pdf_recognition_mode)
225
+ raise ArgumentError, "invalid value for 'pdf_recognition_mode', must be one of #{validator.allowable_values}."
226
+ end
227
+ @pdf_recognition_mode = pdf_recognition_mode
228
+ else
229
+ @pdf_recognition_mode = validator.allowable_values[pdf_recognition_mode.to_i]
230
+ end
231
+ end
232
+
182
233
  # Checks equality by comparing each attribute.
183
234
  # @param [Object] Object to be compared
184
235
  def ==(other)
@@ -192,7 +243,8 @@ module GroupDocsConversionCloud
192
243
  dpi == other.dpi &&
193
244
  password == other.password &&
194
245
  zoom == other.zoom &&
195
- watermark_options == other.watermark_options
246
+ watermark_options == other.watermark_options &&
247
+ pdf_recognition_mode == other.pdf_recognition_mode
196
248
  end
197
249
 
198
250
  # @see the `==` method
@@ -204,7 +256,7 @@ module GroupDocsConversionCloud
204
256
  # Calculates hash code according to all attributes.
205
257
  # @return [Fixnum] Hash code
206
258
  def hash
207
- [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options].hash
259
+ [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options, pdf_recognition_mode].hash
208
260
  end
209
261
 
210
262
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="doc_load_options.rb">
4
- # Copyright (c) 2003-2020 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy