aspose_words_cloud 21.4.0 → 21.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +21 -0
- data/lib/aspose_words_cloud/api_client.rb +93 -6
- data/lib/aspose_words_cloud/configuration.rb +2 -1
- data/lib/aspose_words_cloud/models/font.rb +2 -2
- data/lib/aspose_words_cloud/models/paragraph_format.rb +2 -2
- data/lib/aspose_words_cloud/models/paragraph_format_base.rb +2 -2
- data/lib/aspose_words_cloud/models/paragraph_format_update.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/append_document_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/build_report_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +101 -0
- data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +102 -0
- data/lib/aspose_words_cloud/models/requests/classify_request.rb +93 -0
- data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +102 -0
- data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/create_document_request.rb +88 -0
- data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +92 -0
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +108 -0
- data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +94 -0
- data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +94 -0
- data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +114 -0
- data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/download_file_request.rb +94 -0
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +84 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_border_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +108 -0
- data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_field_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +92 -0
- data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_list_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_run_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_section_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_style_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_table_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +93 -0
- data/lib/aspose_words_cloud/models/requests/move_file_request.rb +102 -0
- data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +108 -0
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/render_page_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/render_table_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +81 -0
- data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/save_as_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +139 -0
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +141 -0
- data/lib/aspose_words_cloud/models/requests/search_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/search_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/split_document_request.rb +114 -0
- data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_border_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +127 -0
- data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_field_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_list_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_run_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_style_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +101 -0
- data/lib/aspose_words_cloud/models/style.rb +2 -2
- data/lib/aspose_words_cloud/models/table_properties.rb +2 -2
- data/lib/aspose_words_cloud/version.rb +1 -1
- metadata +2 -2
@@ -84,5 +84,122 @@ module AsposeWordsCloud
|
|
84
84
|
self.revision_author = revision_author
|
85
85
|
self.revision_date_time = revision_date_time
|
86
86
|
end
|
87
|
+
|
88
|
+
# Creating batch part from request
|
89
|
+
def to_batch_part(api_client)
|
90
|
+
# verify the required parameter 'name' is set
|
91
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_comment' if api_client.config.client_side_validation && self.name.nil?
|
92
|
+
# verify the required parameter 'comment_index' is set
|
93
|
+
raise ArgumentError, 'Missing the required parameter comment_index when calling WordsApi.update_comment' if api_client.config.client_side_validation && self.comment_index.nil?
|
94
|
+
# verify the required parameter 'comment' is set
|
95
|
+
raise ArgumentError, 'Missing the required parameter comment when calling WordsApi.update_comment' if api_client.config.client_side_validation && self.comment.nil?
|
96
|
+
|
97
|
+
# resource path
|
98
|
+
local_var_path = '/words/{name}/comments/{commentIndex}'[7..-1]
|
99
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
100
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('CommentIndex') + '}', self.comment_index.nil? ? '' : self.comment_index.to_s)
|
101
|
+
local_var_path = local_var_path.sub('//', '/')
|
102
|
+
|
103
|
+
# query parameters
|
104
|
+
query_params = {}
|
105
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
106
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
107
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
108
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
109
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
110
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
111
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
112
|
+
|
113
|
+
if query_params
|
114
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
115
|
+
end
|
116
|
+
|
117
|
+
header_params = {}
|
118
|
+
# header parameters
|
119
|
+
# HTTP header 'Content-Type'
|
120
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
121
|
+
|
122
|
+
# form parameters
|
123
|
+
form_params = {}
|
124
|
+
|
125
|
+
# http body (model)
|
126
|
+
post_body = api_client.object_to_http_body(self.comment)
|
127
|
+
body = post_body
|
128
|
+
part = ""
|
129
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
130
|
+
part.concat(" ".force_encoding('UTF-8'))
|
131
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
132
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
133
|
+
|
134
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
135
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
136
|
+
if body
|
137
|
+
if body.is_a?(Hash)
|
138
|
+
body.each do |key, value|
|
139
|
+
part.concat(value, "\r\n")
|
140
|
+
end
|
141
|
+
else
|
142
|
+
part.concat(body)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
part
|
146
|
+
end
|
147
|
+
|
148
|
+
def create_http_request(api_client)
|
149
|
+
# verify the required parameter 'name' is set
|
150
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_comment' if api_client.config.client_side_validation && self.name.nil?
|
151
|
+
# verify the required parameter 'comment_index' is set
|
152
|
+
raise ArgumentError, 'Missing the required parameter comment_index when calling WordsApi.update_comment' if api_client.config.client_side_validation && self.comment_index.nil?
|
153
|
+
# verify the required parameter 'comment' is set
|
154
|
+
raise ArgumentError, 'Missing the required parameter comment when calling WordsApi.update_comment' if api_client.config.client_side_validation && self.comment.nil?
|
155
|
+
|
156
|
+
# resource path
|
157
|
+
local_var_path = '/words/{name}/comments/{commentIndex}'[1..-1]
|
158
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
159
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('CommentIndex') + '}', self.comment_index.nil? ? '' : self.comment_index.to_s)
|
160
|
+
local_var_path = local_var_path.sub('//', '/')
|
161
|
+
|
162
|
+
# query parameters
|
163
|
+
query_params = {}
|
164
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
165
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
166
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
167
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
168
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
169
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
170
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
171
|
+
|
172
|
+
# header parameters
|
173
|
+
header_params = {}
|
174
|
+
# HTTP header 'Content-Type'
|
175
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
176
|
+
|
177
|
+
# form parameters
|
178
|
+
form_params = {}
|
179
|
+
|
180
|
+
# http body (model)
|
181
|
+
post_body = api_client.object_to_http_body(self.comment)
|
182
|
+
body = post_body
|
183
|
+
{
|
184
|
+
'method': :PUT,
|
185
|
+
'path': local_var_path,
|
186
|
+
'header_params': header_params,
|
187
|
+
'query_params': query_params,
|
188
|
+
'body': body,
|
189
|
+
'auth_names': ['JWT']
|
190
|
+
}
|
191
|
+
end
|
192
|
+
|
193
|
+
#
|
194
|
+
# Helper method to convert first letter to downcase
|
195
|
+
#
|
196
|
+
def downcase_first_letter(str)
|
197
|
+
str[0].downcase + str[1..-1]
|
198
|
+
end
|
199
|
+
|
200
|
+
# Get response type
|
201
|
+
def get_response_type
|
202
|
+
'CommentResponse'
|
203
|
+
end
|
87
204
|
end
|
88
205
|
end
|
@@ -84,5 +84,128 @@ module AsposeWordsCloud
|
|
84
84
|
self.revision_author = revision_author
|
85
85
|
self.revision_date_time = revision_date_time
|
86
86
|
end
|
87
|
+
|
88
|
+
# Creating batch part from request
|
89
|
+
def to_batch_part(api_client)
|
90
|
+
# verify the required parameter 'document' is set
|
91
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.update_drawing_object_online' if api_client.config.client_side_validation && self.document.nil?
|
92
|
+
# verify the required parameter 'drawing_object' is set
|
93
|
+
raise ArgumentError, 'Missing the required parameter drawing_object when calling WordsApi.update_drawing_object_online' if api_client.config.client_side_validation && self.drawing_object.nil?
|
94
|
+
# verify the required parameter 'image_file' is set
|
95
|
+
raise ArgumentError, 'Missing the required parameter image_file when calling WordsApi.update_drawing_object_online' if api_client.config.client_side_validation && self.image_file.nil?
|
96
|
+
# verify the required parameter 'index' is set
|
97
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_drawing_object_online' if api_client.config.client_side_validation && self.index.nil?
|
98
|
+
|
99
|
+
# resource path
|
100
|
+
local_var_path = '/words/online/put/{nodePath}/drawingObjects/{index}'[7..-1]
|
101
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
102
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', self.node_path.nil? ? '' : self.node_path.to_s)
|
103
|
+
local_var_path = local_var_path.sub('//', '/')
|
104
|
+
|
105
|
+
# query parameters
|
106
|
+
query_params = {}
|
107
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
108
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
109
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
110
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
111
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
112
|
+
|
113
|
+
if query_params
|
114
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
115
|
+
end
|
116
|
+
|
117
|
+
header_params = {}
|
118
|
+
# header parameters
|
119
|
+
# HTTP header 'Content-Type'
|
120
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
121
|
+
|
122
|
+
# form parameters
|
123
|
+
form_params = {}
|
124
|
+
form_params[downcase_first_letter('Document')] = self.document
|
125
|
+
form_params[downcase_first_letter('DrawingObject')] = self.drawing_object.to_body.to_json
|
126
|
+
form_params[downcase_first_letter('ImageFile')] = self.image_file
|
127
|
+
|
128
|
+
# http body (model)
|
129
|
+
post_body = nil
|
130
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
131
|
+
part = ""
|
132
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
133
|
+
part.concat(" ".force_encoding('UTF-8'))
|
134
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
135
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
136
|
+
|
137
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
138
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
139
|
+
if body
|
140
|
+
if body.is_a?(Hash)
|
141
|
+
body.each do |key, value|
|
142
|
+
part.concat(value, "\r\n")
|
143
|
+
end
|
144
|
+
else
|
145
|
+
part.concat(body)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
part
|
149
|
+
end
|
150
|
+
|
151
|
+
def create_http_request(api_client)
|
152
|
+
# verify the required parameter 'document' is set
|
153
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.update_drawing_object_online' if api_client.config.client_side_validation && self.document.nil?
|
154
|
+
# verify the required parameter 'drawing_object' is set
|
155
|
+
raise ArgumentError, 'Missing the required parameter drawing_object when calling WordsApi.update_drawing_object_online' if api_client.config.client_side_validation && self.drawing_object.nil?
|
156
|
+
# verify the required parameter 'image_file' is set
|
157
|
+
raise ArgumentError, 'Missing the required parameter image_file when calling WordsApi.update_drawing_object_online' if api_client.config.client_side_validation && self.image_file.nil?
|
158
|
+
# verify the required parameter 'index' is set
|
159
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_drawing_object_online' if api_client.config.client_side_validation && self.index.nil?
|
160
|
+
|
161
|
+
# resource path
|
162
|
+
local_var_path = '/words/online/put/{nodePath}/drawingObjects/{index}'[1..-1]
|
163
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
164
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', self.node_path.nil? ? '' : self.node_path.to_s)
|
165
|
+
local_var_path = local_var_path.sub('//', '/')
|
166
|
+
|
167
|
+
# query parameters
|
168
|
+
query_params = {}
|
169
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
170
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
171
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
172
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
173
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
174
|
+
|
175
|
+
# header parameters
|
176
|
+
header_params = {}
|
177
|
+
# HTTP header 'Content-Type'
|
178
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
179
|
+
|
180
|
+
# form parameters
|
181
|
+
form_params = {}
|
182
|
+
form_params[downcase_first_letter('Document')] = self.document
|
183
|
+
form_params[downcase_first_letter('DrawingObject')] = self.drawing_object.to_body.to_json
|
184
|
+
form_params[downcase_first_letter('ImageFile')] = self.image_file
|
185
|
+
|
186
|
+
# http body (model)
|
187
|
+
post_body = nil
|
188
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
189
|
+
{
|
190
|
+
'method': :PUT,
|
191
|
+
'path': local_var_path,
|
192
|
+
'header_params': header_params,
|
193
|
+
'query_params': query_params,
|
194
|
+
'body': body,
|
195
|
+
'auth_names': ['JWT']
|
196
|
+
}
|
197
|
+
end
|
198
|
+
|
199
|
+
#
|
200
|
+
# Helper method to convert first letter to downcase
|
201
|
+
#
|
202
|
+
def downcase_first_letter(str)
|
203
|
+
str[0].downcase + str[1..-1]
|
204
|
+
end
|
205
|
+
|
206
|
+
# Get response type
|
207
|
+
def get_response_type
|
208
|
+
'UpdateDrawingObjectOnlineResponse'
|
209
|
+
end
|
87
210
|
end
|
88
211
|
end
|
@@ -94,5 +94,132 @@ module AsposeWordsCloud
|
|
94
94
|
self.revision_author = revision_author
|
95
95
|
self.revision_date_time = revision_date_time
|
96
96
|
end
|
97
|
+
|
98
|
+
# Creating batch part from request
|
99
|
+
def to_batch_part(api_client)
|
100
|
+
# verify the required parameter 'name' is set
|
101
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_drawing_object' if api_client.config.client_side_validation && self.name.nil?
|
102
|
+
# verify the required parameter 'drawing_object' is set
|
103
|
+
raise ArgumentError, 'Missing the required parameter drawing_object when calling WordsApi.update_drawing_object' if api_client.config.client_side_validation && self.drawing_object.nil?
|
104
|
+
# verify the required parameter 'image_file' is set
|
105
|
+
raise ArgumentError, 'Missing the required parameter image_file when calling WordsApi.update_drawing_object' if api_client.config.client_side_validation && self.image_file.nil?
|
106
|
+
# verify the required parameter 'index' is set
|
107
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_drawing_object' if api_client.config.client_side_validation && self.index.nil?
|
108
|
+
|
109
|
+
# resource path
|
110
|
+
local_var_path = '/words/{name}/{nodePath}/drawingObjects/{index}'[7..-1]
|
111
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
112
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
113
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', self.node_path.nil? ? '' : self.node_path.to_s)
|
114
|
+
local_var_path = local_var_path.sub('//', '/')
|
115
|
+
|
116
|
+
# query parameters
|
117
|
+
query_params = {}
|
118
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
119
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
120
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
121
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
122
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
123
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
124
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
125
|
+
|
126
|
+
if query_params
|
127
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
128
|
+
end
|
129
|
+
|
130
|
+
header_params = {}
|
131
|
+
# header parameters
|
132
|
+
# HTTP header 'Content-Type'
|
133
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
134
|
+
|
135
|
+
# form parameters
|
136
|
+
form_params = {}
|
137
|
+
form_params[downcase_first_letter('DrawingObject')] = self.drawing_object.to_body.to_json
|
138
|
+
form_params[downcase_first_letter('ImageFile')] = self.image_file
|
139
|
+
|
140
|
+
# http body (model)
|
141
|
+
post_body = nil
|
142
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
143
|
+
part = ""
|
144
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
145
|
+
part.concat(" ".force_encoding('UTF-8'))
|
146
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
147
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
148
|
+
|
149
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
150
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
151
|
+
if body
|
152
|
+
if body.is_a?(Hash)
|
153
|
+
body.each do |key, value|
|
154
|
+
part.concat(value, "\r\n")
|
155
|
+
end
|
156
|
+
else
|
157
|
+
part.concat(body)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
part
|
161
|
+
end
|
162
|
+
|
163
|
+
def create_http_request(api_client)
|
164
|
+
# verify the required parameter 'name' is set
|
165
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_drawing_object' if api_client.config.client_side_validation && self.name.nil?
|
166
|
+
# verify the required parameter 'drawing_object' is set
|
167
|
+
raise ArgumentError, 'Missing the required parameter drawing_object when calling WordsApi.update_drawing_object' if api_client.config.client_side_validation && self.drawing_object.nil?
|
168
|
+
# verify the required parameter 'image_file' is set
|
169
|
+
raise ArgumentError, 'Missing the required parameter image_file when calling WordsApi.update_drawing_object' if api_client.config.client_side_validation && self.image_file.nil?
|
170
|
+
# verify the required parameter 'index' is set
|
171
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_drawing_object' if api_client.config.client_side_validation && self.index.nil?
|
172
|
+
|
173
|
+
# resource path
|
174
|
+
local_var_path = '/words/{name}/{nodePath}/drawingObjects/{index}'[1..-1]
|
175
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
176
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
177
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', self.node_path.nil? ? '' : self.node_path.to_s)
|
178
|
+
local_var_path = local_var_path.sub('//', '/')
|
179
|
+
|
180
|
+
# query parameters
|
181
|
+
query_params = {}
|
182
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
183
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
184
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
185
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
186
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
187
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
188
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
189
|
+
|
190
|
+
# header parameters
|
191
|
+
header_params = {}
|
192
|
+
# HTTP header 'Content-Type'
|
193
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
194
|
+
|
195
|
+
# form parameters
|
196
|
+
form_params = {}
|
197
|
+
form_params[downcase_first_letter('DrawingObject')] = self.drawing_object.to_body.to_json
|
198
|
+
form_params[downcase_first_letter('ImageFile')] = self.image_file
|
199
|
+
|
200
|
+
# http body (model)
|
201
|
+
post_body = nil
|
202
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
203
|
+
{
|
204
|
+
'method': :PUT,
|
205
|
+
'path': local_var_path,
|
206
|
+
'header_params': header_params,
|
207
|
+
'query_params': query_params,
|
208
|
+
'body': body,
|
209
|
+
'auth_names': ['JWT']
|
210
|
+
}
|
211
|
+
end
|
212
|
+
|
213
|
+
#
|
214
|
+
# Helper method to convert first letter to downcase
|
215
|
+
#
|
216
|
+
def downcase_first_letter(str)
|
217
|
+
str[0].downcase + str[1..-1]
|
218
|
+
end
|
219
|
+
|
220
|
+
# Get response type
|
221
|
+
def get_response_type
|
222
|
+
'DrawingObjectResponse'
|
223
|
+
end
|
97
224
|
end
|
98
225
|
end
|
@@ -79,5 +79,122 @@ module AsposeWordsCloud
|
|
79
79
|
self.revision_author = revision_author
|
80
80
|
self.revision_date_time = revision_date_time
|
81
81
|
end
|
82
|
+
|
83
|
+
# Creating batch part from request
|
84
|
+
def to_batch_part(api_client)
|
85
|
+
# verify the required parameter 'document' is set
|
86
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.update_field_online' if api_client.config.client_side_validation && self.document.nil?
|
87
|
+
# verify the required parameter 'field' is set
|
88
|
+
raise ArgumentError, 'Missing the required parameter field when calling WordsApi.update_field_online' if api_client.config.client_side_validation && self.field.nil?
|
89
|
+
# verify the required parameter 'index' is set
|
90
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_field_online' if api_client.config.client_side_validation && self.index.nil?
|
91
|
+
|
92
|
+
# resource path
|
93
|
+
local_var_path = '/words/online/put/{nodePath}/fields/{index}'[7..-1]
|
94
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
95
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', self.node_path.nil? ? '' : self.node_path.to_s)
|
96
|
+
local_var_path = local_var_path.sub('//', '/')
|
97
|
+
|
98
|
+
# query parameters
|
99
|
+
query_params = {}
|
100
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
101
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
102
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
103
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
104
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
105
|
+
|
106
|
+
if query_params
|
107
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
108
|
+
end
|
109
|
+
|
110
|
+
header_params = {}
|
111
|
+
# header parameters
|
112
|
+
# HTTP header 'Content-Type'
|
113
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
114
|
+
|
115
|
+
# form parameters
|
116
|
+
form_params = {}
|
117
|
+
form_params[downcase_first_letter('Document')] = self.document
|
118
|
+
form_params[downcase_first_letter('Field')] = self.field.to_body.to_json
|
119
|
+
|
120
|
+
# http body (model)
|
121
|
+
post_body = nil
|
122
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
123
|
+
part = ""
|
124
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
125
|
+
part.concat(" ".force_encoding('UTF-8'))
|
126
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
127
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
128
|
+
|
129
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
130
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
131
|
+
if body
|
132
|
+
if body.is_a?(Hash)
|
133
|
+
body.each do |key, value|
|
134
|
+
part.concat(value, "\r\n")
|
135
|
+
end
|
136
|
+
else
|
137
|
+
part.concat(body)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
part
|
141
|
+
end
|
142
|
+
|
143
|
+
def create_http_request(api_client)
|
144
|
+
# verify the required parameter 'document' is set
|
145
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.update_field_online' if api_client.config.client_side_validation && self.document.nil?
|
146
|
+
# verify the required parameter 'field' is set
|
147
|
+
raise ArgumentError, 'Missing the required parameter field when calling WordsApi.update_field_online' if api_client.config.client_side_validation && self.field.nil?
|
148
|
+
# verify the required parameter 'index' is set
|
149
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_field_online' if api_client.config.client_side_validation && self.index.nil?
|
150
|
+
|
151
|
+
# resource path
|
152
|
+
local_var_path = '/words/online/put/{nodePath}/fields/{index}'[1..-1]
|
153
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
154
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', self.node_path.nil? ? '' : self.node_path.to_s)
|
155
|
+
local_var_path = local_var_path.sub('//', '/')
|
156
|
+
|
157
|
+
# query parameters
|
158
|
+
query_params = {}
|
159
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
160
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
161
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
162
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
163
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
164
|
+
|
165
|
+
# header parameters
|
166
|
+
header_params = {}
|
167
|
+
# HTTP header 'Content-Type'
|
168
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
169
|
+
|
170
|
+
# form parameters
|
171
|
+
form_params = {}
|
172
|
+
form_params[downcase_first_letter('Document')] = self.document
|
173
|
+
form_params[downcase_first_letter('Field')] = self.field.to_body.to_json
|
174
|
+
|
175
|
+
# http body (model)
|
176
|
+
post_body = nil
|
177
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
178
|
+
{
|
179
|
+
'method': :PUT,
|
180
|
+
'path': local_var_path,
|
181
|
+
'header_params': header_params,
|
182
|
+
'query_params': query_params,
|
183
|
+
'body': body,
|
184
|
+
'auth_names': ['JWT']
|
185
|
+
}
|
186
|
+
end
|
187
|
+
|
188
|
+
#
|
189
|
+
# Helper method to convert first letter to downcase
|
190
|
+
#
|
191
|
+
def downcase_first_letter(str)
|
192
|
+
str[0].downcase + str[1..-1]
|
193
|
+
end
|
194
|
+
|
195
|
+
# Get response type
|
196
|
+
def get_response_type
|
197
|
+
'UpdateFieldOnlineResponse'
|
198
|
+
end
|
82
199
|
end
|
83
200
|
end
|