ElasticEmail 4.0.16 → 4.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ElasticEmail.gemspec +3 -3
- data/README.md +6 -8
- data/VERSION +1 -1
- data/docs/SuppressionsApi.md +12 -12
- data/lib/ElasticEmail/api/campaigns_api.rb +2 -2
- data/lib/ElasticEmail/api/contacts_api.rb +4 -4
- data/lib/ElasticEmail/api/emails_api.rb +2 -2
- data/lib/ElasticEmail/api/events_api.rb +9 -9
- data/lib/ElasticEmail/api/files_api.rb +2 -2
- data/lib/ElasticEmail/api/inbound_route_api.rb +2 -2
- data/lib/ElasticEmail/api/lists_api.rb +2 -2
- data/lib/ElasticEmail/api/security_api.rb +2 -2
- data/lib/ElasticEmail/api/segments_api.rb +2 -2
- data/lib/ElasticEmail/api/statistics_api.rb +2 -2
- data/lib/ElasticEmail/api/sub_accounts_api.rb +2 -2
- data/lib/ElasticEmail/api/suppressions_api.rb +26 -26
- data/lib/ElasticEmail/api/templates_api.rb +2 -2
- data/lib/ElasticEmail/api/verifications_api.rb +2 -2
- data/lib/ElasticEmail/api_client.rb +5 -3
- data/lib/ElasticEmail/api_error.rb +2 -2
- data/lib/ElasticEmail/configuration.rb +4 -3
- data/lib/ElasticEmail/models/access_level.rb +6 -2
- data/lib/ElasticEmail/models/account_status_enum.rb +2 -2
- data/lib/ElasticEmail/models/api_key.rb +3 -2
- data/lib/ElasticEmail/models/api_key_payload.rb +3 -2
- data/lib/ElasticEmail/models/body_content_type.rb +2 -2
- data/lib/ElasticEmail/models/body_part.rb +3 -2
- data/lib/ElasticEmail/models/campaign.rb +3 -2
- data/lib/ElasticEmail/models/campaign_options.rb +3 -2
- data/lib/ElasticEmail/models/campaign_recipient.rb +3 -2
- data/lib/ElasticEmail/models/campaign_status.rb +2 -2
- data/lib/ElasticEmail/models/campaign_template.rb +3 -2
- data/lib/ElasticEmail/models/channel_log_status_summary.rb +3 -2
- data/lib/ElasticEmail/models/compression_format.rb +2 -2
- data/lib/ElasticEmail/models/consent_data.rb +3 -2
- data/lib/ElasticEmail/models/consent_tracking.rb +2 -2
- data/lib/ElasticEmail/models/contact.rb +3 -2
- data/lib/ElasticEmail/models/contact_activity.rb +3 -2
- data/lib/ElasticEmail/models/contact_hist_event_type.rb +2 -2
- data/lib/ElasticEmail/models/contact_history.rb +3 -2
- data/lib/ElasticEmail/models/contact_payload.rb +3 -2
- data/lib/ElasticEmail/models/contact_source.rb +2 -2
- data/lib/ElasticEmail/models/contact_status.rb +2 -2
- data/lib/ElasticEmail/models/contact_update_payload.rb +3 -2
- data/lib/ElasticEmail/models/contacts_list.rb +3 -2
- data/lib/ElasticEmail/models/delivery_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/email_content.rb +3 -2
- data/lib/ElasticEmail/models/email_data.rb +3 -2
- data/lib/ElasticEmail/models/email_message_data.rb +3 -2
- data/lib/ElasticEmail/models/email_recipient.rb +3 -2
- data/lib/ElasticEmail/models/email_send.rb +3 -2
- data/lib/ElasticEmail/models/email_status.rb +3 -2
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +3 -2
- data/lib/ElasticEmail/models/email_validation_result.rb +3 -2
- data/lib/ElasticEmail/models/email_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/email_view.rb +3 -2
- data/lib/ElasticEmail/models/emails_payload.rb +3 -2
- data/lib/ElasticEmail/models/encoding_type.rb +2 -2
- data/lib/ElasticEmail/models/event_type.rb +2 -2
- data/lib/ElasticEmail/models/events_order_by.rb +2 -2
- data/lib/ElasticEmail/models/export_file_formats.rb +2 -2
- data/lib/ElasticEmail/models/export_link.rb +3 -2
- data/lib/ElasticEmail/models/export_status.rb +2 -2
- data/lib/ElasticEmail/models/file_info.rb +3 -2
- data/lib/ElasticEmail/models/file_payload.rb +3 -2
- data/lib/ElasticEmail/models/file_upload_result.rb +3 -2
- data/lib/ElasticEmail/models/inbound_payload.rb +3 -2
- data/lib/ElasticEmail/models/inbound_route.rb +3 -2
- data/lib/ElasticEmail/models/inbound_route_action_type.rb +2 -2
- data/lib/ElasticEmail/models/inbound_route_filter_type.rb +2 -2
- data/lib/ElasticEmail/models/list_payload.rb +3 -2
- data/lib/ElasticEmail/models/list_update_payload.rb +3 -2
- data/lib/ElasticEmail/models/log_job_status.rb +2 -2
- data/lib/ElasticEmail/models/log_status_summary.rb +3 -2
- data/lib/ElasticEmail/models/merge_email_payload.rb +3 -2
- data/lib/ElasticEmail/models/message_attachment.rb +3 -2
- data/lib/ElasticEmail/models/message_category.rb +2 -2
- data/lib/ElasticEmail/models/new_api_key.rb +3 -2
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +3 -2
- data/lib/ElasticEmail/models/options.rb +3 -2
- data/lib/ElasticEmail/models/recipient_event.rb +3 -2
- data/lib/ElasticEmail/models/segment.rb +3 -2
- data/lib/ElasticEmail/models/segment_payload.rb +3 -2
- data/lib/ElasticEmail/models/smtp_credentials.rb +3 -2
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +3 -2
- data/lib/ElasticEmail/models/sort_order_item.rb +3 -2
- data/lib/ElasticEmail/models/split_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/split_options.rb +3 -2
- data/lib/ElasticEmail/models/sub_account_info.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_payload.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +3 -2
- data/lib/ElasticEmail/models/suppression.rb +3 -2
- data/lib/ElasticEmail/models/template.rb +3 -2
- data/lib/ElasticEmail/models/template_payload.rb +3 -2
- data/lib/ElasticEmail/models/template_scope.rb +2 -2
- data/lib/ElasticEmail/models/template_type.rb +2 -2
- data/lib/ElasticEmail/models/transactional_recipient.rb +3 -2
- data/lib/ElasticEmail/models/utm.rb +3 -2
- data/lib/ElasticEmail/models/verification_file_result.rb +3 -2
- data/lib/ElasticEmail/models/verification_file_result_details.rb +3 -2
- data/lib/ElasticEmail/models/verification_status.rb +2 -2
- data/lib/ElasticEmail/version.rb +3 -3
- data/lib/ElasticEmail.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +7 -13
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -20,7 +20,7 @@ module ElasticEmail
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Get Bounce List
|
23
|
-
# Retrieve your list of bounced emails. Required Access Level: ViewContacts
|
23
|
+
# Retrieve your list of bounced emails. Required Access Level: ViewContacts, ViewSuppressions
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :search Text fragment used for searching.
|
26
26
|
# @option opts [Integer] :limit Maximum number of returned items.
|
@@ -32,7 +32,7 @@ module ElasticEmail
|
|
32
32
|
end
|
33
33
|
|
34
34
|
# Get Bounce List
|
35
|
-
# Retrieve your list of bounced emails. Required Access Level: ViewContacts
|
35
|
+
# Retrieve your list of bounced emails. Required Access Level: ViewContacts, ViewSuppressions
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
37
|
# @option opts [String] :search Text fragment used for searching.
|
38
38
|
# @option opts [Integer] :limit Maximum number of returned items.
|
@@ -86,7 +86,7 @@ module ElasticEmail
|
|
86
86
|
end
|
87
87
|
|
88
88
|
# Add Bounces Async
|
89
|
-
# Add Bounced. Required Access Level: ModifyContacts
|
89
|
+
# Add Bounced. Required Access Level: ModifyContacts, ModifySuppressions
|
90
90
|
# @param [Hash] opts the optional parameters
|
91
91
|
# @option opts [File] :file
|
92
92
|
# @return [nil]
|
@@ -96,7 +96,7 @@ module ElasticEmail
|
|
96
96
|
end
|
97
97
|
|
98
98
|
# Add Bounces Async
|
99
|
-
# Add Bounced. Required Access Level: ModifyContacts
|
99
|
+
# Add Bounced. Required Access Level: ModifyContacts, ModifySuppressions
|
100
100
|
# @param [Hash] opts the optional parameters
|
101
101
|
# @option opts [File] :file
|
102
102
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -149,7 +149,7 @@ module ElasticEmail
|
|
149
149
|
end
|
150
150
|
|
151
151
|
# Add Bounces
|
152
|
-
# Add Bounced. Required Access Level: ModifyContacts
|
152
|
+
# Add Bounced. Required Access Level: ModifyContacts, ModifySuppressions
|
153
153
|
# @param request_body [Array<String>] Emails to add as bounces. Limited to 1000 per request
|
154
154
|
# @param [Hash] opts the optional parameters
|
155
155
|
# @return [Array<Suppression>]
|
@@ -159,7 +159,7 @@ module ElasticEmail
|
|
159
159
|
end
|
160
160
|
|
161
161
|
# Add Bounces
|
162
|
-
# Add Bounced. Required Access Level: ModifyContacts
|
162
|
+
# Add Bounced. Required Access Level: ModifyContacts, ModifySuppressions
|
163
163
|
# @param request_body [Array<String>] Emails to add as bounces. Limited to 1000 per request
|
164
164
|
# @param [Hash] opts the optional parameters
|
165
165
|
# @return [Array<(Array<Suppression>, Integer, Hash)>] Array<Suppression> data, response status code and response headers
|
@@ -217,7 +217,7 @@ module ElasticEmail
|
|
217
217
|
end
|
218
218
|
|
219
219
|
# Delete Suppression
|
220
|
-
# Delete Suppression. Required Access Level: ViewContacts
|
220
|
+
# Delete Suppression. Required Access Level: ViewContacts, ViewSuppressions
|
221
221
|
# @param email [String] Proper email address.
|
222
222
|
# @param [Hash] opts the optional parameters
|
223
223
|
# @return [nil]
|
@@ -227,7 +227,7 @@ module ElasticEmail
|
|
227
227
|
end
|
228
228
|
|
229
229
|
# Delete Suppression
|
230
|
-
# Delete Suppression. Required Access Level: ViewContacts
|
230
|
+
# Delete Suppression. Required Access Level: ViewContacts, ViewSuppressions
|
231
231
|
# @param email [String] Proper email address.
|
232
232
|
# @param [Hash] opts the optional parameters
|
233
233
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -278,7 +278,7 @@ module ElasticEmail
|
|
278
278
|
end
|
279
279
|
|
280
280
|
# Get Suppression
|
281
|
-
# Retrieve your suppression. Required Access Level: ViewContacts
|
281
|
+
# Retrieve your suppression. Required Access Level: ViewContacts, ViewSuppressions
|
282
282
|
# @param email [String] Proper email address.
|
283
283
|
# @param [Hash] opts the optional parameters
|
284
284
|
# @return [Suppression]
|
@@ -288,7 +288,7 @@ module ElasticEmail
|
|
288
288
|
end
|
289
289
|
|
290
290
|
# Get Suppression
|
291
|
-
# Retrieve your suppression. Required Access Level: ViewContacts
|
291
|
+
# Retrieve your suppression. Required Access Level: ViewContacts, ViewSuppressions
|
292
292
|
# @param email [String] Proper email address.
|
293
293
|
# @param [Hash] opts the optional parameters
|
294
294
|
# @return [Array<(Suppression, Integer, Hash)>] Suppression data, response status code and response headers
|
@@ -341,7 +341,7 @@ module ElasticEmail
|
|
341
341
|
end
|
342
342
|
|
343
343
|
# Get Complaints List
|
344
|
-
# Retrieve your list of complaints. Required Access Level: ViewContacts
|
344
|
+
# Retrieve your list of complaints. Required Access Level: ViewContacts, ViewSuppressions
|
345
345
|
# @param [Hash] opts the optional parameters
|
346
346
|
# @option opts [String] :search Text fragment used for searching.
|
347
347
|
# @option opts [Integer] :limit Maximum number of returned items.
|
@@ -353,7 +353,7 @@ module ElasticEmail
|
|
353
353
|
end
|
354
354
|
|
355
355
|
# Get Complaints List
|
356
|
-
# Retrieve your list of complaints. Required Access Level: ViewContacts
|
356
|
+
# Retrieve your list of complaints. Required Access Level: ViewContacts, ViewSuppressions
|
357
357
|
# @param [Hash] opts the optional parameters
|
358
358
|
# @option opts [String] :search Text fragment used for searching.
|
359
359
|
# @option opts [Integer] :limit Maximum number of returned items.
|
@@ -407,7 +407,7 @@ module ElasticEmail
|
|
407
407
|
end
|
408
408
|
|
409
409
|
# Add Complaints Async
|
410
|
-
# Add Complaints. Required Access Level: ModifyContacts
|
410
|
+
# Add Complaints. Required Access Level: ModifyContacts, ModifySuppressions
|
411
411
|
# @param [Hash] opts the optional parameters
|
412
412
|
# @option opts [File] :file
|
413
413
|
# @return [nil]
|
@@ -417,7 +417,7 @@ module ElasticEmail
|
|
417
417
|
end
|
418
418
|
|
419
419
|
# Add Complaints Async
|
420
|
-
# Add Complaints. Required Access Level: ModifyContacts
|
420
|
+
# Add Complaints. Required Access Level: ModifyContacts, ModifySuppressions
|
421
421
|
# @param [Hash] opts the optional parameters
|
422
422
|
# @option opts [File] :file
|
423
423
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -470,7 +470,7 @@ module ElasticEmail
|
|
470
470
|
end
|
471
471
|
|
472
472
|
# Add Complaints
|
473
|
-
# Add Complaints. Required Access Level: ModifyContacts
|
473
|
+
# Add Complaints. Required Access Level: ModifyContacts, ModifySuppressions
|
474
474
|
# @param request_body [Array<String>] Emails to add as complaints. Limited to 1000 per request
|
475
475
|
# @param [Hash] opts the optional parameters
|
476
476
|
# @return [Array<Suppression>]
|
@@ -480,7 +480,7 @@ module ElasticEmail
|
|
480
480
|
end
|
481
481
|
|
482
482
|
# Add Complaints
|
483
|
-
# Add Complaints. Required Access Level: ModifyContacts
|
483
|
+
# Add Complaints. Required Access Level: ModifyContacts, ModifySuppressions
|
484
484
|
# @param request_body [Array<String>] Emails to add as complaints. Limited to 1000 per request
|
485
485
|
# @param [Hash] opts the optional parameters
|
486
486
|
# @return [Array<(Array<Suppression>, Integer, Hash)>] Array<Suppression> data, response status code and response headers
|
@@ -538,7 +538,7 @@ module ElasticEmail
|
|
538
538
|
end
|
539
539
|
|
540
540
|
# Get Suppressions
|
541
|
-
# Retrieve your suppressions. Required Access Level: ViewContacts
|
541
|
+
# Retrieve your suppressions. Required Access Level: ViewContacts, ViewSuppressions
|
542
542
|
# @param [Hash] opts the optional parameters
|
543
543
|
# @option opts [Integer] :limit Maximum number of returned items.
|
544
544
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
@@ -549,7 +549,7 @@ module ElasticEmail
|
|
549
549
|
end
|
550
550
|
|
551
551
|
# Get Suppressions
|
552
|
-
# Retrieve your suppressions. Required Access Level: ViewContacts
|
552
|
+
# Retrieve your suppressions. Required Access Level: ViewContacts, ViewSuppressions
|
553
553
|
# @param [Hash] opts the optional parameters
|
554
554
|
# @option opts [Integer] :limit Maximum number of returned items.
|
555
555
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
@@ -601,7 +601,7 @@ module ElasticEmail
|
|
601
601
|
end
|
602
602
|
|
603
603
|
# Get Unsubscribes List
|
604
|
-
# Retrieve your list of unsubscribes. Required Access Level: ViewContacts
|
604
|
+
# Retrieve your list of unsubscribes. Required Access Level: ViewContacts, ViewSuppressions
|
605
605
|
# @param [Hash] opts the optional parameters
|
606
606
|
# @option opts [String] :search Text fragment used for searching.
|
607
607
|
# @option opts [Integer] :limit Maximum number of returned items.
|
@@ -613,7 +613,7 @@ module ElasticEmail
|
|
613
613
|
end
|
614
614
|
|
615
615
|
# Get Unsubscribes List
|
616
|
-
# Retrieve your list of unsubscribes. Required Access Level: ViewContacts
|
616
|
+
# Retrieve your list of unsubscribes. Required Access Level: ViewContacts, ViewSuppressions
|
617
617
|
# @param [Hash] opts the optional parameters
|
618
618
|
# @option opts [String] :search Text fragment used for searching.
|
619
619
|
# @option opts [Integer] :limit Maximum number of returned items.
|
@@ -667,7 +667,7 @@ module ElasticEmail
|
|
667
667
|
end
|
668
668
|
|
669
669
|
# Add Unsubscribes Async
|
670
|
-
# Add Unsubscribes. Required Access Level: ModifyContacts
|
670
|
+
# Add Unsubscribes. Required Access Level: ModifyContacts, ModifySuppressions
|
671
671
|
# @param [Hash] opts the optional parameters
|
672
672
|
# @option opts [File] :file
|
673
673
|
# @return [nil]
|
@@ -677,7 +677,7 @@ module ElasticEmail
|
|
677
677
|
end
|
678
678
|
|
679
679
|
# Add Unsubscribes Async
|
680
|
-
# Add Unsubscribes. Required Access Level: ModifyContacts
|
680
|
+
# Add Unsubscribes. Required Access Level: ModifyContacts, ModifySuppressions
|
681
681
|
# @param [Hash] opts the optional parameters
|
682
682
|
# @option opts [File] :file
|
683
683
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -730,7 +730,7 @@ module ElasticEmail
|
|
730
730
|
end
|
731
731
|
|
732
732
|
# Add Unsubscribes
|
733
|
-
# Add Unsubscribes. Required Access Level: ModifyContacts
|
733
|
+
# Add Unsubscribes. Required Access Level: ModifyContacts, ModifySuppressions
|
734
734
|
# @param request_body [Array<String>] Emails to add as unsubscribes. Limited to 1000 per request
|
735
735
|
# @param [Hash] opts the optional parameters
|
736
736
|
# @return [Array<Suppression>]
|
@@ -740,7 +740,7 @@ module ElasticEmail
|
|
740
740
|
end
|
741
741
|
|
742
742
|
# Add Unsubscribes
|
743
|
-
# Add Unsubscribes. Required Access Level: ModifyContacts
|
743
|
+
# Add Unsubscribes. Required Access Level: ModifyContacts, ModifySuppressions
|
744
744
|
# @param request_body [Array<String>] Emails to add as unsubscribes. Limited to 1000 per request
|
745
745
|
# @param [Hash] opts the optional parameters
|
746
746
|
# @return [Array<(Array<Suppression>, Integer, Hash)>] Array<Suppression> data, response status code and response headers
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -93,6 +93,7 @@ module ElasticEmail
|
|
93
93
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
94
94
|
query_params = opts[:query_params] || {}
|
95
95
|
form_params = opts[:form_params] || {}
|
96
|
+
follow_location = opts[:follow_location] || true
|
96
97
|
|
97
98
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
98
99
|
|
@@ -109,7 +110,8 @@ module ElasticEmail
|
|
109
110
|
:ssl_verifyhost => _verify_ssl_host,
|
110
111
|
:sslcert => @config.cert_file,
|
111
112
|
:sslkey => @config.key_file,
|
112
|
-
:verbose => @config.debugging
|
113
|
+
:verbose => @config.debugging,
|
114
|
+
:followlocation => follow_location
|
113
115
|
}
|
114
116
|
|
115
117
|
# set custom cert, if provided
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -133,6 +133,7 @@ module ElasticEmail
|
|
133
133
|
# https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
|
134
134
|
attr_accessor :params_encoding
|
135
135
|
|
136
|
+
|
136
137
|
attr_accessor :inject_format
|
137
138
|
|
138
139
|
attr_accessor :force_ending_format
|
@@ -150,10 +151,10 @@ module ElasticEmail
|
|
150
151
|
@client_side_validation = true
|
151
152
|
@verify_ssl = true
|
152
153
|
@verify_ssl_host = true
|
153
|
-
@params_encoding = nil
|
154
154
|
@cert_file = nil
|
155
155
|
@key_file = nil
|
156
156
|
@timeout = 0
|
157
|
+
@params_encoding = nil
|
157
158
|
@debugging = false
|
158
159
|
@inject_format = false
|
159
160
|
@force_ending_format = false
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -62,6 +62,10 @@ module ElasticEmail
|
|
62
62
|
VIEW_MARKETING = "ViewMarketing".freeze
|
63
63
|
VIEW_EMAIL_API = "ViewEmailApi".freeze
|
64
64
|
VIEW_INBOUND = "ViewInbound".freeze
|
65
|
+
MODIFY_LANDING_PAGES = "ModifyLandingPages".freeze
|
66
|
+
VIEW_LANDING_PAGES = "ViewLandingPages".freeze
|
67
|
+
MODIFY_SUPPRESSIONS = "ModifySuppressions".freeze
|
68
|
+
VIEW_SUPPRESSIONS = "ViewSuppressions".freeze
|
65
69
|
|
66
70
|
# Builds the enum from string
|
67
71
|
# @param [String] The enum value in the form of the string
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -165,6 +165,7 @@ module ElasticEmail
|
|
165
165
|
# @return [Object] Returns the model itself
|
166
166
|
def build_from_hash(attributes)
|
167
167
|
return nil unless attributes.is_a?(Hash)
|
168
|
+
attributes = attributes.transform_keys(&:to_sym)
|
168
169
|
self.class.openapi_types.each_pair do |key, type|
|
169
170
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
170
171
|
self.send("#{key}=", nil)
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -164,6 +164,7 @@ module ElasticEmail
|
|
164
164
|
# @return [Object] Returns the model itself
|
165
165
|
def build_from_hash(attributes)
|
166
166
|
return nil unless attributes.is_a?(Hash)
|
167
|
+
attributes = attributes.transform_keys(&:to_sym)
|
167
168
|
self.class.openapi_types.each_pair do |key, type|
|
168
169
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
169
170
|
self.send("#{key}=", nil)
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -135,6 +135,7 @@ module ElasticEmail
|
|
135
135
|
# @return [Object] Returns the model itself
|
136
136
|
def build_from_hash(attributes)
|
137
137
|
return nil unless attributes.is_a?(Hash)
|
138
|
+
attributes = attributes.transform_keys(&:to_sym)
|
138
139
|
self.class.openapi_types.each_pair do |key, type|
|
139
140
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
140
141
|
self.send("#{key}=", nil)
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -159,6 +159,7 @@ module ElasticEmail
|
|
159
159
|
# @return [Object] Returns the model itself
|
160
160
|
def build_from_hash(attributes)
|
161
161
|
return nil unless attributes.is_a?(Hash)
|
162
|
+
attributes = attributes.transform_keys(&:to_sym)
|
162
163
|
self.class.openapi_types.each_pair do |key, type|
|
163
164
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
164
165
|
self.send("#{key}=", nil)
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -152,6 +152,7 @@ module ElasticEmail
|
|
152
152
|
# @return [Object] Returns the model itself
|
153
153
|
def build_from_hash(attributes)
|
154
154
|
return nil unless attributes.is_a?(Hash)
|
155
|
+
attributes = attributes.transform_keys(&:to_sym)
|
155
156
|
self.class.openapi_types.each_pair do |key, type|
|
156
157
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
157
158
|
self.send("#{key}=", nil)
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -123,6 +123,7 @@ module ElasticEmail
|
|
123
123
|
# @return [Object] Returns the model itself
|
124
124
|
def build_from_hash(attributes)
|
125
125
|
return nil unless attributes.is_a?(Hash)
|
126
|
+
attributes = attributes.transform_keys(&:to_sym)
|
126
127
|
self.class.openapi_types.each_pair do |key, type|
|
127
128
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
128
129
|
self.send("#{key}=", nil)
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description.
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -170,6 +170,7 @@ module ElasticEmail
|
|
170
170
|
# @return [Object] Returns the model itself
|
171
171
|
def build_from_hash(attributes)
|
172
172
|
return nil unless attributes.is_a?(Hash)
|
173
|
+
attributes = attributes.transform_keys(&:to_sym)
|
173
174
|
self.class.openapi_types.each_pair do |key, type|
|
174
175
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
175
176
|
self.send("#{key}=", nil)
|