aspose_words_cloud 20.8.0 → 21.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud.rb +146 -1
- data/lib/aspose_words_cloud/api/words_api.rb +13784 -3492
- data/lib/aspose_words_cloud/api_client.rb +60 -16
- data/lib/aspose_words_cloud/api_error.rb +1 -1
- data/lib/aspose_words_cloud/configuration.rb +12 -12
- data/lib/aspose_words_cloud/models/available_fonts_response.rb +6 -6
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +44 -37
- data/lib/aspose_words_cloud/models/bookmark.rb +3 -3
- data/lib/aspose_words_cloud/models/bookmark_data.rb +2 -2
- data/lib/aspose_words_cloud/models/bookmark_response.rb +4 -4
- 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 +4 -4
- data/lib/aspose_words_cloud/models/border.rb +3 -3
- data/lib/aspose_words_cloud/models/border_response.rb +4 -5
- data/lib/aspose_words_cloud/models/borders_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/borders_response.rb +4 -5
- data/lib/aspose_words_cloud/models/classification_response.rb +6 -7
- 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_base.rb +6 -6
- data/lib/aspose_words_cloud/models/comment_insert.rb +6 -6
- data/lib/aspose_words_cloud/models/comment_link.rb +2 -2
- data/lib/aspose_words_cloud/models/comment_response.rb +4 -5
- data/lib/aspose_words_cloud/models/comment_update.rb +6 -6
- data/lib/aspose_words_cloud/models/comments_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/comments_response.rb +4 -5
- data/lib/aspose_words_cloud/models/compare_data.rb +3 -3
- data/lib/aspose_words_cloud/models/compare_options.rb +11 -18
- data/lib/aspose_words_cloud/models/csv_data_load_options.rb +1 -1
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +30 -23
- data/lib/aspose_words_cloud/models/document.rb +5 -6
- data/lib/aspose_words_cloud/models/document_entry.rb +3 -3
- data/lib/aspose_words_cloud/models/document_entry_list.rb +3 -3
- data/lib/aspose_words_cloud/models/document_position.rb +4 -4
- data/lib/aspose_words_cloud/models/document_properties.rb +4 -4
- data/lib/aspose_words_cloud/models/document_properties_response.rb +4 -4
- data/lib/aspose_words_cloud/models/document_property.rb +5 -5
- data/lib/aspose_words_cloud/models/document_property_base.rb +2 -2
- data/lib/aspose_words_cloud/models/document_property_create_or_update.rb +2 -2
- data/lib/aspose_words_cloud/models/document_property_response.rb +4 -4
- data/lib/aspose_words_cloud/models/document_response.rb +4 -4
- data/lib/aspose_words_cloud/models/document_stat_data.rb +6 -6
- data/lib/aspose_words_cloud/models/downsample_options_data.rb +4 -7
- data/lib/aspose_words_cloud/models/drawing_object.rb +14 -14
- data/lib/aspose_words_cloud/models/drawing_object_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/drawing_object_insert.rb +9 -9
- data/lib/aspose_words_cloud/models/drawing_object_link.rb +3 -3
- data/lib/aspose_words_cloud/models/drawing_object_response.rb +4 -4
- data/lib/aspose_words_cloud/models/drawing_object_update.rb +8 -8
- data/lib/aspose_words_cloud/models/drawing_objects_response.rb +4 -4
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +44 -37
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +68 -62
- data/lib/aspose_words_cloud/models/error.rb +1 -1
- data/lib/aspose_words_cloud/models/error_details.rb +1 -1
- data/lib/aspose_words_cloud/models/field.rb +7 -7
- data/lib/aspose_words_cloud/models/field_base.rb +3 -3
- data/lib/aspose_words_cloud/models/field_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/field_insert.rb +3 -3
- data/lib/aspose_words_cloud/models/field_link.rb +4 -4
- data/lib/aspose_words_cloud/models/field_names.rb +3 -3
- data/lib/aspose_words_cloud/models/field_names_response.rb +4 -4
- data/lib/aspose_words_cloud/models/field_response.rb +4 -5
- data/lib/aspose_words_cloud/models/field_update.rb +3 -3
- data/lib/aspose_words_cloud/models/fields_response.rb +4 -5
- data/lib/aspose_words_cloud/models/file_link.rb +5 -13
- data/lib/aspose_words_cloud/models/files_list.rb +1 -1
- data/lib/aspose_words_cloud/models/files_upload_result.rb +1 -1
- data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +31 -24
- data/lib/aspose_words_cloud/models/font.rb +27 -28
- data/lib/aspose_words_cloud/models/font_dto.rb +192 -0
- data/lib/aspose_words_cloud/models/font_info.rb +6 -6
- data/lib/aspose_words_cloud/models/font_response.rb +4 -5
- data/lib/aspose_words_cloud/models/footnote.rb +9 -9
- data/lib/aspose_words_cloud/models/footnote_base.rb +5 -5
- data/lib/aspose_words_cloud/models/footnote_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/footnote_insert.rb +5 -5
- data/lib/aspose_words_cloud/models/footnote_link.rb +3 -3
- data/lib/aspose_words_cloud/models/footnote_response.rb +4 -5
- data/lib/aspose_words_cloud/models/footnote_update.rb +5 -5
- data/lib/aspose_words_cloud/models/footnotes_response.rb +4 -5
- data/lib/aspose_words_cloud/models/footnotes_stat_data.rb +3 -3
- data/lib/aspose_words_cloud/models/form_field.rb +11 -11
- data/lib/aspose_words_cloud/models/form_field_checkbox.rb +12 -12
- data/lib/aspose_words_cloud/models/form_field_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/form_field_drop_down.rb +12 -12
- data/lib/aspose_words_cloud/models/form_field_response.rb +4 -5
- data/lib/aspose_words_cloud/models/form_field_text_input.rb +15 -15
- data/lib/aspose_words_cloud/models/form_fields_response.rb +4 -5
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +44 -37
- data/lib/aspose_words_cloud/models/graphics_quality_options_data.rb +2 -2
- data/lib/aspose_words_cloud/models/header_footer.rb +7 -7
- data/lib/aspose_words_cloud/models/header_footer_link.rb +3 -3
- data/lib/aspose_words_cloud/models/header_footer_link_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/header_footer_response.rb +4 -5
- data/lib/aspose_words_cloud/models/header_footers_response.rb +4 -5
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +47 -47
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +68 -62
- data/lib/aspose_words_cloud/models/hyperlink.rb +4 -4
- data/lib/aspose_words_cloud/models/hyperlink_response.rb +4 -4
- data/lib/aspose_words_cloud/models/hyperlinks.rb +3 -3
- data/lib/aspose_words_cloud/models/hyperlinks_response.rb +4 -4
- data/lib/aspose_words_cloud/models/image_save_options_data.rb +44 -37
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +45 -38
- data/lib/aspose_words_cloud/models/link.rb +5 -13
- data/lib/aspose_words_cloud/models/link_element.rb +3 -3
- data/lib/aspose_words_cloud/models/list_format.rb +3 -3
- data/lib/aspose_words_cloud/models/list_format_update.rb +1 -1
- data/lib/aspose_words_cloud/models/list_info.rb +7 -7
- data/lib/aspose_words_cloud/models/list_insert.rb +2 -2
- data/lib/aspose_words_cloud/models/list_level.rb +13 -17
- data/lib/aspose_words_cloud/models/list_level_update.rb +10 -14
- data/lib/aspose_words_cloud/models/list_levels.rb +3 -3
- data/lib/aspose_words_cloud/models/list_response.rb +4 -5
- data/lib/aspose_words_cloud/models/list_update.rb +2 -2
- data/lib/aspose_words_cloud/models/lists.rb +4 -4
- data/lib/aspose_words_cloud/models/lists_response.rb +4 -5
- data/lib/aspose_words_cloud/models/load_web_document_data.rb +3 -3
- data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +28 -21
- data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +7 -7
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +68 -63
- data/lib/aspose_words_cloud/models/modification_operation_result.rb +3 -3
- data/lib/aspose_words_cloud/models/node_link.rb +3 -3
- data/lib/aspose_words_cloud/models/odt_save_options_data.rb +28 -21
- data/lib/aspose_words_cloud/models/office_math_link.rb +3 -3
- data/lib/aspose_words_cloud/models/office_math_object.rb +8 -9
- data/lib/aspose_words_cloud/models/office_math_object_response.rb +4 -5
- data/lib/aspose_words_cloud/models/office_math_objects_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/office_math_objects_response.rb +4 -5
- data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +28 -21
- data/lib/aspose_words_cloud/models/optimization_options.rb +2 -2
- data/lib/aspose_words_cloud/models/outline_options_data.rb +8 -11
- data/lib/aspose_words_cloud/models/page_number.rb +2 -2
- data/lib/aspose_words_cloud/models/page_setup.rb +25 -31
- data/lib/aspose_words_cloud/models/page_stat_data.rb +5 -5
- data/lib/aspose_words_cloud/models/paragraph.rb +5 -5
- data/lib/aspose_words_cloud/models/paragraph_format.rb +19 -24
- data/lib/aspose_words_cloud/models/paragraph_format_base.rb +17 -22
- data/lib/aspose_words_cloud/models/paragraph_format_response.rb +4 -5
- data/lib/aspose_words_cloud/models/paragraph_format_update.rb +17 -22
- data/lib/aspose_words_cloud/models/paragraph_insert.rb +3 -3
- data/lib/aspose_words_cloud/models/paragraph_link.rb +4 -4
- data/lib/aspose_words_cloud/models/paragraph_link_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +4 -5
- data/lib/aspose_words_cloud/models/paragraph_list_format_response.rb +3 -4
- data/lib/aspose_words_cloud/models/paragraph_response.rb +4 -5
- data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +33 -26
- 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 +59 -54
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +45 -38
- data/lib/aspose_words_cloud/models/preferred_width.rb +2 -2
- data/lib/aspose_words_cloud/models/protection_data.rb +1 -1
- data/lib/aspose_words_cloud/models/protection_data_response.rb +5 -5
- data/lib/aspose_words_cloud/models/protection_request.rb +4 -4
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +33 -26
- data/lib/aspose_words_cloud/models/range_document.rb +3 -3
- data/lib/aspose_words_cloud/models/range_document_dto.rb +201 -0
- data/lib/aspose_words_cloud/models/range_text_response.rb +4 -5
- data/lib/aspose_words_cloud/models/replace_range.rb +4 -4
- data/lib/aspose_words_cloud/models/replace_range_dto.rb +252 -0
- data/lib/aspose_words_cloud/models/replace_text_parameters.rb +3 -3
- data/lib/aspose_words_cloud/models/replace_text_response.rb +5 -5
- data/lib/aspose_words_cloud/models/report_build_options.rb +1 -1
- data/lib/aspose_words_cloud/models/report_engine_settings.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/append_document_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/build_report_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/classify_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/create_document_request.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/download_file_request.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +13 -15
- data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_border_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +18 -8
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_document_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_field_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_list_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +4 -6
- data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_run_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_section_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_style_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +53 -0
- data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_table_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/move_file_request.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +4 -6
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +11 -6
- data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +11 -6
- data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/render_page_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +11 -6
- data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/render_table_request.rb +11 -6
- data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +4 -6
- data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +4 -6
- data/lib/aspose_words_cloud/models/requests/save_as_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +148 -0
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +31 -31
- data/lib/aspose_words_cloud/models/requests/search_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/search_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/split_document_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +63 -0
- data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_border_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +7 -7
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +88 -0
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_field_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +58 -0
- data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +3 -3
- data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +12 -12
- data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/update_list_request.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_run_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +5 -5
- data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/update_style_request.rb +9 -9
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +83 -0
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +11 -11
- data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +1 -1
- data/lib/aspose_words_cloud/models/response_error.rb +6 -6
- data/lib/aspose_words_cloud/models/responses/accept_all_revisions_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/append_document_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/apply_style_to_document_element_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/compare_document_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/copy_style_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/create_or_update_document_property_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/delete_all_paragraph_tab_stops_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/delete_border_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/delete_borders_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/delete_paragraph_list_format_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/delete_paragraph_tab_stop_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/delete_watermark_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_comment_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_drawing_object_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_field_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_footnote_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_form_field_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_header_footer_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_list_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_or_update_paragraph_tab_stop_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_page_numbers_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_paragraph_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_run_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_style_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_table_cell_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_table_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_table_row_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_watermark_image_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/insert_watermark_text_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/protect_document_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/reject_all_revisions_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/remove_range_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/replace_text_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/replace_with_text_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/save_as_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/save_as_range_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/save_as_tiff_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/split_document_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/unprotect_document_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_bookmark_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_border_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_comment_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_drawing_object_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_field_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_fields_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_footnote_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_form_field_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_list_level_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_list_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_paragraph_format_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_paragraph_list_format_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_run_font_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_run_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_section_page_setup_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_style_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_table_cell_format_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_table_properties_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/responses/update_table_row_format_online_response.rb +46 -0
- data/lib/aspose_words_cloud/models/revisions_modification_response.rb +4 -4
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +27 -20
- data/lib/aspose_words_cloud/models/run.rb +4 -4
- data/lib/aspose_words_cloud/models/run_base.rb +2 -2
- data/lib/aspose_words_cloud/models/run_insert.rb +2 -2
- data/lib/aspose_words_cloud/models/run_link.rb +4 -4
- data/lib/aspose_words_cloud/models/run_response.rb +4 -5
- data/lib/aspose_words_cloud/models/run_update.rb +2 -2
- data/lib/aspose_words_cloud/models/runs.rb +4 -4
- data/lib/aspose_words_cloud/models/runs_response.rb +4 -5
- data/lib/aspose_words_cloud/models/save_options_data.rb +23 -16
- data/lib/aspose_words_cloud/models/save_response.rb +4 -4
- data/lib/aspose_words_cloud/models/save_result.rb +4 -4
- data/lib/aspose_words_cloud/models/search_response.rb +5 -6
- data/lib/aspose_words_cloud/models/search_result.rb +3 -3
- data/lib/aspose_words_cloud/models/search_results_collection.rb +4 -4
- 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 +4 -5
- data/lib/aspose_words_cloud/models/section_page_setup_response.rb +4 -5
- data/lib/aspose_words_cloud/models/section_response.rb +4 -5
- data/lib/aspose_words_cloud/models/shading.rb +2 -2
- data/lib/aspose_words_cloud/models/split_document_response.rb +4 -4
- data/lib/aspose_words_cloud/models/split_document_result.rb +4 -4
- data/lib/aspose_words_cloud/models/stat_data_response.rb +5 -5
- data/lib/aspose_words_cloud/models/storage_file.rb +1 -1
- data/lib/aspose_words_cloud/models/story_child_nodes.rb +2 -2
- data/lib/aspose_words_cloud/models/string_format_data.rb +2 -2
- data/lib/aspose_words_cloud/models/style.rb +10 -13
- data/lib/aspose_words_cloud/models/style_apply.rb +1 -1
- data/lib/aspose_words_cloud/models/style_copy.rb +1 -1
- data/lib/aspose_words_cloud/models/style_insert.rb +1 -1
- data/lib/aspose_words_cloud/models/style_response.rb +4 -5
- data/lib/aspose_words_cloud/models/style_update.rb +4 -5
- data/lib/aspose_words_cloud/models/styles_response.rb +4 -5
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +38 -31
- data/lib/aspose_words_cloud/models/tab_stop.rb +2 -2
- data/lib/aspose_words_cloud/models/tab_stop_base.rb +1 -1
- data/lib/aspose_words_cloud/models/tab_stop_insert.rb +1 -1
- data/lib/aspose_words_cloud/models/tab_stops_response.rb +4 -5
- data/lib/aspose_words_cloud/models/table.rb +5 -5
- data/lib/aspose_words_cloud/models/table_cell.rb +5 -5
- data/lib/aspose_words_cloud/models/table_cell_format.rb +14 -14
- data/lib/aspose_words_cloud/models/table_cell_format_dto.rb +192 -0
- data/lib/aspose_words_cloud/models/table_cell_format_response.rb +4 -5
- data/lib/aspose_words_cloud/models/table_cell_insert.rb +3 -3
- data/lib/aspose_words_cloud/models/table_cell_insert_dto.rb +201 -0
- data/lib/aspose_words_cloud/models/table_cell_response.rb +4 -5
- data/lib/aspose_words_cloud/models/table_insert.rb +5 -5
- data/lib/aspose_words_cloud/models/table_insert_dto.rb +221 -0
- data/lib/aspose_words_cloud/models/table_link.rb +3 -3
- data/lib/aspose_words_cloud/models/table_link_collection.rb +4 -4
- data/lib/aspose_words_cloud/models/table_link_collection_response.rb +4 -5
- data/lib/aspose_words_cloud/models/table_properties.rb +9 -9
- data/lib/aspose_words_cloud/models/table_properties_dto.rb +192 -0
- data/lib/aspose_words_cloud/models/table_properties_response.rb +4 -5
- data/lib/aspose_words_cloud/models/table_response.rb +4 -5
- data/lib/aspose_words_cloud/models/table_row.rb +6 -6
- data/lib/aspose_words_cloud/models/table_row_format.rb +5 -5
- data/lib/aspose_words_cloud/models/table_row_format_dto.rb +192 -0
- data/lib/aspose_words_cloud/models/table_row_format_response.rb +4 -5
- data/lib/aspose_words_cloud/models/table_row_insert.rb +3 -3
- data/lib/aspose_words_cloud/models/table_row_insert_dto.rb +211 -0
- data/lib/aspose_words_cloud/models/table_row_response.rb +4 -5
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +30 -23
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +46 -39
- data/lib/aspose_words_cloud/models/txt_save_options_base_data.rb +27 -20
- data/lib/aspose_words_cloud/models/watermark_text.rb +1 -1
- data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +25 -18
- data/lib/aspose_words_cloud/models/words_api_error_response.rb +4 -4
- data/lib/aspose_words_cloud/models/words_api_link.rb +6 -14
- data/lib/aspose_words_cloud/models/words_response.rb +3 -3
- data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +35 -29
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +26 -19
- data/lib/aspose_words_cloud/models/xml_color.rb +3 -3
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +35 -28
- data/lib/aspose_words_cloud/version.rb +2 -2
- metadata +205 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose" file="table_properties_response.rb">
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -27,13 +27,12 @@ require 'date'
|
|
27
27
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
|
-
#
|
31
|
-
# GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/properties.
|
30
|
+
# The REST response with a table.
|
32
31
|
class TablePropertiesResponse
|
33
|
-
# Gets or sets request Id.
|
32
|
+
# Gets or sets the request Id.
|
34
33
|
attr_accessor :request_id
|
35
34
|
|
36
|
-
# Gets or sets table.
|
35
|
+
# Gets or sets the table.
|
37
36
|
attr_accessor :properties
|
38
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
38
|
def self.attribute_map
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose" file="table_response.rb">
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -27,13 +27,12 @@ require 'date'
|
|
27
27
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
|
-
#
|
31
|
-
# GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}.
|
30
|
+
# The REST response with a table.
|
32
31
|
class TableResponse
|
33
|
-
# Gets or sets request Id.
|
32
|
+
# Gets or sets the request Id.
|
34
33
|
attr_accessor :request_id
|
35
34
|
|
36
|
-
# Gets or sets table.
|
35
|
+
# Gets or sets the table.
|
37
36
|
attr_accessor :table
|
38
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
38
|
def self.attribute_map
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose" file="table_row.rb">
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -27,18 +27,18 @@ require 'date'
|
|
27
27
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
|
-
#
|
30
|
+
# DTO container with a table row element.
|
31
31
|
class TableRow
|
32
|
-
# Gets or sets link to the document.
|
32
|
+
# Gets or sets the link to the document.
|
33
33
|
attr_accessor :link
|
34
34
|
|
35
|
-
# Gets or sets node id.
|
35
|
+
# Gets or sets the node id.
|
36
36
|
attr_accessor :node_id
|
37
37
|
|
38
|
-
# Gets or sets
|
38
|
+
# Gets or sets the formatting properties of a row.
|
39
39
|
attr_accessor :row_format
|
40
40
|
|
41
|
-
# Gets or sets collection of
|
41
|
+
# Gets or sets the collection of rows.
|
42
42
|
attr_accessor :table_cell_list
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
44
|
def self.attribute_map
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose" file="table_row_format.rb">
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -27,15 +27,15 @@ require 'date'
|
|
27
27
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
|
-
#
|
30
|
+
# DTO container with formatting for a table row.
|
31
31
|
class TableRowFormat
|
32
|
-
# Gets or sets link to the document.
|
32
|
+
# Gets or sets the link to the document.
|
33
33
|
attr_accessor :link
|
34
34
|
|
35
|
-
# Gets or sets
|
35
|
+
# Gets or sets a value indicating whether the text in a table row is allowed to split across a page break.
|
36
36
|
attr_accessor :allow_break_across_pages
|
37
37
|
|
38
|
-
# Gets or sets
|
38
|
+
# Gets or sets a value indicating whether the row is repeated as a table heading on every page when the table spans more than one page.
|
39
39
|
attr_accessor :heading_format
|
40
40
|
|
41
41
|
# Gets or sets the height of the table row in points.
|
@@ -0,0 +1,192 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="table_row_format_dto.rb">
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
module AsposeWordsCloud
|
29
|
+
|
30
|
+
class TableRowFormatDto
|
31
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
32
|
+
def self.attribute_map
|
33
|
+
{
|
34
|
+
}
|
35
|
+
end
|
36
|
+
|
37
|
+
# Attribute type mapping.
|
38
|
+
def self.swagger_types
|
39
|
+
{
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# Initializes the object
|
44
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
45
|
+
def initialize(attributes = {})
|
46
|
+
return unless attributes.is_a?(Hash)
|
47
|
+
|
48
|
+
# convert string to symbol for hash key
|
49
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
50
|
+
|
51
|
+
end
|
52
|
+
|
53
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
54
|
+
# @return Array for valid properies with the reasons
|
55
|
+
def list_invalid_properties
|
56
|
+
invalid_properties = []
|
57
|
+
return invalid_properties
|
58
|
+
end
|
59
|
+
|
60
|
+
# Check to see if the all the properties in the model are valid
|
61
|
+
# @return true if the model is valid
|
62
|
+
def valid?
|
63
|
+
return true
|
64
|
+
end
|
65
|
+
|
66
|
+
# Checks equality by comparing each attribute.
|
67
|
+
# @param [Object] Object to be compared
|
68
|
+
def ==(other)
|
69
|
+
return true if self.equal?(other)
|
70
|
+
self.class == other.class
|
71
|
+
end
|
72
|
+
|
73
|
+
# @see the `==` method
|
74
|
+
# @param [Object] Object to be compared
|
75
|
+
def eql?(other)
|
76
|
+
self == other
|
77
|
+
end
|
78
|
+
|
79
|
+
# Calculates hash code according to all attributes.
|
80
|
+
# @return [Fixnum] Hash code
|
81
|
+
def hash
|
82
|
+
[].hash
|
83
|
+
end
|
84
|
+
|
85
|
+
# Builds the object from hash
|
86
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
87
|
+
# @return [Object] Returns the model itself
|
88
|
+
def build_from_hash(attributes)
|
89
|
+
return nil unless attributes.is_a?(Hash)
|
90
|
+
self.class.swagger_types.each_pair do |key, type|
|
91
|
+
if type =~ /\AArray<(.*)>/i
|
92
|
+
# check to ensure the input is an array given that the the attribute
|
93
|
+
# is documented as an array but the input is not
|
94
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
95
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
96
|
+
end
|
97
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
98
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
99
|
+
end
|
100
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
101
|
+
end
|
102
|
+
|
103
|
+
self
|
104
|
+
end
|
105
|
+
|
106
|
+
# Deserializes the data based on type
|
107
|
+
# @param string type Data type
|
108
|
+
# @param string value Value to be deserialized
|
109
|
+
# @return [Object] Deserialized data
|
110
|
+
def _deserialize(type, value)
|
111
|
+
case type.to_sym
|
112
|
+
when :DateTime
|
113
|
+
Time.at(/\d/.match(value)[0].to_f).to_datetime
|
114
|
+
when :Date
|
115
|
+
Time.at(/\d/.match(value)[0].to_f).to_date
|
116
|
+
when :String
|
117
|
+
value.to_s
|
118
|
+
when :Integer
|
119
|
+
value.to_i
|
120
|
+
when :Float
|
121
|
+
value.to_f
|
122
|
+
when :BOOLEAN
|
123
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
124
|
+
true
|
125
|
+
else
|
126
|
+
false
|
127
|
+
end
|
128
|
+
when :Object
|
129
|
+
# generic object (usually a Hash), return directly
|
130
|
+
value
|
131
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
132
|
+
inner_type = Regexp.last_match[:inner_type]
|
133
|
+
value.map { |v| _deserialize(inner_type, v) }
|
134
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
135
|
+
k_type = Regexp.last_match[:k_type]
|
136
|
+
v_type = Regexp.last_match[:v_type]
|
137
|
+
{}.tap do |hash|
|
138
|
+
value.each do |k, v|
|
139
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
else
|
143
|
+
# model
|
144
|
+
temp_model = AsposeWordsCloud.const_get(type).new
|
145
|
+
temp_model.build_from_hash(value)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Returns the string representation of the object
|
150
|
+
# @return [String] String presentation of the object
|
151
|
+
def to_s
|
152
|
+
to_hash.to_s
|
153
|
+
end
|
154
|
+
|
155
|
+
# to_body is an alias to to_hash (backward compatibility)
|
156
|
+
# @return [Hash] Returns the object in the form of hash
|
157
|
+
def to_body
|
158
|
+
to_hash
|
159
|
+
end
|
160
|
+
|
161
|
+
# Returns the object in the form of hash
|
162
|
+
# @return [Hash] Returns the object in the form of hash
|
163
|
+
def to_hash
|
164
|
+
hash = {}
|
165
|
+
self.class.attribute_map.each_pair do |attr, param|
|
166
|
+
value = self.send(attr)
|
167
|
+
next if value.nil?
|
168
|
+
hash[param] = _to_hash(value)
|
169
|
+
end
|
170
|
+
hash
|
171
|
+
end
|
172
|
+
|
173
|
+
# Outputs non-array value in the form of hash
|
174
|
+
# For object, use to_hash. Otherwise, just return the value
|
175
|
+
# @param [Object] value Any valid value
|
176
|
+
# @return [Hash] Returns the value in the form of hash
|
177
|
+
def _to_hash(value)
|
178
|
+
if value.is_a?(Array)
|
179
|
+
value.compact.map { |v| _to_hash(v) }
|
180
|
+
elsif value.is_a?(Hash)
|
181
|
+
{}.tap do |hash|
|
182
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
183
|
+
end
|
184
|
+
elsif value.respond_to? :to_hash
|
185
|
+
value.to_hash
|
186
|
+
else
|
187
|
+
value
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
end
|
192
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose" file="table_row_format_response.rb">
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -27,13 +27,12 @@ require 'date'
|
|
27
27
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
|
-
#
|
31
|
-
# GET https://api.aspose.cloud/v4.0/words/Test.doc/tables/{0}/rows/{1}/rowformat.
|
30
|
+
# The REST response with the formatting properties of a table row.
|
32
31
|
class TableRowFormatResponse
|
33
|
-
# Gets or sets request Id.
|
32
|
+
# Gets or sets the request Id.
|
34
33
|
attr_accessor :request_id
|
35
34
|
|
36
|
-
# Gets or sets table.
|
35
|
+
# Gets or sets the formatting properties of a table row.
|
37
36
|
attr_accessor :row_format
|
38
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
38
|
def self.attribute_map
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose" file="table_row_insert.rb">
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -27,9 +27,9 @@ require 'date'
|
|
27
27
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
|
-
#
|
30
|
+
# DTO container with a table row element.
|
31
31
|
class TableRowInsert
|
32
|
-
# Gets or sets count of columns.
|
32
|
+
# Gets or sets the count of columns. The default value is 1.
|
33
33
|
attr_accessor :columns_count
|
34
34
|
|
35
35
|
# Gets or sets table row will be inserted after row with specified 0-based index.
|
@@ -0,0 +1,211 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="table_row_insert_dto.rb">
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
module AsposeWordsCloud
|
29
|
+
|
30
|
+
# DTO container with a table row element.
|
31
|
+
class TableRowInsertDto
|
32
|
+
# Gets or sets the count of columns. The default value is 1.
|
33
|
+
attr_accessor :columns_count
|
34
|
+
|
35
|
+
# Gets or sets table row will be inserted after row with specified 0-based index.
|
36
|
+
attr_accessor :insert_after
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
:'columns_count' => :'ColumnsCount',
|
41
|
+
:'insert_after' => :'InsertAfter'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# Attribute type mapping.
|
46
|
+
def self.swagger_types
|
47
|
+
{
|
48
|
+
:'columns_count' => :'Integer',
|
49
|
+
:'insert_after' => :'Integer'
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Initializes the object
|
54
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
def initialize(attributes = {})
|
56
|
+
return unless attributes.is_a?(Hash)
|
57
|
+
|
58
|
+
# convert string to symbol for hash key
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
60
|
+
|
61
|
+
if attributes.key?(:'ColumnsCount')
|
62
|
+
self.columns_count = attributes[:'ColumnsCount']
|
63
|
+
end
|
64
|
+
|
65
|
+
if attributes.key?(:'InsertAfter')
|
66
|
+
self.insert_after = attributes[:'InsertAfter']
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
71
|
+
# @return Array for valid properies with the reasons
|
72
|
+
def list_invalid_properties
|
73
|
+
invalid_properties = []
|
74
|
+
return invalid_properties
|
75
|
+
end
|
76
|
+
|
77
|
+
# Check to see if the all the properties in the model are valid
|
78
|
+
# @return true if the model is valid
|
79
|
+
def valid?
|
80
|
+
return true
|
81
|
+
end
|
82
|
+
|
83
|
+
# Checks equality by comparing each attribute.
|
84
|
+
# @param [Object] Object to be compared
|
85
|
+
def ==(other)
|
86
|
+
return true if self.equal?(other)
|
87
|
+
self.class == other.class &&
|
88
|
+
columns_count == other.columns_count &&
|
89
|
+
insert_after == other.insert_after
|
90
|
+
end
|
91
|
+
|
92
|
+
# @see the `==` method
|
93
|
+
# @param [Object] Object to be compared
|
94
|
+
def eql?(other)
|
95
|
+
self == other
|
96
|
+
end
|
97
|
+
|
98
|
+
# Calculates hash code according to all attributes.
|
99
|
+
# @return [Fixnum] Hash code
|
100
|
+
def hash
|
101
|
+
[columns_count, insert_after].hash
|
102
|
+
end
|
103
|
+
|
104
|
+
# Builds the object from hash
|
105
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
106
|
+
# @return [Object] Returns the model itself
|
107
|
+
def build_from_hash(attributes)
|
108
|
+
return nil unless attributes.is_a?(Hash)
|
109
|
+
self.class.swagger_types.each_pair do |key, type|
|
110
|
+
if type =~ /\AArray<(.*)>/i
|
111
|
+
# check to ensure the input is an array given that the the attribute
|
112
|
+
# is documented as an array but the input is not
|
113
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
114
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
115
|
+
end
|
116
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
117
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
118
|
+
end
|
119
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
120
|
+
end
|
121
|
+
|
122
|
+
self
|
123
|
+
end
|
124
|
+
|
125
|
+
# Deserializes the data based on type
|
126
|
+
# @param string type Data type
|
127
|
+
# @param string value Value to be deserialized
|
128
|
+
# @return [Object] Deserialized data
|
129
|
+
def _deserialize(type, value)
|
130
|
+
case type.to_sym
|
131
|
+
when :DateTime
|
132
|
+
Time.at(/\d/.match(value)[0].to_f).to_datetime
|
133
|
+
when :Date
|
134
|
+
Time.at(/\d/.match(value)[0].to_f).to_date
|
135
|
+
when :String
|
136
|
+
value.to_s
|
137
|
+
when :Integer
|
138
|
+
value.to_i
|
139
|
+
when :Float
|
140
|
+
value.to_f
|
141
|
+
when :BOOLEAN
|
142
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
143
|
+
true
|
144
|
+
else
|
145
|
+
false
|
146
|
+
end
|
147
|
+
when :Object
|
148
|
+
# generic object (usually a Hash), return directly
|
149
|
+
value
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
153
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
156
|
+
{}.tap do |hash|
|
157
|
+
value.each do |k, v|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
else
|
162
|
+
# model
|
163
|
+
temp_model = AsposeWordsCloud.const_get(type).new
|
164
|
+
temp_model.build_from_hash(value)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
# Returns the string representation of the object
|
169
|
+
# @return [String] String presentation of the object
|
170
|
+
def to_s
|
171
|
+
to_hash.to_s
|
172
|
+
end
|
173
|
+
|
174
|
+
# to_body is an alias to to_hash (backward compatibility)
|
175
|
+
# @return [Hash] Returns the object in the form of hash
|
176
|
+
def to_body
|
177
|
+
to_hash
|
178
|
+
end
|
179
|
+
|
180
|
+
# Returns the object in the form of hash
|
181
|
+
# @return [Hash] Returns the object in the form of hash
|
182
|
+
def to_hash
|
183
|
+
hash = {}
|
184
|
+
self.class.attribute_map.each_pair do |attr, param|
|
185
|
+
value = self.send(attr)
|
186
|
+
next if value.nil?
|
187
|
+
hash[param] = _to_hash(value)
|
188
|
+
end
|
189
|
+
hash
|
190
|
+
end
|
191
|
+
|
192
|
+
# Outputs non-array value in the form of hash
|
193
|
+
# For object, use to_hash. Otherwise, just return the value
|
194
|
+
# @param [Object] value Any valid value
|
195
|
+
# @return [Hash] Returns the value in the form of hash
|
196
|
+
def _to_hash(value)
|
197
|
+
if value.is_a?(Array)
|
198
|
+
value.compact.map { |v| _to_hash(v) }
|
199
|
+
elsif value.is_a?(Hash)
|
200
|
+
{}.tap do |hash|
|
201
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
202
|
+
end
|
203
|
+
elsif value.respond_to? :to_hash
|
204
|
+
value.to_hash
|
205
|
+
else
|
206
|
+
value
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
end
|
211
|
+
end
|