groupdocs_viewer_cloud 18.7 → 18.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/groupdocs_viewer_cloud.rb +1 -29
- data/lib/groupdocs_viewer_cloud/api_client.rb +1 -11
- data/lib/groupdocs_viewer_cloud/api_error.rb +3 -1
- data/lib/groupdocs_viewer_cloud/configuration.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/attachment.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/attachment_collection.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/attachment_info.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/cad_options.rb +3 -3
- data/lib/groupdocs_viewer_cloud/models/cells_options.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/document_info.rb +26 -6
- data/lib/groupdocs_viewer_cloud/models/document_info_options.rb +16 -6
- data/lib/groupdocs_viewer_cloud/models/email_options.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/field_label.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/file_response.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/font_collection.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/font_family.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/format.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/format_collection.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/html_attachment_page_collection.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/html_options.rb +28 -6
- data/lib/groupdocs_viewer_cloud/models/html_page.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/html_page_collection.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/image_attachment_page_collection.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/image_options.rb +13 -3
- data/lib/groupdocs_viewer_cloud/models/image_page.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/image_page_collection.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/outlook_options.rb +206 -0
- data/lib/groupdocs_viewer_cloud/models/page_info.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/page_info_collection.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/pdf_file_info.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/pdf_file_options.rb +16 -6
- data/lib/groupdocs_viewer_cloud/models/pdf_options.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/project_options.rb +26 -6
- data/lib/groupdocs_viewer_cloud/models/render_options.rb +13 -3
- data/lib/groupdocs_viewer_cloud/models/render_options_base.rb +16 -6
- data/lib/groupdocs_viewer_cloud/models/reorder_options.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/resource.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/resource_url.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/rotate_options.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/row_info.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/slides_options.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/tile.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/transform_options_base.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/watermark.rb +2 -2
- data/lib/groupdocs_viewer_cloud/models/words_options.rb +2 -2
- data/lib/groupdocs_viewer_cloud/version.rb +1 -1
- metadata +10 -8
@@ -145,9 +145,9 @@ module GroupDocsViewerCloud
|
|
145
145
|
def _deserialize(type, value)
|
146
146
|
case type.to_sym
|
147
147
|
when :DateTime
|
148
|
-
|
148
|
+
Date.parse value
|
149
149
|
when :Date
|
150
|
-
|
150
|
+
Date.parse value
|
151
151
|
when :String
|
152
152
|
value.to_s
|
153
153
|
when :Integer
|
@@ -145,9 +145,9 @@ module GroupDocsViewerCloud
|
|
145
145
|
def _deserialize(type, value)
|
146
146
|
case type.to_sym
|
147
147
|
when :DateTime
|
148
|
-
|
148
|
+
Date.parse value
|
149
149
|
when :Date
|
150
|
-
|
150
|
+
Date.parse value
|
151
151
|
when :String
|
152
152
|
value.to_s
|
153
153
|
when :Integer
|
@@ -155,9 +155,9 @@ module GroupDocsViewerCloud
|
|
155
155
|
def _deserialize(type, value)
|
156
156
|
case type.to_sym
|
157
157
|
when :DateTime
|
158
|
-
|
158
|
+
Date.parse value
|
159
159
|
when :Date
|
160
|
-
|
160
|
+
Date.parse value
|
161
161
|
when :String
|
162
162
|
value.to_s
|
163
163
|
when :Integer
|
@@ -76,6 +76,9 @@ module GroupDocsViewerCloud
|
|
76
76
|
# The Microsoft Project documents rendering options.
|
77
77
|
attr_accessor :project_options
|
78
78
|
|
79
|
+
# The Outlook Data File document (PST/OST) rendering options.
|
80
|
+
attr_accessor :outlook_options
|
81
|
+
|
79
82
|
# Allows to specify document page number as starting page to render.
|
80
83
|
attr_accessor :start_page_number
|
81
84
|
|
@@ -112,6 +115,7 @@ module GroupDocsViewerCloud
|
|
112
115
|
:'pdf_options' => :'pdfOptions',
|
113
116
|
:'slides_options' => :'slidesOptions',
|
114
117
|
:'project_options' => :'projectOptions',
|
118
|
+
:'outlook_options' => :'outlookOptions',
|
115
119
|
:'start_page_number' => :'startPageNumber',
|
116
120
|
:'count_pages' => :'countPages',
|
117
121
|
:'format' => :'format',
|
@@ -139,6 +143,7 @@ module GroupDocsViewerCloud
|
|
139
143
|
:'pdf_options' => :'PdfOptions',
|
140
144
|
:'slides_options' => :'SlidesOptions',
|
141
145
|
:'project_options' => :'ProjectOptions',
|
146
|
+
:'outlook_options' => :'OutlookOptions',
|
142
147
|
:'start_page_number' => :'Integer',
|
143
148
|
:'count_pages' => :'Integer',
|
144
149
|
:'format' => :'String',
|
@@ -218,6 +223,10 @@ module GroupDocsViewerCloud
|
|
218
223
|
self.project_options = attributes[:'projectOptions']
|
219
224
|
end
|
220
225
|
|
226
|
+
if attributes.key?(:'outlookOptions')
|
227
|
+
self.outlook_options = attributes[:'outlookOptions']
|
228
|
+
end
|
229
|
+
|
221
230
|
if attributes.key?(:'startPageNumber')
|
222
231
|
self.start_page_number = attributes[:'startPageNumber']
|
223
232
|
end
|
@@ -277,6 +286,7 @@ module GroupDocsViewerCloud
|
|
277
286
|
pdf_options == other.pdf_options &&
|
278
287
|
slides_options == other.slides_options &&
|
279
288
|
project_options == other.project_options &&
|
289
|
+
outlook_options == other.outlook_options &&
|
280
290
|
start_page_number == other.start_page_number &&
|
281
291
|
count_pages == other.count_pages &&
|
282
292
|
format == other.format &&
|
@@ -294,7 +304,7 @@ module GroupDocsViewerCloud
|
|
294
304
|
# Calculates hash code according to all attributes.
|
295
305
|
# @return [Fixnum] Hash code
|
296
306
|
def hash
|
297
|
-
[password, attachment_password, extract_text, render_comments, render_hidden_pages, transforms, default_font_name, watermark, cells_options, cad_options, email_options, words_options, pdf_options, slides_options, project_options, start_page_number, count_pages, format, quality, width, height].hash
|
307
|
+
[password, attachment_password, extract_text, render_comments, render_hidden_pages, transforms, default_font_name, watermark, cells_options, cad_options, email_options, words_options, pdf_options, slides_options, project_options, outlook_options, start_page_number, count_pages, format, quality, width, height].hash
|
298
308
|
end
|
299
309
|
|
300
310
|
# Builds the object from hash
|
@@ -325,9 +335,9 @@ module GroupDocsViewerCloud
|
|
325
335
|
def _deserialize(type, value)
|
326
336
|
case type.to_sym
|
327
337
|
when :DateTime
|
328
|
-
|
338
|
+
Date.parse value
|
329
339
|
when :Date
|
330
|
-
|
340
|
+
Date.parse value
|
331
341
|
when :String
|
332
342
|
value.to_s
|
333
343
|
when :Integer
|
@@ -133,9 +133,9 @@ module GroupDocsViewerCloud
|
|
133
133
|
def _deserialize(type, value)
|
134
134
|
case type.to_sym
|
135
135
|
when :DateTime
|
136
|
-
|
136
|
+
Date.parse value
|
137
137
|
when :Date
|
138
|
-
|
138
|
+
Date.parse value
|
139
139
|
when :String
|
140
140
|
value.to_s
|
141
141
|
when :Integer
|
@@ -155,9 +155,9 @@ module GroupDocsViewerCloud
|
|
155
155
|
def _deserialize(type, value)
|
156
156
|
case type.to_sym
|
157
157
|
when :DateTime
|
158
|
-
|
158
|
+
Date.parse value
|
159
159
|
when :Date
|
160
|
-
|
160
|
+
Date.parse value
|
161
161
|
when :String
|
162
162
|
value.to_s
|
163
163
|
when :Integer
|
@@ -0,0 +1,206 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="outlook_options.rb">
|
4
|
+
# Copyright (c) 2003-2018 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 GroupDocsViewerCloud
|
31
|
+
# The Outlook data files rendering options.
|
32
|
+
class OutlookOptions
|
33
|
+
|
34
|
+
# The limit of items to render in mailbox folders
|
35
|
+
attr_accessor :max_items_in_folder
|
36
|
+
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
:'max_items_in_folder' => :'maxItemsInFolder'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Attribute type mapping.
|
45
|
+
def self.swagger_types
|
46
|
+
{
|
47
|
+
:'max_items_in_folder' => :'Integer'
|
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?(:'maxItemsInFolder')
|
60
|
+
self.max_items_in_folder = attributes[:'maxItemsInFolder']
|
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
|
+
return invalid_properties
|
70
|
+
end
|
71
|
+
|
72
|
+
# Check to see if the all the properties in the model are valid
|
73
|
+
# @return true if the model is valid
|
74
|
+
def valid?
|
75
|
+
return true
|
76
|
+
end
|
77
|
+
|
78
|
+
# Checks equality by comparing each attribute.
|
79
|
+
# @param [Object] Object to be compared
|
80
|
+
def ==(other)
|
81
|
+
return true if self.equal?(other)
|
82
|
+
self.class == other.class &&
|
83
|
+
max_items_in_folder == other.max_items_in_folder
|
84
|
+
end
|
85
|
+
|
86
|
+
# @see the `==` method
|
87
|
+
# @param [Object] Object to be compared
|
88
|
+
def eql?(other)
|
89
|
+
self == other
|
90
|
+
end
|
91
|
+
|
92
|
+
# Calculates hash code according to all attributes.
|
93
|
+
# @return [Fixnum] Hash code
|
94
|
+
def hash
|
95
|
+
[max_items_in_folder].hash
|
96
|
+
end
|
97
|
+
|
98
|
+
# Builds the object from hash
|
99
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
+
# @return [Object] Returns the model itself
|
101
|
+
def build_from_hash(attributes)
|
102
|
+
return nil unless attributes.is_a?(Hash)
|
103
|
+
self.class.swagger_types.each_pair do |key, type|
|
104
|
+
if type =~ /\AArray<(.*)>/i
|
105
|
+
# check to ensure the input is an array given that the the attribute
|
106
|
+
# is documented as an array but the input is not
|
107
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
108
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
109
|
+
end
|
110
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
111
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
112
|
+
end
|
113
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
114
|
+
end
|
115
|
+
|
116
|
+
self
|
117
|
+
end
|
118
|
+
|
119
|
+
# Deserializes the data based on type
|
120
|
+
# @param string type Data type
|
121
|
+
# @param string value Value to be deserialized
|
122
|
+
# @return [Object] Deserialized data
|
123
|
+
def _deserialize(type, value)
|
124
|
+
case type.to_sym
|
125
|
+
when :DateTime
|
126
|
+
Date.parse value
|
127
|
+
when :Date
|
128
|
+
Date.parse value
|
129
|
+
when :String
|
130
|
+
value.to_s
|
131
|
+
when :Integer
|
132
|
+
value.to_i
|
133
|
+
when :Float
|
134
|
+
value.to_f
|
135
|
+
when :BOOLEAN
|
136
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
137
|
+
true
|
138
|
+
else
|
139
|
+
false
|
140
|
+
end
|
141
|
+
when :Object
|
142
|
+
# generic object (usually a Hash), return directly
|
143
|
+
value
|
144
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
145
|
+
inner_type = Regexp.last_match[:inner_type]
|
146
|
+
value.map { |v| _deserialize(inner_type, v) }
|
147
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
148
|
+
k_type = Regexp.last_match[:k_type]
|
149
|
+
v_type = Regexp.last_match[:v_type]
|
150
|
+
{}.tap do |hash|
|
151
|
+
value.each do |k, v|
|
152
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
else
|
156
|
+
# model
|
157
|
+
temp_model = GroupDocsViewerCloud.const_get(type).new
|
158
|
+
temp_model.build_from_hash(value)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
# Returns the string representation of the object
|
163
|
+
# @return [String] String presentation of the object
|
164
|
+
def to_s
|
165
|
+
to_hash.to_s
|
166
|
+
end
|
167
|
+
|
168
|
+
# to_body is an alias to to_hash (backward compatibility)
|
169
|
+
# @return [Hash] Returns the object in the form of hash
|
170
|
+
def to_body
|
171
|
+
to_hash
|
172
|
+
end
|
173
|
+
|
174
|
+
# Returns the object in the form of hash
|
175
|
+
# @return [Hash] Returns the object in the form of hash
|
176
|
+
def to_hash
|
177
|
+
hash = {}
|
178
|
+
self.class.attribute_map.each_pair do |attr, param|
|
179
|
+
value = self.send(attr)
|
180
|
+
next if value.nil?
|
181
|
+
hash[param] = _to_hash(value)
|
182
|
+
end
|
183
|
+
hash
|
184
|
+
end
|
185
|
+
|
186
|
+
# Outputs non-array value in the form of hash
|
187
|
+
# For object, use to_hash. Otherwise, just return the value
|
188
|
+
# @param [Object] value Any valid value
|
189
|
+
# @return [Hash] Returns the value in the form of hash
|
190
|
+
def _to_hash(value)
|
191
|
+
if value.is_a?(Array)
|
192
|
+
value.compact.map { |v| _to_hash(v) }
|
193
|
+
elsif value.is_a?(Hash)
|
194
|
+
{}.tap do |hash|
|
195
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
196
|
+
end
|
197
|
+
elsif value.respond_to? :to_hash
|
198
|
+
value.to_hash
|
199
|
+
else
|
200
|
+
value
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
end
|
205
|
+
|
206
|
+
end
|
@@ -185,9 +185,9 @@ module GroupDocsViewerCloud
|
|
185
185
|
def _deserialize(type, value)
|
186
186
|
case type.to_sym
|
187
187
|
when :DateTime
|
188
|
-
|
188
|
+
Date.parse value
|
189
189
|
when :Date
|
190
|
-
|
190
|
+
Date.parse value
|
191
191
|
when :String
|
192
192
|
value.to_s
|
193
193
|
when :Integer
|
@@ -125,9 +125,9 @@ module GroupDocsViewerCloud
|
|
125
125
|
def _deserialize(type, value)
|
126
126
|
case type.to_sym
|
127
127
|
when :DateTime
|
128
|
-
|
128
|
+
Date.parse value
|
129
129
|
when :Date
|
130
|
-
|
130
|
+
Date.parse value
|
131
131
|
when :String
|
132
132
|
value.to_s
|
133
133
|
when :Integer
|
@@ -153,9 +153,9 @@ module GroupDocsViewerCloud
|
|
153
153
|
def _deserialize(type, value)
|
154
154
|
case type.to_sym
|
155
155
|
when :DateTime
|
156
|
-
|
156
|
+
Date.parse value
|
157
157
|
when :Date
|
158
|
-
|
158
|
+
Date.parse value
|
159
159
|
when :String
|
160
160
|
value.to_s
|
161
161
|
when :Integer
|
@@ -76,6 +76,9 @@ module GroupDocsViewerCloud
|
|
76
76
|
# The Microsoft Project documents rendering options.
|
77
77
|
attr_accessor :project_options
|
78
78
|
|
79
|
+
# The Outlook Data File document (PST/OST) rendering options.
|
80
|
+
attr_accessor :outlook_options
|
81
|
+
|
79
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
83
|
def self.attribute_map
|
81
84
|
{
|
@@ -93,7 +96,8 @@ module GroupDocsViewerCloud
|
|
93
96
|
:'words_options' => :'wordsOptions',
|
94
97
|
:'pdf_options' => :'pdfOptions',
|
95
98
|
:'slides_options' => :'slidesOptions',
|
96
|
-
:'project_options' => :'projectOptions'
|
99
|
+
:'project_options' => :'projectOptions',
|
100
|
+
:'outlook_options' => :'outlookOptions'
|
97
101
|
}
|
98
102
|
end
|
99
103
|
|
@@ -114,7 +118,8 @@ module GroupDocsViewerCloud
|
|
114
118
|
:'words_options' => :'WordsOptions',
|
115
119
|
:'pdf_options' => :'PdfOptions',
|
116
120
|
:'slides_options' => :'SlidesOptions',
|
117
|
-
:'project_options' => :'ProjectOptions'
|
121
|
+
:'project_options' => :'ProjectOptions',
|
122
|
+
:'outlook_options' => :'OutlookOptions'
|
118
123
|
}
|
119
124
|
end
|
120
125
|
|
@@ -188,6 +193,10 @@ module GroupDocsViewerCloud
|
|
188
193
|
self.project_options = attributes[:'projectOptions']
|
189
194
|
end
|
190
195
|
|
196
|
+
if attributes.key?(:'outlookOptions')
|
197
|
+
self.outlook_options = attributes[:'outlookOptions']
|
198
|
+
end
|
199
|
+
|
191
200
|
end
|
192
201
|
|
193
202
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -222,7 +231,8 @@ module GroupDocsViewerCloud
|
|
222
231
|
words_options == other.words_options &&
|
223
232
|
pdf_options == other.pdf_options &&
|
224
233
|
slides_options == other.slides_options &&
|
225
|
-
project_options == other.project_options
|
234
|
+
project_options == other.project_options &&
|
235
|
+
outlook_options == other.outlook_options
|
226
236
|
end
|
227
237
|
|
228
238
|
# @see the `==` method
|
@@ -234,7 +244,7 @@ module GroupDocsViewerCloud
|
|
234
244
|
# Calculates hash code according to all attributes.
|
235
245
|
# @return [Fixnum] Hash code
|
236
246
|
def hash
|
237
|
-
[password, attachment_password, extract_text, render_comments, render_hidden_pages, transforms, default_font_name, watermark, cells_options, cad_options, email_options, words_options, pdf_options, slides_options, project_options].hash
|
247
|
+
[password, attachment_password, extract_text, render_comments, render_hidden_pages, transforms, default_font_name, watermark, cells_options, cad_options, email_options, words_options, pdf_options, slides_options, project_options, outlook_options].hash
|
238
248
|
end
|
239
249
|
|
240
250
|
# Builds the object from hash
|
@@ -265,9 +275,9 @@ module GroupDocsViewerCloud
|
|
265
275
|
def _deserialize(type, value)
|
266
276
|
case type.to_sym
|
267
277
|
when :DateTime
|
268
|
-
|
278
|
+
Date.parse value
|
269
279
|
when :Date
|
270
|
-
|
280
|
+
Date.parse value
|
271
281
|
when :String
|
272
282
|
value.to_s
|
273
283
|
when :Integer
|
@@ -153,9 +153,9 @@ module GroupDocsViewerCloud
|
|
153
153
|
def _deserialize(type, value)
|
154
154
|
case type.to_sym
|
155
155
|
when :DateTime
|
156
|
-
|
156
|
+
Date.parse value
|
157
157
|
when :Date
|
158
|
-
|
158
|
+
Date.parse value
|
159
159
|
when :String
|
160
160
|
value.to_s
|
161
161
|
when :Integer
|