aspose_cells_cloud 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,95 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class ImportIntArrayOption < BaseObject
4
+ attr_accessor :destination_worksheet, :first_row, :first_column, :is_insert, :source, :import_data_type, :is_vertical, :data
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'destination_worksheet' => :'DestinationWorksheet',
11
+
12
+ #
13
+ :'first_row' => :'FirstRow',
14
+
15
+ #
16
+ :'first_column' => :'FirstColumn',
17
+
18
+ #
19
+ :'is_insert' => :'IsInsert',
20
+
21
+ #
22
+ :'source' => :'Source',
23
+
24
+ #
25
+ :'import_data_type' => :'ImportDataType',
26
+
27
+ #
28
+ :'is_vertical' => :'IsVertical',
29
+
30
+ #
31
+ :'data' => :'Data'
32
+
33
+ }
34
+ end
35
+
36
+ # attribute type
37
+ def self.swagger_types
38
+ {
39
+ :'destination_worksheet' => :'String',
40
+ :'first_row' => :'Integer',
41
+ :'first_column' => :'Integer',
42
+ :'is_insert' => :'BOOLEAN',
43
+ :'source' => :'ImportSource',
44
+ :'import_data_type' => :'String',
45
+ :'is_vertical' => :'BOOLEAN',
46
+ :'data' => :'Array<Integer>'
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[:'DestinationWorksheet']
59
+ self.destination_worksheet = attributes[:'DestinationWorksheet']
60
+ end
61
+
62
+ if attributes[:'FirstRow']
63
+ self.first_row = attributes[:'FirstRow']
64
+ end
65
+
66
+ if attributes[:'FirstColumn']
67
+ self.first_column = attributes[:'FirstColumn']
68
+ end
69
+
70
+ if attributes[:'IsInsert']
71
+ self.is_insert = attributes[:'IsInsert']
72
+ end
73
+
74
+ if attributes[:'Source']
75
+ self.source = attributes[:'Source']
76
+ end
77
+
78
+ if attributes[:'ImportDataType']
79
+ self.import_data_type = attributes[:'ImportDataType']
80
+ end
81
+
82
+ if attributes[:'IsVertical']
83
+ self.is_vertical = attributes[:'IsVertical']
84
+ end
85
+
86
+ if attributes[:'Data']
87
+ if (value = attributes[:'Data']).is_a?(Array)
88
+ self.data = value
89
+ end
90
+ end
91
+
92
+ end
93
+
94
+ end
95
+ end
@@ -1,7 +1,7 @@
1
1
  module AsposeCellsCloud
2
2
  #
3
- class ImportDataImportOption < BaseObject
4
- attr_accessor :destination_worksheet, :is_insert
3
+ class ImportOption < BaseObject
4
+ attr_accessor :destination_worksheet, :is_insert, :source
5
5
  # attribute mapping from ruby-style variable name to JSON key
6
6
  def self.attribute_map
7
7
  {
@@ -10,7 +10,10 @@ module AsposeCellsCloud
10
10
  :'destination_worksheet' => :'DestinationWorksheet',
11
11
 
12
12
  #
13
- :'is_insert' => :'IsInsert'
13
+ :'is_insert' => :'IsInsert',
14
+
15
+ #
16
+ :'source' => :'Source'
14
17
 
15
18
  }
16
19
  end
@@ -19,7 +22,8 @@ module AsposeCellsCloud
19
22
  def self.swagger_types
20
23
  {
21
24
  :'destination_worksheet' => :'String',
22
- :'is_insert' => :'BOOLEAN'
25
+ :'is_insert' => :'BOOLEAN',
26
+ :'source' => :'ImportSource'
23
27
 
24
28
  }
25
29
  end
@@ -39,6 +43,10 @@ module AsposeCellsCloud
39
43
  self.is_insert = attributes[:'IsInsert']
40
44
  end
41
45
 
46
+ if attributes[:'Source']
47
+ self.source = attributes[:'Source']
48
+ end
49
+
42
50
  end
43
51
 
44
52
  end
@@ -0,0 +1,45 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class ImportSource < BaseObject
4
+ attr_accessor :file_source_type, :file_path
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'file_source_type' => :'FileSourceType',
11
+
12
+ #
13
+ :'file_path' => :'FilePath'
14
+
15
+ }
16
+ end
17
+
18
+ # attribute type
19
+ def self.swagger_types
20
+ {
21
+ :'file_source_type' => :'String',
22
+ :'file_path' => :'String'
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[:'FileSourceType']
35
+ self.file_source_type = attributes[:'FileSourceType']
36
+ end
37
+
38
+ if attributes[:'FilePath']
39
+ self.file_path = attributes[:'FilePath']
40
+ end
41
+
42
+ end
43
+
44
+ end
45
+ end
@@ -0,0 +1,95 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class ImportStringArrayOption < BaseObject
4
+ attr_accessor :destination_worksheet, :first_row, :first_column, :is_insert, :source, :import_data_type, :is_vertical, :data
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'destination_worksheet' => :'DestinationWorksheet',
11
+
12
+ #
13
+ :'first_row' => :'FirstRow',
14
+
15
+ #
16
+ :'first_column' => :'FirstColumn',
17
+
18
+ #
19
+ :'is_insert' => :'IsInsert',
20
+
21
+ #
22
+ :'source' => :'Source',
23
+
24
+ #
25
+ :'import_data_type' => :'ImportDataType',
26
+
27
+ #
28
+ :'is_vertical' => :'IsVertical',
29
+
30
+ #
31
+ :'data' => :'Data'
32
+
33
+ }
34
+ end
35
+
36
+ # attribute type
37
+ def self.swagger_types
38
+ {
39
+ :'destination_worksheet' => :'String',
40
+ :'first_row' => :'Integer',
41
+ :'first_column' => :'Integer',
42
+ :'is_insert' => :'BOOLEAN',
43
+ :'source' => :'ImportSource',
44
+ :'import_data_type' => :'String',
45
+ :'is_vertical' => :'BOOLEAN',
46
+ :'data' => :'Array<String>'
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[:'DestinationWorksheet']
59
+ self.destination_worksheet = attributes[:'DestinationWorksheet']
60
+ end
61
+
62
+ if attributes[:'FirstRow']
63
+ self.first_row = attributes[:'FirstRow']
64
+ end
65
+
66
+ if attributes[:'FirstColumn']
67
+ self.first_column = attributes[:'FirstColumn']
68
+ end
69
+
70
+ if attributes[:'IsInsert']
71
+ self.is_insert = attributes[:'IsInsert']
72
+ end
73
+
74
+ if attributes[:'Source']
75
+ self.source = attributes[:'Source']
76
+ end
77
+
78
+ if attributes[:'ImportDataType']
79
+ self.import_data_type = attributes[:'ImportDataType']
80
+ end
81
+
82
+ if attributes[:'IsVertical']
83
+ self.is_vertical = attributes[:'IsVertical']
84
+ end
85
+
86
+ if attributes[:'Data']
87
+ if (value = attributes[:'Data']).is_a?(Array)
88
+ self.data = value
89
+ end
90
+ end
91
+
92
+ end
93
+
94
+ end
95
+ end
@@ -0,0 +1,157 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class PdfSaveOptions < BaseObject
4
+ attr_accessor :calculate_formula, :check_font_compatibility, :compliance, :default_font, :one_page_per_sheet, :printing_page_type, :desired_ppi, :jpeg_quality, :save_format, :cached_file_folder, :clear_data, :create_directory, :enable_http_compression, :refresh_chart_cache, :sort_names, :validate_merged_areas
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'calculate_formula' => :'CalculateFormula',
11
+
12
+ #
13
+ :'check_font_compatibility' => :'CheckFontCompatibility',
14
+
15
+ #
16
+ :'compliance' => :'Compliance',
17
+
18
+ #
19
+ :'default_font' => :'DefaultFont',
20
+
21
+ #
22
+ :'one_page_per_sheet' => :'OnePagePerSheet',
23
+
24
+ #
25
+ :'printing_page_type' => :'PrintingPageType',
26
+
27
+ #
28
+ :'desired_ppi' => :'desiredPPI',
29
+
30
+ #
31
+ :'jpeg_quality' => :'jpegQuality',
32
+
33
+ #
34
+ :'save_format' => :'SaveFormat',
35
+
36
+ #
37
+ :'cached_file_folder' => :'CachedFileFolder',
38
+
39
+ #
40
+ :'clear_data' => :'ClearData',
41
+
42
+ #
43
+ :'create_directory' => :'CreateDirectory',
44
+
45
+ #
46
+ :'enable_http_compression' => :'EnableHTTPCompression',
47
+
48
+ #
49
+ :'refresh_chart_cache' => :'RefreshChartCache',
50
+
51
+ #
52
+ :'sort_names' => :'SortNames',
53
+
54
+ #
55
+ :'validate_merged_areas' => :'ValidateMergedAreas'
56
+
57
+ }
58
+ end
59
+
60
+ # attribute type
61
+ def self.swagger_types
62
+ {
63
+ :'calculate_formula' => :'BOOLEAN',
64
+ :'check_font_compatibility' => :'BOOLEAN',
65
+ :'compliance' => :'String',
66
+ :'default_font' => :'String',
67
+ :'one_page_per_sheet' => :'BOOLEAN',
68
+ :'printing_page_type' => :'String',
69
+ :'desired_ppi' => :'String',
70
+ :'jpeg_quality' => :'String',
71
+ :'save_format' => :'String',
72
+ :'cached_file_folder' => :'String',
73
+ :'clear_data' => :'BOOLEAN',
74
+ :'create_directory' => :'BOOLEAN',
75
+ :'enable_http_compression' => :'BOOLEAN',
76
+ :'refresh_chart_cache' => :'BOOLEAN',
77
+ :'sort_names' => :'BOOLEAN',
78
+ :'validate_merged_areas' => :'BOOLEAN'
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[:'CalculateFormula']
91
+ self.calculate_formula = attributes[:'CalculateFormula']
92
+ end
93
+
94
+ if attributes[:'CheckFontCompatibility']
95
+ self.check_font_compatibility = attributes[:'CheckFontCompatibility']
96
+ end
97
+
98
+ if attributes[:'Compliance']
99
+ self.compliance = attributes[:'Compliance']
100
+ end
101
+
102
+ if attributes[:'DefaultFont']
103
+ self.default_font = attributes[:'DefaultFont']
104
+ end
105
+
106
+ if attributes[:'OnePagePerSheet']
107
+ self.one_page_per_sheet = attributes[:'OnePagePerSheet']
108
+ end
109
+
110
+ if attributes[:'PrintingPageType']
111
+ self.printing_page_type = attributes[:'PrintingPageType']
112
+ end
113
+
114
+ if attributes[:'desiredPPI']
115
+ self.desired_ppi = attributes[:'desiredPPI']
116
+ end
117
+
118
+ if attributes[:'jpegQuality']
119
+ self.jpeg_quality = attributes[:'jpegQuality']
120
+ end
121
+
122
+ if attributes[:'SaveFormat']
123
+ self.save_format = attributes[:'SaveFormat']
124
+ end
125
+
126
+ if attributes[:'CachedFileFolder']
127
+ self.cached_file_folder = attributes[:'CachedFileFolder']
128
+ end
129
+
130
+ if attributes[:'ClearData']
131
+ self.clear_data = attributes[:'ClearData']
132
+ end
133
+
134
+ if attributes[:'CreateDirectory']
135
+ self.create_directory = attributes[:'CreateDirectory']
136
+ end
137
+
138
+ if attributes[:'EnableHTTPCompression']
139
+ self.enable_http_compression = attributes[:'EnableHTTPCompression']
140
+ end
141
+
142
+ if attributes[:'RefreshChartCache']
143
+ self.refresh_chart_cache = attributes[:'RefreshChartCache']
144
+ end
145
+
146
+ if attributes[:'SortNames']
147
+ self.sort_names = attributes[:'SortNames']
148
+ end
149
+
150
+ if attributes[:'ValidateMergedAreas']
151
+ self.validate_merged_areas = attributes[:'ValidateMergedAreas']
152
+ end
153
+
154
+ end
155
+
156
+ end
157
+ end
@@ -0,0 +1,53 @@
1
+ module AsposeCellsCloud
2
+ #
3
+ class ResultDestination < BaseObject
4
+ attr_accessor :destination_type, :input_file, :output_file
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'destination_type' => :'DestinationType',
11
+
12
+ #
13
+ :'input_file' => :'InputFile',
14
+
15
+ #
16
+ :'output_file' => :'OutputFile'
17
+
18
+ }
19
+ end
20
+
21
+ # attribute type
22
+ def self.swagger_types
23
+ {
24
+ :'destination_type' => :'String',
25
+ :'input_file' => :'String',
26
+ :'output_file' => :'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[:'DestinationType']
39
+ self.destination_type = attributes[:'DestinationType']
40
+ end
41
+
42
+ if attributes[:'InputFile']
43
+ self.input_file = attributes[:'InputFile']
44
+ end
45
+
46
+ if attributes[:'OutputFile']
47
+ self.output_file = attributes[:'OutputFile']
48
+ end
49
+
50
+ end
51
+
52
+ end
53
+ end