aspose_cells_cloud 25.1 → 25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/lib/aspose_cells_cloud/api/cells_api.rb +87 -0
- data/lib/aspose_cells_cloud/models/add_text_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/analyze_excel_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/analyzed_column_description.rb +1 -1
- data/lib/aspose_cells_cloud/models/applied_operate.rb +1 -1
- data/lib/aspose_cells_cloud/models/arc_shape_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/area.rb +1 -1
- data/lib/aspose_cells_cloud/models/auto_filter_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/auto_shape_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/auto_shapes.rb +1 -1
- data/lib/aspose_cells_cloud/models/auto_shapes_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/axis_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/base_operate_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/batch_convert_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/batch_protect_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/border.rb +1 -1
- data/lib/aspose_cells_cloud/models/border_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/button_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/calculate_formula_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/cell.rb +1 -1
- data/lib/aspose_cells_cloud/models/cell_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/cell_value.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_cloud_file_info_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_cloud_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_document_properties_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_document_property_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_drawing_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/character_count_options.rb +222 -0
- data/lib/aspose_cells_cloud/models/chart_area_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/chart_data_table_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/chart_point_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
- data/lib/aspose_cells_cloud/models/chart_points_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/chart_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/charts.rb +1 -1
- data/lib/aspose_cells_cloud/models/charts_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/check_box_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/color_filter.rb +1 -1
- data/lib/aspose_cells_cloud/models/column_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/columns_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/combination_source_data.rb +282 -0
- data/lib/aspose_cells_cloud/models/combo_box.rb +1 -1
- data/lib/aspose_cells_cloud/models/combo_box_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/comment.rb +1 -1
- data/lib/aspose_cells_cloud/models/comment_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/comment_shape_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/comments.rb +1 -1
- data/lib/aspose_cells_cloud/models/comments_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/conditional_formatting.rb +1 -1
- data/lib/aspose_cells_cloud/models/conditional_formatting_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/conditional_formattings.rb +1 -1
- data/lib/aspose_cells_cloud/models/conditional_formattings_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/convert_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/convert_text_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/convert_workbook_options.rb +282 -0
- data/lib/aspose_cells_cloud/models/convert_worksheet_options.rb +306 -0
- data/lib/aspose_cells_cloud/models/copy_options.rb +16 -4
- data/lib/aspose_cells_cloud/models/criteria_multiple_filter.rb +1 -1
- data/lib/aspose_cells_cloud/models/custom_parser_config.rb +1 -1
- data/lib/aspose_cells_cloud/models/data_cleansing.rb +1 -1
- data/lib/aspose_cells_cloud/models/data_deduplication_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/data_labels.rb +1 -1
- data/lib/aspose_cells_cloud/models/data_labels_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/data_output_location.rb +258 -0
- data/lib/aspose_cells_cloud/models/data_transformation_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/delete_incomplete_rows_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/dif_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -1
- data/lib/aspose_cells_cloud/models/display_unit_label_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/docx_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/drop_bars_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/error_bar.rb +1 -1
- data/lib/aspose_cells_cloud/models/error_bar_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/extract_text_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/file_source.rb +1 -1
- data/lib/aspose_cells_cloud/models/files_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/fill_format_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/filter_column.rb +1 -1
- data/lib/aspose_cells_cloud/models/find_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/floor_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/form.rb +1 -1
- data/lib/aspose_cells_cloud/models/form_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/forms.rb +1 -1
- data/lib/aspose_cells_cloud/models/forms_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/gradient_fill_stop.rb +1 -1
- data/lib/aspose_cells_cloud/models/group_box_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/horizontal_page_break_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/horizontal_page_breaks_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/html_save_options.rb +65 -5
- data/lib/aspose_cells_cloud/models/hyperlink_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/hyperlinks.rb +1 -1
- data/lib/aspose_cells_cloud/models/hyperlinks_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/image_or_print_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/image_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_double_array_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_int_array_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_position.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_string_array_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/json_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/label_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/legend_entries.rb +1 -1
- data/lib/aspose_cells_cloud/models/legend_entries_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/legend_entry_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/legend_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/line_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/line_shape_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/link.rb +1 -1
- data/lib/aspose_cells_cloud/models/link_element.rb +1 -1
- data/lib/aspose_cells_cloud/models/list_box.rb +1 -1
- data/lib/aspose_cells_cloud/models/list_box_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/list_object_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/list_objects.rb +1 -1
- data/lib/aspose_cells_cloud/models/list_objects_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/load_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/m_html_save_options.rb +392 -8
- data/lib/aspose_cells_cloud/models/markdown_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/merge_table_options.rb +270 -0
- data/lib/aspose_cells_cloud/models/merged_cell.rb +1 -1
- data/lib/aspose_cells_cloud/models/merged_cell_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/merged_cells.rb +1 -1
- data/lib/aspose_cells_cloud/models/merged_cells_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/multiple_filters.rb +1 -1
- data/lib/aspose_cells_cloud/models/name.rb +1 -1
- data/lib/aspose_cells_cloud/models/name_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/names.rb +1 -1
- data/lib/aspose_cells_cloud/models/names_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/ods_save_options.rb +100 -4
- data/lib/aspose_cells_cloud/models/ole_object_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/ole_objects.rb +1 -1
- data/lib/aspose_cells_cloud/models/ole_objects_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/oval_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/page_section.rb +1 -1
- data/lib/aspose_cells_cloud/models/page_sections_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/page_setup_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/paginated_save_options.rb +29 -5
- data/lib/aspose_cells_cloud/models/pdf_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/pdf_security_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/picture.rb +1 -1
- data/lib/aspose_cells_cloud/models/picture_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/pictures.rb +1 -1
- data/lib/aspose_cells_cloud/models/pictures_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_field.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_field_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_filter.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_filter_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_filters_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_item.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_table.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_table_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_tables.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_tables_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/plot_area_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/protect_sheet_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/radio_button_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/range_convert_request.rb +246 -0
- data/lib/aspose_cells_cloud/models/range_copy_request.rb +13 -1
- data/lib/aspose_cells_cloud/models/range_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/range_value_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/ranges.rb +1 -1
- data/lib/aspose_cells_cloud/models/ranges_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/rectangle_shape_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/remove_characters_by_character.rb +1 -1
- data/lib/aspose_cells_cloud/models/remove_characters_by_position.rb +1 -1
- data/lib/aspose_cells_cloud/models/remove_characters_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/remove_duplicates_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/rendering_font.rb +1 -1
- data/lib/aspose_cells_cloud/models/rendering_watermark.rb +1 -1
- data/lib/aspose_cells_cloud/models/row_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/rows.rb +1 -1
- data/lib/aspose_cells_cloud/models/rows_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/save_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/scope_item.rb +1 -1
- data/lib/aspose_cells_cloud/models/scope_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/scroll_bar_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/series_items.rb +1 -1
- data/lib/aspose_cells_cloud/models/series_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/serieses_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/shape_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/shapes.rb +1 -1
- data/lib/aspose_cells_cloud/models/shapes_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/single_value_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/sort_key.rb +1 -1
- data/lib/aspose_cells_cloud/models/sparkline_group_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/sparkline_groups_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/specify_cells_object.rb +234 -0
- data/lib/aspose_cells_cloud/models/specify_words_count_options.rb +234 -0
- data/lib/aspose_cells_cloud/models/spinner_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/split_text_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/style.rb +1 -1
- data/lib/aspose_cells_cloud/models/style_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/styles.rb +2 -2
- data/lib/aspose_cells_cloud/models/styles_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/svg_save_options.rb +208 -4
- data/lib/aspose_cells_cloud/models/table_position_info.rb +198 -0
- data/lib/aspose_cells_cloud/models/task_run_result_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_box_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_item_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_items_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/texture_fill.rb +1 -1
- data/lib/aspose_cells_cloud/models/tick_labels_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/title.rb +1 -1
- data/lib/aspose_cells_cloud/models/title_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/top10_filter.rb +1 -1
- data/lib/aspose_cells_cloud/models/trendline.rb +1 -1
- data/lib/aspose_cells_cloud/models/trendline_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/trendlines.rb +1 -1
- data/lib/aspose_cells_cloud/models/trendlines_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/trim_content_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/txt_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/validation_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/validations.rb +1 -1
- data/lib/aspose_cells_cloud/models/validations_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/vertical_page_break_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/vertical_page_breaks_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/walls_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/word_case_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/words_count_options.rb +222 -0
- data/lib/aspose_cells_cloud/models/workbook.rb +1 -1
- data/lib/aspose_cells_cloud/models/workbook_replace_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/workbook_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/workbook_settings_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/workbooks_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/worksheet.rb +1 -1
- data/lib/aspose_cells_cloud/models/worksheet_replace_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/worksheet_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/worksheets.rb +1 -1
- data/lib/aspose_cells_cloud/models/worksheets_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/xls_save_options.rb +88 -4
- data/lib/aspose_cells_cloud/models/xlsb_save_options.rb +88 -4
- data/lib/aspose_cells_cloud/models/xps_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/requests/add_picture_in_cell_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/get_all_styles_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_with_format_request.rb +14 -0
- data/lib/aspose_cells_cloud/requests/post_character_count_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_convert_worksheet_to_image_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_specify_words_count_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_words_count_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_to_image_request.rb +138 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +20 -0
- data/spec/api/pivot_tables_controller_spec.rb +1 -1
- data/spec/api/ranges_controller_spec.rb +2 -2
- data/spec/conversion/conversion_json_spec.rb +0 -21
- data/spec/conversion/conversion_png_spec.rb +0 -21
- data/spec/conversion/conversion_spec.rb +0 -81
- data/spec/document/light_cells_spec.rb +0 -98
- metadata +22 -2
@@ -0,0 +1,103 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="PostCharacterCount_request.rb.cs">
|
4
|
+
Copyright (c) 2025 Aspose.Cells Cloud
|
5
|
+
</copyright>
|
6
|
+
<summary>
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
</summary>
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
26
|
+
=end
|
27
|
+
|
28
|
+
|
29
|
+
require "uri"
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
class PostCharacterCountRequest
|
33
|
+
|
34
|
+
attr_accessor :character_count_options
|
35
|
+
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
41
|
+
|
42
|
+
if attributes.has_key?(:'characterCountOptions')
|
43
|
+
self.character_count_options = attributes[:'characterCountOptions']
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
48
|
+
def self.attribute_map
|
49
|
+
{
|
50
|
+
:'character_count_options' => :'characterCountOptions'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Attribute type mapping.
|
55
|
+
def self.swagger_types
|
56
|
+
{
|
57
|
+
:'character_count_options' => :'CharacterCountOptions'
|
58
|
+
}
|
59
|
+
end
|
60
|
+
|
61
|
+
def create_http_request(api_client,opts = {})
|
62
|
+
if api_client.config.debugging
|
63
|
+
api_client.config.logger.debug "Calling API: CellsApi.post_character_count ..."
|
64
|
+
end
|
65
|
+
api_client.request_token_if_needed
|
66
|
+
# verify the required parameter 'character_count_options' is set
|
67
|
+
if api_client.config.client_side_validation && character_count_options.nil?
|
68
|
+
fail ArgumentError, "Missing the required parameter 'character_count_options' when calling CellsApi.post_character_count "
|
69
|
+
end
|
70
|
+
|
71
|
+
# resource path
|
72
|
+
local_var_path = "/cells/charactercount"
|
73
|
+
# query parameters
|
74
|
+
query_params = {}
|
75
|
+
# header parameters
|
76
|
+
header_params = {}
|
77
|
+
# HTTP header 'Accept' (if needed)
|
78
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
79
|
+
# HTTP header 'Content-Type'
|
80
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = {}
|
84
|
+
post_body = nil
|
85
|
+
post_body = api_client.object_to_http_body(character_count_options)
|
86
|
+
|
87
|
+
|
88
|
+
#auth_names = []
|
89
|
+
auth_names = ['JWT']
|
90
|
+
data, status_code, headers = api_client.call_api(:POST, local_var_path,
|
91
|
+
:header_params => header_params,
|
92
|
+
:query_params => query_params,
|
93
|
+
:form_params => form_params,
|
94
|
+
:body => post_body,
|
95
|
+
:auth_names => auth_names,
|
96
|
+
:return_type => 'String')
|
97
|
+
if api_client.config.debugging
|
98
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.post_character_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
99
|
+
end
|
100
|
+
return data, status_code, headers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="PostConvertWorkbook_request.rb.cs">
|
4
|
+
Copyright (c) 2025 Aspose.Cells Cloud
|
5
|
+
</copyright>
|
6
|
+
<summary>
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
</summary>
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
26
|
+
=end
|
27
|
+
|
28
|
+
|
29
|
+
require "uri"
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
class PostConvertWorkbookRequest
|
33
|
+
|
34
|
+
attr_accessor :convert_workbook_options
|
35
|
+
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
41
|
+
|
42
|
+
if attributes.has_key?(:'convertWorkbookOptions')
|
43
|
+
self.convert_workbook_options = attributes[:'convertWorkbookOptions']
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
48
|
+
def self.attribute_map
|
49
|
+
{
|
50
|
+
:'convert_workbook_options' => :'convertWorkbookOptions'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Attribute type mapping.
|
55
|
+
def self.swagger_types
|
56
|
+
{
|
57
|
+
:'convert_workbook_options' => :'ConvertWorkbookOptions'
|
58
|
+
}
|
59
|
+
end
|
60
|
+
|
61
|
+
def create_http_request(api_client,opts = {})
|
62
|
+
if api_client.config.debugging
|
63
|
+
api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook ..."
|
64
|
+
end
|
65
|
+
api_client.request_token_if_needed
|
66
|
+
# verify the required parameter 'convert_workbook_options' is set
|
67
|
+
if api_client.config.client_side_validation && convert_workbook_options.nil?
|
68
|
+
fail ArgumentError, "Missing the required parameter 'convert_workbook_options' when calling CellsApi.post_convert_workbook "
|
69
|
+
end
|
70
|
+
|
71
|
+
# resource path
|
72
|
+
local_var_path = "/cells/convertWorkbook"
|
73
|
+
# query parameters
|
74
|
+
query_params = {}
|
75
|
+
# header parameters
|
76
|
+
header_params = {}
|
77
|
+
# HTTP header 'Accept' (if needed)
|
78
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
79
|
+
# HTTP header 'Content-Type'
|
80
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = {}
|
84
|
+
post_body = nil
|
85
|
+
post_body = api_client.object_to_http_body(convert_workbook_options)
|
86
|
+
|
87
|
+
|
88
|
+
#auth_names = []
|
89
|
+
auth_names = ['JWT']
|
90
|
+
data, status_code, headers = api_client.call_api(:POST, local_var_path,
|
91
|
+
:header_params => header_params,
|
92
|
+
:query_params => query_params,
|
93
|
+
:form_params => form_params,
|
94
|
+
:body => post_body,
|
95
|
+
:auth_names => auth_names,
|
96
|
+
:return_type => 'FileInfo')
|
97
|
+
if api_client.config.debugging
|
98
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.post_convert_workbook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
99
|
+
end
|
100
|
+
return data, status_code, headers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="PostConvertWorksheetToImage_request.rb.cs">
|
4
|
+
Copyright (c) 2025 Aspose.Cells Cloud
|
5
|
+
</copyright>
|
6
|
+
<summary>
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
</summary>
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
26
|
+
=end
|
27
|
+
|
28
|
+
|
29
|
+
require "uri"
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
class PostConvertWorksheetToImageRequest
|
33
|
+
|
34
|
+
attr_accessor :convert_worksheet_options
|
35
|
+
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
41
|
+
|
42
|
+
if attributes.has_key?(:'convertWorksheetOptions')
|
43
|
+
self.convert_worksheet_options = attributes[:'convertWorksheetOptions']
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
48
|
+
def self.attribute_map
|
49
|
+
{
|
50
|
+
:'convert_worksheet_options' => :'convertWorksheetOptions'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Attribute type mapping.
|
55
|
+
def self.swagger_types
|
56
|
+
{
|
57
|
+
:'convert_worksheet_options' => :'ConvertWorksheetOptions'
|
58
|
+
}
|
59
|
+
end
|
60
|
+
|
61
|
+
def create_http_request(api_client,opts = {})
|
62
|
+
if api_client.config.debugging
|
63
|
+
api_client.config.logger.debug "Calling API: CellsApi.post_convert_worksheet_to_image ..."
|
64
|
+
end
|
65
|
+
api_client.request_token_if_needed
|
66
|
+
# verify the required parameter 'convert_worksheet_options' is set
|
67
|
+
if api_client.config.client_side_validation && convert_worksheet_options.nil?
|
68
|
+
fail ArgumentError, "Missing the required parameter 'convert_worksheet_options' when calling CellsApi.post_convert_worksheet_to_image "
|
69
|
+
end
|
70
|
+
|
71
|
+
# resource path
|
72
|
+
local_var_path = "/cells/convertWorksheetToImage"
|
73
|
+
# query parameters
|
74
|
+
query_params = {}
|
75
|
+
# header parameters
|
76
|
+
header_params = {}
|
77
|
+
# HTTP header 'Accept' (if needed)
|
78
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
79
|
+
# HTTP header 'Content-Type'
|
80
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = {}
|
84
|
+
post_body = nil
|
85
|
+
post_body = api_client.object_to_http_body(convert_worksheet_options)
|
86
|
+
|
87
|
+
|
88
|
+
#auth_names = []
|
89
|
+
auth_names = ['JWT']
|
90
|
+
data, status_code, headers = api_client.call_api(:POST, local_var_path,
|
91
|
+
:header_params => header_params,
|
92
|
+
:query_params => query_params,
|
93
|
+
:form_params => form_params,
|
94
|
+
:body => post_body,
|
95
|
+
:auth_names => auth_names,
|
96
|
+
:return_type => 'FileInfo')
|
97
|
+
if api_client.config.debugging
|
98
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.post_convert_worksheet_to_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
99
|
+
end
|
100
|
+
return data, status_code, headers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="PostSpecifyWordsCount_request.rb.cs">
|
4
|
+
Copyright (c) 2025 Aspose.Cells Cloud
|
5
|
+
</copyright>
|
6
|
+
<summary>
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
</summary>
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
26
|
+
=end
|
27
|
+
|
28
|
+
|
29
|
+
require "uri"
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
class PostSpecifyWordsCountRequest
|
33
|
+
|
34
|
+
attr_accessor :specify_words_count_options
|
35
|
+
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
41
|
+
|
42
|
+
if attributes.has_key?(:'specifyWordsCountOptions')
|
43
|
+
self.specify_words_count_options = attributes[:'specifyWordsCountOptions']
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
48
|
+
def self.attribute_map
|
49
|
+
{
|
50
|
+
:'specify_words_count_options' => :'specifyWordsCountOptions'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Attribute type mapping.
|
55
|
+
def self.swagger_types
|
56
|
+
{
|
57
|
+
:'specify_words_count_options' => :'SpecifyWordsCountOptions'
|
58
|
+
}
|
59
|
+
end
|
60
|
+
|
61
|
+
def create_http_request(api_client,opts = {})
|
62
|
+
if api_client.config.debugging
|
63
|
+
api_client.config.logger.debug "Calling API: CellsApi.post_specify_words_count ..."
|
64
|
+
end
|
65
|
+
api_client.request_token_if_needed
|
66
|
+
# verify the required parameter 'specify_words_count_options' is set
|
67
|
+
if api_client.config.client_side_validation && specify_words_count_options.nil?
|
68
|
+
fail ArgumentError, "Missing the required parameter 'specify_words_count_options' when calling CellsApi.post_specify_words_count "
|
69
|
+
end
|
70
|
+
|
71
|
+
# resource path
|
72
|
+
local_var_path = "/cells/specifywordscount"
|
73
|
+
# query parameters
|
74
|
+
query_params = {}
|
75
|
+
# header parameters
|
76
|
+
header_params = {}
|
77
|
+
# HTTP header 'Accept' (if needed)
|
78
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
79
|
+
# HTTP header 'Content-Type'
|
80
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = {}
|
84
|
+
post_body = nil
|
85
|
+
post_body = api_client.object_to_http_body(specify_words_count_options)
|
86
|
+
|
87
|
+
|
88
|
+
#auth_names = []
|
89
|
+
auth_names = ['JWT']
|
90
|
+
data, status_code, headers = api_client.call_api(:POST, local_var_path,
|
91
|
+
:header_params => header_params,
|
92
|
+
:query_params => query_params,
|
93
|
+
:form_params => form_params,
|
94
|
+
:body => post_body,
|
95
|
+
:auth_names => auth_names,
|
96
|
+
:return_type => 'String')
|
97
|
+
if api_client.config.debugging
|
98
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.post_specify_words_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
99
|
+
end
|
100
|
+
return data, status_code, headers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="PostWordsCount_request.rb.cs">
|
4
|
+
Copyright (c) 2025 Aspose.Cells Cloud
|
5
|
+
</copyright>
|
6
|
+
<summary>
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
</summary>
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
26
|
+
=end
|
27
|
+
|
28
|
+
|
29
|
+
require "uri"
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
class PostWordsCountRequest
|
33
|
+
|
34
|
+
attr_accessor :words_count_options
|
35
|
+
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
41
|
+
|
42
|
+
if attributes.has_key?(:'wordsCountOptions')
|
43
|
+
self.words_count_options = attributes[:'wordsCountOptions']
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
48
|
+
def self.attribute_map
|
49
|
+
{
|
50
|
+
:'words_count_options' => :'wordsCountOptions'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Attribute type mapping.
|
55
|
+
def self.swagger_types
|
56
|
+
{
|
57
|
+
:'words_count_options' => :'WordsCountOptions'
|
58
|
+
}
|
59
|
+
end
|
60
|
+
|
61
|
+
def create_http_request(api_client,opts = {})
|
62
|
+
if api_client.config.debugging
|
63
|
+
api_client.config.logger.debug "Calling API: CellsApi.post_words_count ..."
|
64
|
+
end
|
65
|
+
api_client.request_token_if_needed
|
66
|
+
# verify the required parameter 'words_count_options' is set
|
67
|
+
if api_client.config.client_side_validation && words_count_options.nil?
|
68
|
+
fail ArgumentError, "Missing the required parameter 'words_count_options' when calling CellsApi.post_words_count "
|
69
|
+
end
|
70
|
+
|
71
|
+
# resource path
|
72
|
+
local_var_path = "/cells/wordscount"
|
73
|
+
# query parameters
|
74
|
+
query_params = {}
|
75
|
+
# header parameters
|
76
|
+
header_params = {}
|
77
|
+
# HTTP header 'Accept' (if needed)
|
78
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
79
|
+
# HTTP header 'Content-Type'
|
80
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = {}
|
84
|
+
post_body = nil
|
85
|
+
post_body = api_client.object_to_http_body(words_count_options)
|
86
|
+
|
87
|
+
|
88
|
+
#auth_names = []
|
89
|
+
auth_names = ['JWT']
|
90
|
+
data, status_code, headers = api_client.call_api(:POST, local_var_path,
|
91
|
+
:header_params => header_params,
|
92
|
+
:query_params => query_params,
|
93
|
+
:form_params => form_params,
|
94
|
+
:body => post_body,
|
95
|
+
:auth_names => auth_names,
|
96
|
+
:return_type => 'String')
|
97
|
+
if api_client.config.debugging
|
98
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.post_words_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
99
|
+
end
|
100
|
+
return data, status_code, headers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,138 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="PostWorksheetCellsRangeToImage_request.rb.cs">
|
4
|
+
Copyright (c) 2025 Aspose.Cells Cloud
|
5
|
+
</copyright>
|
6
|
+
<summary>
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
</summary>
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
26
|
+
=end
|
27
|
+
|
28
|
+
|
29
|
+
require "uri"
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
class PostWorksheetCellsRangeToImageRequest
|
33
|
+
|
34
|
+
attr_accessor :name
|
35
|
+
attr_accessor :sheet_name
|
36
|
+
attr_accessor :range_convert_request
|
37
|
+
attr_accessor :folder
|
38
|
+
attr_accessor :storage_name
|
39
|
+
|
40
|
+
def initialize(attributes = {})
|
41
|
+
return unless attributes.is_a?(Hash)
|
42
|
+
|
43
|
+
# convert string to symbol for hash key
|
44
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
45
|
+
|
46
|
+
if attributes.has_key?(:'name')
|
47
|
+
self.name = attributes[:'name']
|
48
|
+
end
|
49
|
+
if attributes.has_key?(:'sheetName')
|
50
|
+
self.sheet_name = attributes[:'sheetName']
|
51
|
+
end
|
52
|
+
if attributes.has_key?(:'rangeConvertRequest')
|
53
|
+
self.range_convert_request = attributes[:'rangeConvertRequest']
|
54
|
+
end
|
55
|
+
if attributes.has_key?(:'folder')
|
56
|
+
self.folder = attributes[:'folder']
|
57
|
+
end
|
58
|
+
if attributes.has_key?(:'storageName')
|
59
|
+
self.storage_name = attributes[:'storageName']
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
63
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
64
|
+
def self.attribute_map
|
65
|
+
{
|
66
|
+
:'name' => :'name',
|
67
|
+
:'sheet_name' => :'sheetName',
|
68
|
+
:'range_convert_request' => :'rangeConvertRequest',
|
69
|
+
:'folder' => :'folder',
|
70
|
+
:'storage_name' => :'storageName'
|
71
|
+
}
|
72
|
+
end
|
73
|
+
|
74
|
+
# Attribute type mapping.
|
75
|
+
def self.swagger_types
|
76
|
+
{
|
77
|
+
:'name' => :'String',
|
78
|
+
:'sheet_name' => :'String',
|
79
|
+
:'range_convert_request' => :'RangeConvertRequest',
|
80
|
+
:'folder' => :'String',
|
81
|
+
:'storage_name' => :'String'
|
82
|
+
}
|
83
|
+
end
|
84
|
+
|
85
|
+
def create_http_request(api_client,opts = {})
|
86
|
+
if api_client.config.debugging
|
87
|
+
api_client.config.logger.debug "Calling API: CellsApi.post_worksheet_cells_range_to_image ..."
|
88
|
+
end
|
89
|
+
api_client.request_token_if_needed
|
90
|
+
# verify the required parameter 'name' is set
|
91
|
+
if api_client.config.client_side_validation && name.nil?
|
92
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.post_worksheet_cells_range_to_image "
|
93
|
+
end
|
94
|
+
# verify the required parameter 'sheet_name' is set
|
95
|
+
if api_client.config.client_side_validation && sheet_name.nil?
|
96
|
+
fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.post_worksheet_cells_range_to_image "
|
97
|
+
end
|
98
|
+
# verify the required parameter 'range_convert_request' is set
|
99
|
+
if api_client.config.client_side_validation && range_convert_request.nil?
|
100
|
+
fail ArgumentError, "Missing the required parameter 'range_convert_request' when calling CellsApi.post_worksheet_cells_range_to_image "
|
101
|
+
end
|
102
|
+
|
103
|
+
# resource path
|
104
|
+
local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/convertToImage".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
|
105
|
+
# query parameters
|
106
|
+
query_params = {}
|
107
|
+
query_params[:'folder'] = self.folder if !self.folder.nil?
|
108
|
+
query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
|
109
|
+
|
110
|
+
# header parameters
|
111
|
+
header_params = {}
|
112
|
+
# HTTP header 'Accept' (if needed)
|
113
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
114
|
+
# HTTP header 'Content-Type'
|
115
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
116
|
+
|
117
|
+
# form parameters
|
118
|
+
form_params = {}
|
119
|
+
post_body = nil
|
120
|
+
post_body = api_client.object_to_http_body(range_convert_request)
|
121
|
+
|
122
|
+
|
123
|
+
#auth_names = []
|
124
|
+
auth_names = ['JWT']
|
125
|
+
data, status_code, headers = api_client.call_api(:POST, local_var_path,
|
126
|
+
:header_params => header_params,
|
127
|
+
:query_params => query_params,
|
128
|
+
:form_params => form_params,
|
129
|
+
:body => post_body,
|
130
|
+
:auth_names => auth_names,
|
131
|
+
:return_type => 'File')
|
132
|
+
if api_client.config.debugging
|
133
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.post_worksheet_cells_range_to_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
134
|
+
end
|
135
|
+
return data, status_code, headers
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|