aspose_email_cloud 18.7.0 → 19.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose-email-cloud.rb +145 -0
- data/lib/aspose-email-cloud/api/email_api.rb +577 -0
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/api_client.rb +125 -133
- data/lib/aspose-email-cloud/api_error.rb +42 -0
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/configuration.rb +56 -43
- data/lib/aspose-email-cloud/models/account_base_request.rb +250 -0
- data/lib/aspose-email-cloud/models/add_attachment_request.rb +219 -0
- data/lib/aspose-email-cloud/models/append_email_account_base_request.rb +300 -0
- data/lib/aspose-email-cloud/models/append_email_base_request.rb +316 -0
- data/lib/aspose-email-cloud/models/append_email_mime_base_request.rb +335 -0
- data/lib/aspose-email-cloud/models/base_object.rb +225 -0
- data/lib/aspose-email-cloud/models/contact_format.rb +45 -0
- data/lib/aspose-email-cloud/models/create_email_request.rb +224 -0
- data/lib/aspose-email-cloud/models/create_folder_base_request.rb +297 -0
- data/lib/aspose-email-cloud/models/delete_folder_base_request.rb +302 -0
- data/lib/aspose-email-cloud/models/delete_message_base_request.rb +302 -0
- data/lib/aspose-email-cloud/models/disc_usage.rb +229 -0
- data/lib/aspose-email-cloud/models/email_account_request.rb +342 -0
- data/lib/aspose-email-cloud/models/email_document.rb +226 -0
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/models/email_document_response.rb +105 -109
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/models/email_properties.rb +122 -97
- data/lib/aspose-email-cloud/models/email_property.rb +256 -0
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/models/email_property_response.rb +105 -109
- data/lib/aspose-email-cloud/models/error.rb +241 -0
- data/lib/aspose-email-cloud/models/error_details.rb +224 -0
- data/lib/aspose-email-cloud/models/file_version.rb +289 -0
- data/lib/aspose-email-cloud/models/file_versions.rb +210 -0
- data/lib/aspose-email-cloud/models/files_list.rb +210 -0
- data/lib/aspose-email-cloud/models/files_upload_result.rb +223 -0
- data/lib/aspose-email-cloud/models/hierarchical_object.rb +238 -0
- data/lib/aspose-email-cloud/models/hierarchical_object_request.rb +224 -0
- data/lib/aspose-email-cloud/models/hierarchical_object_response.rb +219 -0
- data/lib/aspose-email-cloud/models/indexed_hierarchical_object.rb +254 -0
- data/lib/aspose-email-cloud/models/indexed_primitive_object.rb +252 -0
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/models/link.rb +138 -116
- data/lib/aspose-email-cloud/models/list_response_of_hierarchical_object_response.rb +208 -0
- data/{src/asposeemailcloud/models/email_document.rb → lib/aspose-email-cloud/models/list_response_of_mail_server_folder.rb} +105 -98
- data/{src/asposeemailcloud/models/list_folders_response.rb → lib/aspose-email-cloud/models/list_response_of_string.rb} +105 -111
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/models/mail_server_folder.rb +116 -96
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/models/mime_response.rb +105 -109
- data/lib/aspose-email-cloud/models/object_exist.rb +229 -0
- data/lib/aspose-email-cloud/models/primitive_object.rb +236 -0
- data/lib/aspose-email-cloud/models/requests/add_calendar_attachment_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/add_contact_attachment_request_data.rb +101 -0
- data/lib/aspose-email-cloud/models/requests/add_email_attachment_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/add_mapi_attachment_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/append_email_message_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/append_mime_message_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/copy_file_request_data.rb +92 -0
- data/lib/aspose-email-cloud/models/requests/copy_folder_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/create_calendar_request_data.rb +82 -0
- data/lib/aspose-email-cloud/models/requests/create_contact_request_data.rb +94 -0
- data/lib/aspose-email-cloud/models/requests/create_email_folder_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/create_email_request_data.rb +82 -0
- data/lib/aspose-email-cloud/models/requests/create_folder_request_data.rb +78 -0
- data/lib/aspose-email-cloud/models/requests/create_mapi_request_data.rb +82 -0
- data/lib/aspose-email-cloud/models/requests/delete_calendar_property_request_data.rb +96 -0
- data/lib/aspose-email-cloud/models/requests/delete_contact_property_request_data.rb +108 -0
- data/lib/aspose-email-cloud/models/requests/delete_email_folder_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/delete_email_message_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/delete_file_request_data.rb +81 -0
- data/lib/aspose-email-cloud/models/requests/delete_folder_request_data.rb +81 -0
- data/lib/aspose-email-cloud/models/requests/delete_mapi_attachment_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/delete_mapi_properties_request_data.rb +82 -0
- data/lib/aspose-email-cloud/models/requests/download_file_request_data.rb +81 -0
- data/lib/aspose-email-cloud/models/requests/email_request.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/fetch_email_message_request_data.rb +93 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_attachment_request_data.rb +88 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_list_request_data.rb +95 -0
- data/lib/aspose-email-cloud/models/requests/get_calendar_request_data.rb +81 -0
- data/lib/aspose-email-cloud/models/requests/get_contact_attachment_request_data.rb +100 -0
- data/lib/aspose-email-cloud/models/requests/get_contact_list_request_data.rb +92 -0
- data/lib/aspose-email-cloud/models/requests/get_contact_properties_request_data.rb +93 -0
- data/lib/aspose-email-cloud/models/requests/get_disc_usage_request_data.rb +71 -0
- data/lib/aspose-email-cloud/models/requests/get_email_attachment_request_data.rb +88 -0
- data/lib/aspose-email-cloud/models/requests/get_email_property_request_data.rb +88 -0
- data/lib/aspose-email-cloud/models/requests/get_email_request_data.rb +81 -0
- data/lib/aspose-email-cloud/models/requests/get_file_versions_request_data.rb +78 -0
- data/lib/aspose-email-cloud/models/requests/get_files_list_request_data.rb +78 -0
- data/lib/aspose-email-cloud/models/requests/get_mapi_attachment_request_data.rb +88 -0
- data/lib/aspose-email-cloud/models/requests/get_mapi_attachments_request_data.rb +81 -0
- data/lib/aspose-email-cloud/models/requests/get_mapi_list_request_data.rb +80 -0
- data/lib/aspose-email-cloud/models/requests/get_mapi_properties_request_data.rb +81 -0
- data/lib/aspose-email-cloud/models/requests/http_request.rb +51 -0
- data/lib/aspose-email-cloud/models/requests/list_email_folders_request_data.rb +88 -0
- data/lib/aspose-email-cloud/models/requests/list_email_messages_request_data.rb +105 -0
- data/lib/aspose-email-cloud/models/requests/move_file_request_data.rb +92 -0
- data/lib/aspose-email-cloud/models/requests/move_folder_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/object_exists_request_data.rb +81 -0
- data/lib/aspose-email-cloud/models/requests/save_mail_account_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/save_mail_o_auth_account_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/send_email_mime_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/send_email_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/set_email_property_request_data.rb +89 -0
- data/lib/aspose-email-cloud/models/requests/set_email_read_flag_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/storage_exists_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/update_calendar_properties_request_data.rb +82 -0
- data/lib/aspose-email-cloud/models/requests/update_contact_properties_request_data.rb +94 -0
- data/lib/aspose-email-cloud/models/requests/update_mapi_properties_request_data.rb +82 -0
- data/lib/aspose-email-cloud/models/requests/upload_file_request_data.rb +87 -0
- data/lib/aspose-email-cloud/models/save_email_account_request.rb +377 -0
- data/lib/aspose-email-cloud/models/save_o_auth_email_account_request.rb +447 -0
- data/lib/aspose-email-cloud/models/send_email_base_request.rb +267 -0
- data/lib/aspose-email-cloud/models/send_email_mime_base_request.rb +286 -0
- data/lib/aspose-email-cloud/models/set_email_property_request.rb +224 -0
- data/lib/aspose-email-cloud/models/set_message_read_flag_account_base_request.rb +302 -0
- data/{src/asposeemailcloud/models/email_property.rb → lib/aspose-email-cloud/models/storage_exist.rb} +110 -96
- data/lib/aspose-email-cloud/models/storage_file.rb +262 -0
- data/lib/aspose-email-cloud/models/storage_file_location.rb +254 -0
- data/lib/aspose-email-cloud/models/storage_folder_location.rb +219 -0
- data/{src/asposeemailcloud/models/list_response.rb → lib/aspose-email-cloud/models/value_response.rb} +105 -111
- data/{src/asposeemailcloud → lib/aspose-email-cloud}/version.rb +4 -4
- metadata +128 -38
- data/src/asposeemailcloud.rb +0 -55
- data/src/asposeemailcloud/api/email_api.rb +0 -418
- data/src/asposeemailcloud/api/email_client_api.rb +0 -960
- data/src/asposeemailcloud/api_error.rb +0 -38
- data/src/asposeemailcloud/models/http_status_code.rb +0 -76
- data/src/asposeemailcloud/models/protocol_type.rb +0 -34
- data/src/asposeemailcloud/models/saa_spose_response.rb +0 -202
- data/src/asposeemailcloud/models/security_options.rb +0 -33
@@ -1,15 +1,15 @@
|
|
1
1
|
=begin
|
2
|
-
#Aspose.Email
|
2
|
+
#Aspose.Email Cloud API Reference
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version:
|
6
|
+
OpenAPI spec version: 3.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version:
|
9
|
+
Swagger Codegen version: 2.4.9
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AsposeEmailCloud
|
14
|
-
VERSION =
|
14
|
+
VERSION = '19.11.0'
|
15
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_email_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 19.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aspose.Email team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -42,42 +42,42 @@ dependencies:
|
|
42
42
|
name: json
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2.1'
|
48
45
|
- - ">="
|
49
46
|
- !ruby/object:Gem::Version
|
50
47
|
version: 2.1.0
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '2.1'
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- - "~>"
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '2.1'
|
58
55
|
- - ">="
|
59
56
|
- !ruby/object:Gem::Version
|
60
57
|
version: 2.1.0
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '2.1'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rspec
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '3.6'
|
68
65
|
- - ">="
|
69
66
|
- !ruby/object:Gem::Version
|
70
67
|
version: 3.6.0
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '3.6'
|
71
71
|
type: :development
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '3.6'
|
78
75
|
- - ">="
|
79
76
|
- !ruby/object:Gem::Version
|
80
77
|
version: 3.6.0
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '3.6'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: vcr
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,27 +205,118 @@ executables: []
|
|
205
205
|
extensions: []
|
206
206
|
extra_rdoc_files: []
|
207
207
|
files:
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
-
|
220
|
-
-
|
221
|
-
-
|
222
|
-
-
|
223
|
-
-
|
224
|
-
-
|
225
|
-
-
|
226
|
-
-
|
227
|
-
-
|
228
|
-
-
|
208
|
+
- lib/aspose-email-cloud.rb
|
209
|
+
- lib/aspose-email-cloud/api/email_api.rb
|
210
|
+
- lib/aspose-email-cloud/api_client.rb
|
211
|
+
- lib/aspose-email-cloud/api_error.rb
|
212
|
+
- lib/aspose-email-cloud/configuration.rb
|
213
|
+
- lib/aspose-email-cloud/models/account_base_request.rb
|
214
|
+
- lib/aspose-email-cloud/models/add_attachment_request.rb
|
215
|
+
- lib/aspose-email-cloud/models/append_email_account_base_request.rb
|
216
|
+
- lib/aspose-email-cloud/models/append_email_base_request.rb
|
217
|
+
- lib/aspose-email-cloud/models/append_email_mime_base_request.rb
|
218
|
+
- lib/aspose-email-cloud/models/base_object.rb
|
219
|
+
- lib/aspose-email-cloud/models/contact_format.rb
|
220
|
+
- lib/aspose-email-cloud/models/create_email_request.rb
|
221
|
+
- lib/aspose-email-cloud/models/create_folder_base_request.rb
|
222
|
+
- lib/aspose-email-cloud/models/delete_folder_base_request.rb
|
223
|
+
- lib/aspose-email-cloud/models/delete_message_base_request.rb
|
224
|
+
- lib/aspose-email-cloud/models/disc_usage.rb
|
225
|
+
- lib/aspose-email-cloud/models/email_account_request.rb
|
226
|
+
- lib/aspose-email-cloud/models/email_document.rb
|
227
|
+
- lib/aspose-email-cloud/models/email_document_response.rb
|
228
|
+
- lib/aspose-email-cloud/models/email_properties.rb
|
229
|
+
- lib/aspose-email-cloud/models/email_property.rb
|
230
|
+
- lib/aspose-email-cloud/models/email_property_response.rb
|
231
|
+
- lib/aspose-email-cloud/models/error.rb
|
232
|
+
- lib/aspose-email-cloud/models/error_details.rb
|
233
|
+
- lib/aspose-email-cloud/models/file_version.rb
|
234
|
+
- lib/aspose-email-cloud/models/file_versions.rb
|
235
|
+
- lib/aspose-email-cloud/models/files_list.rb
|
236
|
+
- lib/aspose-email-cloud/models/files_upload_result.rb
|
237
|
+
- lib/aspose-email-cloud/models/hierarchical_object.rb
|
238
|
+
- lib/aspose-email-cloud/models/hierarchical_object_request.rb
|
239
|
+
- lib/aspose-email-cloud/models/hierarchical_object_response.rb
|
240
|
+
- lib/aspose-email-cloud/models/indexed_hierarchical_object.rb
|
241
|
+
- lib/aspose-email-cloud/models/indexed_primitive_object.rb
|
242
|
+
- lib/aspose-email-cloud/models/link.rb
|
243
|
+
- lib/aspose-email-cloud/models/list_response_of_hierarchical_object_response.rb
|
244
|
+
- lib/aspose-email-cloud/models/list_response_of_mail_server_folder.rb
|
245
|
+
- lib/aspose-email-cloud/models/list_response_of_string.rb
|
246
|
+
- lib/aspose-email-cloud/models/mail_server_folder.rb
|
247
|
+
- lib/aspose-email-cloud/models/mime_response.rb
|
248
|
+
- lib/aspose-email-cloud/models/object_exist.rb
|
249
|
+
- lib/aspose-email-cloud/models/primitive_object.rb
|
250
|
+
- lib/aspose-email-cloud/models/requests/add_calendar_attachment_request_data.rb
|
251
|
+
- lib/aspose-email-cloud/models/requests/add_contact_attachment_request_data.rb
|
252
|
+
- lib/aspose-email-cloud/models/requests/add_email_attachment_request_data.rb
|
253
|
+
- lib/aspose-email-cloud/models/requests/add_mapi_attachment_request_data.rb
|
254
|
+
- lib/aspose-email-cloud/models/requests/append_email_message_request_data.rb
|
255
|
+
- lib/aspose-email-cloud/models/requests/append_mime_message_request_data.rb
|
256
|
+
- lib/aspose-email-cloud/models/requests/copy_file_request_data.rb
|
257
|
+
- lib/aspose-email-cloud/models/requests/copy_folder_request_data.rb
|
258
|
+
- lib/aspose-email-cloud/models/requests/create_calendar_request_data.rb
|
259
|
+
- lib/aspose-email-cloud/models/requests/create_contact_request_data.rb
|
260
|
+
- lib/aspose-email-cloud/models/requests/create_email_folder_request_data.rb
|
261
|
+
- lib/aspose-email-cloud/models/requests/create_email_request_data.rb
|
262
|
+
- lib/aspose-email-cloud/models/requests/create_folder_request_data.rb
|
263
|
+
- lib/aspose-email-cloud/models/requests/create_mapi_request_data.rb
|
264
|
+
- lib/aspose-email-cloud/models/requests/delete_calendar_property_request_data.rb
|
265
|
+
- lib/aspose-email-cloud/models/requests/delete_contact_property_request_data.rb
|
266
|
+
- lib/aspose-email-cloud/models/requests/delete_email_folder_request_data.rb
|
267
|
+
- lib/aspose-email-cloud/models/requests/delete_email_message_request_data.rb
|
268
|
+
- lib/aspose-email-cloud/models/requests/delete_file_request_data.rb
|
269
|
+
- lib/aspose-email-cloud/models/requests/delete_folder_request_data.rb
|
270
|
+
- lib/aspose-email-cloud/models/requests/delete_mapi_attachment_request_data.rb
|
271
|
+
- lib/aspose-email-cloud/models/requests/delete_mapi_properties_request_data.rb
|
272
|
+
- lib/aspose-email-cloud/models/requests/download_file_request_data.rb
|
273
|
+
- lib/aspose-email-cloud/models/requests/email_request.rb
|
274
|
+
- lib/aspose-email-cloud/models/requests/fetch_email_message_request_data.rb
|
275
|
+
- lib/aspose-email-cloud/models/requests/get_calendar_attachment_request_data.rb
|
276
|
+
- lib/aspose-email-cloud/models/requests/get_calendar_list_request_data.rb
|
277
|
+
- lib/aspose-email-cloud/models/requests/get_calendar_request_data.rb
|
278
|
+
- lib/aspose-email-cloud/models/requests/get_contact_attachment_request_data.rb
|
279
|
+
- lib/aspose-email-cloud/models/requests/get_contact_list_request_data.rb
|
280
|
+
- lib/aspose-email-cloud/models/requests/get_contact_properties_request_data.rb
|
281
|
+
- lib/aspose-email-cloud/models/requests/get_disc_usage_request_data.rb
|
282
|
+
- lib/aspose-email-cloud/models/requests/get_email_attachment_request_data.rb
|
283
|
+
- lib/aspose-email-cloud/models/requests/get_email_property_request_data.rb
|
284
|
+
- lib/aspose-email-cloud/models/requests/get_email_request_data.rb
|
285
|
+
- lib/aspose-email-cloud/models/requests/get_file_versions_request_data.rb
|
286
|
+
- lib/aspose-email-cloud/models/requests/get_files_list_request_data.rb
|
287
|
+
- lib/aspose-email-cloud/models/requests/get_mapi_attachment_request_data.rb
|
288
|
+
- lib/aspose-email-cloud/models/requests/get_mapi_attachments_request_data.rb
|
289
|
+
- lib/aspose-email-cloud/models/requests/get_mapi_list_request_data.rb
|
290
|
+
- lib/aspose-email-cloud/models/requests/get_mapi_properties_request_data.rb
|
291
|
+
- lib/aspose-email-cloud/models/requests/http_request.rb
|
292
|
+
- lib/aspose-email-cloud/models/requests/list_email_folders_request_data.rb
|
293
|
+
- lib/aspose-email-cloud/models/requests/list_email_messages_request_data.rb
|
294
|
+
- lib/aspose-email-cloud/models/requests/move_file_request_data.rb
|
295
|
+
- lib/aspose-email-cloud/models/requests/move_folder_request_data.rb
|
296
|
+
- lib/aspose-email-cloud/models/requests/object_exists_request_data.rb
|
297
|
+
- lib/aspose-email-cloud/models/requests/save_mail_account_request_data.rb
|
298
|
+
- lib/aspose-email-cloud/models/requests/save_mail_o_auth_account_request_data.rb
|
299
|
+
- lib/aspose-email-cloud/models/requests/send_email_mime_request_data.rb
|
300
|
+
- lib/aspose-email-cloud/models/requests/send_email_request_data.rb
|
301
|
+
- lib/aspose-email-cloud/models/requests/set_email_property_request_data.rb
|
302
|
+
- lib/aspose-email-cloud/models/requests/set_email_read_flag_request_data.rb
|
303
|
+
- lib/aspose-email-cloud/models/requests/storage_exists_request_data.rb
|
304
|
+
- lib/aspose-email-cloud/models/requests/update_calendar_properties_request_data.rb
|
305
|
+
- lib/aspose-email-cloud/models/requests/update_contact_properties_request_data.rb
|
306
|
+
- lib/aspose-email-cloud/models/requests/update_mapi_properties_request_data.rb
|
307
|
+
- lib/aspose-email-cloud/models/requests/upload_file_request_data.rb
|
308
|
+
- lib/aspose-email-cloud/models/save_email_account_request.rb
|
309
|
+
- lib/aspose-email-cloud/models/save_o_auth_email_account_request.rb
|
310
|
+
- lib/aspose-email-cloud/models/send_email_base_request.rb
|
311
|
+
- lib/aspose-email-cloud/models/send_email_mime_base_request.rb
|
312
|
+
- lib/aspose-email-cloud/models/set_email_property_request.rb
|
313
|
+
- lib/aspose-email-cloud/models/set_message_read_flag_account_base_request.rb
|
314
|
+
- lib/aspose-email-cloud/models/storage_exist.rb
|
315
|
+
- lib/aspose-email-cloud/models/storage_file.rb
|
316
|
+
- lib/aspose-email-cloud/models/storage_file_location.rb
|
317
|
+
- lib/aspose-email-cloud/models/storage_folder_location.rb
|
318
|
+
- lib/aspose-email-cloud/models/value_response.rb
|
319
|
+
- lib/aspose-email-cloud/version.rb
|
229
320
|
homepage: https://github.com/aspose-email-cloud/aspose-email-cloud-ruby
|
230
321
|
licenses:
|
231
322
|
- MIT
|
@@ -233,7 +324,7 @@ metadata: {}
|
|
233
324
|
post_install_message:
|
234
325
|
rdoc_options: []
|
235
326
|
require_paths:
|
236
|
-
-
|
327
|
+
- lib
|
237
328
|
required_ruby_version: !ruby/object:Gem::Requirement
|
238
329
|
requirements:
|
239
330
|
- - ">="
|
@@ -245,8 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
336
|
- !ruby/object:Gem::Version
|
246
337
|
version: '0'
|
247
338
|
requirements: []
|
248
|
-
|
249
|
-
rubygems_version: 2.7.6
|
339
|
+
rubygems_version: 3.0.3
|
250
340
|
signing_key:
|
251
341
|
specification_version: 4
|
252
342
|
summary: A ruby wrapper for Aspose.Email for Cloud
|
data/src/asposeemailcloud.rb
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Aspose.Email for Cloud API Reference
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
# Common files
|
14
|
-
require 'asposeemailcloud/api_client'
|
15
|
-
require 'asposeemailcloud/api_error'
|
16
|
-
require 'asposeemailcloud/version'
|
17
|
-
require 'asposeemailcloud/configuration'
|
18
|
-
|
19
|
-
# Models
|
20
|
-
require 'asposeemailcloud/models/email_document'
|
21
|
-
require 'asposeemailcloud/models/email_properties'
|
22
|
-
require 'asposeemailcloud/models/email_property'
|
23
|
-
require 'asposeemailcloud/models/http_status_code'
|
24
|
-
require 'asposeemailcloud/models/link'
|
25
|
-
require 'asposeemailcloud/models/mail_server_folder'
|
26
|
-
require 'asposeemailcloud/models/protocol_type'
|
27
|
-
require 'asposeemailcloud/models/saa_spose_response'
|
28
|
-
require 'asposeemailcloud/models/security_options'
|
29
|
-
require 'asposeemailcloud/models/email_document_response'
|
30
|
-
require 'asposeemailcloud/models/email_property_response'
|
31
|
-
require 'asposeemailcloud/models/list_folders_response'
|
32
|
-
require 'asposeemailcloud/models/list_response'
|
33
|
-
require 'asposeemailcloud/models/mime_response'
|
34
|
-
|
35
|
-
# APIs
|
36
|
-
require 'asposeemailcloud/api/email_api'
|
37
|
-
require 'asposeemailcloud/api/email_client_api'
|
38
|
-
|
39
|
-
module asposeemailcloud
|
40
|
-
class << self
|
41
|
-
# Customize default settings for the SDK using block.
|
42
|
-
# asposeemailcloud.configure do |config|
|
43
|
-
# config.username = "xxx"
|
44
|
-
# config.password = "xxx"
|
45
|
-
# end
|
46
|
-
# If no block given, return the default Configuration object.
|
47
|
-
def configure
|
48
|
-
if block_given?
|
49
|
-
yield(Configuration.default)
|
50
|
-
else
|
51
|
-
Configuration.default
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
@@ -1,418 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Aspose.Email for Cloud API Reference
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require "uri"
|
14
|
-
|
15
|
-
module asposeemailcloud
|
16
|
-
class EmailApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
|
23
|
-
# Get document
|
24
|
-
#
|
25
|
-
# @param name
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [String] :storage
|
28
|
-
# @option opts [String] :folder
|
29
|
-
# @return [File]
|
30
|
-
def email_get_document(name, opts = {})
|
31
|
-
data, _status_code, _headers = email_get_document_with_http_info(name, opts)
|
32
|
-
return data
|
33
|
-
end
|
34
|
-
|
35
|
-
# Get document
|
36
|
-
#
|
37
|
-
# @param name
|
38
|
-
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :storage
|
40
|
-
# @option opts [String] :folder
|
41
|
-
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
42
|
-
def email_get_document_with_http_info(name, opts = {})
|
43
|
-
if @api_client.config.debugging
|
44
|
-
@api_client.config.logger.debug "Calling API: EmailApi.email_get_document ..."
|
45
|
-
end
|
46
|
-
# verify the required parameter 'name' is set
|
47
|
-
if @api_client.config.client_side_validation && name.nil?
|
48
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling EmailApi.email_get_document"
|
49
|
-
end
|
50
|
-
# resource path
|
51
|
-
local_var_path = "/email/{name}".sub('{' + 'name' + '}', name.to_s)
|
52
|
-
|
53
|
-
# query parameters
|
54
|
-
query_params = {}
|
55
|
-
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
56
|
-
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
57
|
-
|
58
|
-
# header parameters
|
59
|
-
header_params = {}
|
60
|
-
# HTTP header 'Accept' (if needed)
|
61
|
-
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
|
62
|
-
# HTTP header 'Content-Type'
|
63
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
64
|
-
|
65
|
-
# form parameters
|
66
|
-
form_params = {}
|
67
|
-
|
68
|
-
# http body (model)
|
69
|
-
post_body = nil
|
70
|
-
auth_names = []
|
71
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
72
|
-
:header_params => header_params,
|
73
|
-
:query_params => query_params,
|
74
|
-
:form_params => form_params,
|
75
|
-
:body => post_body,
|
76
|
-
:auth_names => auth_names,
|
77
|
-
:return_type => 'File')
|
78
|
-
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug "API called: EmailApi#email_get_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
|
-
end
|
81
|
-
return data, status_code, headers
|
82
|
-
end
|
83
|
-
|
84
|
-
# Get email attachment
|
85
|
-
#
|
86
|
-
# @param name
|
87
|
-
# @param attach_name
|
88
|
-
# @param [Hash] opts the optional parameters
|
89
|
-
# @option opts [String] :storage
|
90
|
-
# @option opts [String] :folder
|
91
|
-
# @return [File]
|
92
|
-
def email_get_email_attachment(name, attach_name, opts = {})
|
93
|
-
data, _status_code, _headers = email_get_email_attachment_with_http_info(name, attach_name, opts)
|
94
|
-
return data
|
95
|
-
end
|
96
|
-
|
97
|
-
# Get email attachment
|
98
|
-
#
|
99
|
-
# @param name
|
100
|
-
# @param attach_name
|
101
|
-
# @param [Hash] opts the optional parameters
|
102
|
-
# @option opts [String] :storage
|
103
|
-
# @option opts [String] :folder
|
104
|
-
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
105
|
-
def email_get_email_attachment_with_http_info(name, attach_name, opts = {})
|
106
|
-
if @api_client.config.debugging
|
107
|
-
@api_client.config.logger.debug "Calling API: EmailApi.email_get_email_attachment ..."
|
108
|
-
end
|
109
|
-
# verify the required parameter 'name' is set
|
110
|
-
if @api_client.config.client_side_validation && name.nil?
|
111
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling EmailApi.email_get_email_attachment"
|
112
|
-
end
|
113
|
-
# verify the required parameter 'attach_name' is set
|
114
|
-
if @api_client.config.client_side_validation && attach_name.nil?
|
115
|
-
fail ArgumentError, "Missing the required parameter 'attach_name' when calling EmailApi.email_get_email_attachment"
|
116
|
-
end
|
117
|
-
# resource path
|
118
|
-
local_var_path = "/email/{name}/attachments/{attachName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'attachName' + '}', attach_name.to_s)
|
119
|
-
|
120
|
-
# query parameters
|
121
|
-
query_params = {}
|
122
|
-
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
123
|
-
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
124
|
-
|
125
|
-
# header parameters
|
126
|
-
header_params = {}
|
127
|
-
# HTTP header 'Accept' (if needed)
|
128
|
-
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
|
129
|
-
# HTTP header 'Content-Type'
|
130
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
131
|
-
|
132
|
-
# form parameters
|
133
|
-
form_params = {}
|
134
|
-
|
135
|
-
# http body (model)
|
136
|
-
post_body = nil
|
137
|
-
auth_names = []
|
138
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
139
|
-
:header_params => header_params,
|
140
|
-
:query_params => query_params,
|
141
|
-
:form_params => form_params,
|
142
|
-
:body => post_body,
|
143
|
-
:auth_names => auth_names,
|
144
|
-
:return_type => 'File')
|
145
|
-
if @api_client.config.debugging
|
146
|
-
@api_client.config.logger.debug "API called: EmailApi#email_get_email_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
147
|
-
end
|
148
|
-
return data, status_code, headers
|
149
|
-
end
|
150
|
-
|
151
|
-
# Get email property
|
152
|
-
#
|
153
|
-
# @param property_name
|
154
|
-
# @param name
|
155
|
-
# @param [Hash] opts the optional parameters
|
156
|
-
# @option opts [String] :storage
|
157
|
-
# @option opts [String] :folder
|
158
|
-
# @return [File]
|
159
|
-
def email_get_email_property(property_name, name, opts = {})
|
160
|
-
data, _status_code, _headers = email_get_email_property_with_http_info(property_name, name, opts)
|
161
|
-
return data
|
162
|
-
end
|
163
|
-
|
164
|
-
# Get email property
|
165
|
-
#
|
166
|
-
# @param property_name
|
167
|
-
# @param name
|
168
|
-
# @param [Hash] opts the optional parameters
|
169
|
-
# @option opts [String] :storage
|
170
|
-
# @option opts [String] :folder
|
171
|
-
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
172
|
-
def email_get_email_property_with_http_info(property_name, name, opts = {})
|
173
|
-
if @api_client.config.debugging
|
174
|
-
@api_client.config.logger.debug "Calling API: EmailApi.email_get_email_property ..."
|
175
|
-
end
|
176
|
-
# verify the required parameter 'property_name' is set
|
177
|
-
if @api_client.config.client_side_validation && property_name.nil?
|
178
|
-
fail ArgumentError, "Missing the required parameter 'property_name' when calling EmailApi.email_get_email_property"
|
179
|
-
end
|
180
|
-
# verify the required parameter 'name' is set
|
181
|
-
if @api_client.config.client_side_validation && name.nil?
|
182
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling EmailApi.email_get_email_property"
|
183
|
-
end
|
184
|
-
# resource path
|
185
|
-
local_var_path = "/email/{name}/properties/{propertyName}".sub('{' + 'propertyName' + '}', property_name.to_s).sub('{' + 'name' + '}', name.to_s)
|
186
|
-
|
187
|
-
# query parameters
|
188
|
-
query_params = {}
|
189
|
-
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
190
|
-
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
191
|
-
|
192
|
-
# header parameters
|
193
|
-
header_params = {}
|
194
|
-
# HTTP header 'Accept' (if needed)
|
195
|
-
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
|
196
|
-
# HTTP header 'Content-Type'
|
197
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
198
|
-
|
199
|
-
# form parameters
|
200
|
-
form_params = {}
|
201
|
-
|
202
|
-
# http body (model)
|
203
|
-
post_body = nil
|
204
|
-
auth_names = []
|
205
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
206
|
-
:header_params => header_params,
|
207
|
-
:query_params => query_params,
|
208
|
-
:form_params => form_params,
|
209
|
-
:body => post_body,
|
210
|
-
:auth_names => auth_names,
|
211
|
-
:return_type => 'File')
|
212
|
-
if @api_client.config.debugging
|
213
|
-
@api_client.config.logger.debug "API called: EmailApi#email_get_email_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
214
|
-
end
|
215
|
-
return data, status_code, headers
|
216
|
-
end
|
217
|
-
|
218
|
-
# Post add email attachment
|
219
|
-
#
|
220
|
-
# @param name
|
221
|
-
# @param attach_name
|
222
|
-
# @param [Hash] opts the optional parameters
|
223
|
-
# @option opts [String] :storage
|
224
|
-
# @option opts [String] :folder
|
225
|
-
# @return [EmailDocumentResponse]
|
226
|
-
def email_post_add_email_attachment(name, attach_name, opts = {})
|
227
|
-
data, _status_code, _headers = email_post_add_email_attachment_with_http_info(name, attach_name, opts)
|
228
|
-
return data
|
229
|
-
end
|
230
|
-
|
231
|
-
# Post add email attachment
|
232
|
-
#
|
233
|
-
# @param name
|
234
|
-
# @param attach_name
|
235
|
-
# @param [Hash] opts the optional parameters
|
236
|
-
# @option opts [String] :storage
|
237
|
-
# @option opts [String] :folder
|
238
|
-
# @return [Array<(EmailDocumentResponse, Fixnum, Hash)>] EmailDocumentResponse data, response status code and response headers
|
239
|
-
def email_post_add_email_attachment_with_http_info(name, attach_name, opts = {})
|
240
|
-
if @api_client.config.debugging
|
241
|
-
@api_client.config.logger.debug "Calling API: EmailApi.email_post_add_email_attachment ..."
|
242
|
-
end
|
243
|
-
# verify the required parameter 'name' is set
|
244
|
-
if @api_client.config.client_side_validation && name.nil?
|
245
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling EmailApi.email_post_add_email_attachment"
|
246
|
-
end
|
247
|
-
# verify the required parameter 'attach_name' is set
|
248
|
-
if @api_client.config.client_side_validation && attach_name.nil?
|
249
|
-
fail ArgumentError, "Missing the required parameter 'attach_name' when calling EmailApi.email_post_add_email_attachment"
|
250
|
-
end
|
251
|
-
# resource path
|
252
|
-
local_var_path = "/email/{name}/attachments".sub('{' + 'name' + '}', name.to_s)
|
253
|
-
|
254
|
-
# query parameters
|
255
|
-
query_params = {}
|
256
|
-
query_params[:'attachName'] = attach_name
|
257
|
-
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
258
|
-
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
259
|
-
|
260
|
-
# header parameters
|
261
|
-
header_params = {}
|
262
|
-
# HTTP header 'Accept' (if needed)
|
263
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
264
|
-
# HTTP header 'Content-Type'
|
265
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
266
|
-
|
267
|
-
# form parameters
|
268
|
-
form_params = {}
|
269
|
-
|
270
|
-
# http body (model)
|
271
|
-
post_body = nil
|
272
|
-
auth_names = []
|
273
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
274
|
-
:header_params => header_params,
|
275
|
-
:query_params => query_params,
|
276
|
-
:form_params => form_params,
|
277
|
-
:body => post_body,
|
278
|
-
:auth_names => auth_names,
|
279
|
-
:return_type => 'EmailDocumentResponse')
|
280
|
-
if @api_client.config.debugging
|
281
|
-
@api_client.config.logger.debug "API called: EmailApi#email_post_add_email_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
282
|
-
end
|
283
|
-
return data, status_code, headers
|
284
|
-
end
|
285
|
-
|
286
|
-
# Put creatw new email
|
287
|
-
#
|
288
|
-
# @param name
|
289
|
-
# @param [Hash] opts the optional parameters
|
290
|
-
# @option opts [EmailDocument] :email
|
291
|
-
# @option opts [String] :storage
|
292
|
-
# @option opts [String] :folder
|
293
|
-
# @return [EmailDocumentResponse]
|
294
|
-
def email_put_create_new_email(name, opts = {})
|
295
|
-
data, _status_code, _headers = email_put_create_new_email_with_http_info(name, opts)
|
296
|
-
return data
|
297
|
-
end
|
298
|
-
|
299
|
-
# Put creatw new email
|
300
|
-
#
|
301
|
-
# @param name
|
302
|
-
# @param [Hash] opts the optional parameters
|
303
|
-
# @option opts [EmailDocument] :email
|
304
|
-
# @option opts [String] :storage
|
305
|
-
# @option opts [String] :folder
|
306
|
-
# @return [Array<(EmailDocumentResponse, Fixnum, Hash)>] EmailDocumentResponse data, response status code and response headers
|
307
|
-
def email_put_create_new_email_with_http_info(name, opts = {})
|
308
|
-
if @api_client.config.debugging
|
309
|
-
@api_client.config.logger.debug "Calling API: EmailApi.email_put_create_new_email ..."
|
310
|
-
end
|
311
|
-
# verify the required parameter 'name' is set
|
312
|
-
if @api_client.config.client_side_validation && name.nil?
|
313
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling EmailApi.email_put_create_new_email"
|
314
|
-
end
|
315
|
-
# resource path
|
316
|
-
local_var_path = "/email/{name}".sub('{' + 'name' + '}', name.to_s)
|
317
|
-
|
318
|
-
# query parameters
|
319
|
-
query_params = {}
|
320
|
-
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
321
|
-
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
322
|
-
|
323
|
-
# header parameters
|
324
|
-
header_params = {}
|
325
|
-
# HTTP header 'Accept' (if needed)
|
326
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
327
|
-
# HTTP header 'Content-Type'
|
328
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
329
|
-
|
330
|
-
# form parameters
|
331
|
-
form_params = {}
|
332
|
-
|
333
|
-
# http body (model)
|
334
|
-
post_body = @api_client.object_to_http_body(opts[:'email'])
|
335
|
-
auth_names = []
|
336
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
337
|
-
:header_params => header_params,
|
338
|
-
:query_params => query_params,
|
339
|
-
:form_params => form_params,
|
340
|
-
:body => post_body,
|
341
|
-
:auth_names => auth_names,
|
342
|
-
:return_type => 'EmailDocumentResponse')
|
343
|
-
if @api_client.config.debugging
|
344
|
-
@api_client.config.logger.debug "API called: EmailApi#email_put_create_new_email\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
345
|
-
end
|
346
|
-
return data, status_code, headers
|
347
|
-
end
|
348
|
-
|
349
|
-
# Put set email property
|
350
|
-
#
|
351
|
-
# @param name
|
352
|
-
# @param property_name
|
353
|
-
# @param [Hash] opts the optional parameters
|
354
|
-
# @option opts [EmailProperty] :property
|
355
|
-
# @option opts [String] :storage
|
356
|
-
# @option opts [String] :folder
|
357
|
-
# @return [EmailPropertyResponse]
|
358
|
-
def email_put_set_email_property(name, property_name, opts = {})
|
359
|
-
data, _status_code, _headers = email_put_set_email_property_with_http_info(name, property_name, opts)
|
360
|
-
return data
|
361
|
-
end
|
362
|
-
|
363
|
-
# Put set email property
|
364
|
-
#
|
365
|
-
# @param name
|
366
|
-
# @param property_name
|
367
|
-
# @param [Hash] opts the optional parameters
|
368
|
-
# @option opts [EmailProperty] :property
|
369
|
-
# @option opts [String] :storage
|
370
|
-
# @option opts [String] :folder
|
371
|
-
# @return [Array<(EmailPropertyResponse, Fixnum, Hash)>] EmailPropertyResponse data, response status code and response headers
|
372
|
-
def email_put_set_email_property_with_http_info(name, property_name, opts = {})
|
373
|
-
if @api_client.config.debugging
|
374
|
-
@api_client.config.logger.debug "Calling API: EmailApi.email_put_set_email_property ..."
|
375
|
-
end
|
376
|
-
# verify the required parameter 'name' is set
|
377
|
-
if @api_client.config.client_side_validation && name.nil?
|
378
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling EmailApi.email_put_set_email_property"
|
379
|
-
end
|
380
|
-
# verify the required parameter 'property_name' is set
|
381
|
-
if @api_client.config.client_side_validation && property_name.nil?
|
382
|
-
fail ArgumentError, "Missing the required parameter 'property_name' when calling EmailApi.email_put_set_email_property"
|
383
|
-
end
|
384
|
-
# resource path
|
385
|
-
local_var_path = "/email/{name}/properties/{propertyName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'propertyName' + '}', property_name.to_s)
|
386
|
-
|
387
|
-
# query parameters
|
388
|
-
query_params = {}
|
389
|
-
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
390
|
-
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
391
|
-
|
392
|
-
# header parameters
|
393
|
-
header_params = {}
|
394
|
-
# HTTP header 'Accept' (if needed)
|
395
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
396
|
-
# HTTP header 'Content-Type'
|
397
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
398
|
-
|
399
|
-
# form parameters
|
400
|
-
form_params = {}
|
401
|
-
|
402
|
-
# http body (model)
|
403
|
-
post_body = @api_client.object_to_http_body(opts[:'property'])
|
404
|
-
auth_names = []
|
405
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
406
|
-
:header_params => header_params,
|
407
|
-
:query_params => query_params,
|
408
|
-
:form_params => form_params,
|
409
|
-
:body => post_body,
|
410
|
-
:auth_names => auth_names,
|
411
|
-
:return_type => 'EmailPropertyResponse')
|
412
|
-
if @api_client.config.debugging
|
413
|
-
@api_client.config.logger.debug "API called: EmailApi#email_put_set_email_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
414
|
-
end
|
415
|
-
return data, status_code, headers
|
416
|
-
end
|
417
|
-
end
|
418
|
-
end
|