aspose_words_cloud 19.2 → 19.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (364) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud.rb +12 -7
  3. data/lib/aspose_words_cloud/api/words_api.rb +7469 -3615
  4. data/lib/aspose_words_cloud/api_client.rb +4 -2
  5. data/lib/aspose_words_cloud/api_error.rb +5 -1
  6. data/lib/aspose_words_cloud/configuration.rb +7 -37
  7. data/lib/aspose_words_cloud/models/available_fonts_response.rb +13 -28
  8. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +24 -24
  9. data/lib/aspose_words_cloud/models/bookmark.rb +2 -2
  10. data/lib/aspose_words_cloud/models/bookmark_data.rb +1 -1
  11. data/lib/aspose_words_cloud/models/bookmark_response.rb +10 -25
  12. data/lib/aspose_words_cloud/models/bookmarks.rb +3 -3
  13. data/lib/aspose_words_cloud/models/bookmarks_outline_level_data.rb +4 -4
  14. data/lib/aspose_words_cloud/models/bookmarks_response.rb +10 -25
  15. data/lib/aspose_words_cloud/models/border.rb +2 -2
  16. data/lib/aspose_words_cloud/models/border_response.rb +10 -25
  17. data/lib/aspose_words_cloud/models/borders_collection.rb +3 -3
  18. data/lib/aspose_words_cloud/models/borders_response.rb +10 -25
  19. data/lib/aspose_words_cloud/models/classification_response.rb +13 -28
  20. data/lib/aspose_words_cloud/models/classification_result.rb +1 -1
  21. data/lib/aspose_words_cloud/models/comment.rb +9 -9
  22. data/lib/aspose_words_cloud/models/comment_link.rb +2 -2
  23. data/lib/aspose_words_cloud/models/comment_response.rb +11 -26
  24. data/lib/aspose_words_cloud/models/comments_collection.rb +3 -3
  25. data/lib/aspose_words_cloud/models/comments_response.rb +11 -26
  26. data/lib/aspose_words_cloud/models/compare_data.rb +5 -5
  27. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +22 -12
  28. data/lib/aspose_words_cloud/models/document.rb +7 -7
  29. data/lib/aspose_words_cloud/models/document_entry.rb +3 -3
  30. data/lib/aspose_words_cloud/models/document_entry_list.rb +2 -2
  31. data/lib/aspose_words_cloud/models/document_position.rb +3 -3
  32. data/lib/aspose_words_cloud/models/document_properties.rb +3 -3
  33. data/lib/aspose_words_cloud/models/document_properties_response.rb +10 -25
  34. data/lib/aspose_words_cloud/models/document_property.rb +5 -5
  35. data/lib/aspose_words_cloud/models/document_property_response.rb +10 -25
  36. data/lib/aspose_words_cloud/models/document_response.rb +10 -25
  37. data/lib/aspose_words_cloud/models/document_stat_data.rb +7 -7
  38. data/lib/aspose_words_cloud/models/downsample_options_data.rb +5 -5
  39. data/lib/aspose_words_cloud/models/drawing_object.rb +13 -13
  40. data/lib/aspose_words_cloud/models/drawing_object_collection.rb +3 -3
  41. data/lib/aspose_words_cloud/models/drawing_object_link.rb +3 -3
  42. data/lib/aspose_words_cloud/models/drawing_object_response.rb +10 -25
  43. data/lib/aspose_words_cloud/models/drawing_objects_response.rb +10 -25
  44. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +24 -24
  45. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +58 -48
  46. data/lib/aspose_words_cloud/models/{text_items_response.rb → error.rb} +31 -26
  47. data/lib/aspose_words_cloud/models/{aspose_response.rb → error_details.rb} +22 -22
  48. data/lib/aspose_words_cloud/models/field.rb +6 -6
  49. data/lib/aspose_words_cloud/models/field_collection.rb +3 -3
  50. data/lib/aspose_words_cloud/models/field_link.rb +5 -5
  51. data/lib/aspose_words_cloud/models/field_names.rb +4 -4
  52. data/lib/aspose_words_cloud/models/field_names_response.rb +10 -25
  53. data/lib/aspose_words_cloud/models/field_response.rb +11 -26
  54. data/lib/aspose_words_cloud/models/fields_response.rb +11 -26
  55. data/lib/aspose_words_cloud/models/file_link.rb +5 -5
  56. data/lib/aspose_words_cloud/models/{text_items.rb → files_list.rb} +13 -23
  57. data/lib/aspose_words_cloud/models/files_upload_result.rb +221 -0
  58. data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +14 -14
  59. data/lib/aspose_words_cloud/models/font.rb +28 -28
  60. data/lib/aspose_words_cloud/models/font_info.rb +6 -6
  61. data/lib/aspose_words_cloud/models/font_response.rb +11 -26
  62. data/lib/aspose_words_cloud/models/footnote.rb +8 -8
  63. data/lib/aspose_words_cloud/models/footnote_collection.rb +3 -3
  64. data/lib/aspose_words_cloud/models/footnote_link.rb +3 -3
  65. data/lib/aspose_words_cloud/models/footnote_response.rb +11 -26
  66. data/lib/aspose_words_cloud/models/footnotes_response.rb +11 -26
  67. data/lib/aspose_words_cloud/models/footnotes_stat_data.rb +4 -4
  68. data/lib/aspose_words_cloud/models/form_field.rb +12 -12
  69. data/lib/aspose_words_cloud/models/form_field_checkbox.rb +12 -12
  70. data/lib/aspose_words_cloud/models/form_field_collection.rb +3 -3
  71. data/lib/aspose_words_cloud/models/form_field_drop_down.rb +13 -13
  72. data/lib/aspose_words_cloud/models/form_field_response.rb +11 -26
  73. data/lib/aspose_words_cloud/models/form_field_text_input.rb +15 -15
  74. data/lib/aspose_words_cloud/models/form_fields_response.rb +11 -26
  75. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +24 -24
  76. data/lib/aspose_words_cloud/models/graphics_quality_options_data.rb +1 -1
  77. data/lib/aspose_words_cloud/models/header_footer.rb +6 -6
  78. data/lib/aspose_words_cloud/models/header_footer_link.rb +4 -4
  79. data/lib/aspose_words_cloud/models/header_footer_link_collection.rb +4 -4
  80. data/lib/aspose_words_cloud/models/header_footer_response.rb +11 -26
  81. data/lib/aspose_words_cloud/models/header_footers_response.rb +11 -26
  82. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +27 -27
  83. data/lib/aspose_words_cloud/models/html_save_options_data.rb +58 -48
  84. data/lib/aspose_words_cloud/models/hyperlink.rb +4 -4
  85. data/lib/aspose_words_cloud/models/hyperlink_response.rb +10 -25
  86. data/lib/aspose_words_cloud/models/hyperlinks.rb +3 -3
  87. data/lib/aspose_words_cloud/models/hyperlinks_response.rb +10 -25
  88. data/lib/aspose_words_cloud/models/image_save_options_data.rb +25 -25
  89. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +24 -24
  90. data/lib/aspose_words_cloud/models/link.rb +6 -6
  91. data/lib/aspose_words_cloud/models/link_element.rb +2 -2
  92. data/lib/aspose_words_cloud/models/load_web_document_data.rb +4 -4
  93. data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +19 -9
  94. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +58 -48
  95. data/lib/aspose_words_cloud/models/modification_operation_result.rb +4 -4
  96. data/lib/aspose_words_cloud/models/node_link.rb +4 -4
  97. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +12 -12
  98. data/lib/aspose_words_cloud/models/office_math_link.rb +4 -4
  99. data/lib/aspose_words_cloud/models/office_math_object.rb +7 -7
  100. data/lib/aspose_words_cloud/models/office_math_object_response.rb +11 -26
  101. data/lib/aspose_words_cloud/models/office_math_objects_collection.rb +3 -3
  102. data/lib/aspose_words_cloud/models/office_math_objects_response.rb +11 -26
  103. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +12 -12
  104. data/lib/aspose_words_cloud/models/outline_options_data.rb +7 -7
  105. data/lib/aspose_words_cloud/models/page_number.rb +5 -5
  106. data/lib/aspose_words_cloud/models/page_setup.rb +21 -21
  107. data/lib/aspose_words_cloud/models/page_stat_data.rb +6 -6
  108. data/lib/aspose_words_cloud/models/paragraph.rb +5 -5
  109. data/lib/aspose_words_cloud/models/paragraph_format.rb +13 -13
  110. data/lib/aspose_words_cloud/models/paragraph_format_response.rb +11 -26
  111. data/lib/aspose_words_cloud/models/paragraph_insert.rb +3 -3
  112. data/lib/aspose_words_cloud/models/paragraph_link.rb +5 -5
  113. data/lib/aspose_words_cloud/models/paragraph_link_collection.rb +4 -4
  114. data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +11 -26
  115. data/lib/aspose_words_cloud/models/paragraph_response.rb +11 -26
  116. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +16 -16
  117. data/lib/aspose_words_cloud/models/pdf_digital_signature_details_data.rb +7 -7
  118. data/lib/aspose_words_cloud/models/pdf_encryption_details_data.rb +6 -6
  119. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +37 -37
  120. data/lib/aspose_words_cloud/models/png_save_options_data.rb +24 -24
  121. data/lib/aspose_words_cloud/models/preferred_width.rb +2 -2
  122. data/lib/aspose_words_cloud/models/protection_data.rb +3 -3
  123. data/lib/aspose_words_cloud/models/protection_data_response.rb +12 -27
  124. data/lib/aspose_words_cloud/models/protection_request.rb +5 -5
  125. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +16 -16
  126. data/lib/aspose_words_cloud/models/range_document.rb +207 -0
  127. data/lib/aspose_words_cloud/models/range_text_response.rb +217 -0
  128. data/lib/aspose_words_cloud/models/{text_item.rb → replace_range.rb} +6 -16
  129. data/lib/aspose_words_cloud/models/{replace_text_request.rb → replace_text_parameters.rb} +8 -8
  130. data/lib/aspose_words_cloud/models/replace_text_response.rb +11 -26
  131. data/lib/aspose_words_cloud/models/requests/AcceptAllRevisionsRequest.rb +5 -5
  132. data/lib/aspose_words_cloud/models/requests/{PostAppendDocumentRequest.rb → AppendDocumentRequest.rb} +8 -8
  133. data/lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb +3 -3
  134. data/lib/aspose_words_cloud/models/requests/ClassifyRequest.rb +3 -3
  135. data/lib/aspose_words_cloud/models/requests/{PostCompareDocumentRequest.rb → CompareDocumentRequest.rb} +8 -8
  136. data/lib/aspose_words_cloud/models/requests/{PutConvertDocumentRequest.rb → ConvertDocumentRequest.rb} +11 -11
  137. data/lib/aspose_words_cloud/models/requests/CopyFileRequest.rb +61 -0
  138. data/lib/aspose_words_cloud/models/requests/CopyFolderRequest.rb +57 -0
  139. data/lib/aspose_words_cloud/models/requests/{PutCreateDocumentRequest.rb → CreateDocumentRequest.rb} +8 -8
  140. data/lib/aspose_words_cloud/models/requests/CreateFolderRequest.rb +49 -0
  141. data/lib/aspose_words_cloud/models/requests/CreateOrUpdateDocumentPropertyRequest.rb +5 -5
  142. data/lib/aspose_words_cloud/models/requests/DeleteBorderRequest.rb +9 -9
  143. data/lib/aspose_words_cloud/models/requests/DeleteBordersRequest.rb +7 -7
  144. data/lib/aspose_words_cloud/models/requests/DeleteCommentRequest.rb +9 -9
  145. data/lib/aspose_words_cloud/models/requests/DeleteDocumentPropertyRequest.rb +5 -5
  146. data/lib/aspose_words_cloud/models/requests/DeleteDrawingObjectRequest.rb +14 -14
  147. data/lib/aspose_words_cloud/models/requests/DeleteDrawingObjectWithoutNodePathRequest.rb +77 -0
  148. data/lib/aspose_words_cloud/models/requests/DeleteFieldRequest.rb +14 -14
  149. data/lib/aspose_words_cloud/models/requests/DeleteFieldWithoutNodePathRequest.rb +77 -0
  150. data/lib/aspose_words_cloud/models/requests/DeleteFieldsRequest.rb +12 -12
  151. data/lib/aspose_words_cloud/models/requests/{DeleteDocumentWatermarkRequest.rb → DeleteFieldsWithoutNodePathRequest.rb} +8 -8
  152. data/lib/aspose_words_cloud/models/requests/DeleteFileRequest.rb +53 -0
  153. data/lib/aspose_words_cloud/models/requests/DeleteFolderRequest.rb +53 -0
  154. data/lib/aspose_words_cloud/models/requests/DeleteFootnoteRequest.rb +14 -14
  155. data/lib/aspose_words_cloud/models/requests/DeleteFootnoteWithoutNodePathRequest.rb +77 -0
  156. data/lib/aspose_words_cloud/models/requests/DeleteFormFieldRequest.rb +12 -12
  157. data/lib/aspose_words_cloud/models/requests/DeleteFormFieldWithoutNodePathRequest.rb +77 -0
  158. data/lib/aspose_words_cloud/models/requests/DeleteHeaderFooterRequest.rb +12 -12
  159. data/lib/aspose_words_cloud/models/requests/DeleteHeadersFootersRequest.rb +10 -10
  160. data/lib/aspose_words_cloud/models/requests/{DeleteDocumentMacrosRequest.rb → DeleteMacrosRequest.rb} +10 -10
  161. data/lib/aspose_words_cloud/models/requests/DeleteOfficeMathObjectRequest.rb +14 -14
  162. data/lib/aspose_words_cloud/models/requests/DeleteOfficeMathObjectWithoutNodePathRequest.rb +77 -0
  163. data/lib/aspose_words_cloud/models/requests/DeleteParagraphRequest.rb +12 -12
  164. data/lib/aspose_words_cloud/models/requests/DeleteParagraphWithoutNodePathRequest.rb +77 -0
  165. data/lib/aspose_words_cloud/models/requests/DeleteRunRequest.rb +9 -9
  166. data/lib/aspose_words_cloud/models/requests/DeleteTableCellRequest.rb +7 -7
  167. data/lib/aspose_words_cloud/models/requests/DeleteTableRequest.rb +12 -12
  168. data/lib/aspose_words_cloud/models/requests/DeleteTableRowRequest.rb +7 -7
  169. data/lib/aspose_words_cloud/models/requests/DeleteTableWithoutNodePathRequest.rb +77 -0
  170. data/lib/aspose_words_cloud/models/requests/DeleteWatermarkRequest.rb +73 -0
  171. data/lib/aspose_words_cloud/models/requests/DownloadFileRequest.rb +53 -0
  172. data/lib/aspose_words_cloud/models/requests/{PutExecuteMailMergeOnlineRequest.rb → ExecuteMailMergeOnlineRequest.rb} +4 -4
  173. data/lib/aspose_words_cloud/models/requests/{PostDocumentExecuteMailMergeRequest.rb → ExecuteMailMergeRequest.rb} +8 -8
  174. data/lib/aspose_words_cloud/models/requests/GetAvailableFontsRequest.rb +1 -1
  175. data/lib/aspose_words_cloud/models/requests/{GetDocumentBookmarkByNameRequest.rb → GetBookmarkByNameRequest.rb} +6 -6
  176. data/lib/aspose_words_cloud/models/requests/{GetDocumentBookmarksRequest.rb → GetBookmarksRequest.rb} +6 -6
  177. data/lib/aspose_words_cloud/models/requests/GetBorderRequest.rb +7 -7
  178. data/lib/aspose_words_cloud/models/requests/GetBordersRequest.rb +5 -5
  179. data/lib/aspose_words_cloud/models/requests/GetCommentRequest.rb +7 -7
  180. data/lib/aspose_words_cloud/models/requests/GetCommentsRequest.rb +5 -5
  181. data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectByIndexRequest.rb +10 -10
  182. data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectByIndexWithoutNodePathRequest.rb +65 -0
  183. data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectImageDataRequest.rb +10 -10
  184. data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectImageDataWithoutNodePathRequest.rb +65 -0
  185. data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectOleDataRequest.rb +10 -10
  186. data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectOleDataWithoutNodePathRequest.rb +65 -0
  187. data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectsRequest.rb +8 -8
  188. data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectsWithoutNodePathRequest.rb +61 -0
  189. data/lib/aspose_words_cloud/models/requests/{PutDocumentFieldNamesRequest.rb → GetDocumentFieldNamesOnlineRequest.rb} +4 -4
  190. data/lib/aspose_words_cloud/models/requests/GetDocumentFieldNamesRequest.rb +3 -3
  191. data/lib/aspose_words_cloud/models/requests/GetDocumentHyperlinkByIndexRequest.rb +3 -3
  192. data/lib/aspose_words_cloud/models/requests/GetDocumentHyperlinksRequest.rb +3 -3
  193. data/lib/aspose_words_cloud/models/requests/GetDocumentPropertiesRequest.rb +3 -3
  194. data/lib/aspose_words_cloud/models/requests/GetDocumentPropertyRequest.rb +3 -3
  195. data/lib/aspose_words_cloud/models/requests/GetDocumentProtectionRequest.rb +3 -3
  196. data/lib/aspose_words_cloud/models/requests/GetDocumentRequest.rb +5 -5
  197. data/lib/aspose_words_cloud/models/requests/GetDocumentStatisticsRequest.rb +7 -7
  198. data/lib/aspose_words_cloud/models/requests/GetDocumentWithFormatRequest.rb +7 -7
  199. data/lib/aspose_words_cloud/models/requests/GetFieldRequest.rb +12 -12
  200. data/lib/aspose_words_cloud/models/requests/GetFieldWithoutNodePathRequest.rb +65 -0
  201. data/lib/aspose_words_cloud/models/requests/GetFieldsRequest.rb +10 -10
  202. data/lib/aspose_words_cloud/models/requests/{GetDocumentTextItemsRequest.rb → GetFieldsWithoutNodePathRequest.rb} +6 -6
  203. data/lib/aspose_words_cloud/models/requests/GetFilesListRequest.rb +49 -0
  204. data/lib/aspose_words_cloud/models/requests/GetFootnoteRequest.rb +10 -10
  205. data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphFormatRequest.rb → GetFootnoteWithoutNodePathRequest.rb} +9 -13
  206. data/lib/aspose_words_cloud/models/requests/GetFootnotesRequest.rb +10 -10
  207. data/lib/aspose_words_cloud/models/requests/GetFootnotesWithoutNodePathRequest.rb +61 -0
  208. data/lib/aspose_words_cloud/models/requests/GetFormFieldRequest.rb +10 -10
  209. data/lib/aspose_words_cloud/models/requests/GetFormFieldWithoutNodePathRequest.rb +65 -0
  210. data/lib/aspose_words_cloud/models/requests/GetFormFieldsRequest.rb +10 -10
  211. data/lib/aspose_words_cloud/models/requests/GetFormFieldsWithoutNodePathRequest.rb +61 -0
  212. data/lib/aspose_words_cloud/models/requests/GetHeaderFooterOfSectionRequest.rb +3 -3
  213. data/lib/aspose_words_cloud/models/requests/GetHeaderFooterRequest.rb +3 -3
  214. data/lib/aspose_words_cloud/models/requests/GetHeaderFootersRequest.rb +8 -8
  215. data/lib/aspose_words_cloud/models/requests/GetOfficeMathObjectRequest.rb +10 -10
  216. data/lib/aspose_words_cloud/models/requests/GetOfficeMathObjectWithoutNodePathRequest.rb +65 -0
  217. data/lib/aspose_words_cloud/models/requests/GetOfficeMathObjectsRequest.rb +10 -10
  218. data/lib/aspose_words_cloud/models/requests/GetOfficeMathObjectsWithoutNodePathRequest.rb +61 -0
  219. data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphRequest.rb → GetParagraphFormatRequest.rb} +13 -13
  220. data/lib/aspose_words_cloud/models/requests/GetParagraphFormatWithoutNodePathRequest.rb +65 -0
  221. data/lib/aspose_words_cloud/models/requests/GetParagraphRequest.rb +69 -0
  222. data/lib/aspose_words_cloud/models/requests/GetParagraphWithoutNodePathRequest.rb +65 -0
  223. data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphsRequest.rb → GetParagraphsRequest.rb} +11 -11
  224. data/lib/aspose_words_cloud/models/requests/GetParagraphsWithoutNodePathRequest.rb +61 -0
  225. data/lib/aspose_words_cloud/models/requests/GetRangeTextRequest.rb +69 -0
  226. data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphRunRequest.rb → GetRunFontRequest.rb} +8 -8
  227. data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphRunFontRequest.rb → GetRunRequest.rb} +8 -8
  228. data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphRunsRequest.rb → GetRunsRequest.rb} +6 -6
  229. data/lib/aspose_words_cloud/models/requests/GetSectionPageSetupRequest.rb +5 -5
  230. data/lib/aspose_words_cloud/models/requests/GetSectionRequest.rb +5 -5
  231. data/lib/aspose_words_cloud/models/requests/GetSectionsRequest.rb +3 -3
  232. data/lib/aspose_words_cloud/models/requests/GetTableCellFormatRequest.rb +5 -5
  233. data/lib/aspose_words_cloud/models/requests/GetTableCellRequest.rb +5 -5
  234. data/lib/aspose_words_cloud/models/requests/GetTablePropertiesRequest.rb +10 -10
  235. data/lib/aspose_words_cloud/models/requests/GetTablePropertiesWithoutNodePathRequest.rb +65 -0
  236. data/lib/aspose_words_cloud/models/requests/GetTableRequest.rb +10 -10
  237. data/lib/aspose_words_cloud/models/requests/GetTableRowFormatRequest.rb +5 -5
  238. data/lib/aspose_words_cloud/models/requests/GetTableRowRequest.rb +5 -5
  239. data/lib/aspose_words_cloud/models/requests/GetTableWithoutNodePathRequest.rb +65 -0
  240. data/lib/aspose_words_cloud/models/requests/GetTablesRequest.rb +8 -8
  241. data/lib/aspose_words_cloud/models/requests/GetTablesWithoutNodePathRequest.rb +61 -0
  242. data/lib/aspose_words_cloud/models/requests/{PutCommentRequest.rb → InsertCommentRequest.rb} +10 -10
  243. data/lib/aspose_words_cloud/models/requests/InsertDrawingObjectRequest.rb +85 -0
  244. data/lib/aspose_words_cloud/models/requests/{PutDrawingObjectRequest.rb → InsertDrawingObjectWithoutNodePathRequest.rb} +9 -13
  245. data/lib/aspose_words_cloud/models/requests/InsertFieldRequest.rb +85 -0
  246. data/lib/aspose_words_cloud/models/requests/{PutFieldRequest.rb → InsertFieldWithoutNodePathRequest.rb} +9 -13
  247. data/lib/aspose_words_cloud/models/requests/InsertFootnoteRequest.rb +81 -0
  248. data/lib/aspose_words_cloud/models/requests/{PutFootnoteRequest.rb → InsertFootnoteWithoutNodePathRequest.rb} +9 -13
  249. data/lib/aspose_words_cloud/models/requests/InsertFormFieldRequest.rb +85 -0
  250. data/lib/aspose_words_cloud/models/requests/{PutFormFieldRequest.rb → InsertFormFieldWithoutNodePathRequest.rb} +9 -13
  251. data/lib/aspose_words_cloud/models/requests/{PutHeaderFooterRequest.rb → InsertHeaderFooterRequest.rb} +13 -13
  252. data/lib/aspose_words_cloud/models/requests/{PostInsertPageNumbersRequest.rb → InsertPageNumbersRequest.rb} +8 -8
  253. data/lib/aspose_words_cloud/models/requests/{PutParagraphRequest.rb → InsertParagraphRequest.rb} +13 -13
  254. data/lib/aspose_words_cloud/models/requests/{PutRunRequest.rb → InsertRunRequest.rb} +8 -8
  255. data/lib/aspose_words_cloud/models/requests/InsertTableCellRequest.rb +7 -7
  256. data/lib/aspose_words_cloud/models/requests/InsertTableRequest.rb +12 -12
  257. data/lib/aspose_words_cloud/models/requests/InsertTableRowRequest.rb +7 -7
  258. data/lib/aspose_words_cloud/models/requests/InsertTableWithoutNodePathRequest.rb +77 -0
  259. data/lib/aspose_words_cloud/models/requests/{PostInsertDocumentWatermarkImageRequest.rb → InsertWatermarkImageRequest.rb} +8 -8
  260. data/lib/aspose_words_cloud/models/requests/{PostInsertDocumentWatermarkTextRequest.rb → InsertWatermarkTextRequest.rb} +8 -8
  261. data/lib/aspose_words_cloud/models/requests/{PostLoadWebDocumentRequest.rb → LoadWebDocumentRequest.rb} +6 -6
  262. data/lib/aspose_words_cloud/models/requests/MoveFileRequest.rb +61 -0
  263. data/lib/aspose_words_cloud/models/requests/MoveFolderRequest.rb +57 -0
  264. data/lib/aspose_words_cloud/models/requests/{PutProtectDocumentRequest.rb → ProtectDocumentRequest.rb} +8 -8
  265. data/lib/aspose_words_cloud/models/requests/RejectAllRevisionsRequest.rb +5 -5
  266. data/lib/aspose_words_cloud/models/requests/{PostChangeDocumentProtectionRequest.rb → RemoveRangeRequest.rb} +19 -15
  267. data/lib/aspose_words_cloud/models/requests/RenderDrawingObjectRequest.rb +12 -12
  268. data/lib/aspose_words_cloud/models/requests/RenderDrawingObjectWithoutNodePathRequest.rb +73 -0
  269. data/lib/aspose_words_cloud/models/requests/RenderMathObjectRequest.rb +12 -12
  270. data/lib/aspose_words_cloud/models/requests/RenderMathObjectWithoutNodePathRequest.rb +73 -0
  271. data/lib/aspose_words_cloud/models/requests/RenderPageRequest.rb +7 -7
  272. data/lib/aspose_words_cloud/models/requests/RenderParagraphRequest.rb +12 -12
  273. data/lib/aspose_words_cloud/models/requests/RenderParagraphWithoutNodePathRequest.rb +73 -0
  274. data/lib/aspose_words_cloud/models/requests/RenderTableRequest.rb +12 -12
  275. data/lib/aspose_words_cloud/models/requests/RenderTableWithoutNodePathRequest.rb +73 -0
  276. data/lib/aspose_words_cloud/models/requests/{PostReplaceTextRequest.rb → ReplaceTextRequest.rb} +8 -8
  277. data/lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb +77 -0
  278. data/lib/aspose_words_cloud/models/requests/ResetCacheRequest.rb +1 -1
  279. data/lib/aspose_words_cloud/models/requests/SaveAsRangeRequest.rb +73 -0
  280. data/lib/aspose_words_cloud/models/requests/{PostDocumentSaveAsRequest.rb → SaveAsRequest.rb} +7 -11
  281. data/lib/aspose_words_cloud/models/requests/{PutDocumentSaveAsTiffRequest.rb → SaveAsTiffRequest.rb} +7 -15
  282. data/lib/aspose_words_cloud/models/requests/SearchRequest.rb +3 -3
  283. data/lib/aspose_words_cloud/models/requests/{PostSplitDocumentRequest.rb → SplitDocumentRequest.rb} +8 -8
  284. data/lib/aspose_words_cloud/models/requests/{DeleteUnprotectDocumentRequest.rb → UnprotectDocumentRequest.rb} +8 -8
  285. data/lib/aspose_words_cloud/models/requests/{PostUpdateDocumentBookmarkRequest.rb → UpdateBookmarkRequest.rb} +8 -8
  286. data/lib/aspose_words_cloud/models/requests/UpdateBorderRequest.rb +11 -11
  287. data/lib/aspose_words_cloud/models/requests/{PostCommentRequest.rb → UpdateCommentRequest.rb} +12 -12
  288. data/lib/aspose_words_cloud/models/requests/UpdateDrawingObjectRequest.rb +89 -0
  289. data/lib/aspose_words_cloud/models/requests/{PostDrawingObjectRequest.rb → UpdateDrawingObjectWithoutNodePathRequest.rb} +11 -15
  290. data/lib/aspose_words_cloud/models/requests/{PostFieldRequest.rb → UpdateFieldRequest.rb} +15 -15
  291. data/lib/aspose_words_cloud/models/requests/{PostUpdateDocumentFieldsRequest.rb → UpdateFieldsRequest.rb} +8 -8
  292. data/lib/aspose_words_cloud/models/requests/UpdateFootnoteRequest.rb +85 -0
  293. data/lib/aspose_words_cloud/models/requests/{PostFootnoteRequest.rb → UpdateFootnoteWithoutNodePathRequest.rb} +11 -15
  294. data/lib/aspose_words_cloud/models/requests/UpdateFormFieldRequest.rb +85 -0
  295. data/lib/aspose_words_cloud/models/requests/{PostFormFieldRequest.rb → UpdateFormFieldWithoutNodePathRequest.rb} +11 -15
  296. data/lib/aspose_words_cloud/models/requests/{PostDocumentParagraphFormatRequest.rb → UpdateParagraphFormatRequest.rb} +14 -14
  297. data/lib/aspose_words_cloud/models/requests/{PostDocumentParagraphRunFontRequest.rb → UpdateRunFontRequest.rb} +12 -12
  298. data/lib/aspose_words_cloud/models/requests/{PostRunRequest.rb → UpdateRunRequest.rb} +10 -10
  299. data/lib/aspose_words_cloud/models/requests/UpdateSectionPageSetupRequest.rb +9 -9
  300. data/lib/aspose_words_cloud/models/requests/UpdateTableCellFormatRequest.rb +7 -7
  301. data/lib/aspose_words_cloud/models/requests/UpdateTablePropertiesRequest.rb +12 -12
  302. data/lib/aspose_words_cloud/models/requests/UpdateTablePropertiesWithoutNodePathRequest.rb +81 -0
  303. data/lib/aspose_words_cloud/models/requests/UpdateTableRowFormatRequest.rb +7 -7
  304. data/lib/aspose_words_cloud/models/requests/UploadFileRequest.rb +53 -0
  305. data/lib/aspose_words_cloud/models/{protection_response.rb → response_error.rb} +38 -33
  306. data/lib/aspose_words_cloud/models/revisions_modification_response.rb +11 -26
  307. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +12 -12
  308. data/lib/aspose_words_cloud/models/run.rb +5 -5
  309. data/lib/aspose_words_cloud/models/run_link.rb +5 -5
  310. data/lib/aspose_words_cloud/models/run_response.rb +11 -26
  311. data/lib/aspose_words_cloud/models/runs.rb +3 -3
  312. data/lib/aspose_words_cloud/models/runs_response.rb +11 -26
  313. data/lib/aspose_words_cloud/models/save_options_data.rb +9 -9
  314. data/lib/aspose_words_cloud/models/save_response.rb +10 -25
  315. data/lib/aspose_words_cloud/models/save_result.rb +4 -4
  316. data/lib/aspose_words_cloud/models/search_response.rb +12 -27
  317. data/lib/aspose_words_cloud/models/search_result.rb +3 -3
  318. data/lib/aspose_words_cloud/models/search_results_collection.rb +3 -3
  319. data/lib/aspose_words_cloud/models/section.rb +8 -8
  320. data/lib/aspose_words_cloud/models/section_link.rb +3 -3
  321. data/lib/aspose_words_cloud/models/section_link_collection.rb +4 -4
  322. data/lib/aspose_words_cloud/models/section_link_collection_response.rb +11 -26
  323. data/lib/aspose_words_cloud/models/section_page_setup_response.rb +11 -26
  324. data/lib/aspose_words_cloud/models/section_response.rb +11 -26
  325. data/lib/aspose_words_cloud/models/split_document_response.rb +10 -25
  326. data/lib/aspose_words_cloud/models/split_document_result.rb +4 -4
  327. data/lib/aspose_words_cloud/models/stat_data_response.rb +12 -27
  328. data/lib/aspose_words_cloud/models/storage_file.rb +257 -0
  329. data/lib/aspose_words_cloud/models/story_child_nodes.rb +3 -3
  330. data/lib/aspose_words_cloud/models/string_format_data.rb +1 -1
  331. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +21 -21
  332. data/lib/aspose_words_cloud/models/table.rb +6 -6
  333. data/lib/aspose_words_cloud/models/table_cell.rb +4 -4
  334. data/lib/aspose_words_cloud/models/table_cell_format.rb +14 -14
  335. data/lib/aspose_words_cloud/models/table_cell_format_response.rb +11 -26
  336. data/lib/aspose_words_cloud/models/table_cell_insert.rb +3 -3
  337. data/lib/aspose_words_cloud/models/table_cell_response.rb +11 -26
  338. data/lib/aspose_words_cloud/models/table_insert.rb +12 -12
  339. data/lib/aspose_words_cloud/models/table_link.rb +4 -4
  340. data/lib/aspose_words_cloud/models/table_link_collection.rb +4 -4
  341. data/lib/aspose_words_cloud/models/table_link_collection_response.rb +11 -26
  342. data/lib/aspose_words_cloud/models/table_properties.rb +6 -6
  343. data/lib/aspose_words_cloud/models/table_properties_response.rb +11 -26
  344. data/lib/aspose_words_cloud/models/table_response.rb +11 -26
  345. data/lib/aspose_words_cloud/models/table_row.rb +5 -5
  346. data/lib/aspose_words_cloud/models/table_row_format.rb +4 -4
  347. data/lib/aspose_words_cloud/models/table_row_format_response.rb +11 -26
  348. data/lib/aspose_words_cloud/models/table_row_insert.rb +4 -4
  349. data/lib/aspose_words_cloud/models/table_row_response.rb +11 -26
  350. data/lib/aspose_words_cloud/models/text_save_options_data.rb +59 -22
  351. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +37 -27
  352. data/lib/aspose_words_cloud/models/watermark_text.rb +4 -4
  353. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +10 -10
  354. data/lib/aspose_words_cloud/models/words_api_error_response.rb +17 -32
  355. data/lib/aspose_words_cloud/models/words_api_link.rb +5 -5
  356. data/lib/aspose_words_cloud/models/words_response.rb +207 -0
  357. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +17 -17
  358. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +11 -11
  359. data/lib/aspose_words_cloud/models/xml_color.rb +4 -4
  360. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +18 -18
  361. data/lib/aspose_words_cloud/version.rb +2 -2
  362. metadata +118 -65
  363. data/lib/aspose_words_cloud/models/requests/PostExecuteTemplateRequest.rb +0 -81
  364. data/lib/aspose_words_cloud/models/requests/PutExecuteTemplateOnlineRequest.rb +0 -65
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
- # <copyright company="Aspose" file="PostRunRequest.rb">
4
- # Copyright (c) 2018 Aspose.Words for Cloud
3
+ # <copyright company="Aspose" file="UpdateRunRequest.rb">
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -28,9 +28,9 @@
28
28
  module AsposeWordsCloud
29
29
 
30
30
  #
31
- # Request model for post_run operation.
31
+ # Request model for update_run operation.
32
32
  #
33
- class PostRunRequest
33
+ class UpdateRunRequest
34
34
 
35
35
  # The document name.
36
36
  attr_accessor :name
@@ -38,17 +38,17 @@ module AsposeWordsCloud
38
38
  attr_accessor :run
39
39
  # Path to parent paragraph.
40
40
  attr_accessor :paragraph_path
41
- # Object's index
41
+ # Object index.
42
42
  attr_accessor :index
43
43
  # Original document folder.
44
44
  attr_accessor :folder
45
- # File storage, which have to be used.
45
+ # Original document storage.
46
46
  attr_accessor :storage
47
47
  # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
48
48
  attr_accessor :load_encoding
49
49
  # Password for opening an encrypted document.
50
50
  attr_accessor :password
51
- # Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
51
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
52
52
  attr_accessor :dest_file_name
53
53
  # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
54
54
  attr_accessor :revision_author
@@ -60,12 +60,12 @@ module AsposeWordsCloud
60
60
  # @param name The document name.
61
61
  # @param run Run data.
62
62
  # @param paragraph_path Path to parent paragraph.
63
- # @param index Object's index
63
+ # @param index Object index.
64
64
  # @param folder Original document folder.
65
- # @param storage File storage, which have to be used.
65
+ # @param storage Original document storage.
66
66
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
67
67
  # @param password Password for opening an encrypted document.
68
- # @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
68
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
69
69
  # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
70
70
  # @param revision_date_time The date and time to use for revisions.
71
71
  def initialize(name, run, paragraph_path, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="UpdateSectionPageSetupRequest.rb">
4
- # Copyright (c) 2018 Aspose.Words for Cloud
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -34,19 +34,19 @@ module AsposeWordsCloud
34
34
 
35
35
  # The document name.
36
36
  attr_accessor :name
37
- # Section index
37
+ # Section index.
38
38
  attr_accessor :section_index
39
- # Page setup properties dto
39
+ # Page setup properties dto.
40
40
  attr_accessor :page_setup
41
41
  # Original document folder.
42
42
  attr_accessor :folder
43
- # File storage, which have to be used.
43
+ # Original document storage.
44
44
  attr_accessor :storage
45
45
  # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
46
46
  attr_accessor :load_encoding
47
47
  # Password for opening an encrypted document.
48
48
  attr_accessor :password
49
- # Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
49
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
50
50
  attr_accessor :dest_file_name
51
51
  # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
52
52
  attr_accessor :revision_author
@@ -56,13 +56,13 @@ module AsposeWordsCloud
56
56
  #
57
57
  # Initializes a new instance.
58
58
  # @param name The document name.
59
- # @param section_index Section index
60
- # @param page_setup Page setup properties dto
59
+ # @param section_index Section index.
60
+ # @param page_setup Page setup properties dto.
61
61
  # @param folder Original document folder.
62
- # @param storage File storage, which have to be used.
62
+ # @param storage Original document storage.
63
63
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
64
64
  # @param password Password for opening an encrypted document.
65
- # @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
65
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
66
66
  # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
67
67
  # @param revision_date_time The date and time to use for revisions.
68
68
  def initialize(name, section_index, page_setup, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="UpdateTableCellFormatRequest.rb">
4
- # Copyright (c) 2018 Aspose.Words for Cloud
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -36,17 +36,17 @@ module AsposeWordsCloud
36
36
  attr_accessor :name
37
37
  # Path to table row.
38
38
  attr_accessor :table_row_path
39
- # Object's index
39
+ # Object index.
40
40
  attr_accessor :index
41
41
  # Original document folder.
42
42
  attr_accessor :folder
43
- # File storage, which have to be used.
43
+ # Original document storage.
44
44
  attr_accessor :storage
45
45
  # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
46
46
  attr_accessor :load_encoding
47
47
  # Password for opening an encrypted document.
48
48
  attr_accessor :password
49
- # Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
49
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
50
50
  attr_accessor :dest_file_name
51
51
  # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
52
52
  attr_accessor :revision_author
@@ -59,12 +59,12 @@ module AsposeWordsCloud
59
59
  # Initializes a new instance.
60
60
  # @param name The document name.
61
61
  # @param table_row_path Path to table row.
62
- # @param index Object's index
62
+ # @param index Object index.
63
63
  # @param folder Original document folder.
64
- # @param storage File storage, which have to be used.
64
+ # @param storage Original document storage.
65
65
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
66
66
  # @param password Password for opening an encrypted document.
67
- # @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
67
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
68
68
  # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
69
69
  # @param revision_date_time The date and time to use for revisions.
70
70
  # @param format The properties.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="UpdateTablePropertiesRequest.rb">
4
- # Copyright (c) 2018 Aspose.Words for Cloud
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -34,17 +34,19 @@ module AsposeWordsCloud
34
34
 
35
35
  # The document name.
36
36
  attr_accessor :name
37
- # Object's index
37
+ # Path to the node, which contains tables.
38
+ attr_accessor :node_path
39
+ # Object index.
38
40
  attr_accessor :index
39
41
  # Original document folder.
40
42
  attr_accessor :folder
41
- # File storage, which have to be used.
43
+ # Original document storage.
42
44
  attr_accessor :storage
43
45
  # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
44
46
  attr_accessor :load_encoding
45
47
  # Password for opening an encrypted document.
46
48
  attr_accessor :password
47
- # Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
49
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
48
50
  attr_accessor :dest_file_name
49
51
  # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
50
52
  attr_accessor :revision_author
@@ -52,24 +54,23 @@ module AsposeWordsCloud
52
54
  attr_accessor :revision_date_time
53
55
  # The properties.
54
56
  attr_accessor :properties
55
- # Path to node, which contains tables.
56
- attr_accessor :node_path
57
57
 
58
58
  #
59
59
  # Initializes a new instance.
60
60
  # @param name The document name.
61
- # @param index Object's index
61
+ # @param node_path Path to the node, which contains tables.
62
+ # @param index Object index.
62
63
  # @param folder Original document folder.
63
- # @param storage File storage, which have to be used.
64
+ # @param storage Original document storage.
64
65
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
65
66
  # @param password Password for opening an encrypted document.
66
- # @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
67
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
67
68
  # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
68
69
  # @param revision_date_time The date and time to use for revisions.
69
70
  # @param properties The properties.
70
- # @param node_path Path to node, which contains tables.
71
- def initialize(name, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil, properties = nil, node_path = nil)
71
+ def initialize(name, node_path, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil, properties = nil)
72
72
  self.name = name
73
+ self.node_path = node_path
73
74
  self.index = index
74
75
  self.folder = folder
75
76
  self.storage = storage
@@ -79,7 +80,6 @@ module AsposeWordsCloud
79
80
  self.revision_author = revision_author
80
81
  self.revision_date_time = revision_date_time
81
82
  self.properties = properties
82
- self.node_path = node_path
83
83
  end
84
84
  end
85
85
  end
@@ -0,0 +1,81 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="UpdateTablePropertiesWithoutNodePathRequest.rb">
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ module AsposeWordsCloud
29
+
30
+ #
31
+ # Request model for update_table_properties_without_node_path operation.
32
+ #
33
+ class UpdateTablePropertiesWithoutNodePathRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Object index.
38
+ attr_accessor :index
39
+ # Original document folder.
40
+ attr_accessor :folder
41
+ # Original document storage.
42
+ attr_accessor :storage
43
+ # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
44
+ attr_accessor :load_encoding
45
+ # Password for opening an encrypted document.
46
+ attr_accessor :password
47
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
48
+ attr_accessor :dest_file_name
49
+ # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
50
+ attr_accessor :revision_author
51
+ # The date and time to use for revisions.
52
+ attr_accessor :revision_date_time
53
+ # The properties.
54
+ attr_accessor :properties
55
+
56
+ #
57
+ # Initializes a new instance.
58
+ # @param name The document name.
59
+ # @param index Object index.
60
+ # @param folder Original document folder.
61
+ # @param storage Original document storage.
62
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
63
+ # @param password Password for opening an encrypted document.
64
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
65
+ # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
66
+ # @param revision_date_time The date and time to use for revisions.
67
+ # @param properties The properties.
68
+ def initialize(name, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil, properties = nil)
69
+ self.name = name
70
+ self.index = index
71
+ self.folder = folder
72
+ self.storage = storage
73
+ self.load_encoding = load_encoding
74
+ self.password = password
75
+ self.dest_file_name = dest_file_name
76
+ self.revision_author = revision_author
77
+ self.revision_date_time = revision_date_time
78
+ self.properties = properties
79
+ end
80
+ end
81
+ end
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose" file="UpdateTableRowFormatRequest.rb">
4
- # Copyright (c) 2018 Aspose.Words for Cloud
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -36,17 +36,17 @@ module AsposeWordsCloud
36
36
  attr_accessor :name
37
37
  # Path to table.
38
38
  attr_accessor :table_path
39
- # Object's index
39
+ # Object index.
40
40
  attr_accessor :index
41
41
  # Original document folder.
42
42
  attr_accessor :folder
43
- # File storage, which have to be used.
43
+ # Original document storage.
44
44
  attr_accessor :storage
45
45
  # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
46
46
  attr_accessor :load_encoding
47
47
  # Password for opening an encrypted document.
48
48
  attr_accessor :password
49
- # Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
49
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
50
50
  attr_accessor :dest_file_name
51
51
  # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
52
52
  attr_accessor :revision_author
@@ -59,12 +59,12 @@ module AsposeWordsCloud
59
59
  # Initializes a new instance.
60
60
  # @param name The document name.
61
61
  # @param table_path Path to table.
62
- # @param index Object's index
62
+ # @param index Object index.
63
63
  # @param folder Original document folder.
64
- # @param storage File storage, which have to be used.
64
+ # @param storage Original document storage.
65
65
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
66
66
  # @param password Password for opening an encrypted document.
67
- # @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
67
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
68
68
  # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
69
69
  # @param revision_date_time The date and time to use for revisions.
70
70
  # @param format Table row format.
@@ -0,0 +1,53 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="UploadFileRequest.rb">
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ module AsposeWordsCloud
29
+
30
+ #
31
+ # Request model for upload_file operation.
32
+ #
33
+ class UploadFileRequest
34
+
35
+ # File to upload
36
+ attr_accessor :file
37
+ # Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.
38
+ attr_accessor :path
39
+ # Storage name
40
+ attr_accessor :storage_name
41
+
42
+ #
43
+ # Initializes a new instance.
44
+ # @param file File to upload
45
+ # @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.
46
+ # @param storage_name Storage name
47
+ def initialize(file, path, storage_name = nil)
48
+ self.file = file
49
+ self.path = path
50
+ self.storage_name = storage_name
51
+ end
52
+ end
53
+ end
@@ -4,8 +4,8 @@ require 'date'
4
4
  module AsposeWordsCloud
5
5
  #
6
6
  # --------------------------------------------------------------------------------------------------------------------
7
- # <copyright company="Aspose" file="ProtectionResponse.rb">
8
- # Copyright (c) 2017 Aspose.Words for Cloud
7
+ # <copyright company="Aspose" file="ResponseError.rb">
8
+ # Copyright (c) 2019 Aspose.Words for Cloud
9
9
  # </copyright>
10
10
  # <summary>
11
11
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -29,38 +29,43 @@ module AsposeWordsCloud
29
29
  # --------------------------------------------------------------------------------------------------------------------
30
30
  #
31
31
 
32
- # Response for the request on changing protection of the document
33
- class ProtectionResponse
34
- # Response status code.
32
+ # Api error.
33
+ class ResponseError
34
+ # Gets or sets api error code.
35
35
  attr_accessor :code
36
36
 
37
- # Response status.
38
- attr_accessor :status
37
+ # Gets or sets error message.
38
+ attr_accessor :message
39
39
 
40
- # Link to the document
41
- attr_accessor :document_link
40
+ # Gets or sets error description.
41
+ attr_accessor :description
42
42
 
43
- # Result of the changing of protection
44
- attr_accessor :protection_result
43
+ # Gets or sets server datetime.
44
+ attr_accessor :date_time
45
+
46
+ # Gets or sets inner error.
47
+ attr_accessor :inner_error
45
48
 
46
49
 
47
50
  # Attribute mapping from ruby-style variable name to JSON key.
48
51
  def self.attribute_map
49
52
  {
50
53
  :'code' => :'Code',
51
- :'status' => :'Status',
52
- :'document_link' => :'DocumentLink',
53
- :'protection_result' => :'ProtectionResult'
54
+ :'message' => :'Message',
55
+ :'description' => :'Description',
56
+ :'date_time' => :'DateTime',
57
+ :'inner_error' => :'InnerError'
54
58
  }
55
59
  end
56
60
 
57
61
  # Attribute type mapping.
58
62
  def self.swagger_types
59
63
  {
60
- :'code' => :'Integer',
61
- :'status' => :'String',
62
- :'document_link' => :'FileLink',
63
- :'protection_result' => :'BOOLEAN'
64
+ :'code' => :'String',
65
+ :'message' => :'String',
66
+ :'description' => :'String',
67
+ :'date_time' => :'DateTime',
68
+ :'inner_error' => :'ResponseError'
64
69
  }
65
70
  end
66
71
 
@@ -76,16 +81,20 @@ module AsposeWordsCloud
76
81
  self.code = attributes[:'Code']
77
82
  end
78
83
 
79
- if attributes.key?(:'Status')
80
- self.status = attributes[:'Status']
84
+ if attributes.key?(:'Message')
85
+ self.message = attributes[:'Message']
86
+ end
87
+
88
+ if attributes.key?(:'Description')
89
+ self.description = attributes[:'Description']
81
90
  end
82
91
 
83
- if attributes.key?(:'DocumentLink')
84
- self.document_link = attributes[:'DocumentLink']
92
+ if attributes.key?(:'DateTime')
93
+ self.date_time = attributes[:'DateTime']
85
94
  end
86
95
 
87
- if attributes.key?(:'ProtectionResult')
88
- self.protection_result = attributes[:'ProtectionResult']
96
+ if attributes.key?(:'InnerError')
97
+ self.inner_error = attributes[:'InnerError']
89
98
  end
90
99
 
91
100
  end
@@ -94,17 +103,12 @@ module AsposeWordsCloud
94
103
  # @return Array for valid properies with the reasons
95
104
  def list_invalid_properties
96
105
  invalid_properties = []
97
- if @code.nil?
98
- invalid_properties.push("invalid value for 'code', code cannot be nil.")
99
- end
100
-
101
106
  return invalid_properties
102
107
  end
103
108
 
104
109
  # Check to see if the all the properties in the model are valid
105
110
  # @return true if the model is valid
106
111
  def valid?
107
- return false if @code.nil?
108
112
  return true
109
113
  end
110
114
 
@@ -114,9 +118,10 @@ module AsposeWordsCloud
114
118
  return true if self.equal?(other)
115
119
  self.class == other.class &&
116
120
  code == other.code &&
117
- status == other.status &&
118
- document_link == other.document_link &&
119
- protection_result == other.protection_result
121
+ message == other.message &&
122
+ description == other.description &&
123
+ date_time == other.date_time &&
124
+ inner_error == other.inner_error
120
125
  end
121
126
 
122
127
  # @see the `==` method
@@ -128,7 +133,7 @@ module AsposeWordsCloud
128
133
  # Calculates hash code according to all attributes.
129
134
  # @return [Fixnum] Hash code
130
135
  def hash
131
- [code, status, document_link, protection_result].hash
136
+ [code, message, description, date_time, inner_error].hash
132
137
  end
133
138
 
134
139
  # Builds the object from hash