aspose_words_cloud 21.2.0 → 21.6.0

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