aspose_cells_cloud 22.12 → 23.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/aspose_cells_cloud/api/cells_api.rb +3107 -88
- data/lib/aspose_cells_cloud/api/light_cells_api.rb +35 -0
- data/lib/aspose_cells_cloud/api_client.rb +34 -25
- data/lib/aspose_cells_cloud/api_error.rb +23 -17
- data/lib/aspose_cells_cloud/configuration.rb +26 -18
- data/lib/aspose_cells_cloud/models/above_average.rb +38 -38
- data/lib/aspose_cells_cloud/models/arc_shape.rb +714 -0
- data/lib/aspose_cells_cloud/models/arc_shape_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/area.rb +79 -52
- data/lib/aspose_cells_cloud/models/auto_filter.rb +78 -47
- data/lib/aspose_cells_cloud/models/auto_filter_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +60 -45
- data/lib/aspose_cells_cloud/models/auto_shape.rb +407 -269
- data/lib/aspose_cells_cloud/models/auto_shape_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/auto_shapes.rb +48 -35
- data/lib/aspose_cells_cloud/models/auto_shapes_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/axis.rb +290 -188
- data/lib/aspose_cells_cloud/models/axis_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/barcode_response.rb +59 -28
- data/lib/aspose_cells_cloud/models/barcode_response_list.rb +26 -28
- data/lib/aspose_cells_cloud/models/batch_convert_request.rb +86 -38
- data/lib/aspose_cells_cloud/models/batch_lock_request.rb +270 -0
- data/lib/aspose_cells_cloud/models/batch_protect_request.rb +282 -0
- data/lib/aspose_cells_cloud/models/batch_split_request.rb +306 -0
- data/lib/aspose_cells_cloud/models/border.rb +75 -33
- data/lib/aspose_cells_cloud/models/border_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/button.rb +642 -0
- data/lib/aspose_cells_cloud/models/button_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/calculate_formula_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/calculation_options.rb +66 -45
- data/lib/aspose_cells_cloud/models/cell.rb +177 -176
- data/lib/aspose_cells_cloud/models/cell_area.rb +60 -59
- data/lib/aspose_cells_cloud/models/cell_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/cell_value.rb +76 -49
- data/lib/aspose_cells_cloud/models/cells.rb +89 -77
- data/lib/aspose_cells_cloud/models/cells_cloud_file_info.rb +51 -35
- data/lib/aspose_cells_cloud/models/cells_cloud_file_info_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/cells_cloud_response.rb +44 -34
- data/lib/aspose_cells_cloud/models/cells_color.rb +109 -49
- data/lib/aspose_cells_cloud/models/cells_document_properties.rb +34 -33
- data/lib/aspose_cells_cloud/models/cells_document_properties_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/cells_document_property.rb +69 -57
- data/lib/aspose_cells_cloud/models/cells_document_property_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/cells_drawing.rb +642 -0
- data/lib/aspose_cells_cloud/models/cells_drawing_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +55 -37
- data/lib/aspose_cells_cloud/models/cells_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/chart.rb +478 -378
- data/lib/aspose_cells_cloud/models/chart_area.rb +156 -119
- data/lib/aspose_cells_cloud/models/chart_area_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/chart_data_table.rb +306 -0
- data/lib/aspose_cells_cloud/models/chart_data_table_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/chart_frame.rb +157 -120
- data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +149 -86
- data/lib/aspose_cells_cloud/models/chart_point.rb +306 -0
- data/lib/aspose_cells_cloud/models/chart_point_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/chart_points.rb +222 -0
- data/lib/aspose_cells_cloud/models/chart_points_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/chart_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/chart_shape.rb +642 -0
- data/lib/aspose_cells_cloud/models/charts.rb +48 -35
- data/lib/aspose_cells_cloud/models/charts_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/check_box.rb +678 -0
- data/lib/aspose_cells_cloud/models/check_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/color.rb +52 -51
- data/lib/aspose_cells_cloud/models/color_filter.rb +73 -49
- data/lib/aspose_cells_cloud/models/color_filter_request.rb +48 -30
- data/lib/aspose_cells_cloud/models/color_scale.rb +82 -61
- data/lib/aspose_cells_cloud/models/column.rb +85 -58
- data/lib/aspose_cells_cloud/models/column_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/columns.rb +61 -52
- data/lib/aspose_cells_cloud/models/columns_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/combo_box.rb +714 -0
- data/lib/aspose_cells_cloud/models/combo_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/comment.rb +145 -100
- data/lib/aspose_cells_cloud/models/comment_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/comment_shape.rb +654 -0
- data/lib/aspose_cells_cloud/models/comment_shape_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/comments.rb +48 -35
- data/lib/aspose_cells_cloud/models/comments_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/conditional_formatting.rb +55 -39
- data/lib/aspose_cells_cloud/models/conditional_formatting_icon.rb +53 -54
- data/lib/aspose_cells_cloud/models/conditional_formatting_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +49 -34
- data/lib/aspose_cells_cloud/models/conditional_formattings.rb +51 -40
- data/lib/aspose_cells_cloud/models/conditional_formattings_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/convert_parameter.rb +222 -0
- data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +55 -37
- data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +83 -50
- data/lib/aspose_cells_cloud/models/copy_options.rb +87 -65
- data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +89 -70
- data/lib/aspose_cells_cloud/models/criteria_multiple_filter.rb +210 -0
- data/lib/aspose_cells_cloud/models/custom_filter.rb +48 -33
- data/lib/aspose_cells_cloud/models/custom_parser_config.rb +55 -37
- data/lib/aspose_cells_cloud/models/data_bar.rb +144 -111
- data/lib/aspose_cells_cloud/models/data_bar_border.rb +41 -28
- data/lib/aspose_cells_cloud/models/data_labels.rb +582 -0
- data/lib/aspose_cells_cloud/models/data_labels_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/data_sorter.rb +74 -43
- data/lib/aspose_cells_cloud/models/date_time_group_item.rb +282 -0
- data/lib/aspose_cells_cloud/models/dif_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/disc_usage.rb +35 -32
- data/lib/aspose_cells_cloud/models/display_unit_label.rb +426 -0
- data/lib/aspose_cells_cloud/models/display_unit_label_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/docx_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/drop_bars.rb +234 -0
- data/lib/aspose_cells_cloud/models/drop_bars_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/dynamic_filter.rb +50 -32
- data/lib/aspose_cells_cloud/models/error.rb +198 -0
- data/lib/aspose_cells_cloud/models/error_bar.rb +510 -0
- data/lib/aspose_cells_cloud/models/error_bar_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/error_details.rb +26 -42
- data/lib/aspose_cells_cloud/models/file_info.rb +44 -31
- data/lib/aspose_cells_cloud/models/file_source.rb +48 -33
- data/lib/aspose_cells_cloud/models/file_version.rb +81 -73
- data/lib/aspose_cells_cloud/models/file_versions.rb +35 -26
- data/lib/aspose_cells_cloud/models/files_list.rb +35 -26
- data/lib/aspose_cells_cloud/models/files_result.rb +34 -24
- data/lib/aspose_cells_cloud/models/files_upload_result.rb +43 -34
- data/lib/aspose_cells_cloud/models/fill_format.rb +82 -71
- data/lib/aspose_cells_cloud/models/fill_format_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/filter_column.rb +100 -71
- data/lib/aspose_cells_cloud/models/find_response.rb +246 -0
- data/lib/aspose_cells_cloud/models/floor.rb +282 -0
- data/lib/aspose_cells_cloud/models/floor_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/font.rb +122 -83
- data/lib/aspose_cells_cloud/models/font_setting.rb +70 -56
- data/lib/aspose_cells_cloud/models/form.rb +858 -0
- data/lib/aspose_cells_cloud/models/form_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/format_condition.rb +174 -123
- data/lib/aspose_cells_cloud/models/forms.rb +222 -0
- data/lib/aspose_cells_cloud/models/forms_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/formula_format_condition.rb +234 -0
- data/lib/aspose_cells_cloud/models/google_drive_storage_file.rb +270 -0
- data/lib/aspose_cells_cloud/models/gradient_fill.rb +62 -43
- data/lib/aspose_cells_cloud/models/gradient_fill_stop.rb +41 -33
- data/lib/aspose_cells_cloud/models/group_box.rb +654 -0
- data/lib/aspose_cells_cloud/models/group_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/group_shape.rb +642 -0
- data/lib/aspose_cells_cloud/models/horizontal_page_break.rb +49 -46
- data/lib/aspose_cells_cloud/models/horizontal_page_break_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/horizontal_page_breaks.rb +36 -35
- data/lib/aspose_cells_cloud/models/horizontal_page_breaks_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/html_save_options.rb +375 -247
- data/lib/aspose_cells_cloud/models/hyperlink.rb +86 -50
- data/lib/aspose_cells_cloud/models/hyperlink_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/hyperlinks.rb +51 -40
- data/lib/aspose_cells_cloud/models/hyperlinks_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/icon_filter.rb +37 -27
- data/lib/aspose_cells_cloud/models/icon_set.rb +82 -65
- data/lib/aspose_cells_cloud/models/image_save_options.rb +210 -145
- data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +282 -0
- data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +282 -0
- data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +282 -0
- data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +74 -52
- data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +127 -90
- data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +48 -30
- data/lib/aspose_cells_cloud/models/import_double_array_option.rb +108 -77
- data/lib/aspose_cells_cloud/models/import_int_array_option.rb +108 -77
- data/lib/aspose_cells_cloud/models/import_option.rb +67 -46
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +119 -86
- data/lib/aspose_cells_cloud/models/import_position.rb +234 -0
- data/lib/aspose_cells_cloud/models/import_string_array_option.rb +108 -77
- data/lib/aspose_cells_cloud/models/import_xml_request.rb +222 -0
- data/lib/aspose_cells_cloud/models/json_save_options.rb +146 -105
- data/lib/aspose_cells_cloud/models/label.rb +642 -0
- data/lib/aspose_cells_cloud/models/label_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/legend.rb +177 -134
- data/lib/aspose_cells_cloud/models/legend_entries.rb +222 -0
- data/lib/aspose_cells_cloud/models/legend_entries_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/legend_entry.rb +258 -0
- data/lib/aspose_cells_cloud/models/legend_entry_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/legend_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/line.rb +219 -153
- data/lib/aspose_cells_cloud/models/line_format.rb +195 -151
- data/lib/aspose_cells_cloud/models/line_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/line_shape.rb +714 -0
- data/lib/aspose_cells_cloud/models/line_shape_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/link.rb +62 -41
- data/lib/aspose_cells_cloud/models/link_element.rb +34 -22
- data/lib/aspose_cells_cloud/models/list_box.rb +726 -0
- data/lib/aspose_cells_cloud/models/list_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/list_column.rb +67 -50
- data/lib/aspose_cells_cloud/models/list_object.rb +181 -141
- data/lib/aspose_cells_cloud/models/list_object_operate_parameter.rb +48 -33
- data/lib/aspose_cells_cloud/models/list_object_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/list_objects.rb +48 -35
- data/lib/aspose_cells_cloud/models/list_objects_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/load_options.rb +330 -0
- data/lib/aspose_cells_cloud/models/m_html_save_options.rb +209 -144
- data/lib/aspose_cells_cloud/models/markdown_save_options.rb +134 -96
- data/lib/aspose_cells_cloud/models/marker.rb +246 -0
- data/lib/aspose_cells_cloud/models/match_condition_request.rb +41 -28
- data/lib/aspose_cells_cloud/models/merged_cell.rb +69 -65
- data/lib/aspose_cells_cloud/models/merged_cell_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/merged_cells.rb +51 -40
- data/lib/aspose_cells_cloud/models/merged_cells_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/multiple_filter.rb +28 -19
- data/lib/aspose_cells_cloud/models/multiple_filters.rb +48 -35
- data/lib/aspose_cells_cloud/models/name.rb +90 -72
- data/lib/aspose_cells_cloud/models/name_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/names.rb +51 -40
- data/lib/aspose_cells_cloud/models/names_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/negative_bar_format.rb +61 -44
- data/lib/aspose_cells_cloud/models/object_exist.rb +35 -32
- data/lib/aspose_cells_cloud/models/object_exists_extensions.rb +198 -0
- data/lib/aspose_cells_cloud/models/ods_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/ole_object.rb +487 -328
- data/lib/aspose_cells_cloud/models/ole_object_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/ole_objects.rb +48 -35
- data/lib/aspose_cells_cloud/models/ole_objects_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +110 -78
- data/lib/aspose_cells_cloud/models/operate_object.rb +41 -26
- data/lib/aspose_cells_cloud/models/operate_object_position.rb +81 -54
- data/lib/aspose_cells_cloud/models/operate_parameter.rb +34 -22
- data/lib/aspose_cells_cloud/models/oval.rb +642 -0
- data/lib/aspose_cells_cloud/models/oval_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/page_break_operate_parameter.rb +91 -61
- data/lib/aspose_cells_cloud/models/page_section.rb +68 -69
- data/lib/aspose_cells_cloud/models/page_sections_response.rb +51 -40
- data/lib/aspose_cells_cloud/models/page_setup.rb +385 -309
- data/lib/aspose_cells_cloud/models/page_setup_operate_parameter.rb +48 -33
- data/lib/aspose_cells_cloud/models/page_setup_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/password_request.rb +35 -23
- data/lib/aspose_cells_cloud/models/paste_options.rb +60 -39
- data/lib/aspose_cells_cloud/models/pattern_fill.rb +93 -63
- data/lib/aspose_cells_cloud/models/pdf_save_options.rb +203 -144
- data/lib/aspose_cells_cloud/models/pdf_security_options.rb +97 -62
- data/lib/aspose_cells_cloud/models/pic_format_option.rb +86 -59
- data/lib/aspose_cells_cloud/models/picture.rb +476 -320
- data/lib/aspose_cells_cloud/models/picture_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pictures.rb +48 -35
- data/lib/aspose_cells_cloud/models/pictures_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pivot_field.rb +426 -306
- data/lib/aspose_cells_cloud/models/pivot_field_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pivot_filter.rb +109 -82
- data/lib/aspose_cells_cloud/models/pivot_filter_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pivot_filters_response.rb +51 -40
- data/lib/aspose_cells_cloud/models/pivot_item.rb +55 -37
- data/lib/aspose_cells_cloud/models/pivot_table.rb +748 -546
- data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +34 -24
- data/lib/aspose_cells_cloud/models/pivot_table_operate_parameter.rb +114 -84
- data/lib/aspose_cells_cloud/models/pivot_table_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/pivot_tables.rb +48 -35
- data/lib/aspose_cells_cloud/models/pivot_tables_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/plot_area.rb +402 -0
- data/lib/aspose_cells_cloud/models/plot_area_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/protect_sheet_parameter.rb +186 -131
- data/lib/aspose_cells_cloud/models/radio_button.rb +678 -0
- data/lib/aspose_cells_cloud/models/radio_button_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/range.rb +94 -97
- data/lib/aspose_cells_cloud/models/range_copy_request.rb +60 -39
- data/lib/aspose_cells_cloud/models/range_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/range_set_outline_border_request.rb +65 -44
- data/lib/aspose_cells_cloud/models/range_set_style_request.rb +41 -26
- data/lib/aspose_cells_cloud/models/range_value_response.rb +51 -40
- data/lib/aspose_cells_cloud/models/ranges.rb +34 -24
- data/lib/aspose_cells_cloud/models/ranges_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/rectangle_shape.rb +642 -0
- data/lib/aspose_cells_cloud/models/rectangle_shape_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/result_destination.rb +55 -37
- data/lib/aspose_cells_cloud/models/row.rb +101 -68
- data/lib/aspose_cells_cloud/models/row_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/rows.rb +56 -47
- data/lib/aspose_cells_cloud/models/rows_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +234 -0
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/save_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/save_result.rb +34 -24
- data/lib/aspose_cells_cloud/models/save_result_task_parameter.rb +41 -26
- data/lib/aspose_cells_cloud/models/scroll_bar.rb +726 -0
- data/lib/aspose_cells_cloud/models/scroll_bar_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/series.rb +786 -0
- data/lib/aspose_cells_cloud/models/series_items.rb +258 -0
- data/lib/aspose_cells_cloud/models/series_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/serieses_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/shadow_effect.rb +95 -65
- data/lib/aspose_cells_cloud/models/shape.rb +413 -275
- data/lib/aspose_cells_cloud/models/shape_operate_parameter.rb +48 -33
- data/lib/aspose_cells_cloud/models/shape_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/shapes.rb +48 -35
- data/lib/aspose_cells_cloud/models/shapes_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/single_value.rb +48 -33
- data/lib/aspose_cells_cloud/models/single_value_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +55 -37
- data/lib/aspose_cells_cloud/models/solid_fill.rb +48 -30
- data/lib/aspose_cells_cloud/models/sort_key.rb +80 -60
- data/lib/aspose_cells_cloud/models/sparkline.rb +41 -33
- data/lib/aspose_cells_cloud/models/sparkline_group.rb +216 -128
- data/lib/aspose_cells_cloud/models/sparkline_group_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/sparkline_groups.rb +34 -24
- data/lib/aspose_cells_cloud/models/sparkline_groups_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/spinner.rb +702 -0
- data/lib/aspose_cells_cloud/models/spinner_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/split_result.rb +34 -24
- data/lib/aspose_cells_cloud/models/split_result_document.rb +44 -34
- data/lib/aspose_cells_cloud/models/split_result_response.rb +51 -39
- data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +85 -58
- data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +330 -0
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +233 -144
- data/lib/aspose_cells_cloud/models/storage_exist.rb +31 -25
- data/lib/aspose_cells_cloud/models/storage_file.rb +56 -47
- data/lib/aspose_cells_cloud/models/style.rb +260 -193
- data/lib/aspose_cells_cloud/models/style_format_condition.rb +378 -0
- data/lib/aspose_cells_cloud/models/style_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/styles.rb +222 -0
- data/lib/aspose_cells_cloud/models/svg_save_options.rb +110 -78
- data/lib/aspose_cells_cloud/models/table_total_request.rb +48 -30
- data/lib/aspose_cells_cloud/models/task_data.rb +34 -24
- data/lib/aspose_cells_cloud/models/task_description.rb +48 -33
- data/lib/aspose_cells_cloud/models/task_parameter.rb +28 -19
- data/lib/aspose_cells_cloud/models/task_result_parameter.rb +198 -0
- data/lib/aspose_cells_cloud/models/task_run_result.rb +222 -0
- data/lib/aspose_cells_cloud/models/task_run_result_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/text_box.rb +642 -0
- data/lib/aspose_cells_cloud/models/text_box_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/text_format_condition.rb +246 -0
- data/lib/aspose_cells_cloud/models/text_item.rb +48 -33
- data/lib/aspose_cells_cloud/models/text_item_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/text_items.rb +48 -35
- data/lib/aspose_cells_cloud/models/text_items_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/text_options.rb +187 -130
- data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +63 -44
- data/lib/aspose_cells_cloud/models/texture_fill.rb +85 -58
- data/lib/aspose_cells_cloud/models/theme_color.rb +48 -33
- data/lib/aspose_cells_cloud/models/tick_labels.rb +123 -79
- data/lib/aspose_cells_cloud/models/tick_labels_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/tile_pic_option.rb +69 -62
- data/lib/aspose_cells_cloud/models/time_period_format_condition.rb +210 -0
- data/lib/aspose_cells_cloud/models/title.rb +233 -175
- data/lib/aspose_cells_cloud/models/title_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/top10.rb +49 -34
- data/lib/aspose_cells_cloud/models/top10_filter.rb +54 -48
- data/lib/aspose_cells_cloud/models/total_request.rb +198 -0
- data/lib/aspose_cells_cloud/models/trendline.rb +582 -0
- data/lib/aspose_cells_cloud/models/trendline_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/trendlines.rb +222 -0
- data/lib/aspose_cells_cloud/models/trendlines_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/txt_save_options.rb +146 -105
- data/lib/aspose_cells_cloud/models/validation.rb +197 -155
- data/lib/aspose_cells_cloud/models/validation_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/validations.rb +51 -40
- data/lib/aspose_cells_cloud/models/validations_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/vertical_page_break.rb +48 -45
- data/lib/aspose_cells_cloud/models/vertical_page_break_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/vertical_page_breaks.rb +36 -35
- data/lib/aspose_cells_cloud/models/vertical_page_breaks_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/walls.rb +342 -0
- data/lib/aspose_cells_cloud/models/walls_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/workbook.rb +131 -91
- data/lib/aspose_cells_cloud/models/workbook_encryption_request.rb +52 -42
- data/lib/aspose_cells_cloud/models/workbook_operate_parameter.rb +34 -22
- data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +49 -36
- data/lib/aspose_cells_cloud/models/workbook_replace_response.rb +62 -51
- data/lib/aspose_cells_cloud/models/workbook_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/workbook_settings.rb +490 -378
- data/lib/aspose_cells_cloud/models/workbook_settings_operate_parameter.rb +48 -33
- data/lib/aspose_cells_cloud/models/workbook_settings_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/workbooks_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/worksheet.rb +348 -276
- data/lib/aspose_cells_cloud/models/worksheet_moving_request.rb +49 -36
- data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +69 -45
- data/lib/aspose_cells_cloud/models/worksheet_replace_response.rb +62 -51
- data/lib/aspose_cells_cloud/models/worksheet_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/worksheets.rb +48 -35
- data/lib/aspose_cells_cloud/models/worksheets_response.rb +51 -38
- data/lib/aspose_cells_cloud/models/xls_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/xlsb_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/models/xps_save_options.rb +103 -74
- data/lib/aspose_cells_cloud/requests/copy_file_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/copy_folder_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/create_folder_request.rb +109 -0
- data/lib/aspose_cells_cloud/requests/delete_decrypt_workbook_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/delete_document_properties_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/delete_document_property_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/delete_document_un_protect_from_changes_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/delete_file_request.rb +116 -0
- data/lib/aspose_cells_cloud/requests/delete_folder_request.rb +116 -0
- data/lib/aspose_cells_cloud/requests/delete_header_footer_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_horizontal_page_break_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_horizontal_page_breaks_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/delete_metadata_request.rb +130 -0
- data/lib/aspose_cells_cloud/requests/delete_pivot_table_field_request.rb +159 -0
- data/lib/aspose_cells_cloud/requests/delete_un_protect_workbook_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/delete_unprotect_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/delete_vertical_page_break_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_vertical_page_breaks_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/delete_workbook_background_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/delete_workbook_name_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_workbook_names_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_background_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_cells_range_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_chart_legend_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_chart_title_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_clear_charts_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_columns_request.rb +159 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_comment_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_comments_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_conditional_formatting_area_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_conditional_formatting_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_conditional_formattings_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_date_filter_request.rb +191 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_delete_chart_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_filter_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_freeze_panes_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_hyperlink_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_hyperlinks_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_list_object_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_list_objects_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_ole_object_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_ole_objects_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_picture_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pictures_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pivot_table_filter_request.rb +154 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pivot_table_filters_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pivot_table_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_pivot_tables_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_row_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_rows_request.rb +152 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_shape_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_shapes_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_sparkline_group_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_sparkline_groups_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_validation_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheet_validations_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/delete_worksheets_request.rb +124 -0
- data/lib/aspose_cells_cloud/requests/download_file_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_cell_html_string_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_cells_cloud_service_status_request.rb +92 -0
- data/lib/aspose_cells_cloud/requests/get_cells_cloud_services_health_check_request.rb +92 -0
- data/lib/aspose_cells_cloud/requests/get_chart_area_border_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_area_fill_format_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_area_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_category_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_second_category_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_second_value_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_series_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_chart_value_axis_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_disc_usage_request.rb +100 -0
- data/lib/aspose_cells_cloud/requests/get_document_properties_request.rb +124 -0
- data/lib/aspose_cells_cloud/requests/get_document_property_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_file_versions_request.rb +110 -0
- data/lib/aspose_cells_cloud/requests/get_files_list_request.rb +106 -0
- data/lib/aspose_cells_cloud/requests/get_footer_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_header_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_horizontal_page_break_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_horizontal_page_breaks_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_metadata_request.rb +130 -0
- data/lib/aspose_cells_cloud/requests/get_named_range_value_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_named_ranges_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_page_count_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_page_setup_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_pivot_table_field_request.rb +159 -0
- data/lib/aspose_cells_cloud/requests/get_vertical_page_break_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_vertical_page_breaks_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_default_style_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_name_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_name_value_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_names_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +166 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_settings_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_text_items_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_auto_filter_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_autoshape_with_format_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_autoshapes_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_calculate_formula_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_cell_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_cell_style_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_cells_range_value_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_cells_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_chart_legend_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_chart_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_chart_title_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_charts_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_column_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_columns_request.rb +133 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_comment_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_comments_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_conditional_formatting_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_conditional_formattings_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_hyperlink_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_hyperlinks_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_list_object_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_list_objects_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_merged_cell_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_merged_cells_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_ole_object_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_ole_objects_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_page_count_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_picture_with_format_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pictures_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pivot_table_filter_request.rb +147 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pivot_table_filters_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pivot_table_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_pivot_tables_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_row_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_rows_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_shape_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_shapes_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_sparkline_group_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_sparkline_groups_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_text_items_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_validation_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_validations_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/get_worksheet_with_format_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/get_worksheets_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/move_file_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/move_folder_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/object_exists_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/post_assemble_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_workbook_columns_request.rb +131 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_workbook_rows_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_worksheet_columns_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_worksheet_row_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_autofit_worksheet_rows_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_batch_convert_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_batch_lock_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_batch_protect_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_batch_split_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_batch_unlock_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_cell_calculate_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/post_cell_characters_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/post_chart_category_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_chart_second_category_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_chart_second_value_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_chart_series_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_chart_value_axis_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_clear_contents_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/post_clear_formats_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/post_clear_objects_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_column_style_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_compress_request.rb +130 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_csv_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_png_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_sql_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/post_copy_cell_into_cell_request.rb +169 -0
- data/lib/aspose_cells_cloud/requests/post_copy_worksheet_columns_request.rb +167 -0
- data/lib/aspose_cells_cloud/requests/post_copy_worksheet_request.rb +163 -0
- data/lib/aspose_cells_cloud/requests/post_copy_worksheet_rows_request.rb +167 -0
- data/lib/aspose_cells_cloud/requests/post_digital_signature_request.rb +139 -0
- data/lib/aspose_cells_cloud/requests/post_encrypt_workbook_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/post_export_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_footer_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_group_worksheet_columns_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_group_worksheet_rows_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_header_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_hide_worksheet_columns_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_hide_worksheet_rows_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_import_data_request.rb +124 -0
- data/lib/aspose_cells_cloud/requests/post_import_request.rb +108 -0
- data/lib/aspose_cells_cloud/requests/post_merge_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_metadata_request.rb +132 -0
- data/lib/aspose_cells_cloud/requests/post_move_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_page_setup_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_cell_style_request.rb +177 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_field_hide_item_request.rb +188 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_field_move_to_request.rb +170 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_style_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_update_pivot_field_request.rb +176 -0
- data/lib/aspose_cells_cloud/requests/post_pivot_table_update_pivot_fields_request.rb +166 -0
- data/lib/aspose_cells_cloud/requests/post_protect_request.rb +120 -0
- data/lib/aspose_cells_cloud/requests/post_protect_workbook_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/post_rename_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_repair_request.rb +116 -0
- data/lib/aspose_cells_cloud/requests/post_replace_request.rb +152 -0
- data/lib/aspose_cells_cloud/requests/post_reverse_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/post_rotate_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/post_row_style_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_run_task_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_search_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/post_set_cell_html_string_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_set_cell_range_value_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_set_worksheet_column_width_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/post_split_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_ungroup_worksheet_columns_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_ungroup_worksheet_rows_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_unhide_worksheet_columns_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_unhide_worksheet_rows_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_unlock_request.rb +120 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_cell_style_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_ole_object_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_property_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_range_style_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_row_request.rb +151 -0
- data/lib/aspose_cells_cloud/requests/post_update_worksheet_zoom_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_watermark_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_calculate_formula_request.rb +131 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_export_xml_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_get_smart_marker_result_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_import_xml_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_name_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_save_as_request.rb +163 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_settings_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_split_request.rb +173 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_text_replace_request.rb +139 -0
- data/lib/aspose_cells_cloud/requests/post_workbooks_merge_request.rb +135 -0
- data/lib/aspose_cells_cloud/requests/post_workbooks_text_search_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_auto_filter_refresh_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_calculate_formula_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cell_set_value_request.rb +158 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_column_width_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_merge_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_move_to_request.rb +160 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_outline_border_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_row_height_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_style_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_un_merge_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_value_request.rb +163 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_ranges_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_chart_legend_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_chart_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_chart_title_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_comment_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_group_shape_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_hyperlink_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_column_request.rb +158 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_columns_total_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_convert_to_range_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_sort_table_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_summarize_with_pivot_table_request.rb +159 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_match_blanks_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_match_non_blanks_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_merge_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_picture_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_pivot_table_calculate_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_pivot_table_move_request.rb +158 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_range_sort_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_shape_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_sparkline_group_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_text_search_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_ungroup_shape_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_unmerge_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_validation_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/post_worsheet_text_replace_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/put_active_worksheet_request.rb +127 -0
- data/lib/aspose_cells_cloud/requests/put_add_new_worksheet_request.rb +141 -0
- data/lib/aspose_cells_cloud/requests/put_change_visibility_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +151 -0
- data/lib/aspose_cells_cloud/requests/put_document_property_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/put_document_protect_from_changes_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/put_horizontal_page_break_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/put_insert_new_worksheet_request.rb +157 -0
- data/lib/aspose_cells_cloud/requests/put_insert_worksheet_columns_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/put_insert_worksheet_row_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/put_insert_worksheet_rows_request.rb +152 -0
- data/lib/aspose_cells_cloud/requests/put_pivot_table_field_request.rb +166 -0
- data/lib/aspose_cells_cloud/requests/put_protect_worksheet_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/put_vertical_page_break_request.rb +162 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_background_request.rb +136 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_create_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_name_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_water_marker_request.rb +128 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_add_chart_request.rb +229 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_add_picture_request.rb +169 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_background_request.rb +146 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_cells_range_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_chart_legend_request.rb +137 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_chart_title_request.rb +144 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_color_filter_request.rb +174 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_comment_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_conditional_formatting_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_custom_filter_request.rb +206 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_date_filter_request.rb +216 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_dynamic_filter_request.rb +174 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_filter_request.rb +174 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_filter_top10_request.rb +196 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_format_condition_area_request.rb +148 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_format_condition_condition_request.rb +181 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_format_condition_request.rb +192 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_freeze_panes_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_hyperlink_request.rb +182 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_icon_filter_request.rb +185 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_list_object_request.rb +176 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_ole_object_request.rb +169 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_pivot_table_filter_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_pivot_table_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_shape_request.rb +183 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_sparkline_group_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_validation_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/storage_exists_request.rb +102 -0
- data/lib/aspose_cells_cloud/requests/upload_file_request.rb +126 -0
- data/lib/aspose_cells_cloud/version.rb +24 -18
- data/lib/aspose_cells_cloud.rb +598 -168
- data/spec/api/auto_filter_controller_spec.rb +250 -0
- data/spec/api/batch_controller_spec.rb +105 -0
- data/spec/api/cells_controller_spec.rb +747 -0
- data/spec/api/cells_status_controller_spec.rb +49 -0
- data/spec/api/chart_area_controller_spec.rb +67 -0
- data/spec/api/charts_controller_spec.rb +269 -0
- data/spec/api/conditional_formattings_controller_spec.rb +176 -0
- data/spec/api/file_controller_spec.rb +105 -0
- data/spec/api/folder_controller_spec.rb +103 -0
- data/spec/api/hypelinks_controller_spec.rb +122 -0
- data/spec/api/list_objects_controller_spec.rb +228 -0
- data/spec/api/ole_objects_controller_spec.rb +126 -0
- data/spec/api/page_breaks_controller_spec.rb +193 -0
- data/spec/api/page_setup_controller_spec.rb +140 -0
- data/spec/api/pictures_controller_spec.rb +124 -0
- data/spec/api/pivot_tables_controller_spec.rb +406 -0
- data/spec/api/properties_controller_spec.rb +104 -0
- data/spec/api/ranges_controller_spec.rb +245 -0
- data/spec/api/shapes_controller_spec.rb +163 -0
- data/spec/api/sparkline_groups_controller_spec.rb +122 -0
- data/spec/api/storage_controller_spec.rb +85 -0
- data/spec/api/workbook_controller_spec.rb +616 -0
- data/spec/api/worksheet_controller_spec.rb +726 -0
- data/spec/api/worksheet_validations_controller_spec.rb +122 -0
- data/spec/api/xml_controller_spec.rb +54 -0
- data/spec/conversion/conversion_json_spec.rb +629 -0
- data/spec/conversion/conversion_png_spec.rb +629 -0
- data/spec/conversion/conversion_spec.rb +2449 -0
- data/spec/document/light_cells_spec.rb +3562 -0
- data/spec/spec_helper.rb +26 -28
- metadata +460 -48
- data/spec/api/cells_api_spec.rb +0 -1145
- data/spec/api/cells_assembly_spec.rb +0 -44
- data/spec/api/cells_auto_filter_api_spec.rb +0 -430
- data/spec/api/cells_barcode_spec.rb +0 -41
- data/spec/api/cells_batch_spec.rb +0 -45
- data/spec/api/cells_chart_area_api_spec.rb +0 -92
- data/spec/api/cells_chart_axis_api_spec.rb +0 -248
- data/spec/api/cells_charts_api_spec.rb +0 -390
- data/spec/api/cells_clear_objects_spec.rb +0 -43
- data/spec/api/cells_compress_spec.rb +0 -44
- data/spec/api/cells_conditional_formattings_api_spec.rb +0 -259
- data/spec/api/cells_convert_spec.rb +0 -76
- data/spec/api/cells_export_spec.rb +0 -239
- data/spec/api/cells_hypelinks_api_spec.rb +0 -170
- data/spec/api/cells_import_spec.rb +0 -43
- data/spec/api/cells_list_objects_api_spec.rb +0 -272
- data/spec/api/cells_merge_spec.rb +0 -43
- data/spec/api/cells_metadata_spec.rb +0 -72
- data/spec/api/cells_ole_objects_api_spec.rb +0 -177
- data/spec/api/cells_one_spec.rb +0 -37
- data/spec/api/cells_page_breaks_api_spec.rb +0 -269
- data/spec/api/cells_page_setup_api_spec.rb +0 -198
- data/spec/api/cells_pictures_api_spec.rb +0 -174
- data/spec/api/cells_pivot_tables_api_spec.rb +0 -525
- data/spec/api/cells_properties_api_spec.rb +0 -129
- data/spec/api/cells_protect_spec.rb +0 -43
- data/spec/api/cells_ranges_api_spec.rb +0 -312
- data/spec/api/cells_replace_spec.rb +0 -44
- data/spec/api/cells_reverse_spec.rb +0 -44
- data/spec/api/cells_rotate_spec.rb +0 -44
- data/spec/api/cells_save_as_api_spec.rb +0 -106
- data/spec/api/cells_search_spec.rb +0 -43
- data/spec/api/cells_shapes_api_spec.rb +0 -198
- data/spec/api/cells_simple_spec.rb +0 -48
- data/spec/api/cells_sparkline_group_spec.rb +0 -43
- data/spec/api/cells_split_spec.rb +0 -44
- data/spec/api/cells_storage_api_spec.rb +0 -69
- data/spec/api/cells_storage_spec.rb +0 -45
- data/spec/api/cells_task_api_spec.rb +0 -61
- data/spec/api/cells_unlock_spec.rb +0 -43
- data/spec/api/cells_watermark_spec.rb +0 -42
- data/spec/api/cells_workbook_api_spec.rb +0 -766
- data/spec/api/cells_worksheet_validations_api_spec.rb +0 -139
- data/spec/api/cells_worksheets_api_spec.rb +0 -867
@@ -0,0 +1,222 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="LegendEntriesrb.cs">
|
4
|
+
Copyright (c) 2023 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 'date'
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
|
33
|
+
class LegendEntries
|
34
|
+
#
|
35
|
+
attr_accessor :legend_entry_list
|
36
|
+
#
|
37
|
+
attr_accessor :link
|
38
|
+
|
39
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
40
|
+
def self.attribute_map
|
41
|
+
{
|
42
|
+
:'legend_entry_list' => :'legendEntryList',
|
43
|
+
:'link' => :'link'
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
# Attribute type mapping.
|
48
|
+
def self.swagger_types
|
49
|
+
{
|
50
|
+
:'legend_entry_list' => :'Array<LinkElement>',
|
51
|
+
:'link' => :'Link'
|
52
|
+
}
|
53
|
+
end
|
54
|
+
|
55
|
+
# Initializes the object
|
56
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
57
|
+
def initialize(attributes = {})
|
58
|
+
return unless attributes.is_a?(Hash)
|
59
|
+
|
60
|
+
# convert string to symbol for hash key
|
61
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
62
|
+
|
63
|
+
if attributes.has_key?(:'legendEntryList')
|
64
|
+
self.legend_entry_list = attributes[:'legendEntryList']
|
65
|
+
end
|
66
|
+
if attributes.has_key?(:'link')
|
67
|
+
self.link = attributes[:'link']
|
68
|
+
end
|
69
|
+
|
70
|
+
end
|
71
|
+
|
72
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
73
|
+
# @return Array for valid properies with the reasons
|
74
|
+
def list_invalid_properties
|
75
|
+
invalid_properties = Array.new
|
76
|
+
if @legend_entry_list.nil?
|
77
|
+
invalid_properties.push("invalid value for 'legend_entry_list', legend_entry_list cannot be nil.")
|
78
|
+
end
|
79
|
+
if @link.nil?
|
80
|
+
invalid_properties.push("invalid value for 'link', link cannot be nil.")
|
81
|
+
end
|
82
|
+
|
83
|
+
return invalid_properties
|
84
|
+
end
|
85
|
+
|
86
|
+
# Check to see if the all the properties in the model are valid
|
87
|
+
# @return true if the model is valid
|
88
|
+
def valid?
|
89
|
+
return false if @legend_entry_list.nil?
|
90
|
+
return false if @link.nil?
|
91
|
+
return true
|
92
|
+
end
|
93
|
+
|
94
|
+
# Checks equality by comparing each attribute.
|
95
|
+
# @param [Object] Object to be compared
|
96
|
+
def ==(o)
|
97
|
+
return true if self.equal?(o)
|
98
|
+
self.class == o.class &&
|
99
|
+
legend_entry_list == o.legend_entry_list &&
|
100
|
+
link == o.link
|
101
|
+
std_dev == o.std_dev
|
102
|
+
end
|
103
|
+
|
104
|
+
# @see the `==` method
|
105
|
+
# @param [Object] Object to be compared
|
106
|
+
def eql?(o)
|
107
|
+
self == o
|
108
|
+
end
|
109
|
+
|
110
|
+
# Calculates hash code according to all attributes.
|
111
|
+
# @return [Fixnum] Hash code
|
112
|
+
def hash
|
113
|
+
[ legend_entry_list , link ].hash
|
114
|
+
end
|
115
|
+
|
116
|
+
# Builds the object from hash
|
117
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
118
|
+
# @return [Object] Returns the model itself
|
119
|
+
def build_from_hash(attributes)
|
120
|
+
return nil unless attributes.is_a?(Hash)
|
121
|
+
self.class.swagger_types.each_pair do |key, type|
|
122
|
+
if type =~ /\AArray<(.*)>/i
|
123
|
+
# check to ensure the input is an array given that the the attribute
|
124
|
+
# is documented as an array but the input is not
|
125
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
126
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
127
|
+
end
|
128
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
129
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
130
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
131
|
+
end
|
132
|
+
|
133
|
+
self
|
134
|
+
end
|
135
|
+
|
136
|
+
# Deserializes the data based on type
|
137
|
+
# @param string type Data type
|
138
|
+
# @param string value Value to be deserialized
|
139
|
+
# @return [Object] Deserialized data
|
140
|
+
def _deserialize(type, value)
|
141
|
+
case type.to_sym
|
142
|
+
when :DateTime
|
143
|
+
DateTime.parse(value)
|
144
|
+
when :Date
|
145
|
+
Date.parse(value)
|
146
|
+
when :String
|
147
|
+
value.to_s
|
148
|
+
when :Integer
|
149
|
+
value.to_i
|
150
|
+
when :Float
|
151
|
+
value.to_f
|
152
|
+
when :BOOLEAN
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
154
|
+
true
|
155
|
+
else
|
156
|
+
false
|
157
|
+
end
|
158
|
+
when :Object
|
159
|
+
# generic object (usually a Hash), return directly
|
160
|
+
value
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
167
|
+
{}.tap do |hash|
|
168
|
+
value.each do |k, v|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
else # model
|
173
|
+
temp_model = AsposeCellsCloud.const_get(type).new
|
174
|
+
temp_model.build_from_hash(value)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the string representation of the object
|
179
|
+
# @return [String] String presentation of the object
|
180
|
+
def to_s
|
181
|
+
to_hash.to_s
|
182
|
+
end
|
183
|
+
|
184
|
+
# to_body is an alias to to_hash (backward compatibility)
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
186
|
+
def to_body
|
187
|
+
to_hash
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the object in the form of hash
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_hash
|
193
|
+
hash = {}
|
194
|
+
self.class.attribute_map.each_pair do |attr, param|
|
195
|
+
value = self.send(attr)
|
196
|
+
next if value.nil?
|
197
|
+
hash[param] = _to_hash(value)
|
198
|
+
end
|
199
|
+
hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Outputs non-array value in the form of hash
|
203
|
+
# For object, use to_hash. Otherwise, just return the value
|
204
|
+
# @param [Object] value Any valid value
|
205
|
+
# @return [Hash] Returns the value in the form of hash
|
206
|
+
def _to_hash(value)
|
207
|
+
if value.is_a?(Array)
|
208
|
+
value.compact.map{ |v| _to_hash(v) }
|
209
|
+
elsif value.is_a?(Hash)
|
210
|
+
{}.tap do |hash|
|
211
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
212
|
+
end
|
213
|
+
elsif value.respond_to? :to_hash
|
214
|
+
value.to_hash
|
215
|
+
else
|
216
|
+
value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
end
|
221
|
+
|
222
|
+
end
|
@@ -0,0 +1,234 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="LegendEntriesResponserb.cs">
|
4
|
+
Copyright (c) 2023 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 'date'
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
|
33
|
+
class LegendEntriesResponse
|
34
|
+
#
|
35
|
+
attr_accessor :legend_entries
|
36
|
+
#
|
37
|
+
attr_accessor :code
|
38
|
+
#
|
39
|
+
attr_accessor :status
|
40
|
+
|
41
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
42
|
+
def self.attribute_map
|
43
|
+
{
|
44
|
+
:'legend_entries' => :'LegendEntries',
|
45
|
+
:'code' => :'Code',
|
46
|
+
:'status' => :'Status'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Attribute type mapping.
|
51
|
+
def self.swagger_types
|
52
|
+
{
|
53
|
+
:'legend_entries' => :'LegendEntries',
|
54
|
+
:'code' => :'Integer',
|
55
|
+
:'status' => :'String'
|
56
|
+
}
|
57
|
+
end
|
58
|
+
|
59
|
+
# Initializes the object
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
61
|
+
def initialize(attributes = {})
|
62
|
+
return unless attributes.is_a?(Hash)
|
63
|
+
|
64
|
+
# convert string to symbol for hash key
|
65
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
66
|
+
|
67
|
+
if attributes.has_key?(:'LegendEntries')
|
68
|
+
self.legend_entries = attributes[:'LegendEntries']
|
69
|
+
end
|
70
|
+
if attributes.has_key?(:'Code')
|
71
|
+
self.code = attributes[:'Code']
|
72
|
+
end
|
73
|
+
if attributes.has_key?(:'Status')
|
74
|
+
self.status = attributes[:'Status']
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
80
|
+
# @return Array for valid properies with the reasons
|
81
|
+
def list_invalid_properties
|
82
|
+
invalid_properties = Array.new
|
83
|
+
if @legend_entries.nil?
|
84
|
+
invalid_properties.push("invalid value for 'legend_entries', legend_entries cannot be nil.")
|
85
|
+
end
|
86
|
+
if @code.nil?
|
87
|
+
invalid_properties.push("invalid value for 'code', code cannot be nil.")
|
88
|
+
end
|
89
|
+
if @status.nil?
|
90
|
+
invalid_properties.push("invalid value for 'status', status cannot be nil.")
|
91
|
+
end
|
92
|
+
|
93
|
+
return invalid_properties
|
94
|
+
end
|
95
|
+
|
96
|
+
# Check to see if the all the properties in the model are valid
|
97
|
+
# @return true if the model is valid
|
98
|
+
def valid?
|
99
|
+
return false if @legend_entries.nil?
|
100
|
+
return false if @code.nil?
|
101
|
+
return false if @status.nil?
|
102
|
+
return true
|
103
|
+
end
|
104
|
+
|
105
|
+
# Checks equality by comparing each attribute.
|
106
|
+
# @param [Object] Object to be compared
|
107
|
+
def ==(o)
|
108
|
+
return true if self.equal?(o)
|
109
|
+
self.class == o.class &&
|
110
|
+
legend_entries == o.legend_entries &&
|
111
|
+
code == o.code &&
|
112
|
+
status == o.status
|
113
|
+
std_dev == o.std_dev
|
114
|
+
end
|
115
|
+
|
116
|
+
# @see the `==` method
|
117
|
+
# @param [Object] Object to be compared
|
118
|
+
def eql?(o)
|
119
|
+
self == o
|
120
|
+
end
|
121
|
+
|
122
|
+
# Calculates hash code according to all attributes.
|
123
|
+
# @return [Fixnum] Hash code
|
124
|
+
def hash
|
125
|
+
[ legend_entries , code , status ].hash
|
126
|
+
end
|
127
|
+
|
128
|
+
# Builds the object from hash
|
129
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
+
# @return [Object] Returns the model itself
|
131
|
+
def build_from_hash(attributes)
|
132
|
+
return nil unless attributes.is_a?(Hash)
|
133
|
+
self.class.swagger_types.each_pair do |key, type|
|
134
|
+
if type =~ /\AArray<(.*)>/i
|
135
|
+
# check to ensure the input is an array given that the the attribute
|
136
|
+
# is documented as an array but the input is not
|
137
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
138
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
139
|
+
end
|
140
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
141
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
142
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
143
|
+
end
|
144
|
+
|
145
|
+
self
|
146
|
+
end
|
147
|
+
|
148
|
+
# Deserializes the data based on type
|
149
|
+
# @param string type Data type
|
150
|
+
# @param string value Value to be deserialized
|
151
|
+
# @return [Object] Deserialized data
|
152
|
+
def _deserialize(type, value)
|
153
|
+
case type.to_sym
|
154
|
+
when :DateTime
|
155
|
+
DateTime.parse(value)
|
156
|
+
when :Date
|
157
|
+
Date.parse(value)
|
158
|
+
when :String
|
159
|
+
value.to_s
|
160
|
+
when :Integer
|
161
|
+
value.to_i
|
162
|
+
when :Float
|
163
|
+
value.to_f
|
164
|
+
when :BOOLEAN
|
165
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
166
|
+
true
|
167
|
+
else
|
168
|
+
false
|
169
|
+
end
|
170
|
+
when :Object
|
171
|
+
# generic object (usually a Hash), return directly
|
172
|
+
value
|
173
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
174
|
+
inner_type = Regexp.last_match[:inner_type]
|
175
|
+
value.map { |v| _deserialize(inner_type, v) }
|
176
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
177
|
+
k_type = Regexp.last_match[:k_type]
|
178
|
+
v_type = Regexp.last_match[:v_type]
|
179
|
+
{}.tap do |hash|
|
180
|
+
value.each do |k, v|
|
181
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
182
|
+
end
|
183
|
+
end
|
184
|
+
else # model
|
185
|
+
temp_model = AsposeCellsCloud.const_get(type).new
|
186
|
+
temp_model.build_from_hash(value)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the string representation of the object
|
191
|
+
# @return [String] String presentation of the object
|
192
|
+
def to_s
|
193
|
+
to_hash.to_s
|
194
|
+
end
|
195
|
+
|
196
|
+
# to_body is an alias to to_hash (backward compatibility)
|
197
|
+
# @return [Hash] Returns the object in the form of hash
|
198
|
+
def to_body
|
199
|
+
to_hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Returns the object in the form of hash
|
203
|
+
# @return [Hash] Returns the object in the form of hash
|
204
|
+
def to_hash
|
205
|
+
hash = {}
|
206
|
+
self.class.attribute_map.each_pair do |attr, param|
|
207
|
+
value = self.send(attr)
|
208
|
+
next if value.nil?
|
209
|
+
hash[param] = _to_hash(value)
|
210
|
+
end
|
211
|
+
hash
|
212
|
+
end
|
213
|
+
|
214
|
+
# Outputs non-array value in the form of hash
|
215
|
+
# For object, use to_hash. Otherwise, just return the value
|
216
|
+
# @param [Object] value Any valid value
|
217
|
+
# @return [Hash] Returns the value in the form of hash
|
218
|
+
def _to_hash(value)
|
219
|
+
if value.is_a?(Array)
|
220
|
+
value.compact.map{ |v| _to_hash(v) }
|
221
|
+
elsif value.is_a?(Hash)
|
222
|
+
{}.tap do |hash|
|
223
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
224
|
+
end
|
225
|
+
elsif value.respond_to? :to_hash
|
226
|
+
value.to_hash
|
227
|
+
else
|
228
|
+
value
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
end
|
233
|
+
|
234
|
+
end
|
@@ -0,0 +1,258 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="LegendEntryrb.cs">
|
4
|
+
Copyright (c) 2023 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 'date'
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
|
33
|
+
class LegendEntry
|
34
|
+
#
|
35
|
+
attr_accessor :auto_scale_font
|
36
|
+
#
|
37
|
+
attr_accessor :background_mode
|
38
|
+
#
|
39
|
+
attr_accessor :font
|
40
|
+
#
|
41
|
+
attr_accessor :is_deleted
|
42
|
+
#
|
43
|
+
attr_accessor :link
|
44
|
+
|
45
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
46
|
+
def self.attribute_map
|
47
|
+
{
|
48
|
+
:'auto_scale_font' => :'AutoScaleFont',
|
49
|
+
:'background_mode' => :'BackgroundMode',
|
50
|
+
:'font' => :'Font',
|
51
|
+
:'is_deleted' => :'IsDeleted',
|
52
|
+
:'link' => :'link'
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
# Attribute type mapping.
|
57
|
+
def self.swagger_types
|
58
|
+
{
|
59
|
+
:'auto_scale_font' => :'String',
|
60
|
+
:'background_mode' => :'String',
|
61
|
+
:'font' => :'Font',
|
62
|
+
:'is_deleted' => :'String',
|
63
|
+
:'link' => :'Link'
|
64
|
+
}
|
65
|
+
end
|
66
|
+
|
67
|
+
# Initializes the object
|
68
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
69
|
+
def initialize(attributes = {})
|
70
|
+
return unless attributes.is_a?(Hash)
|
71
|
+
|
72
|
+
# convert string to symbol for hash key
|
73
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
74
|
+
|
75
|
+
if attributes.has_key?(:'AutoScaleFont')
|
76
|
+
self.auto_scale_font = attributes[:'AutoScaleFont']
|
77
|
+
end
|
78
|
+
if attributes.has_key?(:'BackgroundMode')
|
79
|
+
self.background_mode = attributes[:'BackgroundMode']
|
80
|
+
end
|
81
|
+
if attributes.has_key?(:'Font')
|
82
|
+
self.font = attributes[:'Font']
|
83
|
+
end
|
84
|
+
if attributes.has_key?(:'IsDeleted')
|
85
|
+
self.is_deleted = attributes[:'IsDeleted']
|
86
|
+
end
|
87
|
+
if attributes.has_key?(:'link')
|
88
|
+
self.link = attributes[:'link']
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
94
|
+
# @return Array for valid properies with the reasons
|
95
|
+
def list_invalid_properties
|
96
|
+
invalid_properties = Array.new
|
97
|
+
if @auto_scale_font.nil?
|
98
|
+
invalid_properties.push("invalid value for 'auto_scale_font', auto_scale_font cannot be nil.")
|
99
|
+
end
|
100
|
+
if @background_mode.nil?
|
101
|
+
invalid_properties.push("invalid value for 'background_mode', background_mode cannot be nil.")
|
102
|
+
end
|
103
|
+
if @font.nil?
|
104
|
+
invalid_properties.push("invalid value for 'font', font cannot be nil.")
|
105
|
+
end
|
106
|
+
if @is_deleted.nil?
|
107
|
+
invalid_properties.push("invalid value for 'is_deleted', is_deleted cannot be nil.")
|
108
|
+
end
|
109
|
+
if @link.nil?
|
110
|
+
invalid_properties.push("invalid value for 'link', link cannot be nil.")
|
111
|
+
end
|
112
|
+
|
113
|
+
return invalid_properties
|
114
|
+
end
|
115
|
+
|
116
|
+
# Check to see if the all the properties in the model are valid
|
117
|
+
# @return true if the model is valid
|
118
|
+
def valid?
|
119
|
+
return false if @auto_scale_font.nil?
|
120
|
+
return false if @background_mode.nil?
|
121
|
+
return false if @font.nil?
|
122
|
+
return false if @is_deleted.nil?
|
123
|
+
return false if @link.nil?
|
124
|
+
return true
|
125
|
+
end
|
126
|
+
|
127
|
+
# Checks equality by comparing each attribute.
|
128
|
+
# @param [Object] Object to be compared
|
129
|
+
def ==(o)
|
130
|
+
return true if self.equal?(o)
|
131
|
+
self.class == o.class &&
|
132
|
+
auto_scale_font == o.auto_scale_font &&
|
133
|
+
background_mode == o.background_mode &&
|
134
|
+
font == o.font &&
|
135
|
+
is_deleted == o.is_deleted &&
|
136
|
+
link == o.link
|
137
|
+
std_dev == o.std_dev
|
138
|
+
end
|
139
|
+
|
140
|
+
# @see the `==` method
|
141
|
+
# @param [Object] Object to be compared
|
142
|
+
def eql?(o)
|
143
|
+
self == o
|
144
|
+
end
|
145
|
+
|
146
|
+
# Calculates hash code according to all attributes.
|
147
|
+
# @return [Fixnum] Hash code
|
148
|
+
def hash
|
149
|
+
[ auto_scale_font , background_mode , font , is_deleted , link ].hash
|
150
|
+
end
|
151
|
+
|
152
|
+
# Builds the object from hash
|
153
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
154
|
+
# @return [Object] Returns the model itself
|
155
|
+
def build_from_hash(attributes)
|
156
|
+
return nil unless attributes.is_a?(Hash)
|
157
|
+
self.class.swagger_types.each_pair do |key, type|
|
158
|
+
if type =~ /\AArray<(.*)>/i
|
159
|
+
# check to ensure the input is an array given that the the attribute
|
160
|
+
# is documented as an array but the input is not
|
161
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
162
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
163
|
+
end
|
164
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
165
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
166
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
167
|
+
end
|
168
|
+
|
169
|
+
self
|
170
|
+
end
|
171
|
+
|
172
|
+
# Deserializes the data based on type
|
173
|
+
# @param string type Data type
|
174
|
+
# @param string value Value to be deserialized
|
175
|
+
# @return [Object] Deserialized data
|
176
|
+
def _deserialize(type, value)
|
177
|
+
case type.to_sym
|
178
|
+
when :DateTime
|
179
|
+
DateTime.parse(value)
|
180
|
+
when :Date
|
181
|
+
Date.parse(value)
|
182
|
+
when :String
|
183
|
+
value.to_s
|
184
|
+
when :Integer
|
185
|
+
value.to_i
|
186
|
+
when :Float
|
187
|
+
value.to_f
|
188
|
+
when :BOOLEAN
|
189
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
190
|
+
true
|
191
|
+
else
|
192
|
+
false
|
193
|
+
end
|
194
|
+
when :Object
|
195
|
+
# generic object (usually a Hash), return directly
|
196
|
+
value
|
197
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
198
|
+
inner_type = Regexp.last_match[:inner_type]
|
199
|
+
value.map { |v| _deserialize(inner_type, v) }
|
200
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
201
|
+
k_type = Regexp.last_match[:k_type]
|
202
|
+
v_type = Regexp.last_match[:v_type]
|
203
|
+
{}.tap do |hash|
|
204
|
+
value.each do |k, v|
|
205
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
206
|
+
end
|
207
|
+
end
|
208
|
+
else # model
|
209
|
+
temp_model = AsposeCellsCloud.const_get(type).new
|
210
|
+
temp_model.build_from_hash(value)
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
# Returns the string representation of the object
|
215
|
+
# @return [String] String presentation of the object
|
216
|
+
def to_s
|
217
|
+
to_hash.to_s
|
218
|
+
end
|
219
|
+
|
220
|
+
# to_body is an alias to to_hash (backward compatibility)
|
221
|
+
# @return [Hash] Returns the object in the form of hash
|
222
|
+
def to_body
|
223
|
+
to_hash
|
224
|
+
end
|
225
|
+
|
226
|
+
# Returns the object in the form of hash
|
227
|
+
# @return [Hash] Returns the object in the form of hash
|
228
|
+
def to_hash
|
229
|
+
hash = {}
|
230
|
+
self.class.attribute_map.each_pair do |attr, param|
|
231
|
+
value = self.send(attr)
|
232
|
+
next if value.nil?
|
233
|
+
hash[param] = _to_hash(value)
|
234
|
+
end
|
235
|
+
hash
|
236
|
+
end
|
237
|
+
|
238
|
+
# Outputs non-array value in the form of hash
|
239
|
+
# For object, use to_hash. Otherwise, just return the value
|
240
|
+
# @param [Object] value Any valid value
|
241
|
+
# @return [Hash] Returns the value in the form of hash
|
242
|
+
def _to_hash(value)
|
243
|
+
if value.is_a?(Array)
|
244
|
+
value.compact.map{ |v| _to_hash(v) }
|
245
|
+
elsif value.is_a?(Hash)
|
246
|
+
{}.tap do |hash|
|
247
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
248
|
+
end
|
249
|
+
elsif value.respond_to? :to_hash
|
250
|
+
value.to_hash
|
251
|
+
else
|
252
|
+
value
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
end
|
257
|
+
|
258
|
+
end
|