aspose_cells_cloud 23.11 → 23.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -5
- data/lib/aspose_cells_cloud/api/cells_api.rb +94 -88
- data/lib/aspose_cells_cloud/models/batch_convert_request.rb +13 -1
- data/lib/aspose_cells_cloud/models/batch_split_request.rb +13 -1
- data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_json_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/delete_metadata_request.rb +7 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_assemble_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_clear_objects_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_csv_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_png_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_sql_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_export_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_import_data_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_import_request.rb +31 -2
- data/lib/aspose_cells_cloud/requests/post_merge_request.rb +15 -8
- data/lib/aspose_cells_cloud/requests/post_metadata_request.rb +16 -2
- data/lib/aspose_cells_cloud/requests/post_repair_request.rb +6 -6
- data/lib/aspose_cells_cloud/requests/post_reverse_request.rb +15 -8
- data/lib/aspose_cells_cloud/requests/post_rotate_request.rb +15 -8
- data/lib/aspose_cells_cloud/requests/post_split_request.rb +18 -11
- data/lib/aspose_cells_cloud/requests/post_watermark_request.rb +16 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_export_xml_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_import_json_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_import_xml_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_save_as_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +9 -2
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +0 -2
- data/spec/api/batch_controller_spec.rb +4 -4
- data/spec/api/workbook_controller_spec.rb +1 -1
- data/spec/conversion/conversion_json_spec.rb +0 -44
- data/spec/conversion/conversion_png_spec.rb +0 -88
- data/spec/conversion/conversion_spec.rb +0 -239
- data/spec/document/light_cells_spec.rb +80 -192
- metadata +2 -2
@@ -34,6 +34,7 @@ module AsposeCellsCloud
|
|
34
34
|
attr_accessor :file
|
35
35
|
attr_accessor :password
|
36
36
|
attr_accessor :check_excel_restriction
|
37
|
+
attr_accessor :region
|
37
38
|
|
38
39
|
def initialize(attributes = {})
|
39
40
|
return unless attributes.is_a?(Hash)
|
@@ -50,6 +51,9 @@ module AsposeCellsCloud
|
|
50
51
|
if attributes.has_key?(:'checkExcelRestriction')
|
51
52
|
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
52
53
|
end
|
54
|
+
if attributes.has_key?(:'region')
|
55
|
+
self.region = attributes[:'region']
|
56
|
+
end
|
53
57
|
|
54
58
|
end
|
55
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -57,7 +61,8 @@ module AsposeCellsCloud
|
|
57
61
|
{
|
58
62
|
:'file' => :'File',
|
59
63
|
:'password' => :'password',
|
60
|
-
:'check_excel_restriction' => :'checkExcelRestriction'
|
64
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
65
|
+
:'region' => :'region'
|
61
66
|
}
|
62
67
|
end
|
63
68
|
|
@@ -66,7 +71,8 @@ module AsposeCellsCloud
|
|
66
71
|
{
|
67
72
|
:'file' => :'Hash',
|
68
73
|
:'password' => :'String',
|
69
|
-
:'check_excel_restriction' => :'BOOLEAN'
|
74
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
75
|
+
:'region' => :'String'
|
70
76
|
}
|
71
77
|
end
|
72
78
|
|
@@ -86,6 +92,7 @@ module AsposeCellsCloud
|
|
86
92
|
query_params = {}
|
87
93
|
query_params[:'password'] = self.password if !self.password.nil?
|
88
94
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
95
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
89
96
|
|
90
97
|
# header parameters
|
91
98
|
header_params = {}
|
@@ -34,6 +34,7 @@ module AsposeCellsCloud
|
|
34
34
|
attr_accessor :file
|
35
35
|
attr_accessor :password
|
36
36
|
attr_accessor :check_excel_restriction
|
37
|
+
attr_accessor :region
|
37
38
|
|
38
39
|
def initialize(attributes = {})
|
39
40
|
return unless attributes.is_a?(Hash)
|
@@ -50,6 +51,9 @@ module AsposeCellsCloud
|
|
50
51
|
if attributes.has_key?(:'checkExcelRestriction')
|
51
52
|
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
52
53
|
end
|
54
|
+
if attributes.has_key?(:'region')
|
55
|
+
self.region = attributes[:'region']
|
56
|
+
end
|
53
57
|
|
54
58
|
end
|
55
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -57,7 +61,8 @@ module AsposeCellsCloud
|
|
57
61
|
{
|
58
62
|
:'file' => :'File',
|
59
63
|
:'password' => :'password',
|
60
|
-
:'check_excel_restriction' => :'checkExcelRestriction'
|
64
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
65
|
+
:'region' => :'region'
|
61
66
|
}
|
62
67
|
end
|
63
68
|
|
@@ -66,7 +71,8 @@ module AsposeCellsCloud
|
|
66
71
|
{
|
67
72
|
:'file' => :'Hash',
|
68
73
|
:'password' => :'String',
|
69
|
-
:'check_excel_restriction' => :'BOOLEAN'
|
74
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
75
|
+
:'region' => :'String'
|
70
76
|
}
|
71
77
|
end
|
72
78
|
|
@@ -86,6 +92,7 @@ module AsposeCellsCloud
|
|
86
92
|
query_params = {}
|
87
93
|
query_params[:'password'] = self.password if !self.password.nil?
|
88
94
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
95
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
89
96
|
|
90
97
|
# header parameters
|
91
98
|
header_params = {}
|
@@ -34,6 +34,7 @@ module AsposeCellsCloud
|
|
34
34
|
attr_accessor :file
|
35
35
|
attr_accessor :password
|
36
36
|
attr_accessor :check_excel_restriction
|
37
|
+
attr_accessor :region
|
37
38
|
|
38
39
|
def initialize(attributes = {})
|
39
40
|
return unless attributes.is_a?(Hash)
|
@@ -50,6 +51,9 @@ module AsposeCellsCloud
|
|
50
51
|
if attributes.has_key?(:'checkExcelRestriction')
|
51
52
|
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
52
53
|
end
|
54
|
+
if attributes.has_key?(:'region')
|
55
|
+
self.region = attributes[:'region']
|
56
|
+
end
|
53
57
|
|
54
58
|
end
|
55
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -57,7 +61,8 @@ module AsposeCellsCloud
|
|
57
61
|
{
|
58
62
|
:'file' => :'File',
|
59
63
|
:'password' => :'password',
|
60
|
-
:'check_excel_restriction' => :'checkExcelRestriction'
|
64
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
65
|
+
:'region' => :'region'
|
61
66
|
}
|
62
67
|
end
|
63
68
|
|
@@ -66,7 +71,8 @@ module AsposeCellsCloud
|
|
66
71
|
{
|
67
72
|
:'file' => :'Hash',
|
68
73
|
:'password' => :'String',
|
69
|
-
:'check_excel_restriction' => :'BOOLEAN'
|
74
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
75
|
+
:'region' => :'String'
|
70
76
|
}
|
71
77
|
end
|
72
78
|
|
@@ -86,6 +92,7 @@ module AsposeCellsCloud
|
|
86
92
|
query_params = {}
|
87
93
|
query_params[:'password'] = self.password if !self.password.nil?
|
88
94
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
95
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
89
96
|
|
90
97
|
# header parameters
|
91
98
|
header_params = {}
|
@@ -36,6 +36,7 @@ module AsposeCellsCloud
|
|
36
36
|
attr_accessor :format
|
37
37
|
attr_accessor :password
|
38
38
|
attr_accessor :check_excel_restriction
|
39
|
+
attr_accessor :region
|
39
40
|
|
40
41
|
def initialize(attributes = {})
|
41
42
|
return unless attributes.is_a?(Hash)
|
@@ -58,6 +59,9 @@ module AsposeCellsCloud
|
|
58
59
|
if attributes.has_key?(:'checkExcelRestriction')
|
59
60
|
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
60
61
|
end
|
62
|
+
if attributes.has_key?(:'region')
|
63
|
+
self.region = attributes[:'region']
|
64
|
+
end
|
61
65
|
|
62
66
|
end
|
63
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -67,7 +71,8 @@ module AsposeCellsCloud
|
|
67
71
|
:'object_type' => :'objectType',
|
68
72
|
:'format' => :'format',
|
69
73
|
:'password' => :'password',
|
70
|
-
:'check_excel_restriction' => :'checkExcelRestriction'
|
74
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
75
|
+
:'region' => :'region'
|
71
76
|
}
|
72
77
|
end
|
73
78
|
|
@@ -78,7 +83,8 @@ module AsposeCellsCloud
|
|
78
83
|
:'object_type' => :'String',
|
79
84
|
:'format' => :'String',
|
80
85
|
:'password' => :'String',
|
81
|
-
:'check_excel_restriction' => :'BOOLEAN'
|
86
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
87
|
+
:'region' => :'String'
|
82
88
|
}
|
83
89
|
end
|
84
90
|
|
@@ -100,6 +106,7 @@ module AsposeCellsCloud
|
|
100
106
|
query_params[:'format'] = self.format if !self.format.nil?
|
101
107
|
query_params[:'password'] = self.password if !self.password.nil?
|
102
108
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
109
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
103
110
|
|
104
111
|
# header parameters
|
105
112
|
header_params = {}
|
@@ -35,6 +35,7 @@ module AsposeCellsCloud
|
|
35
35
|
attr_accessor :import_option
|
36
36
|
attr_accessor :folder
|
37
37
|
attr_accessor :storage_name
|
38
|
+
attr_accessor :region
|
38
39
|
|
39
40
|
def initialize(attributes = {})
|
40
41
|
return unless attributes.is_a?(Hash)
|
@@ -54,6 +55,9 @@ module AsposeCellsCloud
|
|
54
55
|
if attributes.has_key?(:'storageName')
|
55
56
|
self.storage_name = attributes[:'storageName']
|
56
57
|
end
|
58
|
+
if attributes.has_key?(:'region')
|
59
|
+
self.region = attributes[:'region']
|
60
|
+
end
|
57
61
|
|
58
62
|
end
|
59
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -62,7 +66,8 @@ module AsposeCellsCloud
|
|
62
66
|
:'name' => :'name',
|
63
67
|
:'import_option' => :'importOption',
|
64
68
|
:'folder' => :'folder',
|
65
|
-
:'storage_name' => :'storageName'
|
69
|
+
:'storage_name' => :'storageName',
|
70
|
+
:'region' => :'region'
|
66
71
|
}
|
67
72
|
end
|
68
73
|
|
@@ -72,7 +77,8 @@ module AsposeCellsCloud
|
|
72
77
|
:'name' => :'String',
|
73
78
|
:'import_option' => :'ImportOption',
|
74
79
|
:'folder' => :'String',
|
75
|
-
:'storage_name' => :'String'
|
80
|
+
:'storage_name' => :'String',
|
81
|
+
:'region' => :'String'
|
76
82
|
}
|
77
83
|
end
|
78
84
|
|
@@ -92,6 +98,7 @@ module AsposeCellsCloud
|
|
92
98
|
query_params = {}
|
93
99
|
query_params[:'folder'] = self.folder if !self.folder.nil?
|
94
100
|
query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
|
101
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
95
102
|
|
96
103
|
# header parameters
|
97
104
|
header_params = {}
|
@@ -32,6 +32,10 @@ module AsposeCellsCloud
|
|
32
32
|
class PostImportRequest
|
33
33
|
|
34
34
|
attr_accessor :file
|
35
|
+
attr_accessor :out_format
|
36
|
+
attr_accessor :password
|
37
|
+
attr_accessor :check_excel_restriction
|
38
|
+
attr_accessor :region
|
35
39
|
|
36
40
|
def initialize(attributes = {})
|
37
41
|
return unless attributes.is_a?(Hash)
|
@@ -42,19 +46,39 @@ module AsposeCellsCloud
|
|
42
46
|
if attributes.has_key?(:'File')
|
43
47
|
self.file = attributes[:'File']
|
44
48
|
end
|
49
|
+
if attributes.has_key?(:'outFormat')
|
50
|
+
self.out_format = attributes[:'outFormat']
|
51
|
+
end
|
52
|
+
if attributes.has_key?(:'password')
|
53
|
+
self.password = attributes[:'password']
|
54
|
+
end
|
55
|
+
if attributes.has_key?(:'checkExcelRestriction')
|
56
|
+
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
57
|
+
end
|
58
|
+
if attributes.has_key?(:'region')
|
59
|
+
self.region = attributes[:'region']
|
60
|
+
end
|
45
61
|
|
46
62
|
end
|
47
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
64
|
def self.attribute_map
|
49
65
|
{
|
50
|
-
:'file' => :'File'
|
66
|
+
:'file' => :'File',
|
67
|
+
:'out_format' => :'outFormat',
|
68
|
+
:'password' => :'password',
|
69
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
70
|
+
:'region' => :'region'
|
51
71
|
}
|
52
72
|
end
|
53
73
|
|
54
74
|
# Attribute type mapping.
|
55
75
|
def self.swagger_types
|
56
76
|
{
|
57
|
-
:'file' => :'Hash'
|
77
|
+
:'file' => :'Hash',
|
78
|
+
:'out_format' => :'String',
|
79
|
+
:'password' => :'String',
|
80
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
81
|
+
:'region' => :'String'
|
58
82
|
}
|
59
83
|
end
|
60
84
|
|
@@ -72,6 +96,11 @@ module AsposeCellsCloud
|
|
72
96
|
local_var_path = "/cells/import"
|
73
97
|
# query parameters
|
74
98
|
query_params = {}
|
99
|
+
query_params[:'outFormat'] = self.out_format if !self.out_format.nil?
|
100
|
+
query_params[:'password'] = self.password if !self.password.nil?
|
101
|
+
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
102
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
103
|
+
|
75
104
|
# header parameters
|
76
105
|
header_params = {}
|
77
106
|
# HTTP header 'Accept' (if needed)
|
@@ -32,10 +32,11 @@ module AsposeCellsCloud
|
|
32
32
|
class PostMergeRequest
|
33
33
|
|
34
34
|
attr_accessor :file
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :out_format
|
36
36
|
attr_accessor :merge_to_one_sheet
|
37
37
|
attr_accessor :password
|
38
38
|
attr_accessor :check_excel_restriction
|
39
|
+
attr_accessor :region
|
39
40
|
|
40
41
|
def initialize(attributes = {})
|
41
42
|
return unless attributes.is_a?(Hash)
|
@@ -46,8 +47,8 @@ module AsposeCellsCloud
|
|
46
47
|
if attributes.has_key?(:'File')
|
47
48
|
self.file = attributes[:'File']
|
48
49
|
end
|
49
|
-
if attributes.has_key?(:'
|
50
|
-
self.
|
50
|
+
if attributes.has_key?(:'outFormat')
|
51
|
+
self.out_format = attributes[:'outFormat']
|
51
52
|
end
|
52
53
|
if attributes.has_key?(:'mergeToOneSheet')
|
53
54
|
self.merge_to_one_sheet = attributes[:'mergeToOneSheet']
|
@@ -58,16 +59,20 @@ module AsposeCellsCloud
|
|
58
59
|
if attributes.has_key?(:'checkExcelRestriction')
|
59
60
|
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
60
61
|
end
|
62
|
+
if attributes.has_key?(:'region')
|
63
|
+
self.region = attributes[:'region']
|
64
|
+
end
|
61
65
|
|
62
66
|
end
|
63
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
68
|
def self.attribute_map
|
65
69
|
{
|
66
70
|
:'file' => :'File',
|
67
|
-
:'
|
71
|
+
:'out_format' => :'outFormat',
|
68
72
|
:'merge_to_one_sheet' => :'mergeToOneSheet',
|
69
73
|
:'password' => :'password',
|
70
|
-
:'check_excel_restriction' => :'checkExcelRestriction'
|
74
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
75
|
+
:'region' => :'region'
|
71
76
|
}
|
72
77
|
end
|
73
78
|
|
@@ -75,10 +80,11 @@ module AsposeCellsCloud
|
|
75
80
|
def self.swagger_types
|
76
81
|
{
|
77
82
|
:'file' => :'Hash',
|
78
|
-
:'
|
83
|
+
:'out_format' => :'String',
|
79
84
|
:'merge_to_one_sheet' => :'BOOLEAN',
|
80
85
|
:'password' => :'String',
|
81
|
-
:'check_excel_restriction' => :'BOOLEAN'
|
86
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
87
|
+
:'region' => :'String'
|
82
88
|
}
|
83
89
|
end
|
84
90
|
|
@@ -96,10 +102,11 @@ module AsposeCellsCloud
|
|
96
102
|
local_var_path = "/cells/merge"
|
97
103
|
# query parameters
|
98
104
|
query_params = {}
|
99
|
-
query_params[:'
|
105
|
+
query_params[:'outFormat'] = self.out_format if !self.out_format.nil?
|
100
106
|
query_params[:'mergeToOneSheet'] = self.merge_to_one_sheet if !self.merge_to_one_sheet.nil?
|
101
107
|
query_params[:'password'] = self.password if !self.password.nil?
|
102
108
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
109
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
103
110
|
|
104
111
|
# header parameters
|
105
112
|
header_params = {}
|
@@ -35,6 +35,8 @@ module AsposeCellsCloud
|
|
35
35
|
attr_accessor :cells_documents
|
36
36
|
attr_accessor :password
|
37
37
|
attr_accessor :check_excel_restriction
|
38
|
+
attr_accessor :out_format
|
39
|
+
attr_accessor :region
|
38
40
|
|
39
41
|
def initialize(attributes = {})
|
40
42
|
return unless attributes.is_a?(Hash)
|
@@ -54,6 +56,12 @@ module AsposeCellsCloud
|
|
54
56
|
if attributes.has_key?(:'checkExcelRestriction')
|
55
57
|
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
56
58
|
end
|
59
|
+
if attributes.has_key?(:'outFormat')
|
60
|
+
self.out_format = attributes[:'outFormat']
|
61
|
+
end
|
62
|
+
if attributes.has_key?(:'region')
|
63
|
+
self.region = attributes[:'region']
|
64
|
+
end
|
57
65
|
|
58
66
|
end
|
59
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -62,7 +70,9 @@ module AsposeCellsCloud
|
|
62
70
|
:'file' => :'File',
|
63
71
|
:'cells_documents' => :'cellsDocuments',
|
64
72
|
:'password' => :'password',
|
65
|
-
:'check_excel_restriction' => :'checkExcelRestriction'
|
73
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
74
|
+
:'out_format' => :'outFormat',
|
75
|
+
:'region' => :'region'
|
66
76
|
}
|
67
77
|
end
|
68
78
|
|
@@ -72,7 +82,9 @@ module AsposeCellsCloud
|
|
72
82
|
:'file' => :'Hash',
|
73
83
|
:'cells_documents' => :'Array<CellsDocumentProperty>',
|
74
84
|
:'password' => :'String',
|
75
|
-
:'check_excel_restriction' => :'BOOLEAN'
|
85
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
86
|
+
:'out_format' => :'String',
|
87
|
+
:'region' => :'String'
|
76
88
|
}
|
77
89
|
end
|
78
90
|
|
@@ -96,6 +108,8 @@ module AsposeCellsCloud
|
|
96
108
|
query_params = {}
|
97
109
|
query_params[:'password'] = self.password if !self.password.nil?
|
98
110
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
111
|
+
query_params[:'outFormat'] = self.out_format if !self.out_format.nil?
|
112
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
99
113
|
|
100
114
|
# header parameters
|
101
115
|
header_params = {}
|
@@ -32,7 +32,7 @@ module AsposeCellsCloud
|
|
32
32
|
class PostRepairRequest
|
33
33
|
|
34
34
|
attr_accessor :file
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :out_format
|
36
36
|
|
37
37
|
def initialize(attributes = {})
|
38
38
|
return unless attributes.is_a?(Hash)
|
@@ -43,8 +43,8 @@ module AsposeCellsCloud
|
|
43
43
|
if attributes.has_key?(:'File')
|
44
44
|
self.file = attributes[:'File']
|
45
45
|
end
|
46
|
-
if attributes.has_key?(:'
|
47
|
-
self.
|
46
|
+
if attributes.has_key?(:'outFormat')
|
47
|
+
self.out_format = attributes[:'outFormat']
|
48
48
|
end
|
49
49
|
|
50
50
|
end
|
@@ -52,7 +52,7 @@ module AsposeCellsCloud
|
|
52
52
|
def self.attribute_map
|
53
53
|
{
|
54
54
|
:'file' => :'File',
|
55
|
-
:'
|
55
|
+
:'out_format' => :'outFormat'
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
@@ -60,7 +60,7 @@ module AsposeCellsCloud
|
|
60
60
|
def self.swagger_types
|
61
61
|
{
|
62
62
|
:'file' => :'Hash',
|
63
|
-
:'
|
63
|
+
:'out_format' => :'String'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -78,7 +78,7 @@ module AsposeCellsCloud
|
|
78
78
|
local_var_path = "/cells/repair"
|
79
79
|
# query parameters
|
80
80
|
query_params = {}
|
81
|
-
query_params[:'
|
81
|
+
query_params[:'outFormat'] = self.out_format if !self.out_format.nil?
|
82
82
|
|
83
83
|
# header parameters
|
84
84
|
header_params = {}
|
@@ -33,9 +33,10 @@ module AsposeCellsCloud
|
|
33
33
|
|
34
34
|
attr_accessor :file
|
35
35
|
attr_accessor :rotate_type
|
36
|
-
attr_accessor :
|
36
|
+
attr_accessor :out_format
|
37
37
|
attr_accessor :password
|
38
38
|
attr_accessor :check_excel_restriction
|
39
|
+
attr_accessor :region
|
39
40
|
|
40
41
|
def initialize(attributes = {})
|
41
42
|
return unless attributes.is_a?(Hash)
|
@@ -49,8 +50,8 @@ module AsposeCellsCloud
|
|
49
50
|
if attributes.has_key?(:'rotateType')
|
50
51
|
self.rotate_type = attributes[:'rotateType']
|
51
52
|
end
|
52
|
-
if attributes.has_key?(:'
|
53
|
-
self.
|
53
|
+
if attributes.has_key?(:'outFormat')
|
54
|
+
self.out_format = attributes[:'outFormat']
|
54
55
|
end
|
55
56
|
if attributes.has_key?(:'password')
|
56
57
|
self.password = attributes[:'password']
|
@@ -58,6 +59,9 @@ module AsposeCellsCloud
|
|
58
59
|
if attributes.has_key?(:'checkExcelRestriction')
|
59
60
|
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
60
61
|
end
|
62
|
+
if attributes.has_key?(:'region')
|
63
|
+
self.region = attributes[:'region']
|
64
|
+
end
|
61
65
|
|
62
66
|
end
|
63
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -65,9 +69,10 @@ module AsposeCellsCloud
|
|
65
69
|
{
|
66
70
|
:'file' => :'File',
|
67
71
|
:'rotate_type' => :'rotateType',
|
68
|
-
:'
|
72
|
+
:'out_format' => :'outFormat',
|
69
73
|
:'password' => :'password',
|
70
|
-
:'check_excel_restriction' => :'checkExcelRestriction'
|
74
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
75
|
+
:'region' => :'region'
|
71
76
|
}
|
72
77
|
end
|
73
78
|
|
@@ -76,9 +81,10 @@ module AsposeCellsCloud
|
|
76
81
|
{
|
77
82
|
:'file' => :'Hash',
|
78
83
|
:'rotate_type' => :'String',
|
79
|
-
:'
|
84
|
+
:'out_format' => :'String',
|
80
85
|
:'password' => :'String',
|
81
|
-
:'check_excel_restriction' => :'BOOLEAN'
|
86
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
87
|
+
:'region' => :'String'
|
82
88
|
}
|
83
89
|
end
|
84
90
|
|
@@ -101,9 +107,10 @@ module AsposeCellsCloud
|
|
101
107
|
# query parameters
|
102
108
|
query_params = {}
|
103
109
|
query_params[:'rotateType'] = self.rotate_type if !self.rotate_type.nil?
|
104
|
-
query_params[:'
|
110
|
+
query_params[:'outFormat'] = self.out_format if !self.out_format.nil?
|
105
111
|
query_params[:'password'] = self.password if !self.password.nil?
|
106
112
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
113
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
107
114
|
|
108
115
|
# header parameters
|
109
116
|
header_params = {}
|
@@ -33,9 +33,10 @@ module AsposeCellsCloud
|
|
33
33
|
|
34
34
|
attr_accessor :file
|
35
35
|
attr_accessor :rotate_type
|
36
|
-
attr_accessor :
|
36
|
+
attr_accessor :out_format
|
37
37
|
attr_accessor :password
|
38
38
|
attr_accessor :check_excel_restriction
|
39
|
+
attr_accessor :region
|
39
40
|
|
40
41
|
def initialize(attributes = {})
|
41
42
|
return unless attributes.is_a?(Hash)
|
@@ -49,8 +50,8 @@ module AsposeCellsCloud
|
|
49
50
|
if attributes.has_key?(:'rotateType')
|
50
51
|
self.rotate_type = attributes[:'rotateType']
|
51
52
|
end
|
52
|
-
if attributes.has_key?(:'
|
53
|
-
self.
|
53
|
+
if attributes.has_key?(:'outFormat')
|
54
|
+
self.out_format = attributes[:'outFormat']
|
54
55
|
end
|
55
56
|
if attributes.has_key?(:'password')
|
56
57
|
self.password = attributes[:'password']
|
@@ -58,6 +59,9 @@ module AsposeCellsCloud
|
|
58
59
|
if attributes.has_key?(:'checkExcelRestriction')
|
59
60
|
self.check_excel_restriction = attributes[:'checkExcelRestriction']
|
60
61
|
end
|
62
|
+
if attributes.has_key?(:'region')
|
63
|
+
self.region = attributes[:'region']
|
64
|
+
end
|
61
65
|
|
62
66
|
end
|
63
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -65,9 +69,10 @@ module AsposeCellsCloud
|
|
65
69
|
{
|
66
70
|
:'file' => :'File',
|
67
71
|
:'rotate_type' => :'rotateType',
|
68
|
-
:'
|
72
|
+
:'out_format' => :'outFormat',
|
69
73
|
:'password' => :'password',
|
70
|
-
:'check_excel_restriction' => :'checkExcelRestriction'
|
74
|
+
:'check_excel_restriction' => :'checkExcelRestriction',
|
75
|
+
:'region' => :'region'
|
71
76
|
}
|
72
77
|
end
|
73
78
|
|
@@ -76,9 +81,10 @@ module AsposeCellsCloud
|
|
76
81
|
{
|
77
82
|
:'file' => :'Hash',
|
78
83
|
:'rotate_type' => :'String',
|
79
|
-
:'
|
84
|
+
:'out_format' => :'String',
|
80
85
|
:'password' => :'String',
|
81
|
-
:'check_excel_restriction' => :'BOOLEAN'
|
86
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
87
|
+
:'region' => :'String'
|
82
88
|
}
|
83
89
|
end
|
84
90
|
|
@@ -101,9 +107,10 @@ module AsposeCellsCloud
|
|
101
107
|
# query parameters
|
102
108
|
query_params = {}
|
103
109
|
query_params[:'rotateType'] = self.rotate_type if !self.rotate_type.nil?
|
104
|
-
query_params[:'
|
110
|
+
query_params[:'outFormat'] = self.out_format if !self.out_format.nil?
|
105
111
|
query_params[:'password'] = self.password if !self.password.nil?
|
106
112
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
113
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
107
114
|
|
108
115
|
# header parameters
|
109
116
|
header_params = {}
|