aspose_cells_cloud 24.3 → 24.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -7
- data/lib/aspose_cells_cloud/api/cells_api.rb +8 -0
- data/lib/aspose_cells_cloud/models/analyzed_result.rb +4 -4
- data/lib/aspose_cells_cloud/models/analyzed_table_description.rb +16 -16
- data/lib/aspose_cells_cloud/models/axis.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +16 -4
- data/lib/aspose_cells_cloud/models/chart.rb +12 -12
- data/lib/aspose_cells_cloud/models/chart_area.rb +1 -13
- data/lib/aspose_cells_cloud/models/chart_frame.rb +1 -13
- data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +11 -11
- data/lib/aspose_cells_cloud/models/chart_point.rb +15 -3
- data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
- data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +17 -5
- data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +33 -9
- data/lib/aspose_cells_cloud/models/data_cleansing.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_column_fill_value.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_fill.rb +3 -3
- data/lib/aspose_cells_cloud/models/data_fill_value.rb +5 -5
- data/lib/aspose_cells_cloud/models/{split_result_document.rb → data_item.rb} +23 -23
- data/lib/aspose_cells_cloud/models/data_labels.rb +1 -13
- data/lib/aspose_cells_cloud/models/{analyze_excel_response.rb → data_source.rb} +25 -13
- data/lib/aspose_cells_cloud/models/{analyze_suggestion.rb → data_transformation_request.rb} +50 -86
- data/lib/aspose_cells_cloud/models/deduplication_region.rb +2 -2
- data/lib/aspose_cells_cloud/models/discover_chart.rb +6 -6
- data/lib/aspose_cells_cloud/models/discover_pivot_table.rb +4 -4
- data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -25
- data/lib/aspose_cells_cloud/models/excel_data_statistics.rb +5 -17
- data/lib/aspose_cells_cloud/models/file_info.rb +3 -3
- data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +28 -4
- data/lib/aspose_cells_cloud/models/import_double_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_int_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_json_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_string_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_xml_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/legend.rb +1 -13
- data/lib/aspose_cells_cloud/models/legend_entry.rb +2 -2
- data/lib/aspose_cells_cloud/models/list_object_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/load_data.rb +258 -0
- data/lib/aspose_cells_cloud/models/load_to.rb +234 -0
- data/lib/aspose_cells_cloud/models/marker.rb +4 -4
- data/lib/aspose_cells_cloud/models/merge_queries.rb +306 -0
- data/lib/aspose_cells_cloud/models/operate_object.rb +2 -2
- data/lib/aspose_cells_cloud/models/operate_object_position.rb +19 -7
- data/lib/aspose_cells_cloud/models/operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/page_break_operate_parameter.rb +6 -6
- data/lib/aspose_cells_cloud/models/page_setup_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_column.rb +222 -0
- data/lib/aspose_cells_cloud/models/pivot_table.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_table_operate_parameter.rb +8 -8
- data/lib/aspose_cells_cloud/models/plot_area.rb +1 -13
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +3 -3
- data/lib/aspose_cells_cloud/models/query_data_source.rb +234 -0
- data/lib/aspose_cells_cloud/models/result_destination.rb +3 -3
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_result_task_parameter.rb +2 -2
- data/lib/aspose_cells_cloud/models/series.rb +8 -32
- data/lib/aspose_cells_cloud/models/series_items.rb +1 -1
- data/lib/aspose_cells_cloud/models/shape_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/single_value.rb +2 -2
- data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +43 -7
- data/lib/aspose_cells_cloud/models/sort_key.rb +2 -2
- data/lib/aspose_cells_cloud/models/split_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +28 -4
- data/lib/aspose_cells_cloud/models/task_data.rb +1 -1
- data/lib/aspose_cells_cloud/models/task_description.rb +2 -2
- data/lib/aspose_cells_cloud/models/task_run_result.rb +3 -3
- data/lib/aspose_cells_cloud/models/text_item.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_items.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_options.rb +6 -6
- data/lib/aspose_cells_cloud/models/title.rb +1 -13
- data/lib/aspose_cells_cloud/models/transformation.rb +222 -0
- data/lib/aspose_cells_cloud/models/trendline.rb +2 -2
- data/lib/aspose_cells_cloud/models/trendlines.rb +1 -1
- data/lib/aspose_cells_cloud/models/unpivot_column.rb +234 -0
- data/lib/aspose_cells_cloud/models/workbook_settings_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/worksheet_data_statistics.rb +10 -10
- data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +3 -3
- data/lib/aspose_cells_cloud/requests/post_data_transformation_request.rb +103 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +14 -6
- data/spec/api/xml_controller_spec.rb +1 -1
- metadata +26 -13
@@ -31,28 +31,34 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class ConvertWorksheetTaskParameter
|
34
|
-
#
|
34
|
+
#Represents data source of task object.
|
35
|
+
attr_accessor :data_source
|
36
|
+
#Represents data source of task object.
|
35
37
|
attr_accessor :workbook
|
36
|
-
#
|
38
|
+
#Represents worksheet.
|
37
39
|
attr_accessor :sheet
|
38
|
-
#
|
40
|
+
#Represents destination data source.
|
41
|
+
attr_accessor :target_data_source
|
42
|
+
#Represents destination data source.
|
39
43
|
attr_accessor :target
|
40
|
-
#
|
44
|
+
#Represents destination data format.
|
41
45
|
attr_accessor :format
|
42
|
-
#
|
46
|
+
#Represents converted data area.
|
43
47
|
attr_accessor :area
|
44
|
-
#
|
48
|
+
#Represents converted page index.
|
45
49
|
attr_accessor :page_index
|
46
|
-
#
|
50
|
+
#Represents vertical resolution.
|
47
51
|
attr_accessor :vertical_resolution
|
48
|
-
#
|
52
|
+
#Represents horizontal resolution.
|
49
53
|
attr_accessor :horizontal_resolution
|
50
54
|
|
51
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
56
|
def self.attribute_map
|
53
57
|
{
|
58
|
+
:'data_source' => :'DataSource',
|
54
59
|
:'workbook' => :'Workbook',
|
55
60
|
:'sheet' => :'Sheet',
|
61
|
+
:'target_data_source' => :'TargetDataSource',
|
56
62
|
:'target' => :'Target',
|
57
63
|
:'format' => :'Format',
|
58
64
|
:'area' => :'Area',
|
@@ -65,8 +71,10 @@ module AsposeCellsCloud
|
|
65
71
|
# Attribute type mapping.
|
66
72
|
def self.swagger_types
|
67
73
|
{
|
74
|
+
:'data_source' => :'DataSource',
|
68
75
|
:'workbook' => :'FileSource',
|
69
76
|
:'sheet' => :'String',
|
77
|
+
:'target_data_source' => :'DataSource',
|
70
78
|
:'target' => :'FileSource',
|
71
79
|
:'format' => :'String',
|
72
80
|
:'area' => :'String',
|
@@ -84,12 +92,18 @@ module AsposeCellsCloud
|
|
84
92
|
# convert string to symbol for hash key
|
85
93
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
86
94
|
|
95
|
+
if attributes.has_key?(:'DataSource')
|
96
|
+
self.data_source = attributes[:'DataSource']
|
97
|
+
end
|
87
98
|
if attributes.has_key?(:'Workbook')
|
88
99
|
self.workbook = attributes[:'Workbook']
|
89
100
|
end
|
90
101
|
if attributes.has_key?(:'Sheet')
|
91
102
|
self.sheet = attributes[:'Sheet']
|
92
103
|
end
|
104
|
+
if attributes.has_key?(:'TargetDataSource')
|
105
|
+
self.target_data_source = attributes[:'TargetDataSource']
|
106
|
+
end
|
93
107
|
if attributes.has_key?(:'Target')
|
94
108
|
self.target = attributes[:'Target']
|
95
109
|
end
|
@@ -115,12 +129,18 @@ module AsposeCellsCloud
|
|
115
129
|
# @return Array for valid properies with the reasons
|
116
130
|
def list_invalid_properties
|
117
131
|
invalid_properties = Array.new
|
132
|
+
if @data_source.nil?
|
133
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
134
|
+
end
|
118
135
|
if @workbook.nil?
|
119
136
|
invalid_properties.push("invalid value for 'workbook', workbook cannot be nil.")
|
120
137
|
end
|
121
138
|
if @sheet.nil?
|
122
139
|
invalid_properties.push("invalid value for 'sheet', sheet cannot be nil.")
|
123
140
|
end
|
141
|
+
if @target_data_source.nil?
|
142
|
+
invalid_properties.push("invalid value for 'target_data_source', target_data_source cannot be nil.")
|
143
|
+
end
|
124
144
|
if @target.nil?
|
125
145
|
invalid_properties.push("invalid value for 'target', target cannot be nil.")
|
126
146
|
end
|
@@ -146,8 +166,10 @@ module AsposeCellsCloud
|
|
146
166
|
# Check to see if the all the properties in the model are valid
|
147
167
|
# @return true if the model is valid
|
148
168
|
def valid?
|
169
|
+
return false if @data_source.nil?
|
149
170
|
return false if @workbook.nil?
|
150
171
|
return false if @sheet.nil?
|
172
|
+
return false if @target_data_source.nil?
|
151
173
|
return false if @target.nil?
|
152
174
|
return false if @format.nil?
|
153
175
|
return false if @area.nil?
|
@@ -162,8 +184,10 @@ module AsposeCellsCloud
|
|
162
184
|
def ==(o)
|
163
185
|
return true if self.equal?(o)
|
164
186
|
self.class == o.class &&
|
187
|
+
data_source == o.data_source &&
|
165
188
|
workbook == o.workbook &&
|
166
189
|
sheet == o.sheet &&
|
190
|
+
target_data_source == o.target_data_source &&
|
167
191
|
target == o.target &&
|
168
192
|
format == o.format &&
|
169
193
|
area == o.area &&
|
@@ -182,7 +206,7 @@ module AsposeCellsCloud
|
|
182
206
|
# Calculates hash code according to all attributes.
|
183
207
|
# @return [Fixnum] Hash code
|
184
208
|
def hash
|
185
|
-
[ workbook , sheet , target , format , area , page_index , vertical_resolution , horizontal_resolution ].hash
|
209
|
+
[ data_source , workbook , sheet , target_data_source , target , format , area , page_index , vertical_resolution , horizontal_resolution ].hash
|
186
210
|
end
|
187
211
|
|
188
212
|
# Builds the object from hash
|
@@ -33,9 +33,9 @@ module AsposeCellsCloud
|
|
33
33
|
class DataCleansing
|
34
34
|
#
|
35
35
|
attr_accessor :ranges
|
36
|
-
#
|
36
|
+
#Represents whether the data needs to be populated.
|
37
37
|
attr_accessor :need_fill_data
|
38
|
-
#
|
38
|
+
#Represents data fill.
|
39
39
|
attr_accessor :data_fill
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,9 +31,9 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class DataColumnFillValue
|
34
|
-
#
|
34
|
+
#Represents specified column index.
|
35
35
|
attr_accessor :column_index
|
36
|
-
#
|
36
|
+
#Represents specified data fill value.
|
37
37
|
attr_accessor :data_fill_value
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,11 +31,11 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class DataFill
|
34
|
-
#
|
34
|
+
#Represents range of data filling.
|
35
35
|
attr_accessor :ranges
|
36
|
-
#
|
36
|
+
#Represents that the data column is populated with the default value.
|
37
37
|
attr_accessor :data_fill_default_value
|
38
|
-
#
|
38
|
+
#Represents that the data column is populated with the specified value.
|
39
39
|
attr_accessor :data_column_fill_value_list
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,15 +31,15 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class DataFillValue
|
34
|
-
#
|
34
|
+
#Represents default bool value.
|
35
35
|
attr_accessor :default_boolean
|
36
|
-
#
|
36
|
+
#Represents default string value.
|
37
37
|
attr_accessor :default_string
|
38
|
-
#
|
38
|
+
#Represents default number value.
|
39
39
|
attr_accessor :default_number
|
40
|
-
#
|
40
|
+
#Represents default double value.
|
41
41
|
attr_accessor :default_double
|
42
|
-
#
|
42
|
+
#Represents default date value.
|
43
43
|
attr_accessor :default_date
|
44
44
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
<copyright company="Aspose" file="
|
3
|
+
<copyright company="Aspose" file="DataItemrb.cs">
|
4
4
|
Copyright (c) 2024 Aspose.Cells Cloud
|
5
5
|
</copyright>
|
6
6
|
<summary>
|
@@ -30,25 +30,25 @@ require 'date'
|
|
30
30
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
|
-
class
|
34
|
-
#
|
35
|
-
attr_accessor :
|
36
|
-
#
|
37
|
-
attr_accessor :
|
33
|
+
class DataItem
|
34
|
+
#Represents data item type.
|
35
|
+
attr_accessor :data_item_type
|
36
|
+
#Represents data item value.
|
37
|
+
attr_accessor :value
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
40
|
def self.attribute_map
|
41
41
|
{
|
42
|
-
:'
|
43
|
-
:'
|
42
|
+
:'data_item_type' => :'DataItemType',
|
43
|
+
:'value' => :'Value'
|
44
44
|
}
|
45
45
|
end
|
46
46
|
|
47
47
|
# Attribute type mapping.
|
48
48
|
def self.swagger_types
|
49
49
|
{
|
50
|
-
:'
|
51
|
-
:'
|
50
|
+
:'data_item_type' => :'String',
|
51
|
+
:'value' => :'String'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
@@ -60,11 +60,11 @@ module AsposeCellsCloud
|
|
60
60
|
# convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
62
62
|
|
63
|
-
if attributes.has_key?(:'
|
64
|
-
self.
|
63
|
+
if attributes.has_key?(:'DataItemType')
|
64
|
+
self.data_item_type = attributes[:'DataItemType']
|
65
65
|
end
|
66
|
-
if attributes.has_key?(:'
|
67
|
-
self.
|
66
|
+
if attributes.has_key?(:'Value')
|
67
|
+
self.value = attributes[:'Value']
|
68
68
|
end
|
69
69
|
|
70
70
|
end
|
@@ -73,11 +73,11 @@ module AsposeCellsCloud
|
|
73
73
|
# @return Array for valid properies with the reasons
|
74
74
|
def list_invalid_properties
|
75
75
|
invalid_properties = Array.new
|
76
|
-
if @
|
77
|
-
invalid_properties.push("invalid value for '
|
76
|
+
if @data_item_type.nil?
|
77
|
+
invalid_properties.push("invalid value for 'data_item_type', data_item_type cannot be nil.")
|
78
78
|
end
|
79
|
-
if @
|
80
|
-
invalid_properties.push("invalid value for '
|
79
|
+
if @value.nil?
|
80
|
+
invalid_properties.push("invalid value for 'value', value cannot be nil.")
|
81
81
|
end
|
82
82
|
|
83
83
|
return invalid_properties
|
@@ -86,8 +86,8 @@ module AsposeCellsCloud
|
|
86
86
|
# Check to see if the all the properties in the model are valid
|
87
87
|
# @return true if the model is valid
|
88
88
|
def valid?
|
89
|
-
return false if @
|
90
|
-
return false if @
|
89
|
+
return false if @data_item_type.nil?
|
90
|
+
return false if @value.nil?
|
91
91
|
return true
|
92
92
|
end
|
93
93
|
|
@@ -96,8 +96,8 @@ module AsposeCellsCloud
|
|
96
96
|
def ==(o)
|
97
97
|
return true if self.equal?(o)
|
98
98
|
self.class == o.class &&
|
99
|
-
|
100
|
-
|
99
|
+
data_item_type == o.data_item_type &&
|
100
|
+
value == o.value
|
101
101
|
std_dev == o.std_dev
|
102
102
|
end
|
103
103
|
|
@@ -110,7 +110,7 @@ module AsposeCellsCloud
|
|
110
110
|
# Calculates hash code according to all attributes.
|
111
111
|
# @return [Fixnum] Hash code
|
112
112
|
def hash
|
113
|
-
[
|
113
|
+
[ data_item_type , value ].hash
|
114
114
|
end
|
115
115
|
|
116
116
|
# Builds the object from hash
|
@@ -86,8 +86,6 @@ module AsposeCellsCloud
|
|
86
86
|
#
|
87
87
|
attr_accessor :shadow
|
88
88
|
#
|
89
|
-
attr_accessor :shape_properties
|
90
|
-
#
|
91
89
|
attr_accessor :width
|
92
90
|
#
|
93
91
|
attr_accessor :height
|
@@ -126,7 +124,6 @@ module AsposeCellsCloud
|
|
126
124
|
:'is_automatic_size' => :'IsAutomaticSize',
|
127
125
|
:'is_inner_mode' => :'IsInnerMode',
|
128
126
|
:'shadow' => :'Shadow',
|
129
|
-
:'shape_properties' => :'ShapeProperties',
|
130
127
|
:'width' => :'Width',
|
131
128
|
:'height' => :'Height',
|
132
129
|
:'x' => :'X',
|
@@ -164,7 +161,6 @@ module AsposeCellsCloud
|
|
164
161
|
:'is_automatic_size' => :'BOOLEAN',
|
165
162
|
:'is_inner_mode' => :'BOOLEAN',
|
166
163
|
:'shadow' => :'BOOLEAN',
|
167
|
-
:'shape_properties' => :'Array<LinkElement>',
|
168
164
|
:'width' => :'Integer',
|
169
165
|
:'height' => :'Integer',
|
170
166
|
:'x' => :'Integer',
|
@@ -261,9 +257,6 @@ module AsposeCellsCloud
|
|
261
257
|
if attributes.has_key?(:'Shadow')
|
262
258
|
self.shadow = attributes[:'Shadow']
|
263
259
|
end
|
264
|
-
if attributes.has_key?(:'ShapeProperties')
|
265
|
-
self.shape_properties = attributes[:'ShapeProperties']
|
266
|
-
end
|
267
260
|
if attributes.has_key?(:'Width')
|
268
261
|
self.width = attributes[:'Width']
|
269
262
|
end
|
@@ -364,9 +357,6 @@ module AsposeCellsCloud
|
|
364
357
|
if @shadow.nil?
|
365
358
|
invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
|
366
359
|
end
|
367
|
-
if @shape_properties.nil?
|
368
|
-
invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
|
369
|
-
end
|
370
360
|
if @width.nil?
|
371
361
|
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
372
362
|
end
|
@@ -413,7 +403,6 @@ module AsposeCellsCloud
|
|
413
403
|
return false if @is_automatic_size.nil?
|
414
404
|
return false if @is_inner_mode.nil?
|
415
405
|
return false if @shadow.nil?
|
416
|
-
return false if @shape_properties.nil?
|
417
406
|
return false if @width.nil?
|
418
407
|
return false if @height.nil?
|
419
408
|
return false if @x.nil?
|
@@ -453,7 +442,6 @@ module AsposeCellsCloud
|
|
453
442
|
is_automatic_size == o.is_automatic_size &&
|
454
443
|
is_inner_mode == o.is_inner_mode &&
|
455
444
|
shadow == o.shadow &&
|
456
|
-
shape_properties == o.shape_properties &&
|
457
445
|
width == o.width &&
|
458
446
|
height == o.height &&
|
459
447
|
x == o.x &&
|
@@ -470,7 +458,7 @@ module AsposeCellsCloud
|
|
470
458
|
# Calculates hash code according to all attributes.
|
471
459
|
# @return [Fixnum] Hash code
|
472
460
|
def hash
|
473
|
-
[ is_auto_text , is_deleted , linked_source , number , number_format , number_format_linked , position , rotation_angle , separator , show_bubble_size , show_category_name , show_legend_key , show_percentage , show_series_name , show_value , text , text_direction , text_horizontal_alignment , text_vertical_alignment , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow ,
|
461
|
+
[ is_auto_text , is_deleted , linked_source , number , number_format , number_format_linked , position , rotation_angle , separator , show_bubble_size , show_category_name , show_legend_key , show_percentage , show_series_name , show_value , text , text_direction , text_horizontal_alignment , text_vertical_alignment , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , width , height , x , y ].hash
|
474
462
|
end
|
475
463
|
|
476
464
|
# Builds the object from hash
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
<copyright company="Aspose" file="
|
3
|
+
<copyright company="Aspose" file="DataSourcerb.cs">
|
4
4
|
Copyright (c) 2024 Aspose.Cells Cloud
|
5
5
|
</copyright>
|
6
6
|
<summary>
|
@@ -30,21 +30,25 @@ require 'date'
|
|
30
30
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
|
-
class
|
34
|
-
#
|
35
|
-
attr_accessor :
|
33
|
+
class DataSource
|
34
|
+
#Represents data source type.
|
35
|
+
attr_accessor :data_source_type
|
36
|
+
#Represents data path.
|
37
|
+
attr_accessor :data_path
|
36
38
|
|
37
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
40
|
def self.attribute_map
|
39
41
|
{
|
40
|
-
:'
|
42
|
+
:'data_source_type' => :'DataSourceType',
|
43
|
+
:'data_path' => :'DataPath'
|
41
44
|
}
|
42
45
|
end
|
43
46
|
|
44
47
|
# Attribute type mapping.
|
45
48
|
def self.swagger_types
|
46
49
|
{
|
47
|
-
:'
|
50
|
+
:'data_source_type' => :'String',
|
51
|
+
:'data_path' => :'String'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -56,8 +60,11 @@ module AsposeCellsCloud
|
|
56
60
|
# convert string to symbol for hash key
|
57
61
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
58
62
|
|
59
|
-
if attributes.has_key?(:'
|
60
|
-
self.
|
63
|
+
if attributes.has_key?(:'DataSourceType')
|
64
|
+
self.data_source_type = attributes[:'DataSourceType']
|
65
|
+
end
|
66
|
+
if attributes.has_key?(:'DataPath')
|
67
|
+
self.data_path = attributes[:'DataPath']
|
61
68
|
end
|
62
69
|
|
63
70
|
end
|
@@ -66,8 +73,11 @@ module AsposeCellsCloud
|
|
66
73
|
# @return Array for valid properies with the reasons
|
67
74
|
def list_invalid_properties
|
68
75
|
invalid_properties = Array.new
|
69
|
-
if @
|
70
|
-
invalid_properties.push("invalid value for '
|
76
|
+
if @data_source_type.nil?
|
77
|
+
invalid_properties.push("invalid value for 'data_source_type', data_source_type cannot be nil.")
|
78
|
+
end
|
79
|
+
if @data_path.nil?
|
80
|
+
invalid_properties.push("invalid value for 'data_path', data_path cannot be nil.")
|
71
81
|
end
|
72
82
|
|
73
83
|
return invalid_properties
|
@@ -76,7 +86,8 @@ module AsposeCellsCloud
|
|
76
86
|
# Check to see if the all the properties in the model are valid
|
77
87
|
# @return true if the model is valid
|
78
88
|
def valid?
|
79
|
-
return false if @
|
89
|
+
return false if @data_source_type.nil?
|
90
|
+
return false if @data_path.nil?
|
80
91
|
return true
|
81
92
|
end
|
82
93
|
|
@@ -85,7 +96,8 @@ module AsposeCellsCloud
|
|
85
96
|
def ==(o)
|
86
97
|
return true if self.equal?(o)
|
87
98
|
self.class == o.class &&
|
88
|
-
|
99
|
+
data_source_type == o.data_source_type &&
|
100
|
+
data_path == o.data_path
|
89
101
|
std_dev == o.std_dev
|
90
102
|
end
|
91
103
|
|
@@ -98,7 +110,7 @@ module AsposeCellsCloud
|
|
98
110
|
# Calculates hash code according to all attributes.
|
99
111
|
# @return [Fixnum] Hash code
|
100
112
|
def hash
|
101
|
-
[
|
113
|
+
[ data_source_type , data_path ].hash
|
102
114
|
end
|
103
115
|
|
104
116
|
# Builds the object from hash
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
<copyright company="Aspose" file="
|
3
|
+
<copyright company="Aspose" file="DataTransformationRequestrb.cs">
|
4
4
|
Copyright (c) 2024 Aspose.Cells Cloud
|
5
5
|
</copyright>
|
6
6
|
<summary>
|
@@ -30,49 +30,37 @@ require 'date'
|
|
30
30
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
|
-
class
|
33
|
+
class DataTransformationRequest
|
34
34
|
#
|
35
|
-
attr_accessor :
|
36
|
-
#Excel file name.
|
37
|
-
attr_accessor :filename
|
38
|
-
#The worksheet where the data is aAnalyzed.
|
39
|
-
attr_accessor :sheet_name
|
40
|
-
#The type of data being analyzed.
|
41
|
-
attr_accessor :date_source_type
|
42
|
-
#Based on the results of the data analysis, suggestions for creating new data types are given.
|
43
|
-
attr_accessor :suggested_output_type
|
44
|
-
#Based on the results of the data analysis, a business description of the new data object is created.
|
45
|
-
attr_accessor :description
|
35
|
+
attr_accessor :file_info
|
46
36
|
#
|
47
|
-
attr_accessor :
|
37
|
+
attr_accessor :transformation
|
48
38
|
#
|
49
|
-
attr_accessor :
|
39
|
+
attr_accessor :load_data
|
40
|
+
#
|
41
|
+
attr_accessor :region
|
42
|
+
#
|
43
|
+
attr_accessor :out_format
|
50
44
|
|
51
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
46
|
def self.attribute_map
|
53
47
|
{
|
54
|
-
:'
|
55
|
-
:'
|
56
|
-
:'
|
57
|
-
:'
|
58
|
-
:'
|
59
|
-
:'description' => :'Description',
|
60
|
-
:'data_souce_thumbnail' => :'DataSouceThumbnail',
|
61
|
-
:'thumbnail' => :'Thumbnail'
|
48
|
+
:'file_info' => :'FileInfo',
|
49
|
+
:'transformation' => :'Transformation',
|
50
|
+
:'load_data' => :'LoadData',
|
51
|
+
:'region' => :'Region',
|
52
|
+
:'out_format' => :'OutFormat'
|
62
53
|
}
|
63
54
|
end
|
64
55
|
|
65
56
|
# Attribute type mapping.
|
66
57
|
def self.swagger_types
|
67
58
|
{
|
68
|
-
:'
|
69
|
-
:'
|
70
|
-
:'
|
71
|
-
:'
|
72
|
-
:'
|
73
|
-
:'description' => :'String',
|
74
|
-
:'data_souce_thumbnail' => :'String',
|
75
|
-
:'thumbnail' => :'String'
|
59
|
+
:'file_info' => :'FileInfo',
|
60
|
+
:'transformation' => :'Transformation',
|
61
|
+
:'load_data' => :'LoadData',
|
62
|
+
:'region' => :'String',
|
63
|
+
:'out_format' => :'String'
|
76
64
|
}
|
77
65
|
end
|
78
66
|
|
@@ -84,29 +72,20 @@ module AsposeCellsCloud
|
|
84
72
|
# convert string to symbol for hash key
|
85
73
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
86
74
|
|
87
|
-
if attributes.has_key?(:'
|
88
|
-
self.
|
89
|
-
end
|
90
|
-
if attributes.has_key?(:'Filename')
|
91
|
-
self.filename = attributes[:'Filename']
|
92
|
-
end
|
93
|
-
if attributes.has_key?(:'SheetName')
|
94
|
-
self.sheet_name = attributes[:'SheetName']
|
75
|
+
if attributes.has_key?(:'FileInfo')
|
76
|
+
self.file_info = attributes[:'FileInfo']
|
95
77
|
end
|
96
|
-
if attributes.has_key?(:'
|
97
|
-
self.
|
78
|
+
if attributes.has_key?(:'Transformation')
|
79
|
+
self.transformation = attributes[:'Transformation']
|
98
80
|
end
|
99
|
-
if attributes.has_key?(:'
|
100
|
-
self.
|
81
|
+
if attributes.has_key?(:'LoadData')
|
82
|
+
self.load_data = attributes[:'LoadData']
|
101
83
|
end
|
102
|
-
if attributes.has_key?(:'
|
103
|
-
self.
|
84
|
+
if attributes.has_key?(:'Region')
|
85
|
+
self.region = attributes[:'Region']
|
104
86
|
end
|
105
|
-
if attributes.has_key?(:'
|
106
|
-
self.
|
107
|
-
end
|
108
|
-
if attributes.has_key?(:'Thumbnail')
|
109
|
-
self.thumbnail = attributes[:'Thumbnail']
|
87
|
+
if attributes.has_key?(:'OutFormat')
|
88
|
+
self.out_format = attributes[:'OutFormat']
|
110
89
|
end
|
111
90
|
|
112
91
|
end
|
@@ -115,29 +94,20 @@ module AsposeCellsCloud
|
|
115
94
|
# @return Array for valid properies with the reasons
|
116
95
|
def list_invalid_properties
|
117
96
|
invalid_properties = Array.new
|
118
|
-
if @
|
119
|
-
invalid_properties.push("invalid value for '
|
120
|
-
end
|
121
|
-
if @filename.nil?
|
122
|
-
invalid_properties.push("invalid value for 'filename', filename cannot be nil.")
|
123
|
-
end
|
124
|
-
if @sheet_name.nil?
|
125
|
-
invalid_properties.push("invalid value for 'sheet_name', sheet_name cannot be nil.")
|
126
|
-
end
|
127
|
-
if @date_source_type.nil?
|
128
|
-
invalid_properties.push("invalid value for 'date_source_type', date_source_type cannot be nil.")
|
97
|
+
if @file_info.nil?
|
98
|
+
invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
|
129
99
|
end
|
130
|
-
if @
|
131
|
-
invalid_properties.push("invalid value for '
|
100
|
+
if @transformation.nil?
|
101
|
+
invalid_properties.push("invalid value for 'transformation', transformation cannot be nil.")
|
132
102
|
end
|
133
|
-
if @
|
134
|
-
invalid_properties.push("invalid value for '
|
103
|
+
if @load_data.nil?
|
104
|
+
invalid_properties.push("invalid value for 'load_data', load_data cannot be nil.")
|
135
105
|
end
|
136
|
-
if @
|
137
|
-
invalid_properties.push("invalid value for '
|
106
|
+
if @region.nil?
|
107
|
+
invalid_properties.push("invalid value for 'region', region cannot be nil.")
|
138
108
|
end
|
139
|
-
if @
|
140
|
-
invalid_properties.push("invalid value for '
|
109
|
+
if @out_format.nil?
|
110
|
+
invalid_properties.push("invalid value for 'out_format', out_format cannot be nil.")
|
141
111
|
end
|
142
112
|
|
143
113
|
return invalid_properties
|
@@ -146,14 +116,11 @@ module AsposeCellsCloud
|
|
146
116
|
# Check to see if the all the properties in the model are valid
|
147
117
|
# @return true if the model is valid
|
148
118
|
def valid?
|
149
|
-
return false if @
|
150
|
-
return false if @
|
151
|
-
return false if @
|
152
|
-
return false if @
|
153
|
-
return false if @
|
154
|
-
return false if @description.nil?
|
155
|
-
return false if @data_souce_thumbnail.nil?
|
156
|
-
return false if @thumbnail.nil?
|
119
|
+
return false if @file_info.nil?
|
120
|
+
return false if @transformation.nil?
|
121
|
+
return false if @load_data.nil?
|
122
|
+
return false if @region.nil?
|
123
|
+
return false if @out_format.nil?
|
157
124
|
return true
|
158
125
|
end
|
159
126
|
|
@@ -162,14 +129,11 @@ module AsposeCellsCloud
|
|
162
129
|
def ==(o)
|
163
130
|
return true if self.equal?(o)
|
164
131
|
self.class == o.class &&
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
description == o.description &&
|
171
|
-
data_souce_thumbnail == o.data_souce_thumbnail &&
|
172
|
-
thumbnail == o.thumbnail
|
132
|
+
file_info == o.file_info &&
|
133
|
+
transformation == o.transformation &&
|
134
|
+
load_data == o.load_data &&
|
135
|
+
region == o.region &&
|
136
|
+
out_format == o.out_format
|
173
137
|
std_dev == o.std_dev
|
174
138
|
end
|
175
139
|
|
@@ -182,7 +146,7 @@ module AsposeCellsCloud
|
|
182
146
|
# Calculates hash code according to all attributes.
|
183
147
|
# @return [Fixnum] Hash code
|
184
148
|
def hash
|
185
|
-
[
|
149
|
+
[ file_info , transformation , load_data , region , out_format ].hash
|
186
150
|
end
|
187
151
|
|
188
152
|
# Builds the object from hash
|
@@ -31,9 +31,9 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class DeduplicationRegion
|
34
|
-
#
|
34
|
+
#Represents data range.
|
35
35
|
attr_accessor :ranges
|
36
|
-
#
|
36
|
+
#Represents worksheet name list.
|
37
37
|
attr_accessor :worksheet_name_list
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|