aspose_words_cloud 19.2 → 19.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud.rb +12 -7
- data/lib/aspose_words_cloud/api/words_api.rb +7469 -3615
- data/lib/aspose_words_cloud/api_client.rb +4 -2
- data/lib/aspose_words_cloud/api_error.rb +5 -1
- data/lib/aspose_words_cloud/configuration.rb +7 -37
- data/lib/aspose_words_cloud/models/available_fonts_response.rb +13 -28
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +24 -24
- data/lib/aspose_words_cloud/models/bookmark.rb +2 -2
- data/lib/aspose_words_cloud/models/bookmark_data.rb +1 -1
- data/lib/aspose_words_cloud/models/bookmark_response.rb +10 -25
- data/lib/aspose_words_cloud/models/bookmarks.rb +3 -3
- data/lib/aspose_words_cloud/models/bookmarks_outline_level_data.rb +4 -4
- data/lib/aspose_words_cloud/models/bookmarks_response.rb +10 -25
- data/lib/aspose_words_cloud/models/border.rb +2 -2
- data/lib/aspose_words_cloud/models/border_response.rb +10 -25
- data/lib/aspose_words_cloud/models/borders_collection.rb +3 -3
- data/lib/aspose_words_cloud/models/borders_response.rb +10 -25
- data/lib/aspose_words_cloud/models/classification_response.rb +13 -28
- data/lib/aspose_words_cloud/models/classification_result.rb +1 -1
- data/lib/aspose_words_cloud/models/comment.rb +9 -9
- data/lib/aspose_words_cloud/models/comment_link.rb +2 -2
- data/lib/aspose_words_cloud/models/comment_response.rb +11 -26
- data/lib/aspose_words_cloud/models/comments_collection.rb +3 -3
- data/lib/aspose_words_cloud/models/comments_response.rb +11 -26
- data/lib/aspose_words_cloud/models/compare_data.rb +5 -5
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +22 -12
- data/lib/aspose_words_cloud/models/document.rb +7 -7
- data/lib/aspose_words_cloud/models/document_entry.rb +3 -3
- data/lib/aspose_words_cloud/models/document_entry_list.rb +2 -2
- data/lib/aspose_words_cloud/models/document_position.rb +3 -3
- data/lib/aspose_words_cloud/models/document_properties.rb +3 -3
- data/lib/aspose_words_cloud/models/document_properties_response.rb +10 -25
- data/lib/aspose_words_cloud/models/document_property.rb +5 -5
- data/lib/aspose_words_cloud/models/document_property_response.rb +10 -25
- data/lib/aspose_words_cloud/models/document_response.rb +10 -25
- data/lib/aspose_words_cloud/models/document_stat_data.rb +7 -7
- data/lib/aspose_words_cloud/models/downsample_options_data.rb +5 -5
- data/lib/aspose_words_cloud/models/drawing_object.rb +13 -13
- data/lib/aspose_words_cloud/models/drawing_object_collection.rb +3 -3
- data/lib/aspose_words_cloud/models/drawing_object_link.rb +3 -3
- data/lib/aspose_words_cloud/models/drawing_object_response.rb +10 -25
- data/lib/aspose_words_cloud/models/drawing_objects_response.rb +10 -25
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +24 -24
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +58 -48
- data/lib/aspose_words_cloud/models/{text_items_response.rb → error.rb} +31 -26
- data/lib/aspose_words_cloud/models/{aspose_response.rb → error_details.rb} +22 -22
- data/lib/aspose_words_cloud/models/field.rb +6 -6
- data/lib/aspose_words_cloud/models/field_collection.rb +3 -3
- data/lib/aspose_words_cloud/models/field_link.rb +5 -5
- data/lib/aspose_words_cloud/models/field_names.rb +4 -4
- data/lib/aspose_words_cloud/models/field_names_response.rb +10 -25
- data/lib/aspose_words_cloud/models/field_response.rb +11 -26
- data/lib/aspose_words_cloud/models/fields_response.rb +11 -26
- data/lib/aspose_words_cloud/models/file_link.rb +5 -5
- data/lib/aspose_words_cloud/models/{text_items.rb → files_list.rb} +13 -23
- data/lib/aspose_words_cloud/models/files_upload_result.rb +221 -0
- data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +14 -14
- data/lib/aspose_words_cloud/models/font.rb +28 -28
- data/lib/aspose_words_cloud/models/font_info.rb +6 -6
- data/lib/aspose_words_cloud/models/font_response.rb +11 -26
- data/lib/aspose_words_cloud/models/footnote.rb +8 -8
- data/lib/aspose_words_cloud/models/footnote_collection.rb +3 -3
- data/lib/aspose_words_cloud/models/footnote_link.rb +3 -3
- data/lib/aspose_words_cloud/models/footnote_response.rb +11 -26
- data/lib/aspose_words_cloud/models/footnotes_response.rb +11 -26
- data/lib/aspose_words_cloud/models/footnotes_stat_data.rb +4 -4
- data/lib/aspose_words_cloud/models/form_field.rb +12 -12
- data/lib/aspose_words_cloud/models/form_field_checkbox.rb +12 -12
- data/lib/aspose_words_cloud/models/form_field_collection.rb +3 -3
- data/lib/aspose_words_cloud/models/form_field_drop_down.rb +13 -13
- data/lib/aspose_words_cloud/models/form_field_response.rb +11 -26
- data/lib/aspose_words_cloud/models/form_field_text_input.rb +15 -15
- data/lib/aspose_words_cloud/models/form_fields_response.rb +11 -26
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +24 -24
- data/lib/aspose_words_cloud/models/graphics_quality_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/header_footer.rb +6 -6
- data/lib/aspose_words_cloud/models/header_footer_link.rb +4 -4
- data/lib/aspose_words_cloud/models/header_footer_link_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/header_footer_response.rb +11 -26
- data/lib/aspose_words_cloud/models/header_footers_response.rb +11 -26
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +27 -27
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +58 -48
- data/lib/aspose_words_cloud/models/hyperlink.rb +4 -4
- data/lib/aspose_words_cloud/models/hyperlink_response.rb +10 -25
- data/lib/aspose_words_cloud/models/hyperlinks.rb +3 -3
- data/lib/aspose_words_cloud/models/hyperlinks_response.rb +10 -25
- data/lib/aspose_words_cloud/models/image_save_options_data.rb +25 -25
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +24 -24
- data/lib/aspose_words_cloud/models/link.rb +6 -6
- data/lib/aspose_words_cloud/models/link_element.rb +2 -2
- data/lib/aspose_words_cloud/models/load_web_document_data.rb +4 -4
- data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +19 -9
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +58 -48
- data/lib/aspose_words_cloud/models/modification_operation_result.rb +4 -4
- data/lib/aspose_words_cloud/models/node_link.rb +4 -4
- data/lib/aspose_words_cloud/models/odt_save_options_data.rb +12 -12
- data/lib/aspose_words_cloud/models/office_math_link.rb +4 -4
- data/lib/aspose_words_cloud/models/office_math_object.rb +7 -7
- data/lib/aspose_words_cloud/models/office_math_object_response.rb +11 -26
- data/lib/aspose_words_cloud/models/office_math_objects_collection.rb +3 -3
- data/lib/aspose_words_cloud/models/office_math_objects_response.rb +11 -26
- data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +12 -12
- data/lib/aspose_words_cloud/models/outline_options_data.rb +7 -7
- data/lib/aspose_words_cloud/models/page_number.rb +5 -5
- data/lib/aspose_words_cloud/models/page_setup.rb +21 -21
- data/lib/aspose_words_cloud/models/page_stat_data.rb +6 -6
- data/lib/aspose_words_cloud/models/paragraph.rb +5 -5
- data/lib/aspose_words_cloud/models/paragraph_format.rb +13 -13
- data/lib/aspose_words_cloud/models/paragraph_format_response.rb +11 -26
- data/lib/aspose_words_cloud/models/paragraph_insert.rb +3 -3
- data/lib/aspose_words_cloud/models/paragraph_link.rb +5 -5
- data/lib/aspose_words_cloud/models/paragraph_link_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +11 -26
- data/lib/aspose_words_cloud/models/paragraph_response.rb +11 -26
- data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +16 -16
- data/lib/aspose_words_cloud/models/pdf_digital_signature_details_data.rb +7 -7
- data/lib/aspose_words_cloud/models/pdf_encryption_details_data.rb +6 -6
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +37 -37
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +24 -24
- data/lib/aspose_words_cloud/models/preferred_width.rb +2 -2
- data/lib/aspose_words_cloud/models/protection_data.rb +3 -3
- data/lib/aspose_words_cloud/models/protection_data_response.rb +12 -27
- data/lib/aspose_words_cloud/models/protection_request.rb +5 -5
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +16 -16
- data/lib/aspose_words_cloud/models/range_document.rb +207 -0
- data/lib/aspose_words_cloud/models/range_text_response.rb +217 -0
- data/lib/aspose_words_cloud/models/{text_item.rb → replace_range.rb} +6 -16
- data/lib/aspose_words_cloud/models/{replace_text_request.rb → replace_text_parameters.rb} +8 -8
- data/lib/aspose_words_cloud/models/replace_text_response.rb +11 -26
- data/lib/aspose_words_cloud/models/requests/AcceptAllRevisionsRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/{PostAppendDocumentRequest.rb → AppendDocumentRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/ClassifyRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/{PostCompareDocumentRequest.rb → CompareDocumentRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/{PutConvertDocumentRequest.rb → ConvertDocumentRequest.rb} +11 -11
- data/lib/aspose_words_cloud/models/requests/CopyFileRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/CopyFolderRequest.rb +57 -0
- data/lib/aspose_words_cloud/models/requests/{PutCreateDocumentRequest.rb → CreateDocumentRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/CreateFolderRequest.rb +49 -0
- data/lib/aspose_words_cloud/models/requests/CreateOrUpdateDocumentPropertyRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/DeleteBorderRequest.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/DeleteBordersRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/DeleteCommentRequest.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/DeleteDocumentPropertyRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/DeleteDrawingObjectRequest.rb +14 -14
- data/lib/aspose_words_cloud/models/requests/DeleteDrawingObjectWithoutNodePathRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/DeleteFieldRequest.rb +14 -14
- data/lib/aspose_words_cloud/models/requests/DeleteFieldWithoutNodePathRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/DeleteFieldsRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/{DeleteDocumentWatermarkRequest.rb → DeleteFieldsWithoutNodePathRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/DeleteFileRequest.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/DeleteFolderRequest.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/DeleteFootnoteRequest.rb +14 -14
- data/lib/aspose_words_cloud/models/requests/DeleteFootnoteWithoutNodePathRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/DeleteFormFieldRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/DeleteFormFieldWithoutNodePathRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/DeleteHeaderFooterRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/DeleteHeadersFootersRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/{DeleteDocumentMacrosRequest.rb → DeleteMacrosRequest.rb} +10 -10
- data/lib/aspose_words_cloud/models/requests/DeleteOfficeMathObjectRequest.rb +14 -14
- data/lib/aspose_words_cloud/models/requests/DeleteOfficeMathObjectWithoutNodePathRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/DeleteParagraphRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/DeleteParagraphWithoutNodePathRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/DeleteRunRequest.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/DeleteTableCellRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/DeleteTableRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/DeleteTableRowRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/DeleteTableWithoutNodePathRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/DeleteWatermarkRequest.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/DownloadFileRequest.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/{PutExecuteMailMergeOnlineRequest.rb → ExecuteMailMergeOnlineRequest.rb} +4 -4
- data/lib/aspose_words_cloud/models/requests/{PostDocumentExecuteMailMergeRequest.rb → ExecuteMailMergeRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/GetAvailableFontsRequest.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/{GetDocumentBookmarkByNameRequest.rb → GetBookmarkByNameRequest.rb} +6 -6
- data/lib/aspose_words_cloud/models/requests/{GetDocumentBookmarksRequest.rb → GetBookmarksRequest.rb} +6 -6
- data/lib/aspose_words_cloud/models/requests/GetBorderRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/GetBordersRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetCommentRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/GetCommentsRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectByIndexRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectByIndexWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectImageDataRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectImageDataWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectOleDataRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectOleDataWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectsRequest.rb +8 -8
- data/lib/aspose_words_cloud/models/requests/GetDocumentDrawingObjectsWithoutNodePathRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/{PutDocumentFieldNamesRequest.rb → GetDocumentFieldNamesOnlineRequest.rb} +4 -4
- data/lib/aspose_words_cloud/models/requests/GetDocumentFieldNamesRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetDocumentHyperlinkByIndexRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetDocumentHyperlinksRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetDocumentPropertiesRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetDocumentPropertyRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetDocumentProtectionRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetDocumentRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetDocumentStatisticsRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/GetDocumentWithFormatRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/GetFieldRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/GetFieldWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetFieldsRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/{GetDocumentTextItemsRequest.rb → GetFieldsWithoutNodePathRequest.rb} +6 -6
- data/lib/aspose_words_cloud/models/requests/GetFilesListRequest.rb +49 -0
- data/lib/aspose_words_cloud/models/requests/GetFootnoteRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphFormatRequest.rb → GetFootnoteWithoutNodePathRequest.rb} +9 -13
- data/lib/aspose_words_cloud/models/requests/GetFootnotesRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetFootnotesWithoutNodePathRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/GetFormFieldRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetFormFieldWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetFormFieldsRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetFormFieldsWithoutNodePathRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/GetHeaderFooterOfSectionRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetHeaderFooterRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetHeaderFootersRequest.rb +8 -8
- data/lib/aspose_words_cloud/models/requests/GetOfficeMathObjectRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetOfficeMathObjectWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetOfficeMathObjectsRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetOfficeMathObjectsWithoutNodePathRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphRequest.rb → GetParagraphFormatRequest.rb} +13 -13
- data/lib/aspose_words_cloud/models/requests/GetParagraphFormatWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetParagraphRequest.rb +69 -0
- data/lib/aspose_words_cloud/models/requests/GetParagraphWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphsRequest.rb → GetParagraphsRequest.rb} +11 -11
- data/lib/aspose_words_cloud/models/requests/GetParagraphsWithoutNodePathRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/GetRangeTextRequest.rb +69 -0
- data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphRunRequest.rb → GetRunFontRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphRunFontRequest.rb → GetRunRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/{GetDocumentParagraphRunsRequest.rb → GetRunsRequest.rb} +6 -6
- data/lib/aspose_words_cloud/models/requests/GetSectionPageSetupRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetSectionRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetSectionsRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/GetTableCellFormatRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetTableCellRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetTablePropertiesRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetTablePropertiesWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetTableRequest.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/GetTableRowFormatRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetTableRowRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/GetTableWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetTablesRequest.rb +8 -8
- data/lib/aspose_words_cloud/models/requests/GetTablesWithoutNodePathRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/{PutCommentRequest.rb → InsertCommentRequest.rb} +10 -10
- data/lib/aspose_words_cloud/models/requests/InsertDrawingObjectRequest.rb +85 -0
- data/lib/aspose_words_cloud/models/requests/{PutDrawingObjectRequest.rb → InsertDrawingObjectWithoutNodePathRequest.rb} +9 -13
- data/lib/aspose_words_cloud/models/requests/InsertFieldRequest.rb +85 -0
- data/lib/aspose_words_cloud/models/requests/{PutFieldRequest.rb → InsertFieldWithoutNodePathRequest.rb} +9 -13
- data/lib/aspose_words_cloud/models/requests/InsertFootnoteRequest.rb +81 -0
- data/lib/aspose_words_cloud/models/requests/{PutFootnoteRequest.rb → InsertFootnoteWithoutNodePathRequest.rb} +9 -13
- data/lib/aspose_words_cloud/models/requests/InsertFormFieldRequest.rb +85 -0
- data/lib/aspose_words_cloud/models/requests/{PutFormFieldRequest.rb → InsertFormFieldWithoutNodePathRequest.rb} +9 -13
- data/lib/aspose_words_cloud/models/requests/{PutHeaderFooterRequest.rb → InsertHeaderFooterRequest.rb} +13 -13
- data/lib/aspose_words_cloud/models/requests/{PostInsertPageNumbersRequest.rb → InsertPageNumbersRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/{PutParagraphRequest.rb → InsertParagraphRequest.rb} +13 -13
- data/lib/aspose_words_cloud/models/requests/{PutRunRequest.rb → InsertRunRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/InsertTableCellRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/InsertTableRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/InsertTableRowRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/InsertTableWithoutNodePathRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/{PostInsertDocumentWatermarkImageRequest.rb → InsertWatermarkImageRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/{PostInsertDocumentWatermarkTextRequest.rb → InsertWatermarkTextRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/{PostLoadWebDocumentRequest.rb → LoadWebDocumentRequest.rb} +6 -6
- data/lib/aspose_words_cloud/models/requests/MoveFileRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/MoveFolderRequest.rb +57 -0
- data/lib/aspose_words_cloud/models/requests/{PutProtectDocumentRequest.rb → ProtectDocumentRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/RejectAllRevisionsRequest.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/{PostChangeDocumentProtectionRequest.rb → RemoveRangeRequest.rb} +19 -15
- data/lib/aspose_words_cloud/models/requests/RenderDrawingObjectRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/RenderDrawingObjectWithoutNodePathRequest.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/RenderMathObjectRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/RenderMathObjectWithoutNodePathRequest.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/RenderPageRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/RenderParagraphRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/RenderParagraphWithoutNodePathRequest.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/RenderTableRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/RenderTableWithoutNodePathRequest.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/{PostReplaceTextRequest.rb → ReplaceTextRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/ResetCacheRequest.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/SaveAsRangeRequest.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/{PostDocumentSaveAsRequest.rb → SaveAsRequest.rb} +7 -11
- data/lib/aspose_words_cloud/models/requests/{PutDocumentSaveAsTiffRequest.rb → SaveAsTiffRequest.rb} +7 -15
- data/lib/aspose_words_cloud/models/requests/SearchRequest.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/{PostSplitDocumentRequest.rb → SplitDocumentRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/{DeleteUnprotectDocumentRequest.rb → UnprotectDocumentRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/{PostUpdateDocumentBookmarkRequest.rb → UpdateBookmarkRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/UpdateBorderRequest.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/{PostCommentRequest.rb → UpdateCommentRequest.rb} +12 -12
- data/lib/aspose_words_cloud/models/requests/UpdateDrawingObjectRequest.rb +89 -0
- data/lib/aspose_words_cloud/models/requests/{PostDrawingObjectRequest.rb → UpdateDrawingObjectWithoutNodePathRequest.rb} +11 -15
- data/lib/aspose_words_cloud/models/requests/{PostFieldRequest.rb → UpdateFieldRequest.rb} +15 -15
- data/lib/aspose_words_cloud/models/requests/{PostUpdateDocumentFieldsRequest.rb → UpdateFieldsRequest.rb} +8 -8
- data/lib/aspose_words_cloud/models/requests/UpdateFootnoteRequest.rb +85 -0
- data/lib/aspose_words_cloud/models/requests/{PostFootnoteRequest.rb → UpdateFootnoteWithoutNodePathRequest.rb} +11 -15
- data/lib/aspose_words_cloud/models/requests/UpdateFormFieldRequest.rb +85 -0
- data/lib/aspose_words_cloud/models/requests/{PostFormFieldRequest.rb → UpdateFormFieldWithoutNodePathRequest.rb} +11 -15
- data/lib/aspose_words_cloud/models/requests/{PostDocumentParagraphFormatRequest.rb → UpdateParagraphFormatRequest.rb} +14 -14
- data/lib/aspose_words_cloud/models/requests/{PostDocumentParagraphRunFontRequest.rb → UpdateRunFontRequest.rb} +12 -12
- data/lib/aspose_words_cloud/models/requests/{PostRunRequest.rb → UpdateRunRequest.rb} +10 -10
- data/lib/aspose_words_cloud/models/requests/UpdateSectionPageSetupRequest.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/UpdateTableCellFormatRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/UpdateTablePropertiesRequest.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/UpdateTablePropertiesWithoutNodePathRequest.rb +81 -0
- data/lib/aspose_words_cloud/models/requests/UpdateTableRowFormatRequest.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/UploadFileRequest.rb +53 -0
- data/lib/aspose_words_cloud/models/{protection_response.rb → response_error.rb} +38 -33
- data/lib/aspose_words_cloud/models/revisions_modification_response.rb +11 -26
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +12 -12
- data/lib/aspose_words_cloud/models/run.rb +5 -5
- data/lib/aspose_words_cloud/models/run_link.rb +5 -5
- data/lib/aspose_words_cloud/models/run_response.rb +11 -26
- data/lib/aspose_words_cloud/models/runs.rb +3 -3
- data/lib/aspose_words_cloud/models/runs_response.rb +11 -26
- data/lib/aspose_words_cloud/models/save_options_data.rb +9 -9
- data/lib/aspose_words_cloud/models/save_response.rb +10 -25
- data/lib/aspose_words_cloud/models/save_result.rb +4 -4
- data/lib/aspose_words_cloud/models/search_response.rb +12 -27
- data/lib/aspose_words_cloud/models/search_result.rb +3 -3
- data/lib/aspose_words_cloud/models/search_results_collection.rb +3 -3
- data/lib/aspose_words_cloud/models/section.rb +8 -8
- data/lib/aspose_words_cloud/models/section_link.rb +3 -3
- data/lib/aspose_words_cloud/models/section_link_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/section_link_collection_response.rb +11 -26
- data/lib/aspose_words_cloud/models/section_page_setup_response.rb +11 -26
- data/lib/aspose_words_cloud/models/section_response.rb +11 -26
- data/lib/aspose_words_cloud/models/split_document_response.rb +10 -25
- data/lib/aspose_words_cloud/models/split_document_result.rb +4 -4
- data/lib/aspose_words_cloud/models/stat_data_response.rb +12 -27
- data/lib/aspose_words_cloud/models/storage_file.rb +257 -0
- data/lib/aspose_words_cloud/models/story_child_nodes.rb +3 -3
- data/lib/aspose_words_cloud/models/string_format_data.rb +1 -1
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +21 -21
- data/lib/aspose_words_cloud/models/table.rb +6 -6
- data/lib/aspose_words_cloud/models/table_cell.rb +4 -4
- data/lib/aspose_words_cloud/models/table_cell_format.rb +14 -14
- data/lib/aspose_words_cloud/models/table_cell_format_response.rb +11 -26
- data/lib/aspose_words_cloud/models/table_cell_insert.rb +3 -3
- data/lib/aspose_words_cloud/models/table_cell_response.rb +11 -26
- data/lib/aspose_words_cloud/models/table_insert.rb +12 -12
- data/lib/aspose_words_cloud/models/table_link.rb +4 -4
- data/lib/aspose_words_cloud/models/table_link_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/table_link_collection_response.rb +11 -26
- data/lib/aspose_words_cloud/models/table_properties.rb +6 -6
- data/lib/aspose_words_cloud/models/table_properties_response.rb +11 -26
- data/lib/aspose_words_cloud/models/table_response.rb +11 -26
- data/lib/aspose_words_cloud/models/table_row.rb +5 -5
- data/lib/aspose_words_cloud/models/table_row_format.rb +4 -4
- data/lib/aspose_words_cloud/models/table_row_format_response.rb +11 -26
- data/lib/aspose_words_cloud/models/table_row_insert.rb +4 -4
- data/lib/aspose_words_cloud/models/table_row_response.rb +11 -26
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +59 -22
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +37 -27
- data/lib/aspose_words_cloud/models/watermark_text.rb +4 -4
- data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/words_api_error_response.rb +17 -32
- data/lib/aspose_words_cloud/models/words_api_link.rb +5 -5
- data/lib/aspose_words_cloud/models/words_response.rb +207 -0
- data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +17 -17
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/xml_color.rb +4 -4
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +18 -18
- data/lib/aspose_words_cloud/version.rb +2 -2
- metadata +118 -65
- data/lib/aspose_words_cloud/models/requests/PostExecuteTemplateRequest.rb +0 -81
- data/lib/aspose_words_cloud/models/requests/PutExecuteTemplateOnlineRequest.rb +0 -65
@@ -5,7 +5,7 @@ module AsposeWordsCloud
|
|
5
5
|
#
|
6
6
|
# --------------------------------------------------------------------------------------------------------------------
|
7
7
|
# <copyright company="Aspose" file="SectionPageSetupResponse.rb">
|
8
|
-
# Copyright (c)
|
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,23 +29,19 @@ module AsposeWordsCloud
|
|
29
29
|
# --------------------------------------------------------------------------------------------------------------------
|
30
30
|
#
|
31
31
|
|
32
|
-
# This response should be returned by the service when handling: GET http://api.aspose.com/
|
32
|
+
# This response should be returned by the service when handling: GET http://api.aspose.com/v4.0/words/Test.doc/sections/{0}/PageSetup.
|
33
33
|
class SectionPageSetupResponse
|
34
|
-
#
|
35
|
-
attr_accessor :
|
34
|
+
# Gets or sets request Id.
|
35
|
+
attr_accessor :request_id
|
36
36
|
|
37
|
-
#
|
38
|
-
attr_accessor :status
|
39
|
-
|
40
|
-
# Section
|
37
|
+
# Gets or sets section.
|
41
38
|
attr_accessor :page_setup
|
42
39
|
|
43
40
|
|
44
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
42
|
def self.attribute_map
|
46
43
|
{
|
47
|
-
:'
|
48
|
-
:'status' => :'Status',
|
44
|
+
:'request_id' => :'RequestId',
|
49
45
|
:'page_setup' => :'PageSetup'
|
50
46
|
}
|
51
47
|
end
|
@@ -53,8 +49,7 @@ module AsposeWordsCloud
|
|
53
49
|
# Attribute type mapping.
|
54
50
|
def self.swagger_types
|
55
51
|
{
|
56
|
-
:'
|
57
|
-
:'status' => :'String',
|
52
|
+
:'request_id' => :'String',
|
58
53
|
:'page_setup' => :'PageSetup'
|
59
54
|
}
|
60
55
|
end
|
@@ -67,12 +62,8 @@ module AsposeWordsCloud
|
|
67
62
|
# convert string to symbol for hash key
|
68
63
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
69
64
|
|
70
|
-
if attributes.key?(:'
|
71
|
-
self.
|
72
|
-
end
|
73
|
-
|
74
|
-
if attributes.key?(:'Status')
|
75
|
-
self.status = attributes[:'Status']
|
65
|
+
if attributes.key?(:'RequestId')
|
66
|
+
self.request_id = attributes[:'RequestId']
|
76
67
|
end
|
77
68
|
|
78
69
|
if attributes.key?(:'PageSetup')
|
@@ -85,17 +76,12 @@ module AsposeWordsCloud
|
|
85
76
|
# @return Array for valid properies with the reasons
|
86
77
|
def list_invalid_properties
|
87
78
|
invalid_properties = []
|
88
|
-
if @code.nil?
|
89
|
-
invalid_properties.push("invalid value for 'code', code cannot be nil.")
|
90
|
-
end
|
91
|
-
|
92
79
|
return invalid_properties
|
93
80
|
end
|
94
81
|
|
95
82
|
# Check to see if the all the properties in the model are valid
|
96
83
|
# @return true if the model is valid
|
97
84
|
def valid?
|
98
|
-
return false if @code.nil?
|
99
85
|
return true
|
100
86
|
end
|
101
87
|
|
@@ -104,8 +90,7 @@ module AsposeWordsCloud
|
|
104
90
|
def ==(other)
|
105
91
|
return true if self.equal?(other)
|
106
92
|
self.class == other.class &&
|
107
|
-
|
108
|
-
status == other.status &&
|
93
|
+
request_id == other.request_id &&
|
109
94
|
page_setup == other.page_setup
|
110
95
|
end
|
111
96
|
|
@@ -118,7 +103,7 @@ module AsposeWordsCloud
|
|
118
103
|
# Calculates hash code according to all attributes.
|
119
104
|
# @return [Fixnum] Hash code
|
120
105
|
def hash
|
121
|
-
[
|
106
|
+
[request_id, page_setup].hash
|
122
107
|
end
|
123
108
|
|
124
109
|
# Builds the object from hash
|
@@ -5,7 +5,7 @@ module AsposeWordsCloud
|
|
5
5
|
#
|
6
6
|
# --------------------------------------------------------------------------------------------------------------------
|
7
7
|
# <copyright company="Aspose" file="SectionResponse.rb">
|
8
|
-
# Copyright (c)
|
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,23 +29,19 @@ module AsposeWordsCloud
|
|
29
29
|
# --------------------------------------------------------------------------------------------------------------------
|
30
30
|
#
|
31
31
|
|
32
|
-
# This response should be returned by the service when handling: GET http://api.aspose.com/
|
32
|
+
# This response should be returned by the service when handling: GET http://api.aspose.com/v4.0/words/Test.doc/sections/{0}.
|
33
33
|
class SectionResponse
|
34
|
-
#
|
35
|
-
attr_accessor :
|
34
|
+
# Gets or sets request Id.
|
35
|
+
attr_accessor :request_id
|
36
36
|
|
37
|
-
#
|
38
|
-
attr_accessor :status
|
39
|
-
|
40
|
-
# Section
|
37
|
+
# Gets or sets section.
|
41
38
|
attr_accessor :section
|
42
39
|
|
43
40
|
|
44
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
42
|
def self.attribute_map
|
46
43
|
{
|
47
|
-
:'
|
48
|
-
:'status' => :'Status',
|
44
|
+
:'request_id' => :'RequestId',
|
49
45
|
:'section' => :'Section'
|
50
46
|
}
|
51
47
|
end
|
@@ -53,8 +49,7 @@ module AsposeWordsCloud
|
|
53
49
|
# Attribute type mapping.
|
54
50
|
def self.swagger_types
|
55
51
|
{
|
56
|
-
:'
|
57
|
-
:'status' => :'String',
|
52
|
+
:'request_id' => :'String',
|
58
53
|
:'section' => :'Section'
|
59
54
|
}
|
60
55
|
end
|
@@ -67,12 +62,8 @@ module AsposeWordsCloud
|
|
67
62
|
# convert string to symbol for hash key
|
68
63
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
69
64
|
|
70
|
-
if attributes.key?(:'
|
71
|
-
self.
|
72
|
-
end
|
73
|
-
|
74
|
-
if attributes.key?(:'Status')
|
75
|
-
self.status = attributes[:'Status']
|
65
|
+
if attributes.key?(:'RequestId')
|
66
|
+
self.request_id = attributes[:'RequestId']
|
76
67
|
end
|
77
68
|
|
78
69
|
if attributes.key?(:'Section')
|
@@ -85,17 +76,12 @@ module AsposeWordsCloud
|
|
85
76
|
# @return Array for valid properies with the reasons
|
86
77
|
def list_invalid_properties
|
87
78
|
invalid_properties = []
|
88
|
-
if @code.nil?
|
89
|
-
invalid_properties.push("invalid value for 'code', code cannot be nil.")
|
90
|
-
end
|
91
|
-
|
92
79
|
return invalid_properties
|
93
80
|
end
|
94
81
|
|
95
82
|
# Check to see if the all the properties in the model are valid
|
96
83
|
# @return true if the model is valid
|
97
84
|
def valid?
|
98
|
-
return false if @code.nil?
|
99
85
|
return true
|
100
86
|
end
|
101
87
|
|
@@ -104,8 +90,7 @@ module AsposeWordsCloud
|
|
104
90
|
def ==(other)
|
105
91
|
return true if self.equal?(other)
|
106
92
|
self.class == other.class &&
|
107
|
-
|
108
|
-
status == other.status &&
|
93
|
+
request_id == other.request_id &&
|
109
94
|
section == other.section
|
110
95
|
end
|
111
96
|
|
@@ -118,7 +103,7 @@ module AsposeWordsCloud
|
|
118
103
|
# Calculates hash code according to all attributes.
|
119
104
|
# @return [Fixnum] Hash code
|
120
105
|
def hash
|
121
|
-
[
|
106
|
+
[request_id, section].hash
|
122
107
|
end
|
123
108
|
|
124
109
|
# Builds the object from hash
|
@@ -5,7 +5,7 @@ module AsposeWordsCloud
|
|
5
5
|
#
|
6
6
|
# --------------------------------------------------------------------------------------------------------------------
|
7
7
|
# <copyright company="Aspose" file="SplitDocumentResponse.rb">
|
8
|
-
# Copyright (c)
|
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
|
@@ -31,21 +31,17 @@ module AsposeWordsCloud
|
|
31
31
|
|
32
32
|
# This response should be returned by the service when handling: POST /{name}/split .
|
33
33
|
class SplitDocumentResponse
|
34
|
-
#
|
35
|
-
attr_accessor :
|
34
|
+
# Gets or sets request Id.
|
35
|
+
attr_accessor :request_id
|
36
36
|
|
37
|
-
#
|
38
|
-
attr_accessor :status
|
39
|
-
|
40
|
-
# Resylt of splitting document.
|
37
|
+
# Gets or sets resylt of splitting document.
|
41
38
|
attr_accessor :split_result
|
42
39
|
|
43
40
|
|
44
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
42
|
def self.attribute_map
|
46
43
|
{
|
47
|
-
:'
|
48
|
-
:'status' => :'Status',
|
44
|
+
:'request_id' => :'RequestId',
|
49
45
|
:'split_result' => :'SplitResult'
|
50
46
|
}
|
51
47
|
end
|
@@ -53,8 +49,7 @@ module AsposeWordsCloud
|
|
53
49
|
# Attribute type mapping.
|
54
50
|
def self.swagger_types
|
55
51
|
{
|
56
|
-
:'
|
57
|
-
:'status' => :'String',
|
52
|
+
:'request_id' => :'String',
|
58
53
|
:'split_result' => :'SplitDocumentResult'
|
59
54
|
}
|
60
55
|
end
|
@@ -67,12 +62,8 @@ module AsposeWordsCloud
|
|
67
62
|
# convert string to symbol for hash key
|
68
63
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
69
64
|
|
70
|
-
if attributes.key?(:'
|
71
|
-
self.
|
72
|
-
end
|
73
|
-
|
74
|
-
if attributes.key?(:'Status')
|
75
|
-
self.status = attributes[:'Status']
|
65
|
+
if attributes.key?(:'RequestId')
|
66
|
+
self.request_id = attributes[:'RequestId']
|
76
67
|
end
|
77
68
|
|
78
69
|
if attributes.key?(:'SplitResult')
|
@@ -85,17 +76,12 @@ module AsposeWordsCloud
|
|
85
76
|
# @return Array for valid properies with the reasons
|
86
77
|
def list_invalid_properties
|
87
78
|
invalid_properties = []
|
88
|
-
if @code.nil?
|
89
|
-
invalid_properties.push("invalid value for 'code', code cannot be nil.")
|
90
|
-
end
|
91
|
-
|
92
79
|
return invalid_properties
|
93
80
|
end
|
94
81
|
|
95
82
|
# Check to see if the all the properties in the model are valid
|
96
83
|
# @return true if the model is valid
|
97
84
|
def valid?
|
98
|
-
return false if @code.nil?
|
99
85
|
return true
|
100
86
|
end
|
101
87
|
|
@@ -104,8 +90,7 @@ module AsposeWordsCloud
|
|
104
90
|
def ==(other)
|
105
91
|
return true if self.equal?(other)
|
106
92
|
self.class == other.class &&
|
107
|
-
|
108
|
-
status == other.status &&
|
93
|
+
request_id == other.request_id &&
|
109
94
|
split_result == other.split_result
|
110
95
|
end
|
111
96
|
|
@@ -118,7 +103,7 @@ module AsposeWordsCloud
|
|
118
103
|
# Calculates hash code according to all attributes.
|
119
104
|
# @return [Fixnum] Hash code
|
120
105
|
def hash
|
121
|
-
[
|
106
|
+
[request_id, split_result].hash
|
122
107
|
end
|
123
108
|
|
124
109
|
# Builds the object from hash
|
@@ -5,7 +5,7 @@ module AsposeWordsCloud
|
|
5
5
|
#
|
6
6
|
# --------------------------------------------------------------------------------------------------------------------
|
7
7
|
# <copyright company="Aspose" file="SplitDocumentResult.rb">
|
8
|
-
# Copyright (c)
|
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
|
@@ -31,13 +31,13 @@ module AsposeWordsCloud
|
|
31
31
|
|
32
32
|
# Result of splitting document.
|
33
33
|
class SplitDocumentResult
|
34
|
-
#
|
34
|
+
# Gets or sets linkt to the source document.
|
35
35
|
attr_accessor :source_document
|
36
36
|
|
37
|
-
#
|
37
|
+
# Gets or sets array of pages.
|
38
38
|
attr_accessor :pages
|
39
39
|
|
40
|
-
#
|
40
|
+
# Gets or sets link to the file archive with pages.
|
41
41
|
attr_accessor :zipped_pages
|
42
42
|
|
43
43
|
|
@@ -5,7 +5,7 @@ module AsposeWordsCloud
|
|
5
5
|
#
|
6
6
|
# --------------------------------------------------------------------------------------------------------------------
|
7
7
|
# <copyright company="Aspose" file="StatDataResponse.rb">
|
8
|
-
# Copyright (c)
|
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,26 +29,22 @@ module AsposeWordsCloud
|
|
29
29
|
# --------------------------------------------------------------------------------------------------------------------
|
30
30
|
#
|
31
31
|
|
32
|
-
# Response for the request of the document's statistical data
|
32
|
+
# Response for the request of the document's statistical data.
|
33
33
|
class StatDataResponse
|
34
|
-
#
|
35
|
-
attr_accessor :
|
34
|
+
# Gets or sets request Id.
|
35
|
+
attr_accessor :request_id
|
36
36
|
|
37
|
-
#
|
38
|
-
attr_accessor :status
|
39
|
-
|
40
|
-
# Link to the document
|
37
|
+
# Gets or sets link to the document.
|
41
38
|
attr_accessor :document_link
|
42
39
|
|
43
|
-
#
|
40
|
+
# Gets or sets statistical data of the document.
|
44
41
|
attr_accessor :stat_data
|
45
42
|
|
46
43
|
|
47
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
45
|
def self.attribute_map
|
49
46
|
{
|
50
|
-
:'
|
51
|
-
:'status' => :'Status',
|
47
|
+
:'request_id' => :'RequestId',
|
52
48
|
:'document_link' => :'DocumentLink',
|
53
49
|
:'stat_data' => :'StatData'
|
54
50
|
}
|
@@ -57,8 +53,7 @@ module AsposeWordsCloud
|
|
57
53
|
# Attribute type mapping.
|
58
54
|
def self.swagger_types
|
59
55
|
{
|
60
|
-
:'
|
61
|
-
:'status' => :'String',
|
56
|
+
:'request_id' => :'String',
|
62
57
|
:'document_link' => :'FileLink',
|
63
58
|
:'stat_data' => :'DocumentStatData'
|
64
59
|
}
|
@@ -72,12 +67,8 @@ module AsposeWordsCloud
|
|
72
67
|
# convert string to symbol for hash key
|
73
68
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
74
69
|
|
75
|
-
if attributes.key?(:'
|
76
|
-
self.
|
77
|
-
end
|
78
|
-
|
79
|
-
if attributes.key?(:'Status')
|
80
|
-
self.status = attributes[:'Status']
|
70
|
+
if attributes.key?(:'RequestId')
|
71
|
+
self.request_id = attributes[:'RequestId']
|
81
72
|
end
|
82
73
|
|
83
74
|
if attributes.key?(:'DocumentLink')
|
@@ -94,17 +85,12 @@ module AsposeWordsCloud
|
|
94
85
|
# @return Array for valid properies with the reasons
|
95
86
|
def list_invalid_properties
|
96
87
|
invalid_properties = []
|
97
|
-
if @code.nil?
|
98
|
-
invalid_properties.push("invalid value for 'code', code cannot be nil.")
|
99
|
-
end
|
100
|
-
|
101
88
|
return invalid_properties
|
102
89
|
end
|
103
90
|
|
104
91
|
# Check to see if the all the properties in the model are valid
|
105
92
|
# @return true if the model is valid
|
106
93
|
def valid?
|
107
|
-
return false if @code.nil?
|
108
94
|
return true
|
109
95
|
end
|
110
96
|
|
@@ -113,8 +99,7 @@ module AsposeWordsCloud
|
|
113
99
|
def ==(other)
|
114
100
|
return true if self.equal?(other)
|
115
101
|
self.class == other.class &&
|
116
|
-
|
117
|
-
status == other.status &&
|
102
|
+
request_id == other.request_id &&
|
118
103
|
document_link == other.document_link &&
|
119
104
|
stat_data == other.stat_data
|
120
105
|
end
|
@@ -128,7 +113,7 @@ module AsposeWordsCloud
|
|
128
113
|
# Calculates hash code according to all attributes.
|
129
114
|
# @return [Fixnum] Hash code
|
130
115
|
def hash
|
131
|
-
[
|
116
|
+
[request_id, document_link, stat_data].hash
|
132
117
|
end
|
133
118
|
|
134
119
|
# Builds the object from hash
|
@@ -0,0 +1,257 @@
|
|
1
|
+
|
2
|
+
require 'date'
|
3
|
+
|
4
|
+
module AsposeWordsCloud
|
5
|
+
#
|
6
|
+
# --------------------------------------------------------------------------------------------------------------------
|
7
|
+
# <copyright company="Aspose" file="StorageFile.rb">
|
8
|
+
# Copyright (c) 2019 Aspose.Words for Cloud
|
9
|
+
# </copyright>
|
10
|
+
# <summary>
|
11
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
12
|
+
# of this software and associated documentation files (the "Software"), to deal
|
13
|
+
# in the Software without restriction, including without limitation the rights
|
14
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
15
|
+
# copies of the Software, and to permit persons to whom the Software is
|
16
|
+
# furnished to do so, subject to the following conditions:
|
17
|
+
#
|
18
|
+
# The above copyright notice and this permission notice shall be included in all
|
19
|
+
# copies or substantial portions of the Software.
|
20
|
+
#
|
21
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
22
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
23
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
24
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
25
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
26
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
27
|
+
# SOFTWARE.
|
28
|
+
# </summary>
|
29
|
+
# --------------------------------------------------------------------------------------------------------------------
|
30
|
+
#
|
31
|
+
|
32
|
+
# File or folder information
|
33
|
+
class StorageFile
|
34
|
+
# File or folder name.
|
35
|
+
attr_accessor :name
|
36
|
+
|
37
|
+
# True if it is a folder.
|
38
|
+
attr_accessor :is_folder
|
39
|
+
|
40
|
+
# File or folder last modified .
|
41
|
+
attr_accessor :modified_date
|
42
|
+
|
43
|
+
# File or folder size.
|
44
|
+
attr_accessor :size
|
45
|
+
|
46
|
+
# File or folder path.
|
47
|
+
attr_accessor :path
|
48
|
+
|
49
|
+
|
50
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
51
|
+
def self.attribute_map
|
52
|
+
{
|
53
|
+
:'name' => :'Name',
|
54
|
+
:'is_folder' => :'IsFolder',
|
55
|
+
:'modified_date' => :'ModifiedDate',
|
56
|
+
:'size' => :'Size',
|
57
|
+
:'path' => :'Path'
|
58
|
+
}
|
59
|
+
end
|
60
|
+
|
61
|
+
# Attribute type mapping.
|
62
|
+
def self.swagger_types
|
63
|
+
{
|
64
|
+
:'name' => :'String',
|
65
|
+
:'is_folder' => :'BOOLEAN',
|
66
|
+
:'modified_date' => :'DateTime',
|
67
|
+
:'size' => :'Integer',
|
68
|
+
:'path' => :'String'
|
69
|
+
}
|
70
|
+
end
|
71
|
+
|
72
|
+
# Initializes the object
|
73
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
74
|
+
def initialize(attributes = {})
|
75
|
+
return unless attributes.is_a?(Hash)
|
76
|
+
|
77
|
+
# convert string to symbol for hash key
|
78
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
79
|
+
|
80
|
+
if attributes.key?(:'Name')
|
81
|
+
self.name = attributes[:'Name']
|
82
|
+
end
|
83
|
+
|
84
|
+
if attributes.key?(:'IsFolder')
|
85
|
+
self.is_folder = attributes[:'IsFolder']
|
86
|
+
end
|
87
|
+
|
88
|
+
if attributes.key?(:'ModifiedDate')
|
89
|
+
self.modified_date = attributes[:'ModifiedDate']
|
90
|
+
end
|
91
|
+
|
92
|
+
if attributes.key?(:'Size')
|
93
|
+
self.size = attributes[:'Size']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.key?(:'Path')
|
97
|
+
self.path = attributes[:'Path']
|
98
|
+
end
|
99
|
+
|
100
|
+
end
|
101
|
+
|
102
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
103
|
+
# @return Array for valid properies with the reasons
|
104
|
+
def list_invalid_properties
|
105
|
+
invalid_properties = []
|
106
|
+
if @is_folder.nil?
|
107
|
+
invalid_properties.push("invalid value for 'is_folder', is_folder cannot be nil.")
|
108
|
+
end
|
109
|
+
|
110
|
+
if @size.nil?
|
111
|
+
invalid_properties.push("invalid value for 'size', size cannot be nil.")
|
112
|
+
end
|
113
|
+
|
114
|
+
return invalid_properties
|
115
|
+
end
|
116
|
+
|
117
|
+
# Check to see if the all the properties in the model are valid
|
118
|
+
# @return true if the model is valid
|
119
|
+
def valid?
|
120
|
+
return false if @is_folder.nil?
|
121
|
+
return false if @size.nil?
|
122
|
+
return true
|
123
|
+
end
|
124
|
+
|
125
|
+
# Checks equality by comparing each attribute.
|
126
|
+
# @param [Object] Object to be compared
|
127
|
+
def ==(other)
|
128
|
+
return true if self.equal?(other)
|
129
|
+
self.class == other.class &&
|
130
|
+
name == other.name &&
|
131
|
+
is_folder == other.is_folder &&
|
132
|
+
modified_date == other.modified_date &&
|
133
|
+
size == other.size &&
|
134
|
+
path == other.path
|
135
|
+
end
|
136
|
+
|
137
|
+
# @see the `==` method
|
138
|
+
# @param [Object] Object to be compared
|
139
|
+
def eql?(other)
|
140
|
+
self == other
|
141
|
+
end
|
142
|
+
|
143
|
+
# Calculates hash code according to all attributes.
|
144
|
+
# @return [Fixnum] Hash code
|
145
|
+
def hash
|
146
|
+
[name, is_folder, modified_date, size, path].hash
|
147
|
+
end
|
148
|
+
|
149
|
+
# Builds the object from hash
|
150
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
151
|
+
# @return [Object] Returns the model itself
|
152
|
+
def build_from_hash(attributes)
|
153
|
+
return nil unless attributes.is_a?(Hash)
|
154
|
+
self.class.swagger_types.each_pair do |key, type|
|
155
|
+
if type =~ /\AArray<(.*)>/i
|
156
|
+
# check to ensure the input is an array given that the the attribute
|
157
|
+
# is documented as an array but the input is not
|
158
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
159
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
160
|
+
end
|
161
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
162
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
163
|
+
end
|
164
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
165
|
+
end
|
166
|
+
|
167
|
+
self
|
168
|
+
end
|
169
|
+
|
170
|
+
# Deserializes the data based on type
|
171
|
+
# @param string type Data type
|
172
|
+
# @param string value Value to be deserialized
|
173
|
+
# @return [Object] Deserialized data
|
174
|
+
def _deserialize(type, value)
|
175
|
+
case type.to_sym
|
176
|
+
when :DateTime
|
177
|
+
Time.at(/\d/.match(value)[0].to_f).to_datetime
|
178
|
+
when :Date
|
179
|
+
Time.at(/\d/.match(value)[0].to_f).to_date
|
180
|
+
when :String
|
181
|
+
value.to_s
|
182
|
+
when :Integer
|
183
|
+
value.to_i
|
184
|
+
when :Float
|
185
|
+
value.to_f
|
186
|
+
when :BOOLEAN
|
187
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
188
|
+
true
|
189
|
+
else
|
190
|
+
false
|
191
|
+
end
|
192
|
+
when :Object
|
193
|
+
# generic object (usually a Hash), return directly
|
194
|
+
value
|
195
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
196
|
+
inner_type = Regexp.last_match[:inner_type]
|
197
|
+
value.map { |v| _deserialize(inner_type, v) }
|
198
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
199
|
+
k_type = Regexp.last_match[:k_type]
|
200
|
+
v_type = Regexp.last_match[:v_type]
|
201
|
+
{}.tap do |hash|
|
202
|
+
value.each do |k, v|
|
203
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
204
|
+
end
|
205
|
+
end
|
206
|
+
else
|
207
|
+
# model
|
208
|
+
temp_model = AsposeWordsCloud.const_get(type).new
|
209
|
+
temp_model.build_from_hash(value)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
# Returns the string representation of the object
|
214
|
+
# @return [String] String presentation of the object
|
215
|
+
def to_s
|
216
|
+
to_hash.to_s
|
217
|
+
end
|
218
|
+
|
219
|
+
# to_body is an alias to to_hash (backward compatibility)
|
220
|
+
# @return [Hash] Returns the object in the form of hash
|
221
|
+
def to_body
|
222
|
+
to_hash
|
223
|
+
end
|
224
|
+
|
225
|
+
# Returns the object in the form of hash
|
226
|
+
# @return [Hash] Returns the object in the form of hash
|
227
|
+
def to_hash
|
228
|
+
hash = {}
|
229
|
+
self.class.attribute_map.each_pair do |attr, param|
|
230
|
+
value = self.send(attr)
|
231
|
+
next if value.nil?
|
232
|
+
hash[param] = _to_hash(value)
|
233
|
+
end
|
234
|
+
hash
|
235
|
+
end
|
236
|
+
|
237
|
+
# Outputs non-array value in the form of hash
|
238
|
+
# For object, use to_hash. Otherwise, just return the value
|
239
|
+
# @param [Object] value Any valid value
|
240
|
+
# @return [Hash] Returns the value in the form of hash
|
241
|
+
def _to_hash(value)
|
242
|
+
if value.is_a?(Array)
|
243
|
+
value.compact.map { |v| _to_hash(v) }
|
244
|
+
elsif value.is_a?(Hash)
|
245
|
+
{}.tap do |hash|
|
246
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
247
|
+
end
|
248
|
+
elsif value.respond_to? :to_hash
|
249
|
+
value.to_hash
|
250
|
+
else
|
251
|
+
value
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
end
|
256
|
+
|
257
|
+
end
|