aspose_cells_cloud 20.11.1 → 21.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -3
  3. data/lib/aspose_cells_cloud.rb +2 -1
  4. data/lib/aspose_cells_cloud/api/cells_api.rb +167 -1
  5. data/lib/aspose_cells_cloud/api_client.rb +1 -1
  6. data/lib/aspose_cells_cloud/api_error.rb +1 -1
  7. data/lib/aspose_cells_cloud/configuration.rb +1 -1
  8. data/lib/aspose_cells_cloud/models/above_average.rb +1 -1
  9. data/lib/aspose_cells_cloud/models/access_token_response.rb +1 -1
  10. data/lib/aspose_cells_cloud/models/area.rb +1 -1
  11. data/lib/aspose_cells_cloud/models/auto_filter.rb +1 -1
  12. data/lib/aspose_cells_cloud/models/auto_filter_response.rb +1 -1
  13. data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +1 -1
  14. data/lib/aspose_cells_cloud/models/auto_shape.rb +1 -1
  15. data/lib/aspose_cells_cloud/models/auto_shape_response.rb +1 -1
  16. data/lib/aspose_cells_cloud/models/auto_shapes.rb +1 -1
  17. data/lib/aspose_cells_cloud/models/auto_shapes_response.rb +1 -1
  18. data/lib/aspose_cells_cloud/models/border.rb +1 -1
  19. data/lib/aspose_cells_cloud/models/calculation_options.rb +1 -1
  20. data/lib/aspose_cells_cloud/models/cell.rb +1 -1
  21. data/lib/aspose_cells_cloud/models/cell_area.rb +1 -1
  22. data/lib/aspose_cells_cloud/models/cell_response.rb +1 -1
  23. data/lib/aspose_cells_cloud/models/cell_value.rb +1 -1
  24. data/lib/aspose_cells_cloud/models/cells.rb +1 -1
  25. data/lib/aspose_cells_cloud/models/cells_cloud_file_info.rb +1 -1
  26. data/lib/aspose_cells_cloud/models/cells_cloud_response.rb +1 -1
  27. data/lib/aspose_cells_cloud/models/cells_color.rb +1 -1
  28. data/lib/aspose_cells_cloud/models/cells_document_properties.rb +1 -1
  29. data/lib/aspose_cells_cloud/models/cells_document_properties_response.rb +1 -1
  30. data/lib/aspose_cells_cloud/models/cells_document_property.rb +1 -1
  31. data/lib/aspose_cells_cloud/models/cells_document_property_response.rb +1 -1
  32. data/lib/aspose_cells_cloud/models/cells_error.rb +1 -1
  33. data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +1 -1
  34. data/lib/aspose_cells_cloud/models/cells_response.rb +1 -1
  35. data/lib/aspose_cells_cloud/models/chart.rb +1 -1
  36. data/lib/aspose_cells_cloud/models/chart_area.rb +1 -1
  37. data/lib/aspose_cells_cloud/models/chart_area_response.rb +1 -1
  38. data/lib/aspose_cells_cloud/models/chart_frame.rb +1 -1
  39. data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +1 -1
  40. data/lib/aspose_cells_cloud/models/charts.rb +1 -1
  41. data/lib/aspose_cells_cloud/models/charts_response.rb +1 -1
  42. data/lib/aspose_cells_cloud/models/color.rb +1 -1
  43. data/lib/aspose_cells_cloud/models/color_filter.rb +1 -1
  44. data/lib/aspose_cells_cloud/models/color_filter_request.rb +1 -1
  45. data/lib/aspose_cells_cloud/models/color_scale.rb +1 -1
  46. data/lib/aspose_cells_cloud/models/column.rb +1 -1
  47. data/lib/aspose_cells_cloud/models/column_response.rb +1 -1
  48. data/lib/aspose_cells_cloud/models/columns.rb +1 -1
  49. data/lib/aspose_cells_cloud/models/columns_response.rb +1 -1
  50. data/lib/aspose_cells_cloud/models/comment.rb +1 -1
  51. data/lib/aspose_cells_cloud/models/comment_response.rb +1 -1
  52. data/lib/aspose_cells_cloud/models/comments.rb +1 -1
  53. data/lib/aspose_cells_cloud/models/comments_response.rb +1 -1
  54. data/lib/aspose_cells_cloud/models/conditional_formatting.rb +1 -1
  55. data/lib/aspose_cells_cloud/models/conditional_formatting_icon.rb +1 -1
  56. data/lib/aspose_cells_cloud/models/conditional_formatting_response.rb +1 -1
  57. data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +1 -1
  58. data/lib/aspose_cells_cloud/models/conditional_formattings.rb +1 -1
  59. data/lib/aspose_cells_cloud/models/conditional_formattings_response.rb +1 -1
  60. data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +1 -1
  61. data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +261 -0
  62. data/lib/aspose_cells_cloud/models/copy_options.rb +1 -1
  63. data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +1 -1
  64. data/lib/aspose_cells_cloud/models/custom_filter.rb +1 -1
  65. data/lib/aspose_cells_cloud/models/custom_parser_config.rb +1 -1
  66. data/lib/aspose_cells_cloud/models/data_bar.rb +1 -1
  67. data/lib/aspose_cells_cloud/models/data_bar_border.rb +1 -1
  68. data/lib/aspose_cells_cloud/models/data_sorter.rb +1 -1
  69. data/lib/aspose_cells_cloud/models/dif_save_options.rb +1 -1
  70. data/lib/aspose_cells_cloud/models/disc_usage.rb +1 -1
  71. data/lib/aspose_cells_cloud/models/dynamic_filter.rb +1 -1
  72. data/lib/aspose_cells_cloud/models/error_details.rb +1 -1
  73. data/lib/aspose_cells_cloud/models/file_source.rb +1 -1
  74. data/lib/aspose_cells_cloud/models/file_version.rb +1 -1
  75. data/lib/aspose_cells_cloud/models/file_versions.rb +1 -1
  76. data/lib/aspose_cells_cloud/models/files_list.rb +1 -1
  77. data/lib/aspose_cells_cloud/models/files_upload_result.rb +1 -1
  78. data/lib/aspose_cells_cloud/models/fill_format.rb +1 -1
  79. data/lib/aspose_cells_cloud/models/fill_format_response.rb +1 -1
  80. data/lib/aspose_cells_cloud/models/filter_column.rb +1 -1
  81. data/lib/aspose_cells_cloud/models/font.rb +1 -1
  82. data/lib/aspose_cells_cloud/models/font_setting.rb +1 -1
  83. data/lib/aspose_cells_cloud/models/format_condition.rb +1 -1
  84. data/lib/aspose_cells_cloud/models/gradient_fill.rb +1 -1
  85. data/lib/aspose_cells_cloud/models/gradient_fill_stop.rb +1 -1
  86. data/lib/aspose_cells_cloud/models/horizontal_page_break.rb +1 -1
  87. data/lib/aspose_cells_cloud/models/horizontal_page_break_response.rb +1 -1
  88. data/lib/aspose_cells_cloud/models/horizontal_page_breaks.rb +1 -1
  89. data/lib/aspose_cells_cloud/models/horizontal_page_breaks_response.rb +1 -1
  90. data/lib/aspose_cells_cloud/models/html_save_options.rb +1 -1
  91. data/lib/aspose_cells_cloud/models/hyperlink.rb +1 -1
  92. data/lib/aspose_cells_cloud/models/hyperlink_response.rb +1 -1
  93. data/lib/aspose_cells_cloud/models/hyperlinks.rb +1 -1
  94. data/lib/aspose_cells_cloud/models/hyperlinks_response.rb +1 -1
  95. data/lib/aspose_cells_cloud/models/icon_filter.rb +1 -1
  96. data/lib/aspose_cells_cloud/models/icon_set.rb +1 -1
  97. data/lib/aspose_cells_cloud/models/image_save_options.rb +1 -1
  98. data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +1 -1
  99. data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +1 -1
  100. data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +1 -1
  101. data/lib/aspose_cells_cloud/models/import_double_array_option.rb +1 -1
  102. data/lib/aspose_cells_cloud/models/import_int_array_option.rb +1 -1
  103. data/lib/aspose_cells_cloud/models/import_option.rb +1 -1
  104. data/lib/aspose_cells_cloud/models/import_string_array_option.rb +1 -1
  105. data/lib/aspose_cells_cloud/models/legend.rb +1 -1
  106. data/lib/aspose_cells_cloud/models/legend_response.rb +1 -1
  107. data/lib/aspose_cells_cloud/models/line.rb +1 -1
  108. data/lib/aspose_cells_cloud/models/line_format.rb +1 -1
  109. data/lib/aspose_cells_cloud/models/line_response.rb +1 -1
  110. data/lib/aspose_cells_cloud/models/link.rb +1 -1
  111. data/lib/aspose_cells_cloud/models/link_element.rb +1 -1
  112. data/lib/aspose_cells_cloud/models/list_column.rb +1 -1
  113. data/lib/aspose_cells_cloud/models/list_object.rb +1 -1
  114. data/lib/aspose_cells_cloud/models/list_object_operate_parameter.rb +1 -1
  115. data/lib/aspose_cells_cloud/models/list_object_response.rb +1 -1
  116. data/lib/aspose_cells_cloud/models/list_objects.rb +1 -1
  117. data/lib/aspose_cells_cloud/models/list_objects_response.rb +1 -1
  118. data/lib/aspose_cells_cloud/models/m_html_save_options.rb +1 -1
  119. data/lib/aspose_cells_cloud/models/markdown_save_options.rb +1 -1
  120. data/lib/aspose_cells_cloud/models/merged_cell.rb +1 -1
  121. data/lib/aspose_cells_cloud/models/merged_cell_response.rb +1 -1
  122. data/lib/aspose_cells_cloud/models/merged_cells.rb +1 -1
  123. data/lib/aspose_cells_cloud/models/merged_cells_response.rb +1 -1
  124. data/lib/aspose_cells_cloud/models/multiple_filter.rb +1 -1
  125. data/lib/aspose_cells_cloud/models/multiple_filters.rb +1 -1
  126. data/lib/aspose_cells_cloud/models/name.rb +1 -1
  127. data/lib/aspose_cells_cloud/models/name_response.rb +1 -1
  128. data/lib/aspose_cells_cloud/models/names.rb +1 -1
  129. data/lib/aspose_cells_cloud/models/names_response.rb +1 -1
  130. data/lib/aspose_cells_cloud/models/negative_bar_format.rb +1 -1
  131. data/lib/aspose_cells_cloud/models/object_exist.rb +1 -1
  132. data/lib/aspose_cells_cloud/models/ods_save_options.rb +1 -1
  133. data/lib/aspose_cells_cloud/models/ole_object.rb +1 -1
  134. data/lib/aspose_cells_cloud/models/ole_object_response.rb +1 -1
  135. data/lib/aspose_cells_cloud/models/ole_objects.rb +1 -1
  136. data/lib/aspose_cells_cloud/models/ole_objects_response.rb +1 -1
  137. data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +1 -1
  138. data/lib/aspose_cells_cloud/models/operate_object.rb +1 -1
  139. data/lib/aspose_cells_cloud/models/operate_object_position.rb +1 -1
  140. data/lib/aspose_cells_cloud/models/operate_parameter.rb +1 -1
  141. data/lib/aspose_cells_cloud/models/page_break_operate_parameter.rb +1 -1
  142. data/lib/aspose_cells_cloud/models/page_section.rb +1 -1
  143. data/lib/aspose_cells_cloud/models/page_sections_response.rb +1 -1
  144. data/lib/aspose_cells_cloud/models/page_setup.rb +1 -1
  145. data/lib/aspose_cells_cloud/models/page_setup_operate_parameter.rb +1 -1
  146. data/lib/aspose_cells_cloud/models/page_setup_response.rb +1 -1
  147. data/lib/aspose_cells_cloud/models/password_request.rb +1 -1
  148. data/lib/aspose_cells_cloud/models/paste_options.rb +1 -1
  149. data/lib/aspose_cells_cloud/models/pattern_fill.rb +1 -1
  150. data/lib/aspose_cells_cloud/models/pdf_save_options.rb +1 -1
  151. data/lib/aspose_cells_cloud/models/pdf_security_options.rb +1 -1
  152. data/lib/aspose_cells_cloud/models/pic_format_option.rb +1 -1
  153. data/lib/aspose_cells_cloud/models/picture.rb +1 -1
  154. data/lib/aspose_cells_cloud/models/picture_response.rb +1 -1
  155. data/lib/aspose_cells_cloud/models/pictures.rb +1 -1
  156. data/lib/aspose_cells_cloud/models/pictures_response.rb +1 -1
  157. data/lib/aspose_cells_cloud/models/pivot_field.rb +1 -1
  158. data/lib/aspose_cells_cloud/models/pivot_field_response.rb +1 -1
  159. data/lib/aspose_cells_cloud/models/pivot_filter.rb +1 -1
  160. data/lib/aspose_cells_cloud/models/pivot_filter_response.rb +1 -1
  161. data/lib/aspose_cells_cloud/models/pivot_filters_response.rb +1 -1
  162. data/lib/aspose_cells_cloud/models/pivot_item.rb +1 -1
  163. data/lib/aspose_cells_cloud/models/pivot_table.rb +1 -1
  164. data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +1 -1
  165. data/lib/aspose_cells_cloud/models/pivot_table_operate_parameter.rb +1 -1
  166. data/lib/aspose_cells_cloud/models/pivot_table_response.rb +1 -1
  167. data/lib/aspose_cells_cloud/models/pivot_tables.rb +1 -1
  168. data/lib/aspose_cells_cloud/models/pivot_tables_response.rb +1 -1
  169. data/lib/aspose_cells_cloud/models/protect_sheet_parameter.rb +1 -1
  170. data/lib/aspose_cells_cloud/models/range.rb +1 -1
  171. data/lib/aspose_cells_cloud/models/range_copy_request.rb +1 -1
  172. data/lib/aspose_cells_cloud/models/range_set_outline_border_request.rb +1 -1
  173. data/lib/aspose_cells_cloud/models/range_set_style_request.rb +1 -1
  174. data/lib/aspose_cells_cloud/models/range_value_response.rb +1 -1
  175. data/lib/aspose_cells_cloud/models/ranges.rb +1 -1
  176. data/lib/aspose_cells_cloud/models/ranges_response.rb +1 -1
  177. data/lib/aspose_cells_cloud/models/result_destination.rb +1 -1
  178. data/lib/aspose_cells_cloud/models/row.rb +1 -1
  179. data/lib/aspose_cells_cloud/models/row_response.rb +1 -1
  180. data/lib/aspose_cells_cloud/models/rows.rb +1 -1
  181. data/lib/aspose_cells_cloud/models/rows_response.rb +1 -1
  182. data/lib/aspose_cells_cloud/models/save_options.rb +1 -1
  183. data/lib/aspose_cells_cloud/models/save_response.rb +1 -1
  184. data/lib/aspose_cells_cloud/models/save_result.rb +1 -1
  185. data/lib/aspose_cells_cloud/models/save_result_task_parameter.rb +1 -1
  186. data/lib/aspose_cells_cloud/models/shadow_effect.rb +1 -1
  187. data/lib/aspose_cells_cloud/models/shape.rb +1 -1
  188. data/lib/aspose_cells_cloud/models/shape_operate_parameter.rb +1 -1
  189. data/lib/aspose_cells_cloud/models/shape_response.rb +1 -1
  190. data/lib/aspose_cells_cloud/models/shapes.rb +1 -1
  191. data/lib/aspose_cells_cloud/models/shapes_response.rb +1 -1
  192. data/lib/aspose_cells_cloud/models/single_value.rb +1 -1
  193. data/lib/aspose_cells_cloud/models/single_value_response.rb +1 -1
  194. data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +1 -1
  195. data/lib/aspose_cells_cloud/models/solid_fill.rb +1 -1
  196. data/lib/aspose_cells_cloud/models/sort_key.rb +1 -1
  197. data/lib/aspose_cells_cloud/models/sparkline.rb +1 -1
  198. data/lib/aspose_cells_cloud/models/sparkline_group.rb +1 -1
  199. data/lib/aspose_cells_cloud/models/sparkline_group_response.rb +1 -1
  200. data/lib/aspose_cells_cloud/models/sparkline_groups.rb +1 -1
  201. data/lib/aspose_cells_cloud/models/sparkline_groups_response.rb +1 -1
  202. data/lib/aspose_cells_cloud/models/split_result.rb +1 -1
  203. data/lib/aspose_cells_cloud/models/split_result_document.rb +1 -1
  204. data/lib/aspose_cells_cloud/models/split_result_response.rb +1 -1
  205. data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +1 -1
  206. data/lib/aspose_cells_cloud/models/spreadsheet_ml2003_save_options.rb +1 -1
  207. data/lib/aspose_cells_cloud/models/storage_exist.rb +1 -1
  208. data/lib/aspose_cells_cloud/models/storage_file.rb +1 -1
  209. data/lib/aspose_cells_cloud/models/style.rb +1 -1
  210. data/lib/aspose_cells_cloud/models/style_response.rb +1 -1
  211. data/lib/aspose_cells_cloud/models/svg_save_options.rb +1 -1
  212. data/lib/aspose_cells_cloud/models/task_data.rb +1 -1
  213. data/lib/aspose_cells_cloud/models/task_description.rb +1 -1
  214. data/lib/aspose_cells_cloud/models/task_parameter.rb +1 -1
  215. data/lib/aspose_cells_cloud/models/text_item.rb +1 -1
  216. data/lib/aspose_cells_cloud/models/text_items.rb +1 -1
  217. data/lib/aspose_cells_cloud/models/text_items_response.rb +1 -1
  218. data/lib/aspose_cells_cloud/models/text_options.rb +1 -1
  219. data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +1 -1
  220. data/lib/aspose_cells_cloud/models/texture_fill.rb +1 -1
  221. data/lib/aspose_cells_cloud/models/theme_color.rb +1 -1
  222. data/lib/aspose_cells_cloud/models/tile_pic_option.rb +1 -1
  223. data/lib/aspose_cells_cloud/models/title.rb +1 -1
  224. data/lib/aspose_cells_cloud/models/title_response.rb +1 -1
  225. data/lib/aspose_cells_cloud/models/top10.rb +1 -1
  226. data/lib/aspose_cells_cloud/models/top10_filter.rb +1 -1
  227. data/lib/aspose_cells_cloud/models/txt_save_options.rb +1 -1
  228. data/lib/aspose_cells_cloud/models/validation.rb +1 -1
  229. data/lib/aspose_cells_cloud/models/validation_response.rb +1 -1
  230. data/lib/aspose_cells_cloud/models/validations.rb +1 -1
  231. data/lib/aspose_cells_cloud/models/validations_response.rb +1 -1
  232. data/lib/aspose_cells_cloud/models/value_type.rb +1 -1
  233. data/lib/aspose_cells_cloud/models/vertical_page_break.rb +1 -1
  234. data/lib/aspose_cells_cloud/models/vertical_page_break_response.rb +1 -1
  235. data/lib/aspose_cells_cloud/models/vertical_page_breaks.rb +1 -1
  236. data/lib/aspose_cells_cloud/models/vertical_page_breaks_response.rb +1 -1
  237. data/lib/aspose_cells_cloud/models/workbook.rb +1 -1
  238. data/lib/aspose_cells_cloud/models/workbook_encryption_request.rb +1 -1
  239. data/lib/aspose_cells_cloud/models/workbook_operate_parameter.rb +1 -1
  240. data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +1 -1
  241. data/lib/aspose_cells_cloud/models/workbook_replace_response.rb +1 -1
  242. data/lib/aspose_cells_cloud/models/workbook_response.rb +1 -1
  243. data/lib/aspose_cells_cloud/models/workbook_settings.rb +1 -1
  244. data/lib/aspose_cells_cloud/models/workbook_settings_operate_parameter.rb +1 -1
  245. data/lib/aspose_cells_cloud/models/workbook_settings_response.rb +1 -1
  246. data/lib/aspose_cells_cloud/models/worksheet.rb +1 -1
  247. data/lib/aspose_cells_cloud/models/worksheet_moving_request.rb +1 -1
  248. data/lib/aspose_cells_cloud/models/worksheet_replace_response.rb +1 -1
  249. data/lib/aspose_cells_cloud/models/worksheet_response.rb +1 -1
  250. data/lib/aspose_cells_cloud/models/worksheets.rb +1 -1
  251. data/lib/aspose_cells_cloud/models/worksheets_response.rb +1 -1
  252. data/lib/aspose_cells_cloud/models/xls_save_options.rb +1 -1
  253. data/lib/aspose_cells_cloud/models/xlsb_save_options.rb +1 -1
  254. data/lib/aspose_cells_cloud/models/xps_save_options.rb +1 -1
  255. data/lib/aspose_cells_cloud/version.rb +2 -2
  256. data/spec/api/cells_ranges_api_spec.rb +28 -0
  257. metadata +3 -2
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2020 Aspose.Cells Cloud
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -0,0 +1,261 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ SOFTWARE.
19
+ --------------------------------------------------------------------------------------------------------------------
20
+
21
+ =end
22
+
23
+ require 'date'
24
+
25
+ module AsposeCellsCloud
26
+
27
+ class ConvertWorksheetTaskParameter
28
+ attr_accessor :workbook
29
+
30
+ attr_accessor :sheet
31
+
32
+ attr_accessor :target
33
+
34
+ attr_accessor :format
35
+
36
+ attr_accessor :area
37
+
38
+ attr_accessor :page_index
39
+
40
+ attr_accessor :vertical_resolution
41
+
42
+ attr_accessor :horizontal_resolution
43
+
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'workbook' => :'Workbook',
49
+ :'sheet' => :'Sheet',
50
+ :'target' => :'Target',
51
+ :'format' => :'Format',
52
+ :'area' => :'Area',
53
+ :'page_index' => :'PageIndex',
54
+ :'vertical_resolution' => :'VerticalResolution',
55
+ :'horizontal_resolution' => :'HorizontalResolution'
56
+ }
57
+ end
58
+
59
+ # Attribute type mapping.
60
+ def self.swagger_types
61
+ {
62
+ :'workbook' => :'FileSource',
63
+ :'sheet' => :'String',
64
+ :'target' => :'FileSource',
65
+ :'format' => :'String',
66
+ :'area' => :'String',
67
+ :'page_index' => :'Integer',
68
+ :'vertical_resolution' => :'Integer',
69
+ :'horizontal_resolution' => :'Integer'
70
+ }
71
+ end
72
+
73
+ # Initializes the object
74
+ # @param [Hash] attributes Model attributes in the form of hash
75
+ def initialize(attributes = {})
76
+ return unless attributes.is_a?(Hash)
77
+
78
+ # convert string to symbol for hash key
79
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
80
+
81
+ if attributes.has_key?(:'Workbook')
82
+ self.workbook = attributes[:'Workbook']
83
+ end
84
+
85
+ if attributes.has_key?(:'Sheet')
86
+ self.sheet = attributes[:'Sheet']
87
+ end
88
+
89
+ if attributes.has_key?(:'Target')
90
+ self.target = attributes[:'Target']
91
+ end
92
+
93
+ if attributes.has_key?(:'Format')
94
+ self.format = attributes[:'Format']
95
+ end
96
+
97
+ if attributes.has_key?(:'Area')
98
+ self.area = attributes[:'Area']
99
+ end
100
+
101
+ if attributes.has_key?(:'PageIndex')
102
+ self.page_index = attributes[:'PageIndex']
103
+ end
104
+
105
+ if attributes.has_key?(:'VerticalResolution')
106
+ self.vertical_resolution = attributes[:'VerticalResolution']
107
+ end
108
+
109
+ if attributes.has_key?(:'HorizontalResolution')
110
+ self.horizontal_resolution = attributes[:'HorizontalResolution']
111
+ end
112
+
113
+ end
114
+
115
+ # Show invalid properties with the reasons. Usually used together with valid?
116
+ # @return Array for valid properies with the reasons
117
+ def list_invalid_properties
118
+ invalid_properties = Array.new
119
+ return invalid_properties
120
+ end
121
+
122
+ # Check to see if the all the properties in the model are valid
123
+ # @return true if the model is valid
124
+ def valid?
125
+ return true
126
+ end
127
+
128
+ # Checks equality by comparing each attribute.
129
+ # @param [Object] Object to be compared
130
+ def ==(o)
131
+ return true if self.equal?(o)
132
+ self.class == o.class &&
133
+ workbook == o.workbook &&
134
+ sheet == o.sheet &&
135
+ target == o.target &&
136
+ format == o.format &&
137
+ area == o.area &&
138
+ page_index == o.page_index &&
139
+ vertical_resolution == o.vertical_resolution &&
140
+ horizontal_resolution == o.horizontal_resolution
141
+ end
142
+
143
+ # @see the `==` method
144
+ # @param [Object] Object to be compared
145
+ def eql?(o)
146
+ self == o
147
+ end
148
+
149
+ # Calculates hash code according to all attributes.
150
+ # @return [Fixnum] Hash code
151
+ def hash
152
+ [workbook, sheet, target, format, area, page_index, vertical_resolution, horizontal_resolution].hash
153
+ end
154
+
155
+ # Builds the object from hash
156
+ # @param [Hash] attributes Model attributes in the form of hash
157
+ # @return [Object] Returns the model itself
158
+ def build_from_hash(attributes)
159
+ return nil unless attributes.is_a?(Hash)
160
+ self.class.swagger_types.each_pair do |key, type|
161
+ if type =~ /\AArray<(.*)>/i
162
+ # check to ensure the input is an array given that the the attribute
163
+ # is documented as an array but the input is not
164
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
165
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
166
+ end
167
+ elsif !attributes[self.class.attribute_map[key]].nil?
168
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
169
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
170
+ end
171
+
172
+ self
173
+ end
174
+
175
+ # Deserializes the data based on type
176
+ # @param string type Data type
177
+ # @param string value Value to be deserialized
178
+ # @return [Object] Deserialized data
179
+ def _deserialize(type, value)
180
+ case type.to_sym
181
+ when :DateTime
182
+ DateTime.parse(value)
183
+ when :Date
184
+ Date.parse(value)
185
+ when :String
186
+ value.to_s
187
+ when :Integer
188
+ value.to_i
189
+ when :Float
190
+ value.to_f
191
+ when :BOOLEAN
192
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
193
+ true
194
+ else
195
+ false
196
+ end
197
+ when :Object
198
+ # generic object (usually a Hash), return directly
199
+ value
200
+ when /\AArray<(?<inner_type>.+)>\z/
201
+ inner_type = Regexp.last_match[:inner_type]
202
+ value.map { |v| _deserialize(inner_type, v) }
203
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
204
+ k_type = Regexp.last_match[:k_type]
205
+ v_type = Regexp.last_match[:v_type]
206
+ {}.tap do |hash|
207
+ value.each do |k, v|
208
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
209
+ end
210
+ end
211
+ else # model
212
+ temp_model = AsposeCellsCloud.const_get(type).new
213
+ temp_model.build_from_hash(value)
214
+ end
215
+ end
216
+
217
+ # Returns the string representation of the object
218
+ # @return [String] String presentation of the object
219
+ def to_s
220
+ to_hash.to_s
221
+ end
222
+
223
+ # to_body is an alias to to_hash (backward compatibility)
224
+ # @return [Hash] Returns the object in the form of hash
225
+ def to_body
226
+ to_hash
227
+ end
228
+
229
+ # Returns the object in the form of hash
230
+ # @return [Hash] Returns the object in the form of hash
231
+ def to_hash
232
+ hash = {}
233
+ self.class.attribute_map.each_pair do |attr, param|
234
+ value = self.send(attr)
235
+ next if value.nil?
236
+ hash[param] = _to_hash(value)
237
+ end
238
+ hash
239
+ end
240
+
241
+ # Outputs non-array value in the form of hash
242
+ # For object, use to_hash. Otherwise, just return the value
243
+ # @param [Object] value Any valid value
244
+ # @return [Hash] Returns the value in the form of hash
245
+ def _to_hash(value)
246
+ if value.is_a?(Array)
247
+ value.compact.map{ |v| _to_hash(v) }
248
+ elsif value.is_a?(Hash)
249
+ {}.tap do |hash|
250
+ value.each { |k, v| hash[k] = _to_hash(v) }
251
+ end
252
+ elsif value.respond_to? :to_hash
253
+ value.to_hash
254
+ else
255
+ value
256
+ end
257
+ end
258
+
259
+ end
260
+
261
+ end