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,21 +31,21 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PivotTableOperateParameter
|
34
|
-
#
|
34
|
+
#Represents source data of pivot table.
|
35
35
|
attr_accessor :source_data
|
36
|
-
#
|
36
|
+
#Represents start cell name of the pivot table.
|
37
37
|
attr_accessor :dest_cell_name
|
38
|
-
#
|
38
|
+
#Represents table name of pivot table.
|
39
39
|
attr_accessor :table_name
|
40
|
-
#
|
40
|
+
#Represents whether the same source is used.
|
41
41
|
attr_accessor :use_same_source
|
42
|
-
#
|
42
|
+
#Represents pivot table index.
|
43
43
|
attr_accessor :pivot_table_index
|
44
|
-
#
|
44
|
+
#Represents pivot row fields.
|
45
45
|
attr_accessor :pivot_field_rows
|
46
|
-
#
|
46
|
+
#Represents pivot column fields.
|
47
47
|
attr_accessor :pivot_field_columns
|
48
|
-
#
|
48
|
+
#Represents pivot data field.
|
49
49
|
attr_accessor :pivot_field_data
|
50
50
|
#
|
51
51
|
attr_accessor :operate_type
|
@@ -56,8 +56,6 @@ module AsposeCellsCloud
|
|
56
56
|
#
|
57
57
|
attr_accessor :shadow
|
58
58
|
#
|
59
|
-
attr_accessor :shape_properties
|
60
|
-
#
|
61
59
|
attr_accessor :width
|
62
60
|
#
|
63
61
|
attr_accessor :height
|
@@ -81,7 +79,6 @@ module AsposeCellsCloud
|
|
81
79
|
:'is_automatic_size' => :'IsAutomaticSize',
|
82
80
|
:'is_inner_mode' => :'IsInnerMode',
|
83
81
|
:'shadow' => :'Shadow',
|
84
|
-
:'shape_properties' => :'ShapeProperties',
|
85
82
|
:'width' => :'Width',
|
86
83
|
:'height' => :'Height',
|
87
84
|
:'x' => :'X',
|
@@ -104,7 +101,6 @@ module AsposeCellsCloud
|
|
104
101
|
:'is_automatic_size' => :'BOOLEAN',
|
105
102
|
:'is_inner_mode' => :'BOOLEAN',
|
106
103
|
:'shadow' => :'BOOLEAN',
|
107
|
-
:'shape_properties' => :'Array<LinkElement>',
|
108
104
|
:'width' => :'Integer',
|
109
105
|
:'height' => :'Integer',
|
110
106
|
:'x' => :'Integer',
|
@@ -156,9 +152,6 @@ module AsposeCellsCloud
|
|
156
152
|
if attributes.has_key?(:'Shadow')
|
157
153
|
self.shadow = attributes[:'Shadow']
|
158
154
|
end
|
159
|
-
if attributes.has_key?(:'ShapeProperties')
|
160
|
-
self.shape_properties = attributes[:'ShapeProperties']
|
161
|
-
end
|
162
155
|
if attributes.has_key?(:'Width')
|
163
156
|
self.width = attributes[:'Width']
|
164
157
|
end
|
@@ -214,9 +207,6 @@ module AsposeCellsCloud
|
|
214
207
|
if @shadow.nil?
|
215
208
|
invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
|
216
209
|
end
|
217
|
-
if @shape_properties.nil?
|
218
|
-
invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
|
219
|
-
end
|
220
210
|
if @width.nil?
|
221
211
|
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
222
212
|
end
|
@@ -248,7 +238,6 @@ module AsposeCellsCloud
|
|
248
238
|
return false if @is_automatic_size.nil?
|
249
239
|
return false if @is_inner_mode.nil?
|
250
240
|
return false if @shadow.nil?
|
251
|
-
return false if @shape_properties.nil?
|
252
241
|
return false if @width.nil?
|
253
242
|
return false if @height.nil?
|
254
243
|
return false if @x.nil?
|
@@ -273,7 +262,6 @@ module AsposeCellsCloud
|
|
273
262
|
is_automatic_size == o.is_automatic_size &&
|
274
263
|
is_inner_mode == o.is_inner_mode &&
|
275
264
|
shadow == o.shadow &&
|
276
|
-
shape_properties == o.shape_properties &&
|
277
265
|
width == o.width &&
|
278
266
|
height == o.height &&
|
279
267
|
x == o.x &&
|
@@ -290,7 +278,7 @@ module AsposeCellsCloud
|
|
290
278
|
# Calculates hash code according to all attributes.
|
291
279
|
# @return [Fixnum] Hash code
|
292
280
|
def hash
|
293
|
-
[ inner_height , inner_width , inner_x , inner_y , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow ,
|
281
|
+
[ inner_height , inner_width , inner_x , inner_y , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , width , height , x , y ].hash
|
294
282
|
end
|
295
283
|
|
296
284
|
# Builds the object from hash
|
@@ -31,11 +31,11 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PptxSaveOptions
|
34
|
-
#
|
34
|
+
#Ignore hidden rows
|
35
35
|
attr_accessor :ignore_hidden_rows
|
36
|
-
#
|
36
|
+
#Adjust font size for row type
|
37
37
|
attr_accessor :adjust_font_size_for_row_type
|
38
|
-
#
|
38
|
+
#Gets and sets the display type when exporting to PowerPoint. The default exporting type is working as printing.
|
39
39
|
attr_accessor :export_view_type
|
40
40
|
#
|
41
41
|
attr_accessor :default_font
|
@@ -0,0 +1,234 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="QueryDataSourcerb.cs">
|
4
|
+
Copyright (c) 2024 Aspose.Cells Cloud
|
5
|
+
</copyright>
|
6
|
+
<summary>
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
24
|
+
</summary>
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
26
|
+
=end
|
27
|
+
|
28
|
+
|
29
|
+
require 'date'
|
30
|
+
|
31
|
+
module AsposeCellsCloud
|
32
|
+
|
33
|
+
class QueryDataSource
|
34
|
+
#
|
35
|
+
attr_accessor :data_source_data_type
|
36
|
+
#
|
37
|
+
attr_accessor :data_file
|
38
|
+
#
|
39
|
+
attr_accessor :data_source
|
40
|
+
|
41
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
42
|
+
def self.attribute_map
|
43
|
+
{
|
44
|
+
:'data_source_data_type' => :'DataSourceDataType',
|
45
|
+
:'data_file' => :'DataFile',
|
46
|
+
:'data_source' => :'DataSource'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Attribute type mapping.
|
51
|
+
def self.swagger_types
|
52
|
+
{
|
53
|
+
:'data_source_data_type' => :'String',
|
54
|
+
:'data_file' => :'DataSource',
|
55
|
+
:'data_source' => :'String'
|
56
|
+
}
|
57
|
+
end
|
58
|
+
|
59
|
+
# Initializes the object
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
61
|
+
def initialize(attributes = {})
|
62
|
+
return unless attributes.is_a?(Hash)
|
63
|
+
|
64
|
+
# convert string to symbol for hash key
|
65
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
66
|
+
|
67
|
+
if attributes.has_key?(:'DataSourceDataType')
|
68
|
+
self.data_source_data_type = attributes[:'DataSourceDataType']
|
69
|
+
end
|
70
|
+
if attributes.has_key?(:'DataFile')
|
71
|
+
self.data_file = attributes[:'DataFile']
|
72
|
+
end
|
73
|
+
if attributes.has_key?(:'DataSource')
|
74
|
+
self.data_source = attributes[:'DataSource']
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
80
|
+
# @return Array for valid properies with the reasons
|
81
|
+
def list_invalid_properties
|
82
|
+
invalid_properties = Array.new
|
83
|
+
if @data_source_data_type.nil?
|
84
|
+
invalid_properties.push("invalid value for 'data_source_data_type', data_source_data_type cannot be nil.")
|
85
|
+
end
|
86
|
+
if @data_file.nil?
|
87
|
+
invalid_properties.push("invalid value for 'data_file', data_file cannot be nil.")
|
88
|
+
end
|
89
|
+
if @data_source.nil?
|
90
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
91
|
+
end
|
92
|
+
|
93
|
+
return invalid_properties
|
94
|
+
end
|
95
|
+
|
96
|
+
# Check to see if the all the properties in the model are valid
|
97
|
+
# @return true if the model is valid
|
98
|
+
def valid?
|
99
|
+
return false if @data_source_data_type.nil?
|
100
|
+
return false if @data_file.nil?
|
101
|
+
return false if @data_source.nil?
|
102
|
+
return true
|
103
|
+
end
|
104
|
+
|
105
|
+
# Checks equality by comparing each attribute.
|
106
|
+
# @param [Object] Object to be compared
|
107
|
+
def ==(o)
|
108
|
+
return true if self.equal?(o)
|
109
|
+
self.class == o.class &&
|
110
|
+
data_source_data_type == o.data_source_data_type &&
|
111
|
+
data_file == o.data_file &&
|
112
|
+
data_source == o.data_source
|
113
|
+
std_dev == o.std_dev
|
114
|
+
end
|
115
|
+
|
116
|
+
# @see the `==` method
|
117
|
+
# @param [Object] Object to be compared
|
118
|
+
def eql?(o)
|
119
|
+
self == o
|
120
|
+
end
|
121
|
+
|
122
|
+
# Calculates hash code according to all attributes.
|
123
|
+
# @return [Fixnum] Hash code
|
124
|
+
def hash
|
125
|
+
[ data_source_data_type , data_file , data_source ].hash
|
126
|
+
end
|
127
|
+
|
128
|
+
# Builds the object from hash
|
129
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
+
# @return [Object] Returns the model itself
|
131
|
+
def build_from_hash(attributes)
|
132
|
+
return nil unless attributes.is_a?(Hash)
|
133
|
+
self.class.swagger_types.each_pair do |key, type|
|
134
|
+
if type =~ /\AArray<(.*)>/i
|
135
|
+
# check to ensure the input is an array given that the the attribute
|
136
|
+
# is documented as an array but the input is not
|
137
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
138
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
139
|
+
end
|
140
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
141
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
142
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
143
|
+
end
|
144
|
+
|
145
|
+
self
|
146
|
+
end
|
147
|
+
|
148
|
+
# Deserializes the data based on type
|
149
|
+
# @param string type Data type
|
150
|
+
# @param string value Value to be deserialized
|
151
|
+
# @return [Object] Deserialized data
|
152
|
+
def _deserialize(type, value)
|
153
|
+
case type.to_sym
|
154
|
+
when :DateTime
|
155
|
+
DateTime.parse(value)
|
156
|
+
when :Date
|
157
|
+
Date.parse(value)
|
158
|
+
when :String
|
159
|
+
value.to_s
|
160
|
+
when :Integer
|
161
|
+
value.to_i
|
162
|
+
when :Float
|
163
|
+
value.to_f
|
164
|
+
when :BOOLEAN
|
165
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
166
|
+
true
|
167
|
+
else
|
168
|
+
false
|
169
|
+
end
|
170
|
+
when :Object
|
171
|
+
# generic object (usually a Hash), return directly
|
172
|
+
value
|
173
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
174
|
+
inner_type = Regexp.last_match[:inner_type]
|
175
|
+
value.map { |v| _deserialize(inner_type, v) }
|
176
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
177
|
+
k_type = Regexp.last_match[:k_type]
|
178
|
+
v_type = Regexp.last_match[:v_type]
|
179
|
+
{}.tap do |hash|
|
180
|
+
value.each do |k, v|
|
181
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
182
|
+
end
|
183
|
+
end
|
184
|
+
else # model
|
185
|
+
temp_model = AsposeCellsCloud.const_get(type).new
|
186
|
+
temp_model.build_from_hash(value)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the string representation of the object
|
191
|
+
# @return [String] String presentation of the object
|
192
|
+
def to_s
|
193
|
+
to_hash.to_s
|
194
|
+
end
|
195
|
+
|
196
|
+
# to_body is an alias to to_hash (backward compatibility)
|
197
|
+
# @return [Hash] Returns the object in the form of hash
|
198
|
+
def to_body
|
199
|
+
to_hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Returns the object in the form of hash
|
203
|
+
# @return [Hash] Returns the object in the form of hash
|
204
|
+
def to_hash
|
205
|
+
hash = {}
|
206
|
+
self.class.attribute_map.each_pair do |attr, param|
|
207
|
+
value = self.send(attr)
|
208
|
+
next if value.nil?
|
209
|
+
hash[param] = _to_hash(value)
|
210
|
+
end
|
211
|
+
hash
|
212
|
+
end
|
213
|
+
|
214
|
+
# Outputs non-array value in the form of hash
|
215
|
+
# For object, use to_hash. Otherwise, just return the value
|
216
|
+
# @param [Object] value Any valid value
|
217
|
+
# @return [Hash] Returns the value in the form of hash
|
218
|
+
def _to_hash(value)
|
219
|
+
if value.is_a?(Array)
|
220
|
+
value.compact.map{ |v| _to_hash(v) }
|
221
|
+
elsif value.is_a?(Hash)
|
222
|
+
{}.tap do |hash|
|
223
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
224
|
+
end
|
225
|
+
elsif value.respond_to? :to_hash
|
226
|
+
value.to_hash
|
227
|
+
else
|
228
|
+
value
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
end
|
233
|
+
|
234
|
+
end
|
@@ -31,11 +31,11 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class ResultDestination
|
34
|
-
#
|
34
|
+
#Represents destination data type.
|
35
35
|
attr_accessor :destination_type
|
36
|
-
#
|
36
|
+
#Represents input file.
|
37
37
|
attr_accessor :input_file
|
38
|
-
#
|
38
|
+
#Represents output file.
|
39
39
|
attr_accessor :output_file
|
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 SaveResultTaskParameter
|
34
|
-
#
|
34
|
+
#Represents result data source.
|
35
35
|
attr_accessor :result_source
|
36
|
-
#
|
36
|
+
#Represents result destination data.
|
37
37
|
attr_accessor :result_destination
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -83,8 +83,6 @@ module AsposeCellsCloud
|
|
83
83
|
attr_accessor :leader_lines
|
84
84
|
#Gets the legend entry according to this series.
|
85
85
|
attr_accessor :legend_entry
|
86
|
-
#
|
87
|
-
attr_accessor :line
|
88
86
|
#Gets the marker.
|
89
87
|
attr_accessor :marker
|
90
88
|
#Gets or sets the name of the data series.
|
@@ -101,8 +99,6 @@ module AsposeCellsCloud
|
|
101
99
|
attr_accessor :series_lines
|
102
100
|
#True if the series has a shadow.
|
103
101
|
attr_accessor :shadow
|
104
|
-
#Gets the object that holds the visual shape properties of the Series.
|
105
|
-
attr_accessor :shape_properties
|
106
102
|
#True if negative bubbles are shown for the chart group. Valid only for bubble charts.
|
107
103
|
attr_accessor :show_negative_bubbles
|
108
104
|
#Gets or sets what the bubble size represents on a bubble chart.
|
@@ -159,7 +155,6 @@ module AsposeCellsCloud
|
|
159
155
|
:'is_color_varied' => :'IsColorVaried',
|
160
156
|
:'leader_lines' => :'LeaderLines',
|
161
157
|
:'legend_entry' => :'LegendEntry',
|
162
|
-
:'line' => :'Line',
|
163
158
|
:'marker' => :'Marker',
|
164
159
|
:'name' => :'Name',
|
165
160
|
:'overlap' => :'Overlap',
|
@@ -168,7 +163,6 @@ module AsposeCellsCloud
|
|
168
163
|
:'second_plot_size' => :'SecondPlotSize',
|
169
164
|
:'series_lines' => :'SeriesLines',
|
170
165
|
:'shadow' => :'Shadow',
|
171
|
-
:'shape_properties' => :'ShapeProperties',
|
172
166
|
:'show_negative_bubbles' => :'ShowNegativeBubbles',
|
173
167
|
:'size_represents' => :'SizeRepresents',
|
174
168
|
:'smooth' => :'Smooth',
|
@@ -194,10 +188,10 @@ module AsposeCellsCloud
|
|
194
188
|
:'bubble_scale' => :'Integer',
|
195
189
|
:'bubble_sizes' => :'String',
|
196
190
|
:'count_of_data_values' => :'Integer',
|
197
|
-
:'data_labels' => :'
|
191
|
+
:'data_labels' => :'DataLabels',
|
198
192
|
:'display_name' => :'String',
|
199
193
|
:'doughnut_hole_size' => :'Integer',
|
200
|
-
:'down_bars' => :'
|
194
|
+
:'down_bars' => :'DropBars',
|
201
195
|
:'drop_lines' => :'Line',
|
202
196
|
:'explosion' => :'Integer',
|
203
197
|
:'first_slice_angle' => :'Integer',
|
@@ -213,8 +207,7 @@ module AsposeCellsCloud
|
|
213
207
|
:'is_auto_split' => :'BOOLEAN',
|
214
208
|
:'is_color_varied' => :'BOOLEAN',
|
215
209
|
:'leader_lines' => :'Line',
|
216
|
-
:'legend_entry' => :'
|
217
|
-
:'line' => :'Line',
|
210
|
+
:'legend_entry' => :'LegendEntry',
|
218
211
|
:'marker' => :'Marker',
|
219
212
|
:'name' => :'String',
|
220
213
|
:'overlap' => :'Integer',
|
@@ -223,19 +216,18 @@ module AsposeCellsCloud
|
|
223
216
|
:'second_plot_size' => :'Integer',
|
224
217
|
:'series_lines' => :'Line',
|
225
218
|
:'shadow' => :'BOOLEAN',
|
226
|
-
:'shape_properties' => :'LinkElement',
|
227
219
|
:'show_negative_bubbles' => :'BOOLEAN',
|
228
220
|
:'size_represents' => :'String',
|
229
221
|
:'smooth' => :'BOOLEAN',
|
230
222
|
:'split_type' => :'String',
|
231
223
|
:'split_value' => :'Float',
|
232
|
-
:'trend_lines' => :'
|
224
|
+
:'trend_lines' => :'Trendlines',
|
233
225
|
:'type' => :'String',
|
234
|
-
:'up_bars' => :'
|
226
|
+
:'up_bars' => :'DropBars',
|
235
227
|
:'values' => :'String',
|
236
|
-
:'x_error_bar' => :'
|
228
|
+
:'x_error_bar' => :'ErrorBar',
|
237
229
|
:'x_values' => :'String',
|
238
|
-
:'y_error_bar' => :'
|
230
|
+
:'y_error_bar' => :'ErrorBar',
|
239
231
|
:'link' => :'Link'
|
240
232
|
}
|
241
233
|
end
|
@@ -326,9 +318,6 @@ module AsposeCellsCloud
|
|
326
318
|
if attributes.has_key?(:'LegendEntry')
|
327
319
|
self.legend_entry = attributes[:'LegendEntry']
|
328
320
|
end
|
329
|
-
if attributes.has_key?(:'Line')
|
330
|
-
self.line = attributes[:'Line']
|
331
|
-
end
|
332
321
|
if attributes.has_key?(:'Marker')
|
333
322
|
self.marker = attributes[:'Marker']
|
334
323
|
end
|
@@ -353,9 +342,6 @@ module AsposeCellsCloud
|
|
353
342
|
if attributes.has_key?(:'Shadow')
|
354
343
|
self.shadow = attributes[:'Shadow']
|
355
344
|
end
|
356
|
-
if attributes.has_key?(:'ShapeProperties')
|
357
|
-
self.shape_properties = attributes[:'ShapeProperties']
|
358
|
-
end
|
359
345
|
if attributes.has_key?(:'ShowNegativeBubbles')
|
360
346
|
self.show_negative_bubbles = attributes[:'ShowNegativeBubbles']
|
361
347
|
end
|
@@ -480,9 +466,6 @@ module AsposeCellsCloud
|
|
480
466
|
if @legend_entry.nil?
|
481
467
|
invalid_properties.push("invalid value for 'legend_entry', legend_entry cannot be nil.")
|
482
468
|
end
|
483
|
-
if @line.nil?
|
484
|
-
invalid_properties.push("invalid value for 'line', line cannot be nil.")
|
485
|
-
end
|
486
469
|
if @marker.nil?
|
487
470
|
invalid_properties.push("invalid value for 'marker', marker cannot be nil.")
|
488
471
|
end
|
@@ -507,9 +490,6 @@ module AsposeCellsCloud
|
|
507
490
|
if @shadow.nil?
|
508
491
|
invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
|
509
492
|
end
|
510
|
-
if @shape_properties.nil?
|
511
|
-
invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
|
512
|
-
end
|
513
493
|
if @show_negative_bubbles.nil?
|
514
494
|
invalid_properties.push("invalid value for 'show_negative_bubbles', show_negative_bubbles cannot be nil.")
|
515
495
|
end
|
@@ -582,7 +562,6 @@ module AsposeCellsCloud
|
|
582
562
|
return false if @is_color_varied.nil?
|
583
563
|
return false if @leader_lines.nil?
|
584
564
|
return false if @legend_entry.nil?
|
585
|
-
return false if @line.nil?
|
586
565
|
return false if @marker.nil?
|
587
566
|
return false if @name.nil?
|
588
567
|
return false if @overlap.nil?
|
@@ -591,7 +570,6 @@ module AsposeCellsCloud
|
|
591
570
|
return false if @second_plot_size.nil?
|
592
571
|
return false if @series_lines.nil?
|
593
572
|
return false if @shadow.nil?
|
594
|
-
return false if @shape_properties.nil?
|
595
573
|
return false if @show_negative_bubbles.nil?
|
596
574
|
return false if @size_represents.nil?
|
597
575
|
return false if @smooth.nil?
|
@@ -639,7 +617,6 @@ module AsposeCellsCloud
|
|
639
617
|
is_color_varied == o.is_color_varied &&
|
640
618
|
leader_lines == o.leader_lines &&
|
641
619
|
legend_entry == o.legend_entry &&
|
642
|
-
line == o.line &&
|
643
620
|
marker == o.marker &&
|
644
621
|
name == o.name &&
|
645
622
|
overlap == o.overlap &&
|
@@ -648,7 +625,6 @@ module AsposeCellsCloud
|
|
648
625
|
second_plot_size == o.second_plot_size &&
|
649
626
|
series_lines == o.series_lines &&
|
650
627
|
shadow == o.shadow &&
|
651
|
-
shape_properties == o.shape_properties &&
|
652
628
|
show_negative_bubbles == o.show_negative_bubbles &&
|
653
629
|
size_represents == o.size_represents &&
|
654
630
|
smooth == o.smooth &&
|
@@ -674,7 +650,7 @@ module AsposeCellsCloud
|
|
674
650
|
# Calculates hash code according to all attributes.
|
675
651
|
# @return [Fixnum] Hash code
|
676
652
|
def hash
|
677
|
-
[ area , bar3_d_shape_type , border , bubble_scale , bubble_sizes , count_of_data_values , data_labels , display_name , doughnut_hole_size , down_bars , drop_lines , explosion , first_slice_angle , gap_width , has3_d_effect , has_drop_lines , has_hi_lo_lines , has_leader_lines , has_radar_axis_labels , has_series_lines , has_up_down_bars , hi_lo_lines , is_auto_split , is_color_varied , leader_lines , legend_entry ,
|
653
|
+
[ area , bar3_d_shape_type , border , bubble_scale , bubble_sizes , count_of_data_values , data_labels , display_name , doughnut_hole_size , down_bars , drop_lines , explosion , first_slice_angle , gap_width , has3_d_effect , has_drop_lines , has_hi_lo_lines , has_leader_lines , has_radar_axis_labels , has_series_lines , has_up_down_bars , hi_lo_lines , is_auto_split , is_color_varied , leader_lines , legend_entry , marker , name , overlap , plot_on_second_axis , points , second_plot_size , series_lines , shadow , show_negative_bubbles , size_represents , smooth , split_type , split_value , trend_lines , type , up_bars , values , x_error_bar , x_values , y_error_bar , link ].hash
|
678
654
|
end
|
679
655
|
|
680
656
|
# Builds the object from hash
|