groupdocs_conversion_cloud 23.9 → 23.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/groupdocs_conversion_cloud/api/license_api.rb +49 -0
- data/lib/groupdocs_conversion_cloud/api_client.rb +1 -2
- data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +118 -1
- data/lib/groupdocs_conversion_cloud/models/license_info.rb +219 -0
- data/lib/groupdocs_conversion_cloud/version.rb +1 -1
- data/lib/groupdocs_conversion_cloud.rb +2 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 91c37f404fdec4713c93e3106c5ac4157a5ef8e67e171f8b80df923a562b110e
|
4
|
+
data.tar.gz: 3aef4479f471837a61eafa51314e9a790c69bb662208109dbdc40fc2cdbfab1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3564303493ee9c7577dc3884a3c963d084b984c74a2878698164d9eee061ee6aba8a911ee7ca9ecc58261baf4ada6e0a04be5731bbdf586b5aae850e89f86480
|
7
|
+
data.tar.gz: a8ff5ad0b18c0a11ff02bca5f0f79b58fc7531a650c9b4fe4912d1ff053ce81ed62addbbc8c4e1dd5af971126e425a7f3f400cda7b9af64a562d8784bf896c7a
|
@@ -113,6 +113,55 @@ module GroupDocsConversionCloud
|
|
113
113
|
[data, status_code, headers]
|
114
114
|
end
|
115
115
|
|
116
|
+
# Get license information
|
117
|
+
#
|
118
|
+
# @return [LicenseInfo]
|
119
|
+
def get_license_info()
|
120
|
+
data, _status_code, _headers = get_license_info_with_http_info()
|
121
|
+
data
|
122
|
+
end
|
123
|
+
|
124
|
+
# Get license information
|
125
|
+
#
|
126
|
+
|
127
|
+
# @return [Array<(LicenseInfo, Fixnum, Hash)>]
|
128
|
+
# LicenseInfo data, response status code and response headers
|
129
|
+
def get_license_info_with_http_info()
|
130
|
+
|
131
|
+
|
132
|
+
@api_client.config.logger.debug 'Calling API: LicenseApi.get_license_info ...' if @api_client.config.debugging
|
133
|
+
# resource path
|
134
|
+
local_var_path = '/conversion/license'
|
135
|
+
|
136
|
+
# query parameters
|
137
|
+
query_params = {}
|
138
|
+
|
139
|
+
# header parameters
|
140
|
+
header_params = {}
|
141
|
+
# HTTP header 'Accept' (if needed)
|
142
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
143
|
+
# HTTP header 'Content-Type'
|
144
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
145
|
+
|
146
|
+
# form parameters
|
147
|
+
form_params = {}
|
148
|
+
|
149
|
+
# http body (model)
|
150
|
+
post_body = nil
|
151
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
152
|
+
header_params: header_params,
|
153
|
+
query_params: query_params,
|
154
|
+
form_params: form_params,
|
155
|
+
body: post_body,
|
156
|
+
access_token: get_access_token,
|
157
|
+
return_type: 'LicenseInfo')
|
158
|
+
if @api_client.config.debugging
|
159
|
+
@api_client.config.logger.debug "API called:
|
160
|
+
LicenseApi#get_license_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
161
|
+
end
|
162
|
+
[data, status_code, headers]
|
163
|
+
end
|
164
|
+
|
116
165
|
#
|
117
166
|
# Helper method to convert first letter to downcase
|
118
167
|
#
|
@@ -28,7 +28,6 @@ require 'json'
|
|
28
28
|
require 'logger'
|
29
29
|
require 'tempfile'
|
30
30
|
require 'faraday'
|
31
|
-
require 'mimemagic'
|
32
31
|
require 'addressable'
|
33
32
|
require_relative 'version'
|
34
33
|
require_relative 'api_client_error'
|
@@ -281,7 +280,7 @@ module GroupDocsConversionCloud
|
|
281
280
|
form_params.each do |key, value|
|
282
281
|
case value
|
283
282
|
when ::File
|
284
|
-
data[key] = Faraday::UploadIO.new(value.path,
|
283
|
+
data[key] = Faraday::UploadIO.new(value.path, "application/octet-stream", key)
|
285
284
|
when ::Array, nil
|
286
285
|
data[key] = value
|
287
286
|
else
|
@@ -34,6 +34,33 @@ module GroupDocsConversionCloud
|
|
34
34
|
# The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
|
35
35
|
attr_accessor :format
|
36
36
|
|
37
|
+
# Default font for Cells document. The following font will be used if a font is missing.
|
38
|
+
attr_accessor :default_font
|
39
|
+
|
40
|
+
# Substitute specific fonts when converting Cells document.
|
41
|
+
attr_accessor :font_substitutes
|
42
|
+
|
43
|
+
# Show grid lines when converting Excel files
|
44
|
+
attr_accessor :show_grid_lines
|
45
|
+
|
46
|
+
# Show hidden sheets when converting Excel files
|
47
|
+
attr_accessor :show_hidden_sheets
|
48
|
+
|
49
|
+
# If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
|
50
|
+
attr_accessor :one_page_per_sheet
|
51
|
+
|
52
|
+
# Convert specific range when converting to other than cells format. Example: \"D1:F8\"
|
53
|
+
attr_accessor :convert_range
|
54
|
+
|
55
|
+
# Skips empty rows and columns when converting. Default is True.
|
56
|
+
attr_accessor :skip_empty_rows_and_columns
|
57
|
+
|
58
|
+
# Set password to unprotect protected document
|
59
|
+
attr_accessor :password
|
60
|
+
|
61
|
+
# Hide comments
|
62
|
+
attr_accessor :hide_comments
|
63
|
+
|
37
64
|
# Delimiter of a Csv file
|
38
65
|
attr_accessor :separator
|
39
66
|
|
@@ -56,6 +83,15 @@ module GroupDocsConversionCloud
|
|
56
83
|
def self.attribute_map
|
57
84
|
{
|
58
85
|
:'format' => :'Format',
|
86
|
+
:'default_font' => :'DefaultFont',
|
87
|
+
:'font_substitutes' => :'FontSubstitutes',
|
88
|
+
:'show_grid_lines' => :'ShowGridLines',
|
89
|
+
:'show_hidden_sheets' => :'ShowHiddenSheets',
|
90
|
+
:'one_page_per_sheet' => :'OnePagePerSheet',
|
91
|
+
:'convert_range' => :'ConvertRange',
|
92
|
+
:'skip_empty_rows_and_columns' => :'SkipEmptyRowsAndColumns',
|
93
|
+
:'password' => :'Password',
|
94
|
+
:'hide_comments' => :'HideComments',
|
59
95
|
:'separator' => :'Separator',
|
60
96
|
:'is_multi_encoded' => :'IsMultiEncoded',
|
61
97
|
:'has_formula' => :'HasFormula',
|
@@ -69,6 +105,15 @@ module GroupDocsConversionCloud
|
|
69
105
|
def self.swagger_types
|
70
106
|
{
|
71
107
|
:'format' => :'String',
|
108
|
+
:'default_font' => :'String',
|
109
|
+
:'font_substitutes' => :'Hash<String, String>',
|
110
|
+
:'show_grid_lines' => :'BOOLEAN',
|
111
|
+
:'show_hidden_sheets' => :'BOOLEAN',
|
112
|
+
:'one_page_per_sheet' => :'BOOLEAN',
|
113
|
+
:'convert_range' => :'String',
|
114
|
+
:'skip_empty_rows_and_columns' => :'BOOLEAN',
|
115
|
+
:'password' => :'String',
|
116
|
+
:'hide_comments' => :'BOOLEAN',
|
72
117
|
:'separator' => :'String',
|
73
118
|
:'is_multi_encoded' => :'BOOLEAN',
|
74
119
|
:'has_formula' => :'BOOLEAN',
|
@@ -90,6 +135,44 @@ module GroupDocsConversionCloud
|
|
90
135
|
self.format = attributes[:'Format']
|
91
136
|
end
|
92
137
|
|
138
|
+
if attributes.key?(:'DefaultFont')
|
139
|
+
self.default_font = attributes[:'DefaultFont']
|
140
|
+
end
|
141
|
+
|
142
|
+
if attributes.key?(:'FontSubstitutes')
|
143
|
+
if (value = attributes[:'FontSubstitutes']).is_a?(Hash)
|
144
|
+
self.font_substitutes = value
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'ShowGridLines')
|
149
|
+
self.show_grid_lines = attributes[:'ShowGridLines']
|
150
|
+
end
|
151
|
+
|
152
|
+
if attributes.key?(:'ShowHiddenSheets')
|
153
|
+
self.show_hidden_sheets = attributes[:'ShowHiddenSheets']
|
154
|
+
end
|
155
|
+
|
156
|
+
if attributes.key?(:'OnePagePerSheet')
|
157
|
+
self.one_page_per_sheet = attributes[:'OnePagePerSheet']
|
158
|
+
end
|
159
|
+
|
160
|
+
if attributes.key?(:'ConvertRange')
|
161
|
+
self.convert_range = attributes[:'ConvertRange']
|
162
|
+
end
|
163
|
+
|
164
|
+
if attributes.key?(:'SkipEmptyRowsAndColumns')
|
165
|
+
self.skip_empty_rows_and_columns = attributes[:'SkipEmptyRowsAndColumns']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes.key?(:'Password')
|
169
|
+
self.password = attributes[:'Password']
|
170
|
+
end
|
171
|
+
|
172
|
+
if attributes.key?(:'HideComments')
|
173
|
+
self.hide_comments = attributes[:'HideComments']
|
174
|
+
end
|
175
|
+
|
93
176
|
if attributes.key?(:'Separator')
|
94
177
|
self.separator = attributes[:'Separator']
|
95
178
|
end
|
@@ -120,6 +203,26 @@ module GroupDocsConversionCloud
|
|
120
203
|
# @return Array for valid properies with the reasons
|
121
204
|
def list_invalid_properties
|
122
205
|
invalid_properties = []
|
206
|
+
if @show_grid_lines.nil?
|
207
|
+
invalid_properties.push("invalid value for 'show_grid_lines', show_grid_lines cannot be nil.")
|
208
|
+
end
|
209
|
+
|
210
|
+
if @show_hidden_sheets.nil?
|
211
|
+
invalid_properties.push("invalid value for 'show_hidden_sheets', show_hidden_sheets cannot be nil.")
|
212
|
+
end
|
213
|
+
|
214
|
+
if @one_page_per_sheet.nil?
|
215
|
+
invalid_properties.push("invalid value for 'one_page_per_sheet', one_page_per_sheet cannot be nil.")
|
216
|
+
end
|
217
|
+
|
218
|
+
if @skip_empty_rows_and_columns.nil?
|
219
|
+
invalid_properties.push("invalid value for 'skip_empty_rows_and_columns', skip_empty_rows_and_columns cannot be nil.")
|
220
|
+
end
|
221
|
+
|
222
|
+
if @hide_comments.nil?
|
223
|
+
invalid_properties.push("invalid value for 'hide_comments', hide_comments cannot be nil.")
|
224
|
+
end
|
225
|
+
|
123
226
|
if @separator.nil?
|
124
227
|
invalid_properties.push("invalid value for 'separator', separator cannot be nil.")
|
125
228
|
end
|
@@ -146,6 +249,11 @@ module GroupDocsConversionCloud
|
|
146
249
|
# Check to see if the all the properties in the model are valid
|
147
250
|
# @return true if the model is valid
|
148
251
|
def valid?
|
252
|
+
return false if @show_grid_lines.nil?
|
253
|
+
return false if @show_hidden_sheets.nil?
|
254
|
+
return false if @one_page_per_sheet.nil?
|
255
|
+
return false if @skip_empty_rows_and_columns.nil?
|
256
|
+
return false if @hide_comments.nil?
|
149
257
|
return false if @separator.nil?
|
150
258
|
return false if @is_multi_encoded.nil?
|
151
259
|
return false if @has_formula.nil?
|
@@ -160,6 +268,15 @@ module GroupDocsConversionCloud
|
|
160
268
|
return true if self.equal?(other)
|
161
269
|
self.class == other.class &&
|
162
270
|
format == other.format &&
|
271
|
+
default_font == other.default_font &&
|
272
|
+
font_substitutes == other.font_substitutes &&
|
273
|
+
show_grid_lines == other.show_grid_lines &&
|
274
|
+
show_hidden_sheets == other.show_hidden_sheets &&
|
275
|
+
one_page_per_sheet == other.one_page_per_sheet &&
|
276
|
+
convert_range == other.convert_range &&
|
277
|
+
skip_empty_rows_and_columns == other.skip_empty_rows_and_columns &&
|
278
|
+
password == other.password &&
|
279
|
+
hide_comments == other.hide_comments &&
|
163
280
|
separator == other.separator &&
|
164
281
|
is_multi_encoded == other.is_multi_encoded &&
|
165
282
|
has_formula == other.has_formula &&
|
@@ -177,7 +294,7 @@ module GroupDocsConversionCloud
|
|
177
294
|
# Calculates hash code according to all attributes.
|
178
295
|
# @return [Fixnum] Hash code
|
179
296
|
def hash
|
180
|
-
[format, separator, is_multi_encoded, has_formula, convert_numeric_data, convert_date_time_data, encoding].hash
|
297
|
+
[format, default_font, font_substitutes, show_grid_lines, show_hidden_sheets, one_page_per_sheet, convert_range, skip_empty_rows_and_columns, password, hide_comments, separator, is_multi_encoded, has_formula, convert_numeric_data, convert_date_time_data, encoding].hash
|
181
298
|
end
|
182
299
|
|
183
300
|
# Downcases first letter.
|
@@ -0,0 +1,219 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="license_info.rb">
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
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
|
+
#
|
27
|
+
|
28
|
+
require 'date'
|
29
|
+
|
30
|
+
module GroupDocsConversionCloud
|
31
|
+
# Current license information
|
32
|
+
class LicenseInfo
|
33
|
+
|
34
|
+
# True, if license was applied and valid, otherwise False
|
35
|
+
attr_accessor :is_licensed
|
36
|
+
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
:'is_licensed' => :'IsLicensed'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Attribute type mapping.
|
45
|
+
def self.swagger_types
|
46
|
+
{
|
47
|
+
:'is_licensed' => :'BOOLEAN'
|
48
|
+
}
|
49
|
+
end
|
50
|
+
|
51
|
+
# Initializes the object
|
52
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
53
|
+
def initialize(attributes = {})
|
54
|
+
return unless attributes.is_a?(Hash)
|
55
|
+
|
56
|
+
# convert string to symbol for hash key
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
58
|
+
|
59
|
+
if attributes.key?(:'IsLicensed')
|
60
|
+
self.is_licensed = attributes[:'IsLicensed']
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
64
|
+
|
65
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
66
|
+
# @return Array for valid properies with the reasons
|
67
|
+
def list_invalid_properties
|
68
|
+
invalid_properties = []
|
69
|
+
if @is_licensed.nil?
|
70
|
+
invalid_properties.push("invalid value for 'is_licensed', is_licensed cannot be nil.")
|
71
|
+
end
|
72
|
+
|
73
|
+
return invalid_properties
|
74
|
+
end
|
75
|
+
|
76
|
+
# Check to see if the all the properties in the model are valid
|
77
|
+
# @return true if the model is valid
|
78
|
+
def valid?
|
79
|
+
return false if @is_licensed.nil?
|
80
|
+
return true
|
81
|
+
end
|
82
|
+
|
83
|
+
# Checks equality by comparing each attribute.
|
84
|
+
# @param [Object] Object to be compared
|
85
|
+
def ==(other)
|
86
|
+
return true if self.equal?(other)
|
87
|
+
self.class == other.class &&
|
88
|
+
is_licensed == other.is_licensed
|
89
|
+
end
|
90
|
+
|
91
|
+
# @see the `==` method
|
92
|
+
# @param [Object] Object to be compared
|
93
|
+
def eql?(other)
|
94
|
+
self == other
|
95
|
+
end
|
96
|
+
|
97
|
+
# Calculates hash code according to all attributes.
|
98
|
+
# @return [Fixnum] Hash code
|
99
|
+
def hash
|
100
|
+
[is_licensed].hash
|
101
|
+
end
|
102
|
+
|
103
|
+
# Downcases first letter.
|
104
|
+
# @return downcased string
|
105
|
+
def uncap(str)
|
106
|
+
str[0, 1].downcase + str[1..-1]
|
107
|
+
end
|
108
|
+
|
109
|
+
# Builds the object from hash
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
111
|
+
# @return [Object] Returns the model itself
|
112
|
+
def build_from_hash(attributes)
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
114
|
+
self.class.swagger_types.each_pair do |key, type|
|
115
|
+
pname = uncap(self.class.attribute_map[key]).intern
|
116
|
+
value = attributes[pname]
|
117
|
+
if type =~ /\AArray<(.*)>/i
|
118
|
+
# check to ensure the input is an array given that the the attribute
|
119
|
+
# is documented as an array but the input is not
|
120
|
+
if value.is_a?(Array)
|
121
|
+
self.send("#{key}=", value.map { |v| _deserialize($1, v) })
|
122
|
+
end
|
123
|
+
elsif !value.nil?
|
124
|
+
self.send("#{key}=", _deserialize(type, value))
|
125
|
+
end
|
126
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
127
|
+
end
|
128
|
+
|
129
|
+
self
|
130
|
+
end
|
131
|
+
|
132
|
+
# Deserializes the data based on type
|
133
|
+
# @param string type Data type
|
134
|
+
# @param string value Value to be deserialized
|
135
|
+
# @return [Object] Deserialized data
|
136
|
+
def _deserialize(type, value)
|
137
|
+
case type.to_sym
|
138
|
+
when :DateTime
|
139
|
+
Date.parse value
|
140
|
+
when :Date
|
141
|
+
Date.parse value
|
142
|
+
when :String
|
143
|
+
value.to_s
|
144
|
+
when :Integer
|
145
|
+
value.to_i
|
146
|
+
when :Float
|
147
|
+
value.to_f
|
148
|
+
when :BOOLEAN
|
149
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
150
|
+
true
|
151
|
+
else
|
152
|
+
false
|
153
|
+
end
|
154
|
+
when :Object
|
155
|
+
# generic object (usually a Hash), return directly
|
156
|
+
value
|
157
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
158
|
+
inner_type = Regexp.last_match[:inner_type]
|
159
|
+
value.map { |v| _deserialize(inner_type, v) }
|
160
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
161
|
+
k_type = Regexp.last_match[:k_type]
|
162
|
+
v_type = Regexp.last_match[:v_type]
|
163
|
+
{}.tap do |hash|
|
164
|
+
value.each do |k, v|
|
165
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
else
|
169
|
+
# model
|
170
|
+
temp_model = GroupDocsConversionCloud.const_get(type).new
|
171
|
+
temp_model.build_from_hash(value)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# Returns the string representation of the object
|
176
|
+
# @return [String] String presentation of the object
|
177
|
+
def to_s
|
178
|
+
to_hash.to_s
|
179
|
+
end
|
180
|
+
|
181
|
+
# to_body is an alias to to_hash (backward compatibility)
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
183
|
+
def to_body
|
184
|
+
to_hash
|
185
|
+
end
|
186
|
+
|
187
|
+
# Returns the object in the form of hash
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
189
|
+
def to_hash
|
190
|
+
hash = {}
|
191
|
+
self.class.attribute_map.each_pair do |attr, param|
|
192
|
+
value = self.send(attr)
|
193
|
+
next if value.nil?
|
194
|
+
hash[param] = _to_hash(value)
|
195
|
+
end
|
196
|
+
hash
|
197
|
+
end
|
198
|
+
|
199
|
+
# Outputs non-array value in the form of hash
|
200
|
+
# For object, use to_hash. Otherwise, just return the value
|
201
|
+
# @param [Object] value Any valid value
|
202
|
+
# @return [Hash] Returns the value in the form of hash
|
203
|
+
def _to_hash(value)
|
204
|
+
if value.is_a?(Array)
|
205
|
+
value.compact.map { |v| _to_hash(v) }
|
206
|
+
elsif value.is_a?(Hash)
|
207
|
+
{}.tap do |hash|
|
208
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
209
|
+
end
|
210
|
+
elsif value.respond_to? :to_hash
|
211
|
+
value.to_hash
|
212
|
+
else
|
213
|
+
value
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
end
|
218
|
+
|
219
|
+
end
|
@@ -43,6 +43,7 @@ require_relative 'groupdocs_conversion_cloud/models/field_label'
|
|
43
43
|
require_relative 'groupdocs_conversion_cloud/models/file_versions'
|
44
44
|
require_relative 'groupdocs_conversion_cloud/models/files_list'
|
45
45
|
require_relative 'groupdocs_conversion_cloud/models/files_upload_result'
|
46
|
+
require_relative 'groupdocs_conversion_cloud/models/license_info'
|
46
47
|
require_relative 'groupdocs_conversion_cloud/models/load_options'
|
47
48
|
require_relative 'groupdocs_conversion_cloud/models/object_exist'
|
48
49
|
require_relative 'groupdocs_conversion_cloud/models/storage_exist'
|
@@ -51,7 +52,6 @@ require_relative 'groupdocs_conversion_cloud/models/stored_converted_result'
|
|
51
52
|
require_relative 'groupdocs_conversion_cloud/models/supported_format'
|
52
53
|
require_relative 'groupdocs_conversion_cloud/models/watermark_options'
|
53
54
|
require_relative 'groupdocs_conversion_cloud/models/cad_load_options'
|
54
|
-
require_relative 'groupdocs_conversion_cloud/models/csv_load_options'
|
55
55
|
require_relative 'groupdocs_conversion_cloud/models/diagram_load_options'
|
56
56
|
require_relative 'groupdocs_conversion_cloud/models/e_book_convert_options'
|
57
57
|
require_relative 'groupdocs_conversion_cloud/models/email_load_options'
|
@@ -76,6 +76,7 @@ require_relative 'groupdocs_conversion_cloud/models/word_processing_load_options
|
|
76
76
|
require_relative 'groupdocs_conversion_cloud/models/xml_load_options'
|
77
77
|
require_relative 'groupdocs_conversion_cloud/models/bmp_convert_options'
|
78
78
|
require_relative 'groupdocs_conversion_cloud/models/bmp_load_options'
|
79
|
+
require_relative 'groupdocs_conversion_cloud/models/csv_load_options'
|
79
80
|
require_relative 'groupdocs_conversion_cloud/models/dcm_convert_options'
|
80
81
|
require_relative 'groupdocs_conversion_cloud/models/dcm_load_options'
|
81
82
|
require_relative 'groupdocs_conversion_cloud/models/dgn_load_options'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groupdocs_conversion_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '23.
|
4
|
+
version: '23.12'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GroupDocs
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -150,6 +150,7 @@ files:
|
|
150
150
|
- lib/groupdocs_conversion_cloud/models/jpm_load_options.rb
|
151
151
|
- lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb
|
152
152
|
- lib/groupdocs_conversion_cloud/models/jpx_load_options.rb
|
153
|
+
- lib/groupdocs_conversion_cloud/models/license_info.rb
|
153
154
|
- lib/groupdocs_conversion_cloud/models/load_options.rb
|
154
155
|
- lib/groupdocs_conversion_cloud/models/mht_load_options.rb
|
155
156
|
- lib/groupdocs_conversion_cloud/models/mobi_load_options.rb
|
@@ -258,7 +259,7 @@ licenses:
|
|
258
259
|
- MIT
|
259
260
|
metadata:
|
260
261
|
source_code_uri: https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-ruby
|
261
|
-
post_install_message:
|
262
|
+
post_install_message:
|
262
263
|
rdoc_options: []
|
263
264
|
require_paths:
|
264
265
|
- lib
|
@@ -273,9 +274,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
273
274
|
- !ruby/object:Gem::Version
|
274
275
|
version: '0'
|
275
276
|
requirements: []
|
276
|
-
|
277
|
-
|
278
|
-
signing_key:
|
277
|
+
rubygems_version: 3.1.6
|
278
|
+
signing_key:
|
279
279
|
specification_version: 4
|
280
280
|
summary: GroupDocs.Conversion Cloud Ruby SDK
|
281
281
|
test_files: []
|