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,678 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="CheckBoxrb.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 CheckBox
|
34
|
+
#
|
35
|
+
attr_accessor :checked_value
|
36
|
+
#
|
37
|
+
attr_accessor :shadow
|
38
|
+
#
|
39
|
+
attr_accessor :value
|
40
|
+
#
|
41
|
+
attr_accessor :name
|
42
|
+
#
|
43
|
+
attr_accessor :mso_drawing_type
|
44
|
+
#
|
45
|
+
attr_accessor :auto_shape_type
|
46
|
+
#
|
47
|
+
attr_accessor :placement
|
48
|
+
#
|
49
|
+
attr_accessor :upper_left_row
|
50
|
+
#
|
51
|
+
attr_accessor :top
|
52
|
+
#
|
53
|
+
attr_accessor :upper_left_column
|
54
|
+
#
|
55
|
+
attr_accessor :left
|
56
|
+
#
|
57
|
+
attr_accessor :lower_right_row
|
58
|
+
#
|
59
|
+
attr_accessor :bottom
|
60
|
+
#
|
61
|
+
attr_accessor :lower_right_column
|
62
|
+
#
|
63
|
+
attr_accessor :right
|
64
|
+
#
|
65
|
+
attr_accessor :width
|
66
|
+
#
|
67
|
+
attr_accessor :height
|
68
|
+
#
|
69
|
+
attr_accessor :x
|
70
|
+
#
|
71
|
+
attr_accessor :y
|
72
|
+
#
|
73
|
+
attr_accessor :rotation_angle
|
74
|
+
#
|
75
|
+
attr_accessor :html_text
|
76
|
+
#
|
77
|
+
attr_accessor :text
|
78
|
+
#
|
79
|
+
attr_accessor :alternative_text
|
80
|
+
#
|
81
|
+
attr_accessor :text_horizontal_alignment
|
82
|
+
#
|
83
|
+
attr_accessor :text_horizontal_overflow
|
84
|
+
#
|
85
|
+
attr_accessor :text_orientation_type
|
86
|
+
#
|
87
|
+
attr_accessor :text_vertical_alignment
|
88
|
+
#
|
89
|
+
attr_accessor :text_vertical_overflow
|
90
|
+
#
|
91
|
+
attr_accessor :is_group
|
92
|
+
#
|
93
|
+
attr_accessor :is_hidden
|
94
|
+
#
|
95
|
+
attr_accessor :is_lock_aspect_ratio
|
96
|
+
#
|
97
|
+
attr_accessor :is_locked
|
98
|
+
#
|
99
|
+
attr_accessor :is_printable
|
100
|
+
#
|
101
|
+
attr_accessor :is_text_wrapped
|
102
|
+
#
|
103
|
+
attr_accessor :is_word_art
|
104
|
+
#
|
105
|
+
attr_accessor :linked_cell
|
106
|
+
#
|
107
|
+
attr_accessor :z_order_position
|
108
|
+
#
|
109
|
+
attr_accessor :font
|
110
|
+
#
|
111
|
+
attr_accessor :hyperlink
|
112
|
+
#
|
113
|
+
attr_accessor :link
|
114
|
+
|
115
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
116
|
+
def self.attribute_map
|
117
|
+
{
|
118
|
+
:'checked_value' => :'CheckedValue',
|
119
|
+
:'shadow' => :'Shadow',
|
120
|
+
:'value' => :'Value',
|
121
|
+
:'name' => :'Name',
|
122
|
+
:'mso_drawing_type' => :'MsoDrawingType',
|
123
|
+
:'auto_shape_type' => :'AutoShapeType',
|
124
|
+
:'placement' => :'Placement',
|
125
|
+
:'upper_left_row' => :'UpperLeftRow',
|
126
|
+
:'top' => :'Top',
|
127
|
+
:'upper_left_column' => :'UpperLeftColumn',
|
128
|
+
:'left' => :'Left',
|
129
|
+
:'lower_right_row' => :'LowerRightRow',
|
130
|
+
:'bottom' => :'Bottom',
|
131
|
+
:'lower_right_column' => :'LowerRightColumn',
|
132
|
+
:'right' => :'Right',
|
133
|
+
:'width' => :'Width',
|
134
|
+
:'height' => :'Height',
|
135
|
+
:'x' => :'X',
|
136
|
+
:'y' => :'Y',
|
137
|
+
:'rotation_angle' => :'RotationAngle',
|
138
|
+
:'html_text' => :'HtmlText',
|
139
|
+
:'text' => :'Text',
|
140
|
+
:'alternative_text' => :'AlternativeText',
|
141
|
+
:'text_horizontal_alignment' => :'TextHorizontalAlignment',
|
142
|
+
:'text_horizontal_overflow' => :'TextHorizontalOverflow',
|
143
|
+
:'text_orientation_type' => :'TextOrientationType',
|
144
|
+
:'text_vertical_alignment' => :'TextVerticalAlignment',
|
145
|
+
:'text_vertical_overflow' => :'TextVerticalOverflow',
|
146
|
+
:'is_group' => :'IsGroup',
|
147
|
+
:'is_hidden' => :'IsHidden',
|
148
|
+
:'is_lock_aspect_ratio' => :'IsLockAspectRatio',
|
149
|
+
:'is_locked' => :'IsLocked',
|
150
|
+
:'is_printable' => :'IsPrintable',
|
151
|
+
:'is_text_wrapped' => :'IsTextWrapped',
|
152
|
+
:'is_word_art' => :'IsWordArt',
|
153
|
+
:'linked_cell' => :'LinkedCell',
|
154
|
+
:'z_order_position' => :'ZOrderPosition',
|
155
|
+
:'font' => :'Font',
|
156
|
+
:'hyperlink' => :'Hyperlink',
|
157
|
+
:'link' => :'link'
|
158
|
+
}
|
159
|
+
end
|
160
|
+
|
161
|
+
# Attribute type mapping.
|
162
|
+
def self.swagger_types
|
163
|
+
{
|
164
|
+
:'checked_value' => :'String',
|
165
|
+
:'shadow' => :'BOOLEAN',
|
166
|
+
:'value' => :'BOOLEAN',
|
167
|
+
:'name' => :'String',
|
168
|
+
:'mso_drawing_type' => :'String',
|
169
|
+
:'auto_shape_type' => :'String',
|
170
|
+
:'placement' => :'String',
|
171
|
+
:'upper_left_row' => :'Integer',
|
172
|
+
:'top' => :'Integer',
|
173
|
+
:'upper_left_column' => :'Integer',
|
174
|
+
:'left' => :'Integer',
|
175
|
+
:'lower_right_row' => :'Integer',
|
176
|
+
:'bottom' => :'Integer',
|
177
|
+
:'lower_right_column' => :'Integer',
|
178
|
+
:'right' => :'Integer',
|
179
|
+
:'width' => :'Integer',
|
180
|
+
:'height' => :'Integer',
|
181
|
+
:'x' => :'Integer',
|
182
|
+
:'y' => :'Integer',
|
183
|
+
:'rotation_angle' => :'Float',
|
184
|
+
:'html_text' => :'String',
|
185
|
+
:'text' => :'String',
|
186
|
+
:'alternative_text' => :'String',
|
187
|
+
:'text_horizontal_alignment' => :'String',
|
188
|
+
:'text_horizontal_overflow' => :'String',
|
189
|
+
:'text_orientation_type' => :'String',
|
190
|
+
:'text_vertical_alignment' => :'String',
|
191
|
+
:'text_vertical_overflow' => :'String',
|
192
|
+
:'is_group' => :'BOOLEAN',
|
193
|
+
:'is_hidden' => :'BOOLEAN',
|
194
|
+
:'is_lock_aspect_ratio' => :'BOOLEAN',
|
195
|
+
:'is_locked' => :'BOOLEAN',
|
196
|
+
:'is_printable' => :'BOOLEAN',
|
197
|
+
:'is_text_wrapped' => :'BOOLEAN',
|
198
|
+
:'is_word_art' => :'BOOLEAN',
|
199
|
+
:'linked_cell' => :'String',
|
200
|
+
:'z_order_position' => :'Integer',
|
201
|
+
:'font' => :'Font',
|
202
|
+
:'hyperlink' => :'String',
|
203
|
+
:'link' => :'Link'
|
204
|
+
}
|
205
|
+
end
|
206
|
+
|
207
|
+
# Initializes the object
|
208
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
209
|
+
def initialize(attributes = {})
|
210
|
+
return unless attributes.is_a?(Hash)
|
211
|
+
|
212
|
+
# convert string to symbol for hash key
|
213
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
214
|
+
|
215
|
+
if attributes.has_key?(:'CheckedValue')
|
216
|
+
self.checked_value = attributes[:'CheckedValue']
|
217
|
+
end
|
218
|
+
if attributes.has_key?(:'Shadow')
|
219
|
+
self.shadow = attributes[:'Shadow']
|
220
|
+
end
|
221
|
+
if attributes.has_key?(:'Value')
|
222
|
+
self.value = attributes[:'Value']
|
223
|
+
end
|
224
|
+
if attributes.has_key?(:'Name')
|
225
|
+
self.name = attributes[:'Name']
|
226
|
+
end
|
227
|
+
if attributes.has_key?(:'MsoDrawingType')
|
228
|
+
self.mso_drawing_type = attributes[:'MsoDrawingType']
|
229
|
+
end
|
230
|
+
if attributes.has_key?(:'AutoShapeType')
|
231
|
+
self.auto_shape_type = attributes[:'AutoShapeType']
|
232
|
+
end
|
233
|
+
if attributes.has_key?(:'Placement')
|
234
|
+
self.placement = attributes[:'Placement']
|
235
|
+
end
|
236
|
+
if attributes.has_key?(:'UpperLeftRow')
|
237
|
+
self.upper_left_row = attributes[:'UpperLeftRow']
|
238
|
+
end
|
239
|
+
if attributes.has_key?(:'Top')
|
240
|
+
self.top = attributes[:'Top']
|
241
|
+
end
|
242
|
+
if attributes.has_key?(:'UpperLeftColumn')
|
243
|
+
self.upper_left_column = attributes[:'UpperLeftColumn']
|
244
|
+
end
|
245
|
+
if attributes.has_key?(:'Left')
|
246
|
+
self.left = attributes[:'Left']
|
247
|
+
end
|
248
|
+
if attributes.has_key?(:'LowerRightRow')
|
249
|
+
self.lower_right_row = attributes[:'LowerRightRow']
|
250
|
+
end
|
251
|
+
if attributes.has_key?(:'Bottom')
|
252
|
+
self.bottom = attributes[:'Bottom']
|
253
|
+
end
|
254
|
+
if attributes.has_key?(:'LowerRightColumn')
|
255
|
+
self.lower_right_column = attributes[:'LowerRightColumn']
|
256
|
+
end
|
257
|
+
if attributes.has_key?(:'Right')
|
258
|
+
self.right = attributes[:'Right']
|
259
|
+
end
|
260
|
+
if attributes.has_key?(:'Width')
|
261
|
+
self.width = attributes[:'Width']
|
262
|
+
end
|
263
|
+
if attributes.has_key?(:'Height')
|
264
|
+
self.height = attributes[:'Height']
|
265
|
+
end
|
266
|
+
if attributes.has_key?(:'X')
|
267
|
+
self.x = attributes[:'X']
|
268
|
+
end
|
269
|
+
if attributes.has_key?(:'Y')
|
270
|
+
self.y = attributes[:'Y']
|
271
|
+
end
|
272
|
+
if attributes.has_key?(:'RotationAngle')
|
273
|
+
self.rotation_angle = attributes[:'RotationAngle']
|
274
|
+
end
|
275
|
+
if attributes.has_key?(:'HtmlText')
|
276
|
+
self.html_text = attributes[:'HtmlText']
|
277
|
+
end
|
278
|
+
if attributes.has_key?(:'Text')
|
279
|
+
self.text = attributes[:'Text']
|
280
|
+
end
|
281
|
+
if attributes.has_key?(:'AlternativeText')
|
282
|
+
self.alternative_text = attributes[:'AlternativeText']
|
283
|
+
end
|
284
|
+
if attributes.has_key?(:'TextHorizontalAlignment')
|
285
|
+
self.text_horizontal_alignment = attributes[:'TextHorizontalAlignment']
|
286
|
+
end
|
287
|
+
if attributes.has_key?(:'TextHorizontalOverflow')
|
288
|
+
self.text_horizontal_overflow = attributes[:'TextHorizontalOverflow']
|
289
|
+
end
|
290
|
+
if attributes.has_key?(:'TextOrientationType')
|
291
|
+
self.text_orientation_type = attributes[:'TextOrientationType']
|
292
|
+
end
|
293
|
+
if attributes.has_key?(:'TextVerticalAlignment')
|
294
|
+
self.text_vertical_alignment = attributes[:'TextVerticalAlignment']
|
295
|
+
end
|
296
|
+
if attributes.has_key?(:'TextVerticalOverflow')
|
297
|
+
self.text_vertical_overflow = attributes[:'TextVerticalOverflow']
|
298
|
+
end
|
299
|
+
if attributes.has_key?(:'IsGroup')
|
300
|
+
self.is_group = attributes[:'IsGroup']
|
301
|
+
end
|
302
|
+
if attributes.has_key?(:'IsHidden')
|
303
|
+
self.is_hidden = attributes[:'IsHidden']
|
304
|
+
end
|
305
|
+
if attributes.has_key?(:'IsLockAspectRatio')
|
306
|
+
self.is_lock_aspect_ratio = attributes[:'IsLockAspectRatio']
|
307
|
+
end
|
308
|
+
if attributes.has_key?(:'IsLocked')
|
309
|
+
self.is_locked = attributes[:'IsLocked']
|
310
|
+
end
|
311
|
+
if attributes.has_key?(:'IsPrintable')
|
312
|
+
self.is_printable = attributes[:'IsPrintable']
|
313
|
+
end
|
314
|
+
if attributes.has_key?(:'IsTextWrapped')
|
315
|
+
self.is_text_wrapped = attributes[:'IsTextWrapped']
|
316
|
+
end
|
317
|
+
if attributes.has_key?(:'IsWordArt')
|
318
|
+
self.is_word_art = attributes[:'IsWordArt']
|
319
|
+
end
|
320
|
+
if attributes.has_key?(:'LinkedCell')
|
321
|
+
self.linked_cell = attributes[:'LinkedCell']
|
322
|
+
end
|
323
|
+
if attributes.has_key?(:'ZOrderPosition')
|
324
|
+
self.z_order_position = attributes[:'ZOrderPosition']
|
325
|
+
end
|
326
|
+
if attributes.has_key?(:'Font')
|
327
|
+
self.font = attributes[:'Font']
|
328
|
+
end
|
329
|
+
if attributes.has_key?(:'Hyperlink')
|
330
|
+
self.hyperlink = attributes[:'Hyperlink']
|
331
|
+
end
|
332
|
+
if attributes.has_key?(:'link')
|
333
|
+
self.link = attributes[:'link']
|
334
|
+
end
|
335
|
+
|
336
|
+
end
|
337
|
+
|
338
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
339
|
+
# @return Array for valid properies with the reasons
|
340
|
+
def list_invalid_properties
|
341
|
+
invalid_properties = Array.new
|
342
|
+
if @checked_value.nil?
|
343
|
+
invalid_properties.push("invalid value for 'checked_value', checked_value cannot be nil.")
|
344
|
+
end
|
345
|
+
if @shadow.nil?
|
346
|
+
invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
|
347
|
+
end
|
348
|
+
if @value.nil?
|
349
|
+
invalid_properties.push("invalid value for 'value', value cannot be nil.")
|
350
|
+
end
|
351
|
+
if @name.nil?
|
352
|
+
invalid_properties.push("invalid value for 'name', name cannot be nil.")
|
353
|
+
end
|
354
|
+
if @mso_drawing_type.nil?
|
355
|
+
invalid_properties.push("invalid value for 'mso_drawing_type', mso_drawing_type cannot be nil.")
|
356
|
+
end
|
357
|
+
if @auto_shape_type.nil?
|
358
|
+
invalid_properties.push("invalid value for 'auto_shape_type', auto_shape_type cannot be nil.")
|
359
|
+
end
|
360
|
+
if @placement.nil?
|
361
|
+
invalid_properties.push("invalid value for 'placement', placement cannot be nil.")
|
362
|
+
end
|
363
|
+
if @upper_left_row.nil?
|
364
|
+
invalid_properties.push("invalid value for 'upper_left_row', upper_left_row cannot be nil.")
|
365
|
+
end
|
366
|
+
if @top.nil?
|
367
|
+
invalid_properties.push("invalid value for 'top', top cannot be nil.")
|
368
|
+
end
|
369
|
+
if @upper_left_column.nil?
|
370
|
+
invalid_properties.push("invalid value for 'upper_left_column', upper_left_column cannot be nil.")
|
371
|
+
end
|
372
|
+
if @left.nil?
|
373
|
+
invalid_properties.push("invalid value for 'left', left cannot be nil.")
|
374
|
+
end
|
375
|
+
if @lower_right_row.nil?
|
376
|
+
invalid_properties.push("invalid value for 'lower_right_row', lower_right_row cannot be nil.")
|
377
|
+
end
|
378
|
+
if @bottom.nil?
|
379
|
+
invalid_properties.push("invalid value for 'bottom', bottom cannot be nil.")
|
380
|
+
end
|
381
|
+
if @lower_right_column.nil?
|
382
|
+
invalid_properties.push("invalid value for 'lower_right_column', lower_right_column cannot be nil.")
|
383
|
+
end
|
384
|
+
if @right.nil?
|
385
|
+
invalid_properties.push("invalid value for 'right', right cannot be nil.")
|
386
|
+
end
|
387
|
+
if @width.nil?
|
388
|
+
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
389
|
+
end
|
390
|
+
if @height.nil?
|
391
|
+
invalid_properties.push("invalid value for 'height', height cannot be nil.")
|
392
|
+
end
|
393
|
+
if @x.nil?
|
394
|
+
invalid_properties.push("invalid value for 'x', x cannot be nil.")
|
395
|
+
end
|
396
|
+
if @y.nil?
|
397
|
+
invalid_properties.push("invalid value for 'y', y cannot be nil.")
|
398
|
+
end
|
399
|
+
if @rotation_angle.nil?
|
400
|
+
invalid_properties.push("invalid value for 'rotation_angle', rotation_angle cannot be nil.")
|
401
|
+
end
|
402
|
+
if @html_text.nil?
|
403
|
+
invalid_properties.push("invalid value for 'html_text', html_text cannot be nil.")
|
404
|
+
end
|
405
|
+
if @text.nil?
|
406
|
+
invalid_properties.push("invalid value for 'text', text cannot be nil.")
|
407
|
+
end
|
408
|
+
if @alternative_text.nil?
|
409
|
+
invalid_properties.push("invalid value for 'alternative_text', alternative_text cannot be nil.")
|
410
|
+
end
|
411
|
+
if @text_horizontal_alignment.nil?
|
412
|
+
invalid_properties.push("invalid value for 'text_horizontal_alignment', text_horizontal_alignment cannot be nil.")
|
413
|
+
end
|
414
|
+
if @text_horizontal_overflow.nil?
|
415
|
+
invalid_properties.push("invalid value for 'text_horizontal_overflow', text_horizontal_overflow cannot be nil.")
|
416
|
+
end
|
417
|
+
if @text_orientation_type.nil?
|
418
|
+
invalid_properties.push("invalid value for 'text_orientation_type', text_orientation_type cannot be nil.")
|
419
|
+
end
|
420
|
+
if @text_vertical_alignment.nil?
|
421
|
+
invalid_properties.push("invalid value for 'text_vertical_alignment', text_vertical_alignment cannot be nil.")
|
422
|
+
end
|
423
|
+
if @text_vertical_overflow.nil?
|
424
|
+
invalid_properties.push("invalid value for 'text_vertical_overflow', text_vertical_overflow cannot be nil.")
|
425
|
+
end
|
426
|
+
if @is_group.nil?
|
427
|
+
invalid_properties.push("invalid value for 'is_group', is_group cannot be nil.")
|
428
|
+
end
|
429
|
+
if @is_hidden.nil?
|
430
|
+
invalid_properties.push("invalid value for 'is_hidden', is_hidden cannot be nil.")
|
431
|
+
end
|
432
|
+
if @is_lock_aspect_ratio.nil?
|
433
|
+
invalid_properties.push("invalid value for 'is_lock_aspect_ratio', is_lock_aspect_ratio cannot be nil.")
|
434
|
+
end
|
435
|
+
if @is_locked.nil?
|
436
|
+
invalid_properties.push("invalid value for 'is_locked', is_locked cannot be nil.")
|
437
|
+
end
|
438
|
+
if @is_printable.nil?
|
439
|
+
invalid_properties.push("invalid value for 'is_printable', is_printable cannot be nil.")
|
440
|
+
end
|
441
|
+
if @is_text_wrapped.nil?
|
442
|
+
invalid_properties.push("invalid value for 'is_text_wrapped', is_text_wrapped cannot be nil.")
|
443
|
+
end
|
444
|
+
if @is_word_art.nil?
|
445
|
+
invalid_properties.push("invalid value for 'is_word_art', is_word_art cannot be nil.")
|
446
|
+
end
|
447
|
+
if @linked_cell.nil?
|
448
|
+
invalid_properties.push("invalid value for 'linked_cell', linked_cell cannot be nil.")
|
449
|
+
end
|
450
|
+
if @z_order_position.nil?
|
451
|
+
invalid_properties.push("invalid value for 'z_order_position', z_order_position cannot be nil.")
|
452
|
+
end
|
453
|
+
if @font.nil?
|
454
|
+
invalid_properties.push("invalid value for 'font', font cannot be nil.")
|
455
|
+
end
|
456
|
+
if @hyperlink.nil?
|
457
|
+
invalid_properties.push("invalid value for 'hyperlink', hyperlink cannot be nil.")
|
458
|
+
end
|
459
|
+
if @link.nil?
|
460
|
+
invalid_properties.push("invalid value for 'link', link cannot be nil.")
|
461
|
+
end
|
462
|
+
|
463
|
+
return invalid_properties
|
464
|
+
end
|
465
|
+
|
466
|
+
# Check to see if the all the properties in the model are valid
|
467
|
+
# @return true if the model is valid
|
468
|
+
def valid?
|
469
|
+
return false if @checked_value.nil?
|
470
|
+
return false if @shadow.nil?
|
471
|
+
return false if @value.nil?
|
472
|
+
return false if @name.nil?
|
473
|
+
return false if @mso_drawing_type.nil?
|
474
|
+
return false if @auto_shape_type.nil?
|
475
|
+
return false if @placement.nil?
|
476
|
+
return false if @upper_left_row.nil?
|
477
|
+
return false if @top.nil?
|
478
|
+
return false if @upper_left_column.nil?
|
479
|
+
return false if @left.nil?
|
480
|
+
return false if @lower_right_row.nil?
|
481
|
+
return false if @bottom.nil?
|
482
|
+
return false if @lower_right_column.nil?
|
483
|
+
return false if @right.nil?
|
484
|
+
return false if @width.nil?
|
485
|
+
return false if @height.nil?
|
486
|
+
return false if @x.nil?
|
487
|
+
return false if @y.nil?
|
488
|
+
return false if @rotation_angle.nil?
|
489
|
+
return false if @html_text.nil?
|
490
|
+
return false if @text.nil?
|
491
|
+
return false if @alternative_text.nil?
|
492
|
+
return false if @text_horizontal_alignment.nil?
|
493
|
+
return false if @text_horizontal_overflow.nil?
|
494
|
+
return false if @text_orientation_type.nil?
|
495
|
+
return false if @text_vertical_alignment.nil?
|
496
|
+
return false if @text_vertical_overflow.nil?
|
497
|
+
return false if @is_group.nil?
|
498
|
+
return false if @is_hidden.nil?
|
499
|
+
return false if @is_lock_aspect_ratio.nil?
|
500
|
+
return false if @is_locked.nil?
|
501
|
+
return false if @is_printable.nil?
|
502
|
+
return false if @is_text_wrapped.nil?
|
503
|
+
return false if @is_word_art.nil?
|
504
|
+
return false if @linked_cell.nil?
|
505
|
+
return false if @z_order_position.nil?
|
506
|
+
return false if @font.nil?
|
507
|
+
return false if @hyperlink.nil?
|
508
|
+
return false if @link.nil?
|
509
|
+
return true
|
510
|
+
end
|
511
|
+
|
512
|
+
# Checks equality by comparing each attribute.
|
513
|
+
# @param [Object] Object to be compared
|
514
|
+
def ==(o)
|
515
|
+
return true if self.equal?(o)
|
516
|
+
self.class == o.class &&
|
517
|
+
checked_value == o.checked_value &&
|
518
|
+
shadow == o.shadow &&
|
519
|
+
value == o.value &&
|
520
|
+
name == o.name &&
|
521
|
+
mso_drawing_type == o.mso_drawing_type &&
|
522
|
+
auto_shape_type == o.auto_shape_type &&
|
523
|
+
placement == o.placement &&
|
524
|
+
upper_left_row == o.upper_left_row &&
|
525
|
+
top == o.top &&
|
526
|
+
upper_left_column == o.upper_left_column &&
|
527
|
+
left == o.left &&
|
528
|
+
lower_right_row == o.lower_right_row &&
|
529
|
+
bottom == o.bottom &&
|
530
|
+
lower_right_column == o.lower_right_column &&
|
531
|
+
right == o.right &&
|
532
|
+
width == o.width &&
|
533
|
+
height == o.height &&
|
534
|
+
x == o.x &&
|
535
|
+
y == o.y &&
|
536
|
+
rotation_angle == o.rotation_angle &&
|
537
|
+
html_text == o.html_text &&
|
538
|
+
text == o.text &&
|
539
|
+
alternative_text == o.alternative_text &&
|
540
|
+
text_horizontal_alignment == o.text_horizontal_alignment &&
|
541
|
+
text_horizontal_overflow == o.text_horizontal_overflow &&
|
542
|
+
text_orientation_type == o.text_orientation_type &&
|
543
|
+
text_vertical_alignment == o.text_vertical_alignment &&
|
544
|
+
text_vertical_overflow == o.text_vertical_overflow &&
|
545
|
+
is_group == o.is_group &&
|
546
|
+
is_hidden == o.is_hidden &&
|
547
|
+
is_lock_aspect_ratio == o.is_lock_aspect_ratio &&
|
548
|
+
is_locked == o.is_locked &&
|
549
|
+
is_printable == o.is_printable &&
|
550
|
+
is_text_wrapped == o.is_text_wrapped &&
|
551
|
+
is_word_art == o.is_word_art &&
|
552
|
+
linked_cell == o.linked_cell &&
|
553
|
+
z_order_position == o.z_order_position &&
|
554
|
+
font == o.font &&
|
555
|
+
hyperlink == o.hyperlink &&
|
556
|
+
link == o.link
|
557
|
+
std_dev == o.std_dev
|
558
|
+
end
|
559
|
+
|
560
|
+
# @see the `==` method
|
561
|
+
# @param [Object] Object to be compared
|
562
|
+
def eql?(o)
|
563
|
+
self == o
|
564
|
+
end
|
565
|
+
|
566
|
+
# Calculates hash code according to all attributes.
|
567
|
+
# @return [Fixnum] Hash code
|
568
|
+
def hash
|
569
|
+
[ checked_value , shadow , value , name , mso_drawing_type , auto_shape_type , placement , upper_left_row , top , upper_left_column , left , lower_right_row , bottom , lower_right_column , right , width , height , x , y , rotation_angle , html_text , text , alternative_text , text_horizontal_alignment , text_horizontal_overflow , text_orientation_type , text_vertical_alignment , text_vertical_overflow , is_group , is_hidden , is_lock_aspect_ratio , is_locked , is_printable , is_text_wrapped , is_word_art , linked_cell , z_order_position , font , hyperlink , link ].hash
|
570
|
+
end
|
571
|
+
|
572
|
+
# Builds the object from hash
|
573
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
574
|
+
# @return [Object] Returns the model itself
|
575
|
+
def build_from_hash(attributes)
|
576
|
+
return nil unless attributes.is_a?(Hash)
|
577
|
+
self.class.swagger_types.each_pair do |key, type|
|
578
|
+
if type =~ /\AArray<(.*)>/i
|
579
|
+
# check to ensure the input is an array given that the the attribute
|
580
|
+
# is documented as an array but the input is not
|
581
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
582
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
583
|
+
end
|
584
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
585
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
586
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
587
|
+
end
|
588
|
+
|
589
|
+
self
|
590
|
+
end
|
591
|
+
|
592
|
+
# Deserializes the data based on type
|
593
|
+
# @param string type Data type
|
594
|
+
# @param string value Value to be deserialized
|
595
|
+
# @return [Object] Deserialized data
|
596
|
+
def _deserialize(type, value)
|
597
|
+
case type.to_sym
|
598
|
+
when :DateTime
|
599
|
+
DateTime.parse(value)
|
600
|
+
when :Date
|
601
|
+
Date.parse(value)
|
602
|
+
when :String
|
603
|
+
value.to_s
|
604
|
+
when :Integer
|
605
|
+
value.to_i
|
606
|
+
when :Float
|
607
|
+
value.to_f
|
608
|
+
when :BOOLEAN
|
609
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
610
|
+
true
|
611
|
+
else
|
612
|
+
false
|
613
|
+
end
|
614
|
+
when :Object
|
615
|
+
# generic object (usually a Hash), return directly
|
616
|
+
value
|
617
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
618
|
+
inner_type = Regexp.last_match[:inner_type]
|
619
|
+
value.map { |v| _deserialize(inner_type, v) }
|
620
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
621
|
+
k_type = Regexp.last_match[:k_type]
|
622
|
+
v_type = Regexp.last_match[:v_type]
|
623
|
+
{}.tap do |hash|
|
624
|
+
value.each do |k, v|
|
625
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
626
|
+
end
|
627
|
+
end
|
628
|
+
else # model
|
629
|
+
temp_model = AsposeCellsCloud.const_get(type).new
|
630
|
+
temp_model.build_from_hash(value)
|
631
|
+
end
|
632
|
+
end
|
633
|
+
|
634
|
+
# Returns the string representation of the object
|
635
|
+
# @return [String] String presentation of the object
|
636
|
+
def to_s
|
637
|
+
to_hash.to_s
|
638
|
+
end
|
639
|
+
|
640
|
+
# to_body is an alias to to_hash (backward compatibility)
|
641
|
+
# @return [Hash] Returns the object in the form of hash
|
642
|
+
def to_body
|
643
|
+
to_hash
|
644
|
+
end
|
645
|
+
|
646
|
+
# Returns the object in the form of hash
|
647
|
+
# @return [Hash] Returns the object in the form of hash
|
648
|
+
def to_hash
|
649
|
+
hash = {}
|
650
|
+
self.class.attribute_map.each_pair do |attr, param|
|
651
|
+
value = self.send(attr)
|
652
|
+
next if value.nil?
|
653
|
+
hash[param] = _to_hash(value)
|
654
|
+
end
|
655
|
+
hash
|
656
|
+
end
|
657
|
+
|
658
|
+
# Outputs non-array value in the form of hash
|
659
|
+
# For object, use to_hash. Otherwise, just return the value
|
660
|
+
# @param [Object] value Any valid value
|
661
|
+
# @return [Hash] Returns the value in the form of hash
|
662
|
+
def _to_hash(value)
|
663
|
+
if value.is_a?(Array)
|
664
|
+
value.compact.map{ |v| _to_hash(v) }
|
665
|
+
elsif value.is_a?(Hash)
|
666
|
+
{}.tap do |hash|
|
667
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
668
|
+
end
|
669
|
+
elsif value.respond_to? :to_hash
|
670
|
+
value.to_hash
|
671
|
+
else
|
672
|
+
value
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
end
|
677
|
+
|
678
|
+
end
|