groupdocs_conversion_cloud 25.6 → 25.8
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.
- checksums.yaml +4 -4
- data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/cf2_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +230 -61
- data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dwfx_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dwt_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +110 -28
- data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/web_load_options.rb +81 -4
- data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/version.rb +1 -1
- metadata +2 -2
@@ -34,46 +34,64 @@ 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
|
-
#
|
38
|
-
attr_accessor :
|
37
|
+
# Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
|
38
|
+
attr_accessor :preserve_original_date
|
39
39
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
40
|
+
# The mapping between email message field and field text representation
|
41
|
+
attr_accessor :field_labels
|
42
42
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
43
|
+
# Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
|
44
|
+
attr_accessor :time_zone_offset
|
45
45
|
|
46
|
-
# Option to display or hide
|
47
|
-
attr_accessor :
|
46
|
+
# Option to display or hide sent date/time in the header. Default: true.
|
47
|
+
attr_accessor :display_sent
|
48
|
+
|
49
|
+
# Option to display or hide subject in the header. Default: true.
|
50
|
+
attr_accessor :display_subject
|
51
|
+
|
52
|
+
# Option to display or hide attachments in the header. Default: true.
|
53
|
+
attr_accessor :display_attachments
|
54
|
+
attr_accessor :display_email_addresses
|
48
55
|
|
49
56
|
# Option to display or hide \"Bcc\" email address. Default: false
|
50
57
|
attr_accessor :display_bcc_email_address
|
51
58
|
|
52
|
-
#
|
53
|
-
attr_accessor :
|
59
|
+
# Option to display or hide \"Cc\" email address. Default: false
|
60
|
+
attr_accessor :display_cc_email_address
|
54
61
|
|
55
|
-
# Option to
|
56
|
-
attr_accessor :
|
62
|
+
# Option to display or hide \"to\" email address. Default: true
|
63
|
+
attr_accessor :display_to_email_address
|
57
64
|
|
58
|
-
#
|
59
|
-
attr_accessor :
|
65
|
+
# Option to display or hide \"from\" email address. Default: true
|
66
|
+
attr_accessor :display_from_email_address
|
60
67
|
|
61
|
-
#
|
62
|
-
attr_accessor :
|
68
|
+
# Option to display or hide the email header. Default: true
|
69
|
+
attr_accessor :display_header
|
70
|
+
|
71
|
+
# Default font for Email document. The following font will be used if a font is missing.
|
72
|
+
attr_accessor :default_font
|
73
|
+
|
74
|
+
# List of font substitutes.
|
75
|
+
attr_accessor :font_substitutes
|
63
76
|
|
64
77
|
# Attribute mapping from ruby-style variable name to JSON key.
|
65
78
|
def self.attribute_map
|
66
79
|
{
|
67
80
|
:'format' => :'Format',
|
68
|
-
:'
|
69
|
-
:'display_from_email_address' => :'DisplayFromEmailAddress',
|
70
|
-
:'display_to_email_address' => :'DisplayToEmailAddress',
|
71
|
-
:'display_cc_email_address' => :'DisplayCcEmailAddress',
|
72
|
-
:'display_bcc_email_address' => :'DisplayBccEmailAddress',
|
73
|
-
:'time_zone_offset' => :'TimeZoneOffset',
|
74
|
-
:'convert_attachments' => :'ConvertAttachments',
|
81
|
+
:'preserve_original_date' => :'PreserveOriginalDate',
|
75
82
|
:'field_labels' => :'FieldLabels',
|
76
|
-
:'
|
83
|
+
:'time_zone_offset' => :'TimeZoneOffset',
|
84
|
+
:'display_sent' => :'DisplaySent',
|
85
|
+
:'display_subject' => :'DisplaySubject',
|
86
|
+
:'display_attachments' => :'DisplayAttachments',
|
87
|
+
:'display_email_addresses' => :'DisplayEmailAddresses',
|
88
|
+
:'display_bcc_email_address' => :'DisplayBccEmailAddress',
|
89
|
+
:'display_cc_email_address' => :'DisplayCcEmailAddress',
|
90
|
+
:'display_to_email_address' => :'DisplayToEmailAddress',
|
91
|
+
:'display_from_email_address' => :'DisplayFromEmailAddress',
|
92
|
+
:'display_header' => :'DisplayHeader',
|
93
|
+
:'default_font' => :'DefaultFont',
|
94
|
+
:'font_substitutes' => :'FontSubstitutes'
|
77
95
|
}
|
78
96
|
end
|
79
97
|
|
@@ -81,15 +99,20 @@ module GroupDocsConversionCloud
|
|
81
99
|
def self.swagger_types
|
82
100
|
{
|
83
101
|
:'format' => :'String',
|
84
|
-
:'
|
85
|
-
:'display_from_email_address' => :'BOOLEAN',
|
86
|
-
:'display_to_email_address' => :'BOOLEAN',
|
87
|
-
:'display_cc_email_address' => :'BOOLEAN',
|
88
|
-
:'display_bcc_email_address' => :'BOOLEAN',
|
89
|
-
:'time_zone_offset' => :'String',
|
90
|
-
:'convert_attachments' => :'BOOLEAN',
|
102
|
+
:'preserve_original_date' => :'BOOLEAN',
|
91
103
|
:'field_labels' => :'Array<FieldLabel>',
|
92
|
-
:'
|
104
|
+
:'time_zone_offset' => :'String',
|
105
|
+
:'display_sent' => :'BOOLEAN',
|
106
|
+
:'display_subject' => :'BOOLEAN',
|
107
|
+
:'display_attachments' => :'BOOLEAN',
|
108
|
+
:'display_email_addresses' => :'BOOLEAN',
|
109
|
+
:'display_bcc_email_address' => :'BOOLEAN',
|
110
|
+
:'display_cc_email_address' => :'BOOLEAN',
|
111
|
+
:'display_to_email_address' => :'BOOLEAN',
|
112
|
+
:'display_from_email_address' => :'BOOLEAN',
|
113
|
+
:'display_header' => :'BOOLEAN',
|
114
|
+
:'default_font' => :'String',
|
115
|
+
:'font_substitutes' => :'Hash<String, String>'
|
93
116
|
}
|
94
117
|
end
|
95
118
|
|
@@ -105,42 +128,64 @@ module GroupDocsConversionCloud
|
|
105
128
|
self.format = attributes[:'Format']
|
106
129
|
end
|
107
130
|
|
108
|
-
if attributes.key?(:'
|
109
|
-
self.
|
131
|
+
if attributes.key?(:'PreserveOriginalDate')
|
132
|
+
self.preserve_original_date = attributes[:'PreserveOriginalDate']
|
110
133
|
end
|
111
134
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
|
135
|
+
if attributes.key?(:'FieldLabels')
|
136
|
+
if (value = attributes[:'FieldLabels']).is_a?(Array)
|
137
|
+
self.field_labels = value
|
138
|
+
end
|
114
139
|
end
|
115
140
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
141
|
+
if attributes.key?(:'TimeZoneOffset')
|
142
|
+
self.time_zone_offset = attributes[:'TimeZoneOffset']
|
118
143
|
end
|
119
144
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
self.
|
145
|
+
if attributes.key?(:'DisplaySent')
|
146
|
+
self.display_sent = attributes[:'DisplaySent']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'DisplaySubject')
|
150
|
+
self.display_subject = attributes[:'DisplaySubject']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.key?(:'DisplayAttachments')
|
154
|
+
self.display_attachments = attributes[:'DisplayAttachments']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'DisplayEmailAddresses')
|
158
|
+
self.display_email_addresses = attributes[:'DisplayEmailAddresses']
|
122
159
|
end
|
123
160
|
|
124
161
|
if attributes.key?(:'DisplayBccEmailAddress')
|
125
162
|
self.display_bcc_email_address = attributes[:'DisplayBccEmailAddress']
|
126
163
|
end
|
127
164
|
|
128
|
-
if attributes.key?(:'
|
129
|
-
self.
|
165
|
+
if attributes.key?(:'DisplayCcEmailAddress')
|
166
|
+
self.display_cc_email_address = attributes[:'DisplayCcEmailAddress']
|
130
167
|
end
|
131
168
|
|
132
|
-
if attributes.key?(:'
|
133
|
-
self.
|
169
|
+
if attributes.key?(:'DisplayToEmailAddress')
|
170
|
+
self.display_to_email_address = attributes[:'DisplayToEmailAddress']
|
134
171
|
end
|
135
172
|
|
136
|
-
if attributes.key?(:'
|
137
|
-
|
138
|
-
self.field_labels = value
|
139
|
-
end
|
173
|
+
if attributes.key?(:'DisplayFromEmailAddress')
|
174
|
+
self.display_from_email_address = attributes[:'DisplayFromEmailAddress']
|
140
175
|
end
|
141
176
|
|
142
|
-
if attributes.key?(:'
|
143
|
-
self.
|
177
|
+
if attributes.key?(:'DisplayHeader')
|
178
|
+
self.display_header = attributes[:'DisplayHeader']
|
179
|
+
end
|
180
|
+
|
181
|
+
if attributes.key?(:'DefaultFont')
|
182
|
+
self.default_font = attributes[:'DefaultFont']
|
183
|
+
end
|
184
|
+
|
185
|
+
if attributes.key?(:'FontSubstitutes')
|
186
|
+
if (value = attributes[:'FontSubstitutes']).is_a?(Hash)
|
187
|
+
self.font_substitutes = value
|
188
|
+
end
|
144
189
|
end
|
145
190
|
|
146
191
|
end
|
@@ -149,32 +194,44 @@ module GroupDocsConversionCloud
|
|
149
194
|
# @return Array for valid properies with the reasons
|
150
195
|
def list_invalid_properties
|
151
196
|
invalid_properties = []
|
152
|
-
if @
|
153
|
-
invalid_properties.push("invalid value for '
|
197
|
+
if @preserve_original_date.nil?
|
198
|
+
invalid_properties.push("invalid value for 'preserve_original_date', preserve_original_date cannot be nil.")
|
154
199
|
end
|
155
200
|
|
156
|
-
if @
|
157
|
-
invalid_properties.push("invalid value for '
|
201
|
+
if @display_sent.nil?
|
202
|
+
invalid_properties.push("invalid value for 'display_sent', display_sent cannot be nil.")
|
158
203
|
end
|
159
204
|
|
160
|
-
if @
|
161
|
-
invalid_properties.push("invalid value for '
|
205
|
+
if @display_subject.nil?
|
206
|
+
invalid_properties.push("invalid value for 'display_subject', display_subject cannot be nil.")
|
162
207
|
end
|
163
208
|
|
164
|
-
if @
|
165
|
-
invalid_properties.push("invalid value for '
|
209
|
+
if @display_attachments.nil?
|
210
|
+
invalid_properties.push("invalid value for 'display_attachments', display_attachments cannot be nil.")
|
211
|
+
end
|
212
|
+
|
213
|
+
if @display_email_addresses.nil?
|
214
|
+
invalid_properties.push("invalid value for 'display_email_addresses', display_email_addresses cannot be nil.")
|
166
215
|
end
|
167
216
|
|
168
217
|
if @display_bcc_email_address.nil?
|
169
218
|
invalid_properties.push("invalid value for 'display_bcc_email_address', display_bcc_email_address cannot be nil.")
|
170
219
|
end
|
171
220
|
|
172
|
-
if @
|
173
|
-
invalid_properties.push("invalid value for '
|
221
|
+
if @display_cc_email_address.nil?
|
222
|
+
invalid_properties.push("invalid value for 'display_cc_email_address', display_cc_email_address cannot be nil.")
|
174
223
|
end
|
175
224
|
|
176
|
-
if @
|
177
|
-
invalid_properties.push("invalid value for '
|
225
|
+
if @display_to_email_address.nil?
|
226
|
+
invalid_properties.push("invalid value for 'display_to_email_address', display_to_email_address cannot be nil.")
|
227
|
+
end
|
228
|
+
|
229
|
+
if @display_from_email_address.nil?
|
230
|
+
invalid_properties.push("invalid value for 'display_from_email_address', display_from_email_address cannot be nil.")
|
231
|
+
end
|
232
|
+
|
233
|
+
if @display_header.nil?
|
234
|
+
invalid_properties.push("invalid value for 'display_header', display_header cannot be nil.")
|
178
235
|
end
|
179
236
|
|
180
237
|
return invalid_properties
|
@@ -183,13 +240,16 @@ module GroupDocsConversionCloud
|
|
183
240
|
# Check to see if the all the properties in the model are valid
|
184
241
|
# @return true if the model is valid
|
185
242
|
def valid?
|
186
|
-
return false if @display_header.nil?
|
187
|
-
return false if @display_from_email_address.nil?
|
188
|
-
return false if @display_to_email_address.nil?
|
189
|
-
return false if @display_cc_email_address.nil?
|
190
|
-
return false if @display_bcc_email_address.nil?
|
191
|
-
return false if @convert_attachments.nil?
|
192
243
|
return false if @preserve_original_date.nil?
|
244
|
+
return false if @display_sent.nil?
|
245
|
+
return false if @display_subject.nil?
|
246
|
+
return false if @display_attachments.nil?
|
247
|
+
return false if @display_email_addresses.nil?
|
248
|
+
return false if @display_bcc_email_address.nil?
|
249
|
+
return false if @display_cc_email_address.nil?
|
250
|
+
return false if @display_to_email_address.nil?
|
251
|
+
return false if @display_from_email_address.nil?
|
252
|
+
return false if @display_header.nil?
|
193
253
|
return true
|
194
254
|
end
|
195
255
|
|
@@ -199,15 +259,20 @@ module GroupDocsConversionCloud
|
|
199
259
|
return true if self.equal?(other)
|
200
260
|
self.class == other.class &&
|
201
261
|
format == other.format &&
|
202
|
-
|
203
|
-
display_from_email_address == other.display_from_email_address &&
|
204
|
-
display_to_email_address == other.display_to_email_address &&
|
205
|
-
display_cc_email_address == other.display_cc_email_address &&
|
206
|
-
display_bcc_email_address == other.display_bcc_email_address &&
|
207
|
-
time_zone_offset == other.time_zone_offset &&
|
208
|
-
convert_attachments == other.convert_attachments &&
|
262
|
+
preserve_original_date == other.preserve_original_date &&
|
209
263
|
field_labels == other.field_labels &&
|
210
|
-
|
264
|
+
time_zone_offset == other.time_zone_offset &&
|
265
|
+
display_sent == other.display_sent &&
|
266
|
+
display_subject == other.display_subject &&
|
267
|
+
display_attachments == other.display_attachments &&
|
268
|
+
display_email_addresses == other.display_email_addresses &&
|
269
|
+
display_bcc_email_address == other.display_bcc_email_address &&
|
270
|
+
display_cc_email_address == other.display_cc_email_address &&
|
271
|
+
display_to_email_address == other.display_to_email_address &&
|
272
|
+
display_from_email_address == other.display_from_email_address &&
|
273
|
+
display_header == other.display_header &&
|
274
|
+
default_font == other.default_font &&
|
275
|
+
font_substitutes == other.font_substitutes
|
211
276
|
end
|
212
277
|
|
213
278
|
# @see the `==` method
|
@@ -219,7 +284,7 @@ module GroupDocsConversionCloud
|
|
219
284
|
# Calculates hash code according to all attributes.
|
220
285
|
# @return [Fixnum] Hash code
|
221
286
|
def hash
|
222
|
-
[format,
|
287
|
+
[format, preserve_original_date, field_labels, time_zone_offset, display_sent, display_subject, display_attachments, display_email_addresses, display_bcc_email_address, display_cc_email_address, display_to_email_address, display_from_email_address, display_header, default_font, font_substitutes].hash
|
223
288
|
end
|
224
289
|
|
225
290
|
# Downcases first letter.
|
@@ -34,46 +34,64 @@ 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
|
-
#
|
38
|
-
attr_accessor :
|
37
|
+
# Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
|
38
|
+
attr_accessor :preserve_original_date
|
39
39
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
40
|
+
# The mapping between email message field and field text representation
|
41
|
+
attr_accessor :field_labels
|
42
42
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
43
|
+
# Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
|
44
|
+
attr_accessor :time_zone_offset
|
45
45
|
|
46
|
-
# Option to display or hide
|
47
|
-
attr_accessor :
|
46
|
+
# Option to display or hide sent date/time in the header. Default: true.
|
47
|
+
attr_accessor :display_sent
|
48
|
+
|
49
|
+
# Option to display or hide subject in the header. Default: true.
|
50
|
+
attr_accessor :display_subject
|
51
|
+
|
52
|
+
# Option to display or hide attachments in the header. Default: true.
|
53
|
+
attr_accessor :display_attachments
|
54
|
+
attr_accessor :display_email_addresses
|
48
55
|
|
49
56
|
# Option to display or hide \"Bcc\" email address. Default: false
|
50
57
|
attr_accessor :display_bcc_email_address
|
51
58
|
|
52
|
-
#
|
53
|
-
attr_accessor :
|
59
|
+
# Option to display or hide \"Cc\" email address. Default: false
|
60
|
+
attr_accessor :display_cc_email_address
|
54
61
|
|
55
|
-
# Option to
|
56
|
-
attr_accessor :
|
62
|
+
# Option to display or hide \"to\" email address. Default: true
|
63
|
+
attr_accessor :display_to_email_address
|
57
64
|
|
58
|
-
#
|
59
|
-
attr_accessor :
|
65
|
+
# Option to display or hide \"from\" email address. Default: true
|
66
|
+
attr_accessor :display_from_email_address
|
60
67
|
|
61
|
-
#
|
62
|
-
attr_accessor :
|
68
|
+
# Option to display or hide the email header. Default: true
|
69
|
+
attr_accessor :display_header
|
70
|
+
|
71
|
+
# Default font for Email document. The following font will be used if a font is missing.
|
72
|
+
attr_accessor :default_font
|
73
|
+
|
74
|
+
# List of font substitutes.
|
75
|
+
attr_accessor :font_substitutes
|
63
76
|
|
64
77
|
# Attribute mapping from ruby-style variable name to JSON key.
|
65
78
|
def self.attribute_map
|
66
79
|
{
|
67
80
|
:'format' => :'Format',
|
68
|
-
:'
|
69
|
-
:'display_from_email_address' => :'DisplayFromEmailAddress',
|
70
|
-
:'display_to_email_address' => :'DisplayToEmailAddress',
|
71
|
-
:'display_cc_email_address' => :'DisplayCcEmailAddress',
|
72
|
-
:'display_bcc_email_address' => :'DisplayBccEmailAddress',
|
73
|
-
:'time_zone_offset' => :'TimeZoneOffset',
|
74
|
-
:'convert_attachments' => :'ConvertAttachments',
|
81
|
+
:'preserve_original_date' => :'PreserveOriginalDate',
|
75
82
|
:'field_labels' => :'FieldLabels',
|
76
|
-
:'
|
83
|
+
:'time_zone_offset' => :'TimeZoneOffset',
|
84
|
+
:'display_sent' => :'DisplaySent',
|
85
|
+
:'display_subject' => :'DisplaySubject',
|
86
|
+
:'display_attachments' => :'DisplayAttachments',
|
87
|
+
:'display_email_addresses' => :'DisplayEmailAddresses',
|
88
|
+
:'display_bcc_email_address' => :'DisplayBccEmailAddress',
|
89
|
+
:'display_cc_email_address' => :'DisplayCcEmailAddress',
|
90
|
+
:'display_to_email_address' => :'DisplayToEmailAddress',
|
91
|
+
:'display_from_email_address' => :'DisplayFromEmailAddress',
|
92
|
+
:'display_header' => :'DisplayHeader',
|
93
|
+
:'default_font' => :'DefaultFont',
|
94
|
+
:'font_substitutes' => :'FontSubstitutes'
|
77
95
|
}
|
78
96
|
end
|
79
97
|
|
@@ -81,15 +99,20 @@ module GroupDocsConversionCloud
|
|
81
99
|
def self.swagger_types
|
82
100
|
{
|
83
101
|
:'format' => :'String',
|
84
|
-
:'
|
85
|
-
:'display_from_email_address' => :'BOOLEAN',
|
86
|
-
:'display_to_email_address' => :'BOOLEAN',
|
87
|
-
:'display_cc_email_address' => :'BOOLEAN',
|
88
|
-
:'display_bcc_email_address' => :'BOOLEAN',
|
89
|
-
:'time_zone_offset' => :'String',
|
90
|
-
:'convert_attachments' => :'BOOLEAN',
|
102
|
+
:'preserve_original_date' => :'BOOLEAN',
|
91
103
|
:'field_labels' => :'Array<FieldLabel>',
|
92
|
-
:'
|
104
|
+
:'time_zone_offset' => :'String',
|
105
|
+
:'display_sent' => :'BOOLEAN',
|
106
|
+
:'display_subject' => :'BOOLEAN',
|
107
|
+
:'display_attachments' => :'BOOLEAN',
|
108
|
+
:'display_email_addresses' => :'BOOLEAN',
|
109
|
+
:'display_bcc_email_address' => :'BOOLEAN',
|
110
|
+
:'display_cc_email_address' => :'BOOLEAN',
|
111
|
+
:'display_to_email_address' => :'BOOLEAN',
|
112
|
+
:'display_from_email_address' => :'BOOLEAN',
|
113
|
+
:'display_header' => :'BOOLEAN',
|
114
|
+
:'default_font' => :'String',
|
115
|
+
:'font_substitutes' => :'Hash<String, String>'
|
93
116
|
}
|
94
117
|
end
|
95
118
|
|
@@ -105,42 +128,64 @@ module GroupDocsConversionCloud
|
|
105
128
|
self.format = attributes[:'Format']
|
106
129
|
end
|
107
130
|
|
108
|
-
if attributes.key?(:'
|
109
|
-
self.
|
131
|
+
if attributes.key?(:'PreserveOriginalDate')
|
132
|
+
self.preserve_original_date = attributes[:'PreserveOriginalDate']
|
110
133
|
end
|
111
134
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
|
135
|
+
if attributes.key?(:'FieldLabels')
|
136
|
+
if (value = attributes[:'FieldLabels']).is_a?(Array)
|
137
|
+
self.field_labels = value
|
138
|
+
end
|
114
139
|
end
|
115
140
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
141
|
+
if attributes.key?(:'TimeZoneOffset')
|
142
|
+
self.time_zone_offset = attributes[:'TimeZoneOffset']
|
118
143
|
end
|
119
144
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
self.
|
145
|
+
if attributes.key?(:'DisplaySent')
|
146
|
+
self.display_sent = attributes[:'DisplaySent']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'DisplaySubject')
|
150
|
+
self.display_subject = attributes[:'DisplaySubject']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.key?(:'DisplayAttachments')
|
154
|
+
self.display_attachments = attributes[:'DisplayAttachments']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'DisplayEmailAddresses')
|
158
|
+
self.display_email_addresses = attributes[:'DisplayEmailAddresses']
|
122
159
|
end
|
123
160
|
|
124
161
|
if attributes.key?(:'DisplayBccEmailAddress')
|
125
162
|
self.display_bcc_email_address = attributes[:'DisplayBccEmailAddress']
|
126
163
|
end
|
127
164
|
|
128
|
-
if attributes.key?(:'
|
129
|
-
self.
|
165
|
+
if attributes.key?(:'DisplayCcEmailAddress')
|
166
|
+
self.display_cc_email_address = attributes[:'DisplayCcEmailAddress']
|
130
167
|
end
|
131
168
|
|
132
|
-
if attributes.key?(:'
|
133
|
-
self.
|
169
|
+
if attributes.key?(:'DisplayToEmailAddress')
|
170
|
+
self.display_to_email_address = attributes[:'DisplayToEmailAddress']
|
134
171
|
end
|
135
172
|
|
136
|
-
if attributes.key?(:'
|
137
|
-
|
138
|
-
self.field_labels = value
|
139
|
-
end
|
173
|
+
if attributes.key?(:'DisplayFromEmailAddress')
|
174
|
+
self.display_from_email_address = attributes[:'DisplayFromEmailAddress']
|
140
175
|
end
|
141
176
|
|
142
|
-
if attributes.key?(:'
|
143
|
-
self.
|
177
|
+
if attributes.key?(:'DisplayHeader')
|
178
|
+
self.display_header = attributes[:'DisplayHeader']
|
179
|
+
end
|
180
|
+
|
181
|
+
if attributes.key?(:'DefaultFont')
|
182
|
+
self.default_font = attributes[:'DefaultFont']
|
183
|
+
end
|
184
|
+
|
185
|
+
if attributes.key?(:'FontSubstitutes')
|
186
|
+
if (value = attributes[:'FontSubstitutes']).is_a?(Hash)
|
187
|
+
self.font_substitutes = value
|
188
|
+
end
|
144
189
|
end
|
145
190
|
|
146
191
|
end
|
@@ -149,32 +194,44 @@ module GroupDocsConversionCloud
|
|
149
194
|
# @return Array for valid properies with the reasons
|
150
195
|
def list_invalid_properties
|
151
196
|
invalid_properties = []
|
152
|
-
if @
|
153
|
-
invalid_properties.push("invalid value for '
|
197
|
+
if @preserve_original_date.nil?
|
198
|
+
invalid_properties.push("invalid value for 'preserve_original_date', preserve_original_date cannot be nil.")
|
154
199
|
end
|
155
200
|
|
156
|
-
if @
|
157
|
-
invalid_properties.push("invalid value for '
|
201
|
+
if @display_sent.nil?
|
202
|
+
invalid_properties.push("invalid value for 'display_sent', display_sent cannot be nil.")
|
158
203
|
end
|
159
204
|
|
160
|
-
if @
|
161
|
-
invalid_properties.push("invalid value for '
|
205
|
+
if @display_subject.nil?
|
206
|
+
invalid_properties.push("invalid value for 'display_subject', display_subject cannot be nil.")
|
162
207
|
end
|
163
208
|
|
164
|
-
if @
|
165
|
-
invalid_properties.push("invalid value for '
|
209
|
+
if @display_attachments.nil?
|
210
|
+
invalid_properties.push("invalid value for 'display_attachments', display_attachments cannot be nil.")
|
211
|
+
end
|
212
|
+
|
213
|
+
if @display_email_addresses.nil?
|
214
|
+
invalid_properties.push("invalid value for 'display_email_addresses', display_email_addresses cannot be nil.")
|
166
215
|
end
|
167
216
|
|
168
217
|
if @display_bcc_email_address.nil?
|
169
218
|
invalid_properties.push("invalid value for 'display_bcc_email_address', display_bcc_email_address cannot be nil.")
|
170
219
|
end
|
171
220
|
|
172
|
-
if @
|
173
|
-
invalid_properties.push("invalid value for '
|
221
|
+
if @display_cc_email_address.nil?
|
222
|
+
invalid_properties.push("invalid value for 'display_cc_email_address', display_cc_email_address cannot be nil.")
|
174
223
|
end
|
175
224
|
|
176
|
-
if @
|
177
|
-
invalid_properties.push("invalid value for '
|
225
|
+
if @display_to_email_address.nil?
|
226
|
+
invalid_properties.push("invalid value for 'display_to_email_address', display_to_email_address cannot be nil.")
|
227
|
+
end
|
228
|
+
|
229
|
+
if @display_from_email_address.nil?
|
230
|
+
invalid_properties.push("invalid value for 'display_from_email_address', display_from_email_address cannot be nil.")
|
231
|
+
end
|
232
|
+
|
233
|
+
if @display_header.nil?
|
234
|
+
invalid_properties.push("invalid value for 'display_header', display_header cannot be nil.")
|
178
235
|
end
|
179
236
|
|
180
237
|
return invalid_properties
|
@@ -183,13 +240,16 @@ module GroupDocsConversionCloud
|
|
183
240
|
# Check to see if the all the properties in the model are valid
|
184
241
|
# @return true if the model is valid
|
185
242
|
def valid?
|
186
|
-
return false if @display_header.nil?
|
187
|
-
return false if @display_from_email_address.nil?
|
188
|
-
return false if @display_to_email_address.nil?
|
189
|
-
return false if @display_cc_email_address.nil?
|
190
|
-
return false if @display_bcc_email_address.nil?
|
191
|
-
return false if @convert_attachments.nil?
|
192
243
|
return false if @preserve_original_date.nil?
|
244
|
+
return false if @display_sent.nil?
|
245
|
+
return false if @display_subject.nil?
|
246
|
+
return false if @display_attachments.nil?
|
247
|
+
return false if @display_email_addresses.nil?
|
248
|
+
return false if @display_bcc_email_address.nil?
|
249
|
+
return false if @display_cc_email_address.nil?
|
250
|
+
return false if @display_to_email_address.nil?
|
251
|
+
return false if @display_from_email_address.nil?
|
252
|
+
return false if @display_header.nil?
|
193
253
|
return true
|
194
254
|
end
|
195
255
|
|
@@ -199,15 +259,20 @@ module GroupDocsConversionCloud
|
|
199
259
|
return true if self.equal?(other)
|
200
260
|
self.class == other.class &&
|
201
261
|
format == other.format &&
|
202
|
-
|
203
|
-
display_from_email_address == other.display_from_email_address &&
|
204
|
-
display_to_email_address == other.display_to_email_address &&
|
205
|
-
display_cc_email_address == other.display_cc_email_address &&
|
206
|
-
display_bcc_email_address == other.display_bcc_email_address &&
|
207
|
-
time_zone_offset == other.time_zone_offset &&
|
208
|
-
convert_attachments == other.convert_attachments &&
|
262
|
+
preserve_original_date == other.preserve_original_date &&
|
209
263
|
field_labels == other.field_labels &&
|
210
|
-
|
264
|
+
time_zone_offset == other.time_zone_offset &&
|
265
|
+
display_sent == other.display_sent &&
|
266
|
+
display_subject == other.display_subject &&
|
267
|
+
display_attachments == other.display_attachments &&
|
268
|
+
display_email_addresses == other.display_email_addresses &&
|
269
|
+
display_bcc_email_address == other.display_bcc_email_address &&
|
270
|
+
display_cc_email_address == other.display_cc_email_address &&
|
271
|
+
display_to_email_address == other.display_to_email_address &&
|
272
|
+
display_from_email_address == other.display_from_email_address &&
|
273
|
+
display_header == other.display_header &&
|
274
|
+
default_font == other.default_font &&
|
275
|
+
font_substitutes == other.font_substitutes
|
211
276
|
end
|
212
277
|
|
213
278
|
# @see the `==` method
|
@@ -219,7 +284,7 @@ module GroupDocsConversionCloud
|
|
219
284
|
# Calculates hash code according to all attributes.
|
220
285
|
# @return [Fixnum] Hash code
|
221
286
|
def hash
|
222
|
-
[format,
|
287
|
+
[format, preserve_original_date, field_labels, time_zone_offset, display_sent, display_subject, display_attachments, display_email_addresses, display_bcc_email_address, display_cc_email_address, display_to_email_address, display_from_email_address, display_header, default_font, font_substitutes].hash
|
223
288
|
end
|
224
289
|
|
225
290
|
# Downcases first letter.
|