aspose_cells_cloud 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +22 -0
  3. data/README.md +40 -0
  4. data/aspose_cells_cloud.gemspec +26 -0
  5. data/lib/aspose_cells_cloud/api/cells_api.rb +9820 -0
  6. data/lib/aspose_cells_cloud/api_client.rb +335 -0
  7. data/lib/aspose_cells_cloud/api_error.rb +24 -0
  8. data/lib/aspose_cells_cloud/configuration.rb +166 -0
  9. data/lib/aspose_cells_cloud/models/auto_filter.rb +63 -0
  10. data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +53 -0
  11. data/lib/aspose_cells_cloud/models/auto_shape_response.rb +61 -0
  12. data/lib/aspose_cells_cloud/models/auto_shapes_response.rb +61 -0
  13. data/lib/aspose_cells_cloud/models/barcode_response.rb +63 -0
  14. data/lib/aspose_cells_cloud/models/barcode_response_list.rb +63 -0
  15. data/lib/aspose_cells_cloud/models/base_object.rb +86 -0
  16. data/lib/aspose_cells_cloud/models/base_response.rb +53 -0
  17. data/lib/aspose_cells_cloud/models/border.rb +53 -0
  18. data/lib/aspose_cells_cloud/models/cell.rb +165 -0
  19. data/lib/aspose_cells_cloud/models/cell_area.rb +61 -0
  20. data/lib/aspose_cells_cloud/models/cell_response.rb +61 -0
  21. data/lib/aspose_cells_cloud/models/cells.rb +87 -0
  22. data/lib/aspose_cells_cloud/models/cells_color.rb +69 -0
  23. data/lib/aspose_cells_cloud/models/cells_document_properties.rb +47 -0
  24. data/lib/aspose_cells_cloud/models/cells_document_properties_response.rb +61 -0
  25. data/lib/aspose_cells_cloud/models/cells_document_property.rb +61 -0
  26. data/lib/aspose_cells_cloud/models/cells_document_property_response.rb +61 -0
  27. data/lib/aspose_cells_cloud/models/cells_response.rb +61 -0
  28. data/lib/aspose_cells_cloud/models/chart_area_response.rb +61 -0
  29. data/lib/aspose_cells_cloud/models/charts_chart_area.rb +143 -0
  30. data/lib/aspose_cells_cloud/models/charts_charts.rb +47 -0
  31. data/lib/aspose_cells_cloud/models/charts_legend.rb +159 -0
  32. data/lib/aspose_cells_cloud/models/charts_response.rb +61 -0
  33. data/lib/aspose_cells_cloud/models/charts_title.rb +199 -0
  34. data/lib/aspose_cells_cloud/models/color.rb +61 -0
  35. data/lib/aspose_cells_cloud/models/color_filter.rb +37 -0
  36. data/lib/aspose_cells_cloud/models/column.rb +77 -0
  37. data/lib/aspose_cells_cloud/models/column_response.rb +61 -0
  38. data/lib/aspose_cells_cloud/models/columns.rb +63 -0
  39. data/lib/aspose_cells_cloud/models/columns_response.rb +61 -0
  40. data/lib/aspose_cells_cloud/models/comment.rb +125 -0
  41. data/lib/aspose_cells_cloud/models/comment_response.rb +61 -0
  42. data/lib/aspose_cells_cloud/models/comments.rb +47 -0
  43. data/lib/aspose_cells_cloud/models/comments_response.rb +61 -0
  44. data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +91 -0
  45. data/lib/aspose_cells_cloud/models/custom_filter.rb +45 -0
  46. data/lib/aspose_cells_cloud/models/data_sorter.rb +63 -0
  47. data/lib/aspose_cells_cloud/models/date_time_group_item.rb +85 -0
  48. data/lib/aspose_cells_cloud/models/drawing_area.rb +77 -0
  49. data/lib/aspose_cells_cloud/models/drawing_auto_shapes.rb +47 -0
  50. data/lib/aspose_cells_cloud/models/drawing_fill_format.rb +77 -0
  51. data/lib/aspose_cells_cloud/models/drawing_gradient_fill.rb +63 -0
  52. data/lib/aspose_cells_cloud/models/drawing_gradient_fill_stop.rb +53 -0
  53. data/lib/aspose_cells_cloud/models/drawing_line.rb +181 -0
  54. data/lib/aspose_cells_cloud/models/drawing_ole_object.rb +365 -0
  55. data/lib/aspose_cells_cloud/models/drawing_ole_objects.rb +47 -0
  56. data/lib/aspose_cells_cloud/models/drawing_pattern_fill.rb +85 -0
  57. data/lib/aspose_cells_cloud/models/drawing_pic_format_option.rb +77 -0
  58. data/lib/aspose_cells_cloud/models/drawing_picture.rb +357 -0
  59. data/lib/aspose_cells_cloud/models/drawing_pictures.rb +47 -0
  60. data/lib/aspose_cells_cloud/models/drawing_solid_fill.rb +53 -0
  61. data/lib/aspose_cells_cloud/models/drawing_texture_fill.rb +77 -0
  62. data/lib/aspose_cells_cloud/models/drawing_tile_pic_option.rb +77 -0
  63. data/lib/aspose_cells_cloud/models/dynamic_filter.rb +53 -0
  64. data/lib/aspose_cells_cloud/models/fill_format_response.rb +61 -0
  65. data/lib/aspose_cells_cloud/models/filter_column.rb +103 -0
  66. data/lib/aspose_cells_cloud/models/font.rb +109 -0
  67. data/lib/aspose_cells_cloud/models/hyperlink.rb +69 -0
  68. data/lib/aspose_cells_cloud/models/hyperlink_response.rb +61 -0
  69. data/lib/aspose_cells_cloud/models/hyperlinks.rb +55 -0
  70. data/lib/aspose_cells_cloud/models/hyperlinks_response.rb +61 -0
  71. data/lib/aspose_cells_cloud/models/icon_filter.rb +45 -0
  72. data/lib/aspose_cells_cloud/models/import_data_import_option.rb +45 -0
  73. data/lib/aspose_cells_cloud/models/legend_response.rb +61 -0
  74. data/lib/aspose_cells_cloud/models/line_response.rb +61 -0
  75. data/lib/aspose_cells_cloud/models/link.rb +61 -0
  76. data/lib/aspose_cells_cloud/models/link_element.rb +37 -0
  77. data/lib/aspose_cells_cloud/models/merged_cell.rb +69 -0
  78. data/lib/aspose_cells_cloud/models/merged_cell_response.rb +61 -0
  79. data/lib/aspose_cells_cloud/models/merged_cells.rb +55 -0
  80. data/lib/aspose_cells_cloud/models/merged_cells_response.rb +61 -0
  81. data/lib/aspose_cells_cloud/models/multiple_filters.rb +47 -0
  82. data/lib/aspose_cells_cloud/models/name.rb +93 -0
  83. data/lib/aspose_cells_cloud/models/name_response.rb +61 -0
  84. data/lib/aspose_cells_cloud/models/names.rb +55 -0
  85. data/lib/aspose_cells_cloud/models/names_response.rb +61 -0
  86. data/lib/aspose_cells_cloud/models/ole_object_response.rb +61 -0
  87. data/lib/aspose_cells_cloud/models/ole_objects_response.rb +61 -0
  88. data/lib/aspose_cells_cloud/models/password_request.rb +37 -0
  89. data/lib/aspose_cells_cloud/models/picture_response.rb +61 -0
  90. data/lib/aspose_cells_cloud/models/pictures_response.rb +61 -0
  91. data/lib/aspose_cells_cloud/models/pivot_field_response.rb +61 -0
  92. data/lib/aspose_cells_cloud/models/pivot_pivot_field.rb +347 -0
  93. data/lib/aspose_cells_cloud/models/pivot_pivot_filter.rb +101 -0
  94. data/lib/aspose_cells_cloud/models/pivot_pivot_item.rb +61 -0
  95. data/lib/aspose_cells_cloud/models/pivot_pivot_table.rb +595 -0
  96. data/lib/aspose_cells_cloud/models/pivot_pivot_tables.rb +47 -0
  97. data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +39 -0
  98. data/lib/aspose_cells_cloud/models/pivot_table_response.rb +61 -0
  99. data/lib/aspose_cells_cloud/models/pivot_tables_response.rb +61 -0
  100. data/lib/aspose_cells_cloud/models/protect_sheet_parameter.rb +159 -0
  101. data/lib/aspose_cells_cloud/models/row.rb +93 -0
  102. data/lib/aspose_cells_cloud/models/row_response.rb +61 -0
  103. data/lib/aspose_cells_cloud/models/rows.rb +63 -0
  104. data/lib/aspose_cells_cloud/models/rows_response.rb +61 -0
  105. data/lib/aspose_cells_cloud/models/save_response.rb +61 -0
  106. data/lib/aspose_cells_cloud/models/save_result.rb +55 -0
  107. data/lib/aspose_cells_cloud/models/saving_save_options.rb +85 -0
  108. data/lib/aspose_cells_cloud/models/single_value.rb +45 -0
  109. data/lib/aspose_cells_cloud/models/single_value_response.rb +61 -0
  110. data/lib/aspose_cells_cloud/models/sort_key.rb +45 -0
  111. data/lib/aspose_cells_cloud/models/split_result.rb +39 -0
  112. data/lib/aspose_cells_cloud/models/split_result_document.rb +45 -0
  113. data/lib/aspose_cells_cloud/models/split_result_response.rb +61 -0
  114. data/lib/aspose_cells_cloud/models/style.rb +207 -0
  115. data/lib/aspose_cells_cloud/models/style_response.rb +61 -0
  116. data/lib/aspose_cells_cloud/models/text_item.rb +45 -0
  117. data/lib/aspose_cells_cloud/models/text_items.rb +47 -0
  118. data/lib/aspose_cells_cloud/models/text_items_response.rb +61 -0
  119. data/lib/aspose_cells_cloud/models/theme_color.rb +45 -0
  120. data/lib/aspose_cells_cloud/models/title_response.rb +61 -0
  121. data/lib/aspose_cells_cloud/models/top10_filter.rb +61 -0
  122. data/lib/aspose_cells_cloud/models/validation.rb +167 -0
  123. data/lib/aspose_cells_cloud/models/validation_response.rb +61 -0
  124. data/lib/aspose_cells_cloud/models/validations.rb +55 -0
  125. data/lib/aspose_cells_cloud/models/validations_response.rb +61 -0
  126. data/lib/aspose_cells_cloud/models/workbook.rb +119 -0
  127. data/lib/aspose_cells_cloud/models/workbook_encryption_request.rb +53 -0
  128. data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +45 -0
  129. data/lib/aspose_cells_cloud/models/workbook_replace_response.rb +69 -0
  130. data/lib/aspose_cells_cloud/models/workbook_response.rb +61 -0
  131. data/lib/aspose_cells_cloud/models/workbook_settings.rb +389 -0
  132. data/lib/aspose_cells_cloud/models/workbook_settings_response.rb +61 -0
  133. data/lib/aspose_cells_cloud/models/worksheet.rb +287 -0
  134. data/lib/aspose_cells_cloud/models/worksheet_moving_request.rb +45 -0
  135. data/lib/aspose_cells_cloud/models/worksheet_replace_response.rb +69 -0
  136. data/lib/aspose_cells_cloud/models/worksheet_response.rb +61 -0
  137. data/lib/aspose_cells_cloud/models/worksheets.rb +47 -0
  138. data/lib/aspose_cells_cloud/models/worksheets_response.rb +61 -0
  139. data/lib/aspose_cells_cloud/version.rb +3 -0
  140. data/lib/aspose_cells_cloud.rb +161 -0
  141. data/test/cells_tests.rb +1732 -0
  142. data/test/data/Creative.jpg +0 -0
  143. data/test/data/Embeded_OleObject_Sample_Book1.xlsx +0 -0
  144. data/test/data/Sample_Book1.xlsx +0 -0
  145. data/test/data/Sample_Book2.xls +0 -0
  146. data/test/data/Sample_Pivot_Table_Example.xls +0 -0
  147. data/test/data/Sample_Protected_Test_Book.xls +0 -0
  148. data/test/data/Sample_SmartMarker.xlsx +0 -0
  149. data/test/data/Sample_SmartMarker_Data.xml +14 -0
  150. data/test/data/Sample_Test_Book.xls +0 -0
  151. data/test/data/WorkSheetBackground_Sample_Test_Book.xls +0 -0
  152. data/test/data/aspose-cloud.png +0 -0
  153. data/test/data/aspose-logo.png +0 -0
  154. data/test/data/calendar.xlsx +0 -0
  155. data/test/data/encrypted_Sample_Test_Book.xls +0 -0
  156. data/test/data/myWorkbook.xlsx +0 -0
  157. data/test/data/testfile.txt +1 -0
  158. metadata +289 -0
@@ -0,0 +1,47 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class PivotPivotTables < BaseObject
4
+ attr_accessor :pivot_table_list, :link
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'pivot_table_list' => :'PivotTableList',
11
+
12
+ #
13
+ :'link' => :'link'
14
+
15
+ }
16
+ end
17
+
18
+ # attribute type
19
+ def self.swagger_types
20
+ {
21
+ :'pivot_table_list' => :'Array<LinkElement>',
22
+ :'link' => :'Link'
23
+
24
+ }
25
+ end
26
+
27
+ def initialize(attributes = {})
28
+ return if !attributes.is_a?(Hash) || attributes.empty?
29
+
30
+ # convert string to symbol for hash key
31
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
32
+
33
+
34
+ if attributes[:'PivotTableList']
35
+ if (value = attributes[:'PivotTableList']).is_a?(Array)
36
+ self.pivot_table_list = value
37
+ end
38
+ end
39
+
40
+ if attributes[:'link']
41
+ self.link = attributes[:'link']
42
+ end
43
+
44
+ end
45
+
46
+ end
47
+ end
@@ -0,0 +1,39 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class PivotTableFieldRequest < BaseObject
4
+ attr_accessor :data
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'data' => :'Data'
11
+
12
+ }
13
+ end
14
+
15
+ # attribute type
16
+ def self.swagger_types
17
+ {
18
+ :'data' => :'Array<Integer>'
19
+
20
+ }
21
+ end
22
+
23
+ def initialize(attributes = {})
24
+ return if !attributes.is_a?(Hash) || attributes.empty?
25
+
26
+ # convert string to symbol for hash key
27
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
28
+
29
+
30
+ if attributes[:'Data']
31
+ if (value = attributes[:'Data']).is_a?(Array)
32
+ self.data = value
33
+ end
34
+ end
35
+
36
+ end
37
+
38
+ end
39
+ end
@@ -0,0 +1,61 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class PivotTableResponse < BaseObject
4
+ attr_accessor :pivot_table, :code, :status
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'pivot_table' => :'PivotTable',
11
+
12
+ #
13
+ :'code' => :'Code',
14
+
15
+ #
16
+ :'status' => :'Status'
17
+
18
+ }
19
+ end
20
+
21
+ # attribute type
22
+ def self.swagger_types
23
+ {
24
+ :'pivot_table' => :'PivotPivotTable',
25
+ :'code' => :'String',
26
+ :'status' => :'String'
27
+
28
+ }
29
+ end
30
+
31
+ def initialize(attributes = {})
32
+ return if !attributes.is_a?(Hash) || attributes.empty?
33
+
34
+ # convert string to symbol for hash key
35
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
36
+
37
+
38
+ if attributes[:'PivotTable']
39
+ self.pivot_table = attributes[:'PivotTable']
40
+ end
41
+
42
+ if attributes[:'Code']
43
+ self.code = attributes[:'Code']
44
+ end
45
+
46
+ if attributes[:'Status']
47
+ self.status = attributes[:'Status']
48
+ end
49
+
50
+ end
51
+
52
+ def status=(status)
53
+ allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
54
+ if status && !allowed_values.include?(status)
55
+ fail "invalid value for 'status', must be one of #{allowed_values}"
56
+ end
57
+ @status = status
58
+ end
59
+
60
+ end
61
+ end
@@ -0,0 +1,61 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class PivotTablesResponse < BaseObject
4
+ attr_accessor :pivot_tables, :code, :status
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'pivot_tables' => :'PivotTables',
11
+
12
+ #
13
+ :'code' => :'Code',
14
+
15
+ #
16
+ :'status' => :'Status'
17
+
18
+ }
19
+ end
20
+
21
+ # attribute type
22
+ def self.swagger_types
23
+ {
24
+ :'pivot_tables' => :'PivotPivotTables',
25
+ :'code' => :'String',
26
+ :'status' => :'String'
27
+
28
+ }
29
+ end
30
+
31
+ def initialize(attributes = {})
32
+ return if !attributes.is_a?(Hash) || attributes.empty?
33
+
34
+ # convert string to symbol for hash key
35
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
36
+
37
+
38
+ if attributes[:'PivotTables']
39
+ self.pivot_tables = attributes[:'PivotTables']
40
+ end
41
+
42
+ if attributes[:'Code']
43
+ self.code = attributes[:'Code']
44
+ end
45
+
46
+ if attributes[:'Status']
47
+ self.status = attributes[:'Status']
48
+ end
49
+
50
+ end
51
+
52
+ def status=(status)
53
+ allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
54
+ if status && !allowed_values.include?(status)
55
+ fail "invalid value for 'status', must be one of #{allowed_values}"
56
+ end
57
+ @status = status
58
+ end
59
+
60
+ end
61
+ end
@@ -0,0 +1,159 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class ProtectSheetParameter < BaseObject
4
+ attr_accessor :protection_type, :password, :allow_edit_area, :allow_deleting_column, :allow_deleting_row, :allow_filtering, :allow_formatting_cell, :allow_formatting_column, :allow_formatting_row, :allow_inserting_column, :allow_inserting_hyperlink, :allow_inserting_row, :allow_selecting_locked_cell, :allow_selecting_unlocked_cell, :allow_sorting, :allow_using_pivot_table
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'protection_type' => :'ProtectionType',
11
+
12
+ #
13
+ :'password' => :'Password',
14
+
15
+ #
16
+ :'allow_edit_area' => :'AllowEditArea',
17
+
18
+ #
19
+ :'allow_deleting_column' => :'AllowDeletingColumn',
20
+
21
+ #
22
+ :'allow_deleting_row' => :'AllowDeletingRow',
23
+
24
+ #
25
+ :'allow_filtering' => :'AllowFiltering',
26
+
27
+ #
28
+ :'allow_formatting_cell' => :'AllowFormattingCell',
29
+
30
+ #
31
+ :'allow_formatting_column' => :'AllowFormattingColumn',
32
+
33
+ #
34
+ :'allow_formatting_row' => :'AllowFormattingRow',
35
+
36
+ #
37
+ :'allow_inserting_column' => :'AllowInsertingColumn',
38
+
39
+ #
40
+ :'allow_inserting_hyperlink' => :'AllowInsertingHyperlink',
41
+
42
+ #
43
+ :'allow_inserting_row' => :'AllowInsertingRow',
44
+
45
+ #
46
+ :'allow_selecting_locked_cell' => :'AllowSelectingLockedCell',
47
+
48
+ #
49
+ :'allow_selecting_unlocked_cell' => :'AllowSelectingUnlockedCell',
50
+
51
+ #
52
+ :'allow_sorting' => :'AllowSorting',
53
+
54
+ #
55
+ :'allow_using_pivot_table' => :'AllowUsingPivotTable'
56
+
57
+ }
58
+ end
59
+
60
+ # attribute type
61
+ def self.swagger_types
62
+ {
63
+ :'protection_type' => :'String',
64
+ :'password' => :'String',
65
+ :'allow_edit_area' => :'Array<String>',
66
+ :'allow_deleting_column' => :'String',
67
+ :'allow_deleting_row' => :'String',
68
+ :'allow_filtering' => :'String',
69
+ :'allow_formatting_cell' => :'String',
70
+ :'allow_formatting_column' => :'String',
71
+ :'allow_formatting_row' => :'String',
72
+ :'allow_inserting_column' => :'String',
73
+ :'allow_inserting_hyperlink' => :'String',
74
+ :'allow_inserting_row' => :'String',
75
+ :'allow_selecting_locked_cell' => :'String',
76
+ :'allow_selecting_unlocked_cell' => :'String',
77
+ :'allow_sorting' => :'String',
78
+ :'allow_using_pivot_table' => :'String'
79
+
80
+ }
81
+ end
82
+
83
+ def initialize(attributes = {})
84
+ return if !attributes.is_a?(Hash) || attributes.empty?
85
+
86
+ # convert string to symbol for hash key
87
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
88
+
89
+
90
+ if attributes[:'ProtectionType']
91
+ self.protection_type = attributes[:'ProtectionType']
92
+ end
93
+
94
+ if attributes[:'Password']
95
+ self.password = attributes[:'Password']
96
+ end
97
+
98
+ if attributes[:'AllowEditArea']
99
+ if (value = attributes[:'AllowEditArea']).is_a?(Array)
100
+ self.allow_edit_area = value
101
+ end
102
+ end
103
+
104
+ if attributes[:'AllowDeletingColumn']
105
+ self.allow_deleting_column = attributes[:'AllowDeletingColumn']
106
+ end
107
+
108
+ if attributes[:'AllowDeletingRow']
109
+ self.allow_deleting_row = attributes[:'AllowDeletingRow']
110
+ end
111
+
112
+ if attributes[:'AllowFiltering']
113
+ self.allow_filtering = attributes[:'AllowFiltering']
114
+ end
115
+
116
+ if attributes[:'AllowFormattingCell']
117
+ self.allow_formatting_cell = attributes[:'AllowFormattingCell']
118
+ end
119
+
120
+ if attributes[:'AllowFormattingColumn']
121
+ self.allow_formatting_column = attributes[:'AllowFormattingColumn']
122
+ end
123
+
124
+ if attributes[:'AllowFormattingRow']
125
+ self.allow_formatting_row = attributes[:'AllowFormattingRow']
126
+ end
127
+
128
+ if attributes[:'AllowInsertingColumn']
129
+ self.allow_inserting_column = attributes[:'AllowInsertingColumn']
130
+ end
131
+
132
+ if attributes[:'AllowInsertingHyperlink']
133
+ self.allow_inserting_hyperlink = attributes[:'AllowInsertingHyperlink']
134
+ end
135
+
136
+ if attributes[:'AllowInsertingRow']
137
+ self.allow_inserting_row = attributes[:'AllowInsertingRow']
138
+ end
139
+
140
+ if attributes[:'AllowSelectingLockedCell']
141
+ self.allow_selecting_locked_cell = attributes[:'AllowSelectingLockedCell']
142
+ end
143
+
144
+ if attributes[:'AllowSelectingUnlockedCell']
145
+ self.allow_selecting_unlocked_cell = attributes[:'AllowSelectingUnlockedCell']
146
+ end
147
+
148
+ if attributes[:'AllowSorting']
149
+ self.allow_sorting = attributes[:'AllowSorting']
150
+ end
151
+
152
+ if attributes[:'AllowUsingPivotTable']
153
+ self.allow_using_pivot_table = attributes[:'AllowUsingPivotTable']
154
+ end
155
+
156
+ end
157
+
158
+ end
159
+ end
@@ -0,0 +1,93 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class Row < BaseObject
4
+ attr_accessor :group_level, :height, :index, :is_blank, :is_height_matched, :is_hidden, :style, :link
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'group_level' => :'GroupLevel',
11
+
12
+ #
13
+ :'height' => :'Height',
14
+
15
+ #
16
+ :'index' => :'Index',
17
+
18
+ #
19
+ :'is_blank' => :'IsBlank',
20
+
21
+ #
22
+ :'is_height_matched' => :'IsHeightMatched',
23
+
24
+ #
25
+ :'is_hidden' => :'IsHidden',
26
+
27
+ #
28
+ :'style' => :'Style',
29
+
30
+ #
31
+ :'link' => :'link'
32
+
33
+ }
34
+ end
35
+
36
+ # attribute type
37
+ def self.swagger_types
38
+ {
39
+ :'group_level' => :'Integer',
40
+ :'height' => :'Float',
41
+ :'index' => :'Integer',
42
+ :'is_blank' => :'BOOLEAN',
43
+ :'is_height_matched' => :'BOOLEAN',
44
+ :'is_hidden' => :'BOOLEAN',
45
+ :'style' => :'LinkElement',
46
+ :'link' => :'Link'
47
+
48
+ }
49
+ end
50
+
51
+ def initialize(attributes = {})
52
+ return if !attributes.is_a?(Hash) || attributes.empty?
53
+
54
+ # convert string to symbol for hash key
55
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
56
+
57
+
58
+ if attributes[:'GroupLevel']
59
+ self.group_level = attributes[:'GroupLevel']
60
+ end
61
+
62
+ if attributes[:'Height']
63
+ self.height = attributes[:'Height']
64
+ end
65
+
66
+ if attributes[:'Index']
67
+ self.index = attributes[:'Index']
68
+ end
69
+
70
+ if attributes[:'IsBlank']
71
+ self.is_blank = attributes[:'IsBlank']
72
+ end
73
+
74
+ if attributes[:'IsHeightMatched']
75
+ self.is_height_matched = attributes[:'IsHeightMatched']
76
+ end
77
+
78
+ if attributes[:'IsHidden']
79
+ self.is_hidden = attributes[:'IsHidden']
80
+ end
81
+
82
+ if attributes[:'Style']
83
+ self.style = attributes[:'Style']
84
+ end
85
+
86
+ if attributes[:'link']
87
+ self.link = attributes[:'link']
88
+ end
89
+
90
+ end
91
+
92
+ end
93
+ end