aspose_words_cloud 21.8.0 → 21.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (338) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +100 -8
  3. data/lib/aspose_words_cloud/api_client.rb +25 -14
  4. data/lib/aspose_words_cloud/configuration.rb +7 -0
  5. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +1 -11
  6. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +1 -11
  7. data/lib/aspose_words_cloud/models/field_options.rb +370 -0
  8. data/lib/aspose_words_cloud/models/font.rb +2 -2
  9. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +1 -11
  10. data/lib/aspose_words_cloud/models/image_save_options_data.rb +1 -11
  11. data/lib/aspose_words_cloud/models/info_additional_item.rb +211 -0
  12. data/lib/aspose_words_cloud/models/info_response.rb +233 -0
  13. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +1 -11
  14. data/lib/aspose_words_cloud/models/{string_format_data.rb → json_data_load_options.rb} +42 -119
  15. data/lib/aspose_words_cloud/models/paragraph_format.rb +2 -2
  16. data/lib/aspose_words_cloud/models/paragraph_format_base.rb +2 -2
  17. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +2 -2
  18. data/lib/aspose_words_cloud/models/png_save_options_data.rb +1 -11
  19. data/lib/aspose_words_cloud/models/report_build_options.rb +1 -0
  20. data/lib/aspose_words_cloud/models/report_engine_settings.rb +24 -4
  21. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +2 -1
  22. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +2 -1
  23. data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +2 -1
  24. data/lib/aspose_words_cloud/models/requests/append_document_request.rb +2 -1
  25. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +2 -1
  26. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +2 -1
  27. data/lib/aspose_words_cloud/models/requests/batch_part_request.rb +57 -0
  28. data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +2 -1
  29. data/lib/aspose_words_cloud/models/requests/build_report_request.rb +2 -1
  30. data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +2 -1
  31. data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +2 -1
  32. data/lib/aspose_words_cloud/models/requests/classify_request.rb +2 -1
  33. data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +2 -1
  34. data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +2 -1
  35. data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +2 -1
  36. data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +2 -1
  37. data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +2 -1
  38. data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +2 -1
  39. data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +2 -1
  40. data/lib/aspose_words_cloud/models/requests/create_document_request.rb +2 -1
  41. data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +2 -1
  42. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +2 -1
  43. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +2 -1
  44. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +2 -1
  45. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +2 -1
  46. data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +2 -1
  47. data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +2 -1
  48. data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +2 -1
  49. data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +2 -1
  50. data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +2 -1
  51. data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +2 -1
  52. data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +2 -1
  53. data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +2 -1
  54. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_online_request.rb +2 -1
  55. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_request.rb +2 -1
  56. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_online_request.rb +2 -1
  57. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_request.rb +2 -1
  58. data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +2 -1
  59. data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +2 -1
  60. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +2 -1
  61. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +2 -1
  62. data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +2 -1
  63. data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +2 -1
  64. data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +2 -1
  65. data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +2 -1
  66. data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +2 -1
  67. data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +2 -1
  68. data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +2 -1
  69. data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +2 -1
  70. data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +2 -1
  71. data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +2 -1
  72. data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +2 -1
  73. data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +2 -1
  74. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +2 -1
  75. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +2 -1
  76. data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +2 -1
  77. data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +2 -1
  78. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +2 -1
  79. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +2 -1
  80. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +2 -1
  81. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +2 -1
  82. data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +2 -1
  83. data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +2 -1
  84. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +2 -1
  85. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +2 -1
  86. data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +2 -1
  87. data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +2 -1
  88. data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +2 -1
  89. data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +2 -1
  90. data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +2 -1
  91. data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +2 -1
  92. data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +2 -1
  93. data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +2 -1
  94. data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +2 -1
  95. data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +2 -1
  96. data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +2 -1
  97. data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +2 -1
  98. data/lib/aspose_words_cloud/models/requests/download_file_request.rb +2 -1
  99. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +10 -2
  100. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +10 -2
  101. data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +2 -1
  102. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +2 -1
  103. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +2 -1
  104. data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +2 -1
  105. data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +2 -1
  106. data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +2 -1
  107. data/lib/aspose_words_cloud/models/requests/get_border_request.rb +2 -1
  108. data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +2 -1
  109. data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +2 -1
  110. data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +2 -1
  111. data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +2 -1
  112. data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +2 -1
  113. data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +2 -1
  114. data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_online_request.rb +2 -1
  115. data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_request.rb +2 -1
  116. data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_online_request.rb +2 -1
  117. data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_request.rb +2 -1
  118. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +2 -1
  119. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +2 -1
  120. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +2 -1
  121. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +2 -1
  122. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +2 -1
  123. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +2 -1
  124. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +2 -1
  125. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +2 -1
  126. data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +2 -1
  127. data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +2 -1
  128. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +2 -1
  129. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +2 -1
  130. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +2 -1
  131. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +2 -1
  132. data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +2 -1
  133. data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +2 -1
  134. data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +2 -1
  135. data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +2 -1
  136. data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +2 -1
  137. data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +2 -1
  138. data/lib/aspose_words_cloud/models/requests/get_document_request.rb +2 -1
  139. data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +2 -1
  140. data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +2 -1
  141. data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +2 -1
  142. data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +2 -1
  143. data/lib/aspose_words_cloud/models/requests/get_field_request.rb +2 -1
  144. data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +2 -1
  145. data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +2 -1
  146. data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +2 -1
  147. data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +2 -1
  148. data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +2 -1
  149. data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +2 -1
  150. data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +2 -1
  151. data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +2 -1
  152. data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +2 -1
  153. data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +2 -1
  154. data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +2 -1
  155. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +2 -1
  156. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +2 -1
  157. data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +2 -1
  158. data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +2 -1
  159. data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +2 -1
  160. data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +2 -1
  161. data/lib/aspose_words_cloud/models/requests/get_info_request.rb +115 -0
  162. data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +2 -1
  163. data/lib/aspose_words_cloud/models/requests/get_list_request.rb +2 -1
  164. data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +2 -1
  165. data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +2 -1
  166. data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +2 -1
  167. data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +2 -1
  168. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +2 -1
  169. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +2 -1
  170. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +2 -1
  171. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +2 -1
  172. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +2 -1
  173. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +2 -1
  174. data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +2 -1
  175. data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +2 -1
  176. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +2 -1
  177. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +2 -1
  178. data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +2 -1
  179. data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +2 -1
  180. data/lib/aspose_words_cloud/models/requests/get_public_key_request.rb +2 -1
  181. data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +2 -1
  182. data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +2 -1
  183. data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +2 -1
  184. data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +2 -1
  185. data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +2 -1
  186. data/lib/aspose_words_cloud/models/requests/get_run_request.rb +2 -1
  187. data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +2 -1
  188. data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +2 -1
  189. data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +2 -1
  190. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +2 -1
  191. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +2 -1
  192. data/lib/aspose_words_cloud/models/requests/get_section_request.rb +2 -1
  193. data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +2 -1
  194. data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +2 -1
  195. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +2 -1
  196. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +2 -1
  197. data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +2 -1
  198. data/lib/aspose_words_cloud/models/requests/get_style_request.rb +2 -1
  199. data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +2 -1
  200. data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +2 -1
  201. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +2 -1
  202. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +2 -1
  203. data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +2 -1
  204. data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +2 -1
  205. data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +2 -1
  206. data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +2 -1
  207. data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +2 -1
  208. data/lib/aspose_words_cloud/models/requests/get_table_request.rb +2 -1
  209. data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +2 -1
  210. data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +2 -1
  211. data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +2 -1
  212. data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +2 -1
  213. data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +2 -1
  214. data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +2 -1
  215. data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +2 -1
  216. data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +2 -1
  217. data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_online_request.rb +2 -1
  218. data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_request.rb +2 -1
  219. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +2 -1
  220. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +2 -1
  221. data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +2 -1
  222. data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +2 -1
  223. data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +2 -1
  224. data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +2 -1
  225. data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +2 -1
  226. data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +2 -1
  227. data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +2 -1
  228. data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +2 -1
  229. data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +2 -1
  230. data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +2 -1
  231. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +2 -1
  232. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +2 -1
  233. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +2 -1
  234. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +2 -1
  235. data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +2 -1
  236. data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +2 -1
  237. data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +2 -1
  238. data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +2 -1
  239. data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +2 -1
  240. data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +2 -1
  241. data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +2 -1
  242. data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +2 -1
  243. data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +2 -1
  244. data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +2 -1
  245. data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +2 -1
  246. data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +2 -1
  247. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +2 -1
  248. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +2 -1
  249. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +2 -1
  250. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +2 -1
  251. data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +2 -1
  252. data/lib/aspose_words_cloud/models/requests/move_file_request.rb +2 -1
  253. data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +2 -1
  254. data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +2 -1
  255. data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +2 -1
  256. data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +2 -1
  257. data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +2 -1
  258. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +2 -1
  259. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +2 -1
  260. data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +2 -1
  261. data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +2 -1
  262. data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +2 -1
  263. data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +2 -1
  264. data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +2 -1
  265. data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +2 -1
  266. data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +2 -1
  267. data/lib/aspose_words_cloud/models/requests/render_page_request.rb +2 -1
  268. data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +2 -1
  269. data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +2 -1
  270. data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +2 -1
  271. data/lib/aspose_words_cloud/models/requests/render_table_request.rb +2 -1
  272. data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +2 -1
  273. data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +2 -1
  274. data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +2 -1
  275. data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +2 -1
  276. data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +2 -1
  277. data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +2 -1
  278. data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +2 -1
  279. data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +2 -1
  280. data/lib/aspose_words_cloud/models/requests/save_as_request.rb +2 -1
  281. data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +2 -1
  282. data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +2 -1
  283. data/lib/aspose_words_cloud/models/requests/search_online_request.rb +2 -1
  284. data/lib/aspose_words_cloud/models/requests/search_request.rb +2 -1
  285. data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +2 -1
  286. data/lib/aspose_words_cloud/models/requests/split_document_request.rb +2 -1
  287. data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +2 -1
  288. data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +2 -1
  289. data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +2 -1
  290. data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +2 -1
  291. data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +2 -1
  292. data/lib/aspose_words_cloud/models/requests/update_border_request.rb +2 -1
  293. data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +2 -1
  294. data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +2 -1
  295. data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_online_request.rb +2 -1
  296. data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_request.rb +2 -1
  297. data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +2 -1
  298. data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +2 -1
  299. data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +2 -1
  300. data/lib/aspose_words_cloud/models/requests/update_field_request.rb +2 -1
  301. data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +2 -1
  302. data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +2 -1
  303. data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +2 -1
  304. data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +2 -1
  305. data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +2 -1
  306. data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +2 -1
  307. data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +2 -1
  308. data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +2 -1
  309. data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +2 -1
  310. data/lib/aspose_words_cloud/models/requests/update_list_request.rb +2 -1
  311. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +2 -1
  312. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +2 -1
  313. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +2 -1
  314. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +2 -1
  315. data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +2 -1
  316. data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +2 -1
  317. data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +2 -1
  318. data/lib/aspose_words_cloud/models/requests/update_run_request.rb +2 -1
  319. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +2 -1
  320. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +2 -1
  321. data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +2 -1
  322. data/lib/aspose_words_cloud/models/requests/update_style_request.rb +2 -1
  323. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +2 -1
  324. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +2 -1
  325. data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +2 -1
  326. data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +2 -1
  327. data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +2 -1
  328. data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +2 -1
  329. data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +2 -1
  330. data/lib/aspose_words_cloud/models/style.rb +2 -2
  331. data/lib/aspose_words_cloud/models/table_properties.rb +2 -2
  332. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +1 -11
  333. data/lib/aspose_words_cloud/models/user_information.rb +221 -0
  334. data/lib/aspose_words_cloud/models/xml_data_load_options.rb +203 -0
  335. data/lib/aspose_words_cloud/version.rb +1 -1
  336. data/lib/aspose_words_cloud.rb +7 -2
  337. metadata +10 -4
  338. data/lib/aspose_words_cloud/models/graphics_quality_options_data.rb +0 -356
@@ -0,0 +1,211 @@
1
+ # ------------------------------------------------------------------------------------
2
+ # <copyright company="Aspose" file="info_additional_item.rb">
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
+ # </copyright>
5
+ # <summary>
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ # of this software and associated documentation files (the "Software"), to deal
8
+ # in the Software without restriction, including without limitation the rights
9
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ # copies of the Software, and to permit persons to whom the Software is
11
+ # furnished to do so, subject to the following conditions:
12
+ #
13
+ # The above copyright notice and this permission notice shall be included in all
14
+ # copies or substantial portions of the Software.
15
+ #
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ # SOFTWARE.
23
+ # </summary>
24
+ # ------------------------------------------------------------------------------------
25
+
26
+ require 'date'
27
+
28
+ module AsposeWordsCloud
29
+
30
+ # Info additional item.
31
+ class InfoAdditionalItem
32
+ # Gets or sets Key.
33
+ attr_accessor :key
34
+
35
+ # Gets or sets Value.
36
+ attr_accessor :value
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ def self.attribute_map
39
+ {
40
+ :'key' => :'Key',
41
+ :'value' => :'Value'
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.swagger_types
47
+ {
48
+ :'key' => :'String',
49
+ :'value' => :'String'
50
+ }
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param [Hash] attributes Model attributes in the form of hash
55
+ def initialize(attributes = {})
56
+ return unless attributes.is_a?(Hash)
57
+
58
+ # convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
+
61
+ if attributes.key?(:'Key')
62
+ self.key = attributes[:'Key']
63
+ end
64
+
65
+ if attributes.key?(:'Value')
66
+ self.value = attributes[:'Value']
67
+ end
68
+ end
69
+
70
+ # Show invalid properties with the reasons. Usually used together with valid?
71
+ # @return Array for valid properies with the reasons
72
+ def list_invalid_properties
73
+ invalid_properties = []
74
+ return invalid_properties
75
+ end
76
+
77
+ # Check to see if the all the properties in the model are valid
78
+ # @return true if the model is valid
79
+ def valid?
80
+ return true
81
+ end
82
+
83
+ # Checks equality by comparing each attribute.
84
+ # @param [Object] Object to be compared
85
+ def ==(other)
86
+ return true if self.equal?(other)
87
+ self.class == other.class &&
88
+ key == other.key &&
89
+ value == other.value
90
+ end
91
+
92
+ # @see the `==` method
93
+ # @param [Object] Object to be compared
94
+ def eql?(other)
95
+ self == other
96
+ end
97
+
98
+ # Calculates hash code according to all attributes.
99
+ # @return [Fixnum] Hash code
100
+ def hash
101
+ [key, value].hash
102
+ end
103
+
104
+ # Builds the object from hash
105
+ # @param [Hash] attributes Model attributes in the form of hash
106
+ # @return [Object] Returns the model itself
107
+ def build_from_hash(attributes)
108
+ return nil unless attributes.is_a?(Hash)
109
+ self.class.swagger_types.each_pair do |key, type|
110
+ if type =~ /\AArray<(.*)>/i
111
+ # check to ensure the input is an array given that the the attribute
112
+ # is documented as an array but the input is not
113
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
114
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
115
+ end
116
+ elsif !attributes[self.class.attribute_map[key]].nil?
117
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
118
+ end
119
+ # or else data not found in attributes(hash), not an issue as the data can be optional
120
+ end
121
+
122
+ self
123
+ end
124
+
125
+ # Deserializes the data based on type
126
+ # @param string type Data type
127
+ # @param string value Value to be deserialized
128
+ # @return [Object] Deserialized data
129
+ def _deserialize(type, value)
130
+ case type.to_sym
131
+ when :DateTime
132
+ Time.at(/\d/.match(value)[0].to_f).to_datetime
133
+ when :Date
134
+ Time.at(/\d/.match(value)[0].to_f).to_date
135
+ when :String
136
+ value.to_s
137
+ when :Integer
138
+ value.to_i
139
+ when :Float
140
+ value.to_f
141
+ when :BOOLEAN
142
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
143
+ true
144
+ else
145
+ false
146
+ end
147
+ when :Object
148
+ # generic object (usually a Hash), return directly
149
+ value
150
+ when /\AArray<(?<inner_type>.+)>\z/
151
+ inner_type = Regexp.last_match[:inner_type]
152
+ value.map { |v| _deserialize(inner_type, v) }
153
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
154
+ k_type = Regexp.last_match[:k_type]
155
+ v_type = Regexp.last_match[:v_type]
156
+ {}.tap do |hash|
157
+ value.each do |k, v|
158
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
159
+ end
160
+ end
161
+ else
162
+ # model
163
+ temp_model = AsposeWordsCloud.const_get(type).new
164
+ temp_model.build_from_hash(value)
165
+ end
166
+ end
167
+
168
+ # Returns the string representation of the object
169
+ # @return [String] String presentation of the object
170
+ def to_s
171
+ to_hash.to_s
172
+ end
173
+
174
+ # to_body is an alias to to_hash (backward compatibility)
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_body
177
+ to_hash
178
+ end
179
+
180
+ # Returns the object in the form of hash
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_hash
183
+ hash = {}
184
+ self.class.attribute_map.each_pair do |attr, param|
185
+ value = self.send(attr)
186
+ next if value.nil?
187
+ hash[param] = _to_hash(value)
188
+ end
189
+ hash
190
+ end
191
+
192
+ # Outputs non-array value in the form of hash
193
+ # For object, use to_hash. Otherwise, just return the value
194
+ # @param [Object] value Any valid value
195
+ # @return [Hash] Returns the value in the form of hash
196
+ def _to_hash(value)
197
+ if value.is_a?(Array)
198
+ value.compact.map { |v| _to_hash(v) }
199
+ elsif value.is_a?(Hash)
200
+ {}.tap do |hash|
201
+ value.each { |k, v| hash[k] = _to_hash(v) }
202
+ end
203
+ elsif value.respond_to? :to_hash
204
+ value.to_hash
205
+ else
206
+ value
207
+ end
208
+ end
209
+
210
+ end
211
+ end
@@ -0,0 +1,233 @@
1
+ # ------------------------------------------------------------------------------------
2
+ # <copyright company="Aspose" file="info_response.rb">
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
+ # </copyright>
5
+ # <summary>
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ # of this software and associated documentation files (the "Software"), to deal
8
+ # in the Software without restriction, including without limitation the rights
9
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ # copies of the Software, and to permit persons to whom the Software is
11
+ # furnished to do so, subject to the following conditions:
12
+ #
13
+ # The above copyright notice and this permission notice shall be included in all
14
+ # copies or substantial portions of the Software.
15
+ #
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ # SOFTWARE.
23
+ # </summary>
24
+ # ------------------------------------------------------------------------------------
25
+
26
+ require 'date'
27
+
28
+ module AsposeWordsCloud
29
+
30
+ # Response with API info.
31
+ class InfoResponse
32
+ # Gets or sets the request Id.
33
+ attr_accessor :request_id
34
+
35
+ # Gets or sets additional info.
36
+ attr_accessor :additional_info
37
+
38
+ # Gets or sets application name.
39
+ attr_accessor :name
40
+
41
+ # Gets or sets version.
42
+ attr_accessor :version
43
+ # Attribute mapping from ruby-style variable name to JSON key.
44
+ def self.attribute_map
45
+ {
46
+ :'request_id' => :'RequestId',
47
+ :'additional_info' => :'AdditionalInfo',
48
+ :'name' => :'Name',
49
+ :'version' => :'Version'
50
+ }
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ def self.swagger_types
55
+ {
56
+ :'request_id' => :'String',
57
+ :'additional_info' => :'Array<InfoAdditionalItem>',
58
+ :'name' => :'String',
59
+ :'version' => :'String'
60
+ }
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ return unless attributes.is_a?(Hash)
67
+
68
+ # convert string to symbol for hash key
69
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
70
+
71
+ if attributes.key?(:'RequestId')
72
+ self.request_id = attributes[:'RequestId']
73
+ end
74
+
75
+ if attributes.key?(:'AdditionalInfo')
76
+ if (value = attributes[:'AdditionalInfo']).is_a?(Array)
77
+ self.additional_info = value
78
+ end
79
+ end
80
+
81
+ if attributes.key?(:'Name')
82
+ self.name = attributes[:'Name']
83
+ end
84
+
85
+ if attributes.key?(:'Version')
86
+ self.version = attributes[:'Version']
87
+ end
88
+ end
89
+
90
+ # Show invalid properties with the reasons. Usually used together with valid?
91
+ # @return Array for valid properies with the reasons
92
+ def list_invalid_properties
93
+ invalid_properties = []
94
+ return invalid_properties
95
+ end
96
+
97
+ # Check to see if the all the properties in the model are valid
98
+ # @return true if the model is valid
99
+ def valid?
100
+ return true
101
+ end
102
+
103
+ # Checks equality by comparing each attribute.
104
+ # @param [Object] Object to be compared
105
+ def ==(other)
106
+ return true if self.equal?(other)
107
+ self.class == other.class &&
108
+ request_id == other.request_id &&
109
+ additional_info == other.additional_info &&
110
+ name == other.name &&
111
+ version == other.version
112
+ end
113
+
114
+ # @see the `==` method
115
+ # @param [Object] Object to be compared
116
+ def eql?(other)
117
+ self == other
118
+ end
119
+
120
+ # Calculates hash code according to all attributes.
121
+ # @return [Fixnum] Hash code
122
+ def hash
123
+ [request_id, additional_info, name, version].hash
124
+ end
125
+
126
+ # Builds the object from hash
127
+ # @param [Hash] attributes Model attributes in the form of hash
128
+ # @return [Object] Returns the model itself
129
+ def build_from_hash(attributes)
130
+ return nil unless attributes.is_a?(Hash)
131
+ self.class.swagger_types.each_pair do |key, type|
132
+ if type =~ /\AArray<(.*)>/i
133
+ # check to ensure the input is an array given that the the attribute
134
+ # is documented as an array but the input is not
135
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
136
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
137
+ end
138
+ elsif !attributes[self.class.attribute_map[key]].nil?
139
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
140
+ end
141
+ # or else data not found in attributes(hash), not an issue as the data can be optional
142
+ end
143
+
144
+ self
145
+ end
146
+
147
+ # Deserializes the data based on type
148
+ # @param string type Data type
149
+ # @param string value Value to be deserialized
150
+ # @return [Object] Deserialized data
151
+ def _deserialize(type, value)
152
+ case type.to_sym
153
+ when :DateTime
154
+ Time.at(/\d/.match(value)[0].to_f).to_datetime
155
+ when :Date
156
+ Time.at(/\d/.match(value)[0].to_f).to_date
157
+ when :String
158
+ value.to_s
159
+ when :Integer
160
+ value.to_i
161
+ when :Float
162
+ value.to_f
163
+ when :BOOLEAN
164
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
165
+ true
166
+ else
167
+ false
168
+ end
169
+ when :Object
170
+ # generic object (usually a Hash), return directly
171
+ value
172
+ when /\AArray<(?<inner_type>.+)>\z/
173
+ inner_type = Regexp.last_match[:inner_type]
174
+ value.map { |v| _deserialize(inner_type, v) }
175
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
176
+ k_type = Regexp.last_match[:k_type]
177
+ v_type = Regexp.last_match[:v_type]
178
+ {}.tap do |hash|
179
+ value.each do |k, v|
180
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
181
+ end
182
+ end
183
+ else
184
+ # model
185
+ temp_model = AsposeWordsCloud.const_get(type).new
186
+ temp_model.build_from_hash(value)
187
+ end
188
+ end
189
+
190
+ # Returns the string representation of the object
191
+ # @return [String] String presentation of the object
192
+ def to_s
193
+ to_hash.to_s
194
+ end
195
+
196
+ # to_body is an alias to to_hash (backward compatibility)
197
+ # @return [Hash] Returns the object in the form of hash
198
+ def to_body
199
+ to_hash
200
+ end
201
+
202
+ # Returns the object in the form of hash
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_hash
205
+ hash = {}
206
+ self.class.attribute_map.each_pair do |attr, param|
207
+ value = self.send(attr)
208
+ next if value.nil?
209
+ hash[param] = _to_hash(value)
210
+ end
211
+ hash
212
+ end
213
+
214
+ # Outputs non-array value in the form of hash
215
+ # For object, use to_hash. Otherwise, just return the value
216
+ # @param [Object] value Any valid value
217
+ # @return [Hash] Returns the value in the form of hash
218
+ def _to_hash(value)
219
+ if value.is_a?(Array)
220
+ value.compact.map { |v| _to_hash(v) }
221
+ elsif value.is_a?(Hash)
222
+ {}.tap do |hash|
223
+ value.each { |k, v| hash[k] = _to_hash(v) }
224
+ end
225
+ elsif value.respond_to? :to_hash
226
+ value.to_hash
227
+ else
228
+ value
229
+ end
230
+ end
231
+
232
+ end
233
+ end
@@ -102,9 +102,6 @@ module AsposeWordsCloud
102
102
  # Gets or sets the 0-based index of the first page to render.
103
103
  attr_accessor :page_index
104
104
 
105
- # Gets or sets the additional System.Drawing.Graphics quality options.
106
- attr_accessor :graphics_quality_options
107
-
108
105
  # Gets or sets the horizontal resolution in dots per inch for the generated images.
109
106
  # This property has effect only when saving to raster image formats.
110
107
  # The default value is 96.
@@ -194,7 +191,6 @@ module AsposeWordsCloud
194
191
  :'optimize_output' => :'OptimizeOutput',
195
192
  :'page_count' => :'PageCount',
196
193
  :'page_index' => :'PageIndex',
197
- :'graphics_quality_options' => :'GraphicsQualityOptions',
198
194
  :'horizontal_resolution' => :'HorizontalResolution',
199
195
  :'image_brightness' => :'ImageBrightness',
200
196
  :'image_color_mode' => :'ImageColorMode',
@@ -235,7 +231,6 @@ module AsposeWordsCloud
235
231
  :'optimize_output' => :'BOOLEAN',
236
232
  :'page_count' => :'Integer',
237
233
  :'page_index' => :'Integer',
238
- :'graphics_quality_options' => :'GraphicsQualityOptionsData',
239
234
  :'horizontal_resolution' => :'Float',
240
235
  :'image_brightness' => :'Float',
241
236
  :'image_color_mode' => :'String',
@@ -347,10 +342,6 @@ module AsposeWordsCloud
347
342
  self.page_index = attributes[:'PageIndex']
348
343
  end
349
344
 
350
- if attributes.key?(:'GraphicsQualityOptions')
351
- self.graphics_quality_options = attributes[:'GraphicsQualityOptions']
352
- end
353
-
354
345
  if attributes.key?(:'HorizontalResolution')
355
346
  self.horizontal_resolution = attributes[:'HorizontalResolution']
356
347
  end
@@ -458,7 +449,6 @@ module AsposeWordsCloud
458
449
  optimize_output == other.optimize_output &&
459
450
  page_count == other.page_count &&
460
451
  page_index == other.page_index &&
461
- graphics_quality_options == other.graphics_quality_options &&
462
452
  horizontal_resolution == other.horizontal_resolution &&
463
453
  image_brightness == other.image_brightness &&
464
454
  image_color_mode == other.image_color_mode &&
@@ -482,7 +472,7 @@ module AsposeWordsCloud
482
472
  # Calculates hash code according to all attributes.
483
473
  # @return [Fixnum] Hash code
484
474
  def hash
485
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
475
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
486
476
  end
487
477
 
488
478
  # Builds the object from hash