aspose_words_cloud 21.4.0 → 21.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (306) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +21 -0
  3. data/lib/aspose_words_cloud/api_client.rb +93 -6
  4. data/lib/aspose_words_cloud/configuration.rb +2 -1
  5. data/lib/aspose_words_cloud/models/font.rb +2 -2
  6. data/lib/aspose_words_cloud/models/paragraph_format.rb +2 -2
  7. data/lib/aspose_words_cloud/models/paragraph_format_base.rb +2 -2
  8. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +2 -2
  9. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +99 -0
  10. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +100 -0
  11. data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +109 -0
  12. data/lib/aspose_words_cloud/models/requests/append_document_request.rb +111 -0
  13. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +115 -0
  14. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +117 -0
  15. data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +107 -0
  16. data/lib/aspose_words_cloud/models/requests/build_report_request.rb +115 -0
  17. data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +101 -0
  18. data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +102 -0
  19. data/lib/aspose_words_cloud/models/requests/classify_request.rb +93 -0
  20. data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +105 -0
  21. data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +107 -0
  22. data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +107 -0
  23. data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +102 -0
  24. data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +100 -0
  25. data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +109 -0
  26. data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +111 -0
  27. data/lib/aspose_words_cloud/models/requests/create_document_request.rb +88 -0
  28. data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +92 -0
  29. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +115 -0
  30. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +117 -0
  31. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +107 -0
  32. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +108 -0
  33. data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +111 -0
  34. data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +112 -0
  35. data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +105 -0
  36. data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +106 -0
  37. data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +109 -0
  38. data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +110 -0
  39. data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +103 -0
  40. data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +104 -0
  41. data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +109 -0
  42. data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +110 -0
  43. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +111 -0
  44. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +112 -0
  45. data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +111 -0
  46. data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +112 -0
  47. data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +105 -0
  48. data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +106 -0
  49. data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +94 -0
  50. data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +94 -0
  51. data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +111 -0
  52. data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +112 -0
  53. data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +111 -0
  54. data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +112 -0
  55. data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +115 -0
  56. data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +116 -0
  57. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +111 -0
  58. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +112 -0
  59. data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +103 -0
  60. data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +104 -0
  61. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +111 -0
  62. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +112 -0
  63. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +111 -0
  64. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +112 -0
  65. data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +111 -0
  66. data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +112 -0
  67. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +113 -0
  68. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +114 -0
  69. data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +115 -0
  70. data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +116 -0
  71. data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +109 -0
  72. data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +110 -0
  73. data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +115 -0
  74. data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +116 -0
  75. data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +111 -0
  76. data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +112 -0
  77. data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +115 -0
  78. data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +116 -0
  79. data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +103 -0
  80. data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +104 -0
  81. data/lib/aspose_words_cloud/models/requests/download_file_request.rb +94 -0
  82. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +105 -0
  83. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +113 -0
  84. data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +84 -0
  85. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +103 -0
  86. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +104 -0
  87. data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +97 -0
  88. data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +98 -0
  89. data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +105 -0
  90. data/lib/aspose_words_cloud/models/requests/get_border_request.rb +106 -0
  91. data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +99 -0
  92. data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +100 -0
  93. data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +103 -0
  94. data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +104 -0
  95. data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +97 -0
  96. data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +98 -0
  97. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +105 -0
  98. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +106 -0
  99. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +105 -0
  100. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +106 -0
  101. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +105 -0
  102. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +106 -0
  103. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +99 -0
  104. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +100 -0
  105. data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +99 -0
  106. data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +100 -0
  107. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +103 -0
  108. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +104 -0
  109. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +97 -0
  110. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +98 -0
  111. data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +97 -0
  112. data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +98 -0
  113. data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +103 -0
  114. data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +104 -0
  115. data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +97 -0
  116. data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +98 -0
  117. data/lib/aspose_words_cloud/models/requests/get_document_request.rb +98 -0
  118. data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +103 -0
  119. data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +104 -0
  120. data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +108 -0
  121. data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +105 -0
  122. data/lib/aspose_words_cloud/models/requests/get_field_request.rb +106 -0
  123. data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +99 -0
  124. data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +100 -0
  125. data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +92 -0
  126. data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +105 -0
  127. data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +106 -0
  128. data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +99 -0
  129. data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +100 -0
  130. data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +105 -0
  131. data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +106 -0
  132. data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +99 -0
  133. data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +100 -0
  134. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +111 -0
  135. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +112 -0
  136. data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +105 -0
  137. data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +106 -0
  138. data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +105 -0
  139. data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +106 -0
  140. data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +103 -0
  141. data/lib/aspose_words_cloud/models/requests/get_list_request.rb +104 -0
  142. data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +97 -0
  143. data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +98 -0
  144. data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +105 -0
  145. data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +106 -0
  146. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +99 -0
  147. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +100 -0
  148. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +105 -0
  149. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +106 -0
  150. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +105 -0
  151. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +106 -0
  152. data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +105 -0
  153. data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +106 -0
  154. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +105 -0
  155. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +106 -0
  156. data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +99 -0
  157. data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +100 -0
  158. data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +105 -0
  159. data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +106 -0
  160. data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +109 -0
  161. data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +110 -0
  162. data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +109 -0
  163. data/lib/aspose_words_cloud/models/requests/get_run_request.rb +110 -0
  164. data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +103 -0
  165. data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +104 -0
  166. data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +103 -0
  167. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +103 -0
  168. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +104 -0
  169. data/lib/aspose_words_cloud/models/requests/get_section_request.rb +104 -0
  170. data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +97 -0
  171. data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +98 -0
  172. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +103 -0
  173. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +104 -0
  174. data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +103 -0
  175. data/lib/aspose_words_cloud/models/requests/get_style_request.rb +104 -0
  176. data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +97 -0
  177. data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +98 -0
  178. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +109 -0
  179. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +110 -0
  180. data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +109 -0
  181. data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +110 -0
  182. data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +105 -0
  183. data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +105 -0
  184. data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +106 -0
  185. data/lib/aspose_words_cloud/models/requests/get_table_request.rb +106 -0
  186. data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +109 -0
  187. data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +110 -0
  188. data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +109 -0
  189. data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +110 -0
  190. data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +99 -0
  191. data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +100 -0
  192. data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +109 -0
  193. data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +111 -0
  194. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +117 -0
  195. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +121 -0
  196. data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +113 -0
  197. data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +115 -0
  198. data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +111 -0
  199. data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +113 -0
  200. data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +113 -0
  201. data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +115 -0
  202. data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +115 -0
  203. data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +117 -0
  204. data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +109 -0
  205. data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +111 -0
  206. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +113 -0
  207. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +115 -0
  208. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +109 -0
  209. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +111 -0
  210. data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +113 -0
  211. data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +115 -0
  212. data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +117 -0
  213. data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +119 -0
  214. data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +109 -0
  215. data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +111 -0
  216. data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +115 -0
  217. data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +117 -0
  218. data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +111 -0
  219. data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +113 -0
  220. data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +115 -0
  221. data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +117 -0
  222. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +113 -0
  223. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +113 -0
  224. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +109 -0
  225. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +111 -0
  226. data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +93 -0
  227. data/lib/aspose_words_cloud/models/requests/move_file_request.rb +102 -0
  228. data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +100 -0
  229. data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +109 -0
  230. data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +111 -0
  231. data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +105 -0
  232. data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +107 -0
  233. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +99 -0
  234. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +100 -0
  235. data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +107 -0
  236. data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +108 -0
  237. data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +115 -0
  238. data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +116 -0
  239. data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +115 -0
  240. data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +116 -0
  241. data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +111 -0
  242. data/lib/aspose_words_cloud/models/requests/render_page_request.rb +112 -0
  243. data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +115 -0
  244. data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +116 -0
  245. data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +115 -0
  246. data/lib/aspose_words_cloud/models/requests/render_table_request.rb +116 -0
  247. data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +109 -0
  248. data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +111 -0
  249. data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +113 -0
  250. data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +115 -0
  251. data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +81 -0
  252. data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +105 -0
  253. data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +111 -0
  254. data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +113 -0
  255. data/lib/aspose_words_cloud/models/requests/save_as_request.rb +107 -0
  256. data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +139 -0
  257. data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +141 -0
  258. data/lib/aspose_words_cloud/models/requests/search_online_request.rb +103 -0
  259. data/lib/aspose_words_cloud/models/requests/search_request.rb +104 -0
  260. data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +113 -0
  261. data/lib/aspose_words_cloud/models/requests/split_document_request.rb +114 -0
  262. data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +105 -0
  263. data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +107 -0
  264. data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +115 -0
  265. data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +117 -0
  266. data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +117 -0
  267. data/lib/aspose_words_cloud/models/requests/update_border_request.rb +119 -0
  268. data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +115 -0
  269. data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +117 -0
  270. data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +123 -0
  271. data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +127 -0
  272. data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +117 -0
  273. data/lib/aspose_words_cloud/models/requests/update_field_request.rb +119 -0
  274. data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +99 -0
  275. data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +100 -0
  276. data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +117 -0
  277. data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +119 -0
  278. data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +117 -0
  279. data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +119 -0
  280. data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +121 -0
  281. data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +123 -0
  282. data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +115 -0
  283. data/lib/aspose_words_cloud/models/requests/update_list_request.rb +117 -0
  284. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +117 -0
  285. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +119 -0
  286. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +117 -0
  287. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +119 -0
  288. data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +121 -0
  289. data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +123 -0
  290. data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +121 -0
  291. data/lib/aspose_words_cloud/models/requests/update_run_request.rb +123 -0
  292. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +115 -0
  293. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +117 -0
  294. data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +115 -0
  295. data/lib/aspose_words_cloud/models/requests/update_style_request.rb +117 -0
  296. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +121 -0
  297. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +123 -0
  298. data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +117 -0
  299. data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +119 -0
  300. data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +121 -0
  301. data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +123 -0
  302. data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +101 -0
  303. data/lib/aspose_words_cloud/models/style.rb +2 -2
  304. data/lib/aspose_words_cloud/models/table_properties.rb +2 -2
  305. data/lib/aspose_words_cloud/version.rb +1 -1
  306. metadata +2 -2
@@ -89,5 +89,128 @@ module AsposeWordsCloud
89
89
  self.revision_author = revision_author
90
90
  self.revision_date_time = revision_date_time
91
91
  end
92
+
93
+ # Creating batch part from request
94
+ def to_batch_part(api_client)
95
+ # verify the required parameter 'name' is set
96
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_run_font' if api_client.config.client_side_validation && self.name.nil?
97
+ # verify the required parameter 'paragraph_path' is set
98
+ raise ArgumentError, 'Missing the required parameter paragraph_path when calling WordsApi.update_run_font' if api_client.config.client_side_validation && self.paragraph_path.nil?
99
+ # verify the required parameter 'index' is set
100
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_run_font' if api_client.config.client_side_validation && self.index.nil?
101
+ # verify the required parameter 'font_dto' is set
102
+ raise ArgumentError, 'Missing the required parameter font_dto when calling WordsApi.update_run_font' if api_client.config.client_side_validation && self.font_dto.nil?
103
+
104
+ # resource path
105
+ local_var_path = '/words/{name}/{paragraphPath}/runs/{index}/font'[7..-1]
106
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
107
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('ParagraphPath') + '}', self.paragraph_path.nil? ? '' : self.paragraph_path.to_s)
108
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
109
+ local_var_path = local_var_path.sub('//', '/')
110
+
111
+ # query parameters
112
+ query_params = {}
113
+ query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
114
+ query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
115
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
116
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
117
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
118
+ query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
119
+ query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
120
+
121
+ if query_params
122
+ query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
123
+ end
124
+
125
+ header_params = {}
126
+ # header parameters
127
+ # HTTP header 'Content-Type'
128
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
129
+
130
+ # form parameters
131
+ form_params = {}
132
+
133
+ # http body (model)
134
+ post_body = api_client.object_to_http_body(self.font_dto)
135
+ body = post_body
136
+ part = ""
137
+ part.concat("PUT".force_encoding('UTF-8'))
138
+ part.concat(" ".force_encoding('UTF-8'))
139
+ part.concat(local_var_path.force_encoding('UTF-8'))
140
+ part.concat(" \r\n".force_encoding('UTF-8'))
141
+
142
+ header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
143
+ part.concat("\r\n".force_encoding('UTF-8'))
144
+ if body
145
+ if body.is_a?(Hash)
146
+ body.each do |key, value|
147
+ part.concat(value, "\r\n")
148
+ end
149
+ else
150
+ part.concat(body)
151
+ end
152
+ end
153
+ part
154
+ end
155
+
156
+ def create_http_request(api_client)
157
+ # verify the required parameter 'name' is set
158
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_run_font' if api_client.config.client_side_validation && self.name.nil?
159
+ # verify the required parameter 'paragraph_path' is set
160
+ raise ArgumentError, 'Missing the required parameter paragraph_path when calling WordsApi.update_run_font' if api_client.config.client_side_validation && self.paragraph_path.nil?
161
+ # verify the required parameter 'index' is set
162
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_run_font' if api_client.config.client_side_validation && self.index.nil?
163
+ # verify the required parameter 'font_dto' is set
164
+ raise ArgumentError, 'Missing the required parameter font_dto when calling WordsApi.update_run_font' if api_client.config.client_side_validation && self.font_dto.nil?
165
+
166
+ # resource path
167
+ local_var_path = '/words/{name}/{paragraphPath}/runs/{index}/font'[1..-1]
168
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
169
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('ParagraphPath') + '}', self.paragraph_path.nil? ? '' : self.paragraph_path.to_s)
170
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
171
+ local_var_path = local_var_path.sub('//', '/')
172
+
173
+ # query parameters
174
+ query_params = {}
175
+ query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
176
+ query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
177
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
178
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
179
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
180
+ query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
181
+ query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
182
+
183
+ # header parameters
184
+ header_params = {}
185
+ # HTTP header 'Content-Type'
186
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
187
+
188
+ # form parameters
189
+ form_params = {}
190
+
191
+ # http body (model)
192
+ post_body = api_client.object_to_http_body(self.font_dto)
193
+ body = post_body
194
+ {
195
+ 'method': :PUT,
196
+ 'path': local_var_path,
197
+ 'header_params': header_params,
198
+ 'query_params': query_params,
199
+ 'body': body,
200
+ 'auth_names': ['JWT']
201
+ }
202
+ end
203
+
204
+ #
205
+ # Helper method to convert first letter to downcase
206
+ #
207
+ def downcase_first_letter(str)
208
+ str[0].downcase + str[1..-1]
209
+ end
210
+
211
+ # Get response type
212
+ def get_response_type
213
+ 'FontResponse'
214
+ end
92
215
  end
93
216
  end
@@ -79,5 +79,126 @@ module AsposeWordsCloud
79
79
  self.revision_author = revision_author
80
80
  self.revision_date_time = revision_date_time
81
81
  end
82
+
83
+ # Creating batch part from request
84
+ def to_batch_part(api_client)
85
+ # verify the required parameter 'document' is set
86
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.update_run_online' if api_client.config.client_side_validation && self.document.nil?
87
+ # verify the required parameter 'paragraph_path' is set
88
+ raise ArgumentError, 'Missing the required parameter paragraph_path when calling WordsApi.update_run_online' if api_client.config.client_side_validation && self.paragraph_path.nil?
89
+ # verify the required parameter 'run' is set
90
+ raise ArgumentError, 'Missing the required parameter run when calling WordsApi.update_run_online' if api_client.config.client_side_validation && self.run.nil?
91
+ # verify the required parameter 'index' is set
92
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_run_online' if api_client.config.client_side_validation && self.index.nil?
93
+
94
+ # resource path
95
+ local_var_path = '/words/online/put/{paragraphPath}/runs/{index}'[7..-1]
96
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('ParagraphPath') + '}', self.paragraph_path.nil? ? '' : self.paragraph_path.to_s)
97
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
98
+ local_var_path = local_var_path.sub('//', '/')
99
+
100
+ # query parameters
101
+ query_params = {}
102
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
103
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
104
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
105
+ query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
106
+ query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
107
+
108
+ if query_params
109
+ query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
110
+ end
111
+
112
+ header_params = {}
113
+ # header parameters
114
+ # HTTP header 'Content-Type'
115
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
116
+
117
+ # form parameters
118
+ form_params = {}
119
+ form_params[downcase_first_letter('Document')] = self.document
120
+ form_params[downcase_first_letter('Run')] = self.run.to_body.to_json
121
+
122
+ # http body (model)
123
+ post_body = nil
124
+ body = api_client.build_request_body_batch(header_params, form_params, post_body)
125
+ part = ""
126
+ part.concat("PUT".force_encoding('UTF-8'))
127
+ part.concat(" ".force_encoding('UTF-8'))
128
+ part.concat(local_var_path.force_encoding('UTF-8'))
129
+ part.concat(" \r\n".force_encoding('UTF-8'))
130
+
131
+ header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
132
+ part.concat("\r\n".force_encoding('UTF-8'))
133
+ if body
134
+ if body.is_a?(Hash)
135
+ body.each do |key, value|
136
+ part.concat(value, "\r\n")
137
+ end
138
+ else
139
+ part.concat(body)
140
+ end
141
+ end
142
+ part
143
+ end
144
+
145
+ def create_http_request(api_client)
146
+ # verify the required parameter 'document' is set
147
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.update_run_online' if api_client.config.client_side_validation && self.document.nil?
148
+ # verify the required parameter 'paragraph_path' is set
149
+ raise ArgumentError, 'Missing the required parameter paragraph_path when calling WordsApi.update_run_online' if api_client.config.client_side_validation && self.paragraph_path.nil?
150
+ # verify the required parameter 'run' is set
151
+ raise ArgumentError, 'Missing the required parameter run when calling WordsApi.update_run_online' if api_client.config.client_side_validation && self.run.nil?
152
+ # verify the required parameter 'index' is set
153
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_run_online' if api_client.config.client_side_validation && self.index.nil?
154
+
155
+ # resource path
156
+ local_var_path = '/words/online/put/{paragraphPath}/runs/{index}'[1..-1]
157
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('ParagraphPath') + '}', self.paragraph_path.nil? ? '' : self.paragraph_path.to_s)
158
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
159
+ local_var_path = local_var_path.sub('//', '/')
160
+
161
+ # query parameters
162
+ query_params = {}
163
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
164
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
165
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
166
+ query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
167
+ query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
168
+
169
+ # header parameters
170
+ header_params = {}
171
+ # HTTP header 'Content-Type'
172
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
173
+
174
+ # form parameters
175
+ form_params = {}
176
+ form_params[downcase_first_letter('Document')] = self.document
177
+ form_params[downcase_first_letter('Run')] = self.run.to_body.to_json
178
+
179
+ # http body (model)
180
+ post_body = nil
181
+ body = api_client.build_request_body(header_params, form_params, post_body)
182
+ {
183
+ 'method': :PUT,
184
+ 'path': local_var_path,
185
+ 'header_params': header_params,
186
+ 'query_params': query_params,
187
+ 'body': body,
188
+ 'auth_names': ['JWT']
189
+ }
190
+ end
191
+
192
+ #
193
+ # Helper method to convert first letter to downcase
194
+ #
195
+ def downcase_first_letter(str)
196
+ str[0].downcase + str[1..-1]
197
+ end
198
+
199
+ # Get response type
200
+ def get_response_type
201
+ 'UpdateRunOnlineResponse'
202
+ end
82
203
  end
83
204
  end
@@ -89,5 +89,128 @@ module AsposeWordsCloud
89
89
  self.revision_author = revision_author
90
90
  self.revision_date_time = revision_date_time
91
91
  end
92
+
93
+ # Creating batch part from request
94
+ def to_batch_part(api_client)
95
+ # verify the required parameter 'name' is set
96
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_run' if api_client.config.client_side_validation && self.name.nil?
97
+ # verify the required parameter 'paragraph_path' is set
98
+ raise ArgumentError, 'Missing the required parameter paragraph_path when calling WordsApi.update_run' if api_client.config.client_side_validation && self.paragraph_path.nil?
99
+ # verify the required parameter 'index' is set
100
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_run' if api_client.config.client_side_validation && self.index.nil?
101
+ # verify the required parameter 'run' is set
102
+ raise ArgumentError, 'Missing the required parameter run when calling WordsApi.update_run' if api_client.config.client_side_validation && self.run.nil?
103
+
104
+ # resource path
105
+ local_var_path = '/words/{name}/{paragraphPath}/runs/{index}'[7..-1]
106
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
107
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('ParagraphPath') + '}', self.paragraph_path.nil? ? '' : self.paragraph_path.to_s)
108
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
109
+ local_var_path = local_var_path.sub('//', '/')
110
+
111
+ # query parameters
112
+ query_params = {}
113
+ query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
114
+ query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
115
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
116
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
117
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
118
+ query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
119
+ query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
120
+
121
+ if query_params
122
+ query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
123
+ end
124
+
125
+ header_params = {}
126
+ # header parameters
127
+ # HTTP header 'Content-Type'
128
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
129
+
130
+ # form parameters
131
+ form_params = {}
132
+
133
+ # http body (model)
134
+ post_body = api_client.object_to_http_body(self.run)
135
+ body = post_body
136
+ part = ""
137
+ part.concat("PUT".force_encoding('UTF-8'))
138
+ part.concat(" ".force_encoding('UTF-8'))
139
+ part.concat(local_var_path.force_encoding('UTF-8'))
140
+ part.concat(" \r\n".force_encoding('UTF-8'))
141
+
142
+ header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
143
+ part.concat("\r\n".force_encoding('UTF-8'))
144
+ if body
145
+ if body.is_a?(Hash)
146
+ body.each do |key, value|
147
+ part.concat(value, "\r\n")
148
+ end
149
+ else
150
+ part.concat(body)
151
+ end
152
+ end
153
+ part
154
+ end
155
+
156
+ def create_http_request(api_client)
157
+ # verify the required parameter 'name' is set
158
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_run' if api_client.config.client_side_validation && self.name.nil?
159
+ # verify the required parameter 'paragraph_path' is set
160
+ raise ArgumentError, 'Missing the required parameter paragraph_path when calling WordsApi.update_run' if api_client.config.client_side_validation && self.paragraph_path.nil?
161
+ # verify the required parameter 'index' is set
162
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_run' if api_client.config.client_side_validation && self.index.nil?
163
+ # verify the required parameter 'run' is set
164
+ raise ArgumentError, 'Missing the required parameter run when calling WordsApi.update_run' if api_client.config.client_side_validation && self.run.nil?
165
+
166
+ # resource path
167
+ local_var_path = '/words/{name}/{paragraphPath}/runs/{index}'[1..-1]
168
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
169
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('ParagraphPath') + '}', self.paragraph_path.nil? ? '' : self.paragraph_path.to_s)
170
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
171
+ local_var_path = local_var_path.sub('//', '/')
172
+
173
+ # query parameters
174
+ query_params = {}
175
+ query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
176
+ query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
177
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
178
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
179
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
180
+ query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
181
+ query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
182
+
183
+ # header parameters
184
+ header_params = {}
185
+ # HTTP header 'Content-Type'
186
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
187
+
188
+ # form parameters
189
+ form_params = {}
190
+
191
+ # http body (model)
192
+ post_body = api_client.object_to_http_body(self.run)
193
+ body = post_body
194
+ {
195
+ 'method': :PUT,
196
+ 'path': local_var_path,
197
+ 'header_params': header_params,
198
+ 'query_params': query_params,
199
+ 'body': body,
200
+ 'auth_names': ['JWT']
201
+ }
202
+ end
203
+
204
+ #
205
+ # Helper method to convert first letter to downcase
206
+ #
207
+ def downcase_first_letter(str)
208
+ str[0].downcase + str[1..-1]
209
+ end
210
+
211
+ # Get response type
212
+ def get_response_type
213
+ 'RunResponse'
214
+ end
92
215
  end
93
216
  end
@@ -74,5 +74,120 @@ module AsposeWordsCloud
74
74
  self.revision_author = revision_author
75
75
  self.revision_date_time = revision_date_time
76
76
  end
77
+
78
+ # Creating batch part from request
79
+ def to_batch_part(api_client)
80
+ # verify the required parameter 'document' is set
81
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.update_section_page_setup_online' if api_client.config.client_side_validation && self.document.nil?
82
+ # verify the required parameter 'section_index' is set
83
+ raise ArgumentError, 'Missing the required parameter section_index when calling WordsApi.update_section_page_setup_online' if api_client.config.client_side_validation && self.section_index.nil?
84
+ # verify the required parameter 'page_setup' is set
85
+ raise ArgumentError, 'Missing the required parameter page_setup when calling WordsApi.update_section_page_setup_online' if api_client.config.client_side_validation && self.page_setup.nil?
86
+
87
+ # resource path
88
+ local_var_path = '/words/online/put/sections/{sectionIndex}/pageSetup'[7..-1]
89
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('SectionIndex') + '}', self.section_index.nil? ? '' : self.section_index.to_s)
90
+ local_var_path = local_var_path.sub('//', '/')
91
+
92
+ # query parameters
93
+ query_params = {}
94
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
95
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
96
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
97
+ query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
98
+ query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
99
+
100
+ if query_params
101
+ query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
102
+ end
103
+
104
+ header_params = {}
105
+ # header parameters
106
+ # HTTP header 'Content-Type'
107
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
108
+
109
+ # form parameters
110
+ form_params = {}
111
+ form_params[downcase_first_letter('Document')] = self.document
112
+ form_params[downcase_first_letter('PageSetup')] = self.page_setup.to_body.to_json
113
+
114
+ # http body (model)
115
+ post_body = nil
116
+ body = api_client.build_request_body_batch(header_params, form_params, post_body)
117
+ part = ""
118
+ part.concat("PUT".force_encoding('UTF-8'))
119
+ part.concat(" ".force_encoding('UTF-8'))
120
+ part.concat(local_var_path.force_encoding('UTF-8'))
121
+ part.concat(" \r\n".force_encoding('UTF-8'))
122
+
123
+ header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
124
+ part.concat("\r\n".force_encoding('UTF-8'))
125
+ if body
126
+ if body.is_a?(Hash)
127
+ body.each do |key, value|
128
+ part.concat(value, "\r\n")
129
+ end
130
+ else
131
+ part.concat(body)
132
+ end
133
+ end
134
+ part
135
+ end
136
+
137
+ def create_http_request(api_client)
138
+ # verify the required parameter 'document' is set
139
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.update_section_page_setup_online' if api_client.config.client_side_validation && self.document.nil?
140
+ # verify the required parameter 'section_index' is set
141
+ raise ArgumentError, 'Missing the required parameter section_index when calling WordsApi.update_section_page_setup_online' if api_client.config.client_side_validation && self.section_index.nil?
142
+ # verify the required parameter 'page_setup' is set
143
+ raise ArgumentError, 'Missing the required parameter page_setup when calling WordsApi.update_section_page_setup_online' if api_client.config.client_side_validation && self.page_setup.nil?
144
+
145
+ # resource path
146
+ local_var_path = '/words/online/put/sections/{sectionIndex}/pageSetup'[1..-1]
147
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('SectionIndex') + '}', self.section_index.nil? ? '' : self.section_index.to_s)
148
+ local_var_path = local_var_path.sub('//', '/')
149
+
150
+ # query parameters
151
+ query_params = {}
152
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
153
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
154
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
155
+ query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
156
+ query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
157
+
158
+ # header parameters
159
+ header_params = {}
160
+ # HTTP header 'Content-Type'
161
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
162
+
163
+ # form parameters
164
+ form_params = {}
165
+ form_params[downcase_first_letter('Document')] = self.document
166
+ form_params[downcase_first_letter('PageSetup')] = self.page_setup.to_body.to_json
167
+
168
+ # http body (model)
169
+ post_body = nil
170
+ body = api_client.build_request_body(header_params, form_params, post_body)
171
+ {
172
+ 'method': :PUT,
173
+ 'path': local_var_path,
174
+ 'header_params': header_params,
175
+ 'query_params': query_params,
176
+ 'body': body,
177
+ 'auth_names': ['JWT']
178
+ }
179
+ end
180
+
181
+ #
182
+ # Helper method to convert first letter to downcase
183
+ #
184
+ def downcase_first_letter(str)
185
+ str[0].downcase + str[1..-1]
186
+ end
187
+
188
+ # Get response type
189
+ def get_response_type
190
+ 'UpdateSectionPageSetupOnlineResponse'
191
+ end
77
192
  end
78
193
  end