ElasticEmail 4.0.29 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ElasticEmail.gemspec +1 -1
- data/README.md +5 -5
- data/VERSION +1 -1
- data/lib/ElasticEmail/api/campaigns_api.rb +1 -1
- data/lib/ElasticEmail/api/contacts_api.rb +1 -1
- data/lib/ElasticEmail/api/domains_api.rb +1 -1
- data/lib/ElasticEmail/api/emails_api.rb +1 -1
- data/lib/ElasticEmail/api/events_api.rb +1 -1
- data/lib/ElasticEmail/api/files_api.rb +1 -1
- data/lib/ElasticEmail/api/inbound_route_api.rb +1 -1
- data/lib/ElasticEmail/api/lists_api.rb +1 -1
- data/lib/ElasticEmail/api/security_api.rb +1 -1
- data/lib/ElasticEmail/api/segments_api.rb +1 -1
- data/lib/ElasticEmail/api/statistics_api.rb +1 -1
- data/lib/ElasticEmail/api/sub_accounts_api.rb +1 -1
- data/lib/ElasticEmail/api/suppressions_api.rb +1 -1
- data/lib/ElasticEmail/api/templates_api.rb +1 -1
- data/lib/ElasticEmail/api/verifications_api.rb +1 -1
- data/lib/ElasticEmail/api/webhook_api.rb +1 -1
- data/lib/ElasticEmail/api_client.rb +9 -8
- data/lib/ElasticEmail/api_error.rb +1 -1
- data/lib/ElasticEmail/configuration.rb +1 -1
- data/lib/ElasticEmail/models/access_level.rb +1 -1
- data/lib/ElasticEmail/models/account_status_enum.rb +1 -1
- data/lib/ElasticEmail/models/api_key.rb +4 -10
- data/lib/ElasticEmail/models/api_key_payload.rb +4 -30
- data/lib/ElasticEmail/models/body_content_type.rb +1 -1
- data/lib/ElasticEmail/models/body_part.rb +4 -20
- data/lib/ElasticEmail/models/campaign.rb +4 -30
- data/lib/ElasticEmail/models/campaign_options.rb +4 -10
- data/lib/ElasticEmail/models/campaign_recipient.rb +4 -10
- data/lib/ElasticEmail/models/campaign_status.rb +1 -1
- data/lib/ElasticEmail/models/campaign_template.rb +4 -20
- data/lib/ElasticEmail/models/certificate_validation_status.rb +1 -1
- data/lib/ElasticEmail/models/channel_log_status_summary.rb +4 -10
- data/lib/ElasticEmail/models/compression_format.rb +1 -1
- data/lib/ElasticEmail/models/consent_data.rb +4 -10
- data/lib/ElasticEmail/models/consent_tracking.rb +1 -1
- data/lib/ElasticEmail/models/contact.rb +4 -10
- data/lib/ElasticEmail/models/contact_activity.rb +4 -10
- data/lib/ElasticEmail/models/contact_payload.rb +4 -20
- data/lib/ElasticEmail/models/contact_source.rb +1 -1
- data/lib/ElasticEmail/models/contact_status.rb +1 -1
- data/lib/ElasticEmail/models/contact_update_payload.rb +4 -10
- data/lib/ElasticEmail/models/contacts_list.rb +4 -10
- data/lib/ElasticEmail/models/delivery_optimization_type.rb +1 -1
- data/lib/ElasticEmail/models/dkim_record.rb +4 -10
- data/lib/ElasticEmail/models/domain_data.rb +4 -10
- data/lib/ElasticEmail/models/domain_detail.rb +4 -10
- data/lib/ElasticEmail/models/domain_owner.rb +1 -1
- data/lib/ElasticEmail/models/domain_payload.rb +4 -10
- data/lib/ElasticEmail/models/domain_update_payload.rb +4 -10
- data/lib/ElasticEmail/models/email_content.rb +4 -20
- data/lib/ElasticEmail/models/email_data.rb +4 -10
- data/lib/ElasticEmail/models/email_job_failed_status.rb +4 -10
- data/lib/ElasticEmail/models/email_job_status.rb +4 -10
- data/lib/ElasticEmail/models/email_message_data.rb +4 -30
- data/lib/ElasticEmail/models/email_predicted_validation_status.rb +1 -1
- data/lib/ElasticEmail/models/email_recipient.rb +4 -20
- data/lib/ElasticEmail/models/email_send.rb +4 -10
- data/lib/ElasticEmail/models/email_status.rb +4 -10
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +4 -30
- data/lib/ElasticEmail/models/email_validation_result.rb +4 -10
- data/lib/ElasticEmail/models/email_validation_status.rb +1 -1
- data/lib/ElasticEmail/models/email_view.rb +4 -10
- data/lib/ElasticEmail/models/emails_payload.rb +4 -10
- data/lib/ElasticEmail/models/encoding_type.rb +1 -1
- data/lib/ElasticEmail/models/event_type.rb +1 -1
- data/lib/ElasticEmail/models/events_order_by.rb +1 -1
- data/lib/ElasticEmail/models/export_file_formats.rb +1 -1
- data/lib/ElasticEmail/models/export_link.rb +4 -10
- data/lib/ElasticEmail/models/export_status.rb +1 -1
- data/lib/ElasticEmail/models/file_info.rb +4 -10
- data/lib/ElasticEmail/models/file_payload.rb +4 -20
- data/lib/ElasticEmail/models/file_upload_result.rb +4 -10
- data/lib/ElasticEmail/models/inbound_payload.rb +4 -50
- data/lib/ElasticEmail/models/inbound_route.rb +4 -10
- data/lib/ElasticEmail/models/inbound_route_action_type.rb +1 -1
- data/lib/ElasticEmail/models/inbound_route_filter_type.rb +1 -1
- data/lib/ElasticEmail/models/list_payload.rb +4 -20
- data/lib/ElasticEmail/models/list_update_payload.rb +4 -10
- data/lib/ElasticEmail/models/log_job_status.rb +1 -1
- data/lib/ElasticEmail/models/log_status_summary.rb +4 -10
- data/lib/ElasticEmail/models/merge_email_payload.rb +4 -30
- data/lib/ElasticEmail/models/message_attachment.rb +4 -30
- data/lib/ElasticEmail/models/message_category.rb +1 -1
- data/lib/ElasticEmail/models/message_category_enum.rb +1 -1
- data/lib/ElasticEmail/models/new_api_key.rb +4 -10
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +4 -10
- data/lib/ElasticEmail/models/options.rb +4 -10
- data/lib/ElasticEmail/models/recipient_event.rb +4 -10
- data/lib/ElasticEmail/models/segment.rb +4 -10
- data/lib/ElasticEmail/models/segment_payload.rb +4 -30
- data/lib/ElasticEmail/models/smtp_credentials.rb +4 -10
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +4 -20
- data/lib/ElasticEmail/models/sort_order_item.rb +4 -30
- data/lib/ElasticEmail/models/split_optimization_type.rb +1 -1
- data/lib/ElasticEmail/models/split_options.rb +4 -10
- data/lib/ElasticEmail/models/sub_account_info.rb +4 -10
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +4 -20
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +4 -10
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +4 -10
- data/lib/ElasticEmail/models/subaccount_payload.rb +4 -30
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +4 -10
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +4 -10
- data/lib/ElasticEmail/models/suppression.rb +4 -10
- data/lib/ElasticEmail/models/template.rb +4 -10
- data/lib/ElasticEmail/models/template_payload.rb +4 -20
- data/lib/ElasticEmail/models/template_scope.rb +1 -1
- data/lib/ElasticEmail/models/template_type.rb +1 -1
- data/lib/ElasticEmail/models/tracking_type.rb +1 -1
- data/lib/ElasticEmail/models/tracking_validation_status.rb +1 -1
- data/lib/ElasticEmail/models/transactional_recipient.rb +4 -20
- data/lib/ElasticEmail/models/utm.rb +4 -10
- data/lib/ElasticEmail/models/verification_file_result.rb +4 -10
- data/lib/ElasticEmail/models/verification_file_result_details.rb +4 -10
- data/lib/ElasticEmail/models/verification_status.rb +1 -1
- data/lib/ElasticEmail/models/webhook.rb +4 -10
- data/lib/ElasticEmail/models/webhook_create_payload.rb +4 -30
- data/lib/ElasticEmail/models/webhook_update_payload.rb +4 -10
- data/lib/ElasticEmail/version.rb +2 -2
- data/lib/ElasticEmail.rb +1 -1
- data/spec/api/campaigns_api_spec.rb +1 -1
- data/spec/api/contacts_api_spec.rb +1 -1
- data/spec/api/domains_api_spec.rb +1 -1
- data/spec/api/emails_api_spec.rb +1 -1
- data/spec/api/events_api_spec.rb +1 -1
- data/spec/api/files_api_spec.rb +1 -1
- data/spec/api/inbound_route_api_spec.rb +1 -1
- data/spec/api/lists_api_spec.rb +1 -1
- data/spec/api/security_api_spec.rb +1 -1
- data/spec/api/segments_api_spec.rb +1 -1
- data/spec/api/statistics_api_spec.rb +1 -1
- data/spec/api/sub_accounts_api_spec.rb +1 -1
- data/spec/api/suppressions_api_spec.rb +1 -1
- data/spec/api/templates_api_spec.rb +1 -1
- data/spec/api/verifications_api_spec.rb +1 -1
- data/spec/api/webhook_api_spec.rb +1 -1
- data/spec/models/access_level_spec.rb +1 -1
- data/spec/models/account_status_enum_spec.rb +1 -1
- data/spec/models/api_key_payload_spec.rb +1 -1
- data/spec/models/api_key_spec.rb +1 -1
- data/spec/models/body_content_type_spec.rb +1 -1
- data/spec/models/body_part_spec.rb +1 -1
- data/spec/models/campaign_options_spec.rb +1 -1
- data/spec/models/campaign_recipient_spec.rb +1 -1
- data/spec/models/campaign_spec.rb +1 -1
- data/spec/models/campaign_status_spec.rb +1 -1
- data/spec/models/campaign_template_spec.rb +1 -1
- data/spec/models/certificate_validation_status_spec.rb +1 -1
- data/spec/models/channel_log_status_summary_spec.rb +1 -1
- data/spec/models/compression_format_spec.rb +1 -1
- data/spec/models/consent_data_spec.rb +1 -1
- data/spec/models/consent_tracking_spec.rb +1 -1
- data/spec/models/contact_activity_spec.rb +1 -1
- data/spec/models/contact_payload_spec.rb +1 -1
- data/spec/models/contact_source_spec.rb +1 -1
- data/spec/models/contact_spec.rb +1 -1
- data/spec/models/contact_status_spec.rb +1 -1
- data/spec/models/contact_update_payload_spec.rb +1 -1
- data/spec/models/contacts_list_spec.rb +1 -1
- data/spec/models/delivery_optimization_type_spec.rb +1 -1
- data/spec/models/dkim_record_spec.rb +1 -1
- data/spec/models/domain_data_spec.rb +1 -1
- data/spec/models/domain_detail_spec.rb +1 -1
- data/spec/models/domain_owner_spec.rb +1 -1
- data/spec/models/domain_payload_spec.rb +1 -1
- data/spec/models/domain_update_payload_spec.rb +1 -1
- data/spec/models/email_content_spec.rb +1 -1
- data/spec/models/email_data_spec.rb +1 -1
- data/spec/models/email_job_failed_status_spec.rb +1 -1
- data/spec/models/email_job_status_spec.rb +1 -1
- data/spec/models/email_message_data_spec.rb +1 -1
- data/spec/models/email_predicted_validation_status_spec.rb +1 -1
- data/spec/models/email_recipient_spec.rb +1 -1
- data/spec/models/email_send_spec.rb +1 -1
- data/spec/models/email_status_spec.rb +1 -1
- data/spec/models/email_transactional_message_data_spec.rb +1 -1
- data/spec/models/email_validation_result_spec.rb +1 -1
- data/spec/models/email_validation_status_spec.rb +1 -1
- data/spec/models/email_view_spec.rb +1 -1
- data/spec/models/emails_payload_spec.rb +1 -1
- data/spec/models/encoding_type_spec.rb +1 -1
- data/spec/models/event_type_spec.rb +1 -1
- data/spec/models/events_order_by_spec.rb +1 -1
- data/spec/models/export_file_formats_spec.rb +1 -1
- data/spec/models/export_link_spec.rb +1 -1
- data/spec/models/export_status_spec.rb +1 -1
- data/spec/models/file_info_spec.rb +1 -1
- data/spec/models/file_payload_spec.rb +1 -1
- data/spec/models/file_upload_result_spec.rb +1 -1
- data/spec/models/inbound_payload_spec.rb +1 -1
- data/spec/models/inbound_route_action_type_spec.rb +1 -1
- data/spec/models/inbound_route_filter_type_spec.rb +1 -1
- data/spec/models/inbound_route_spec.rb +1 -1
- data/spec/models/list_payload_spec.rb +1 -1
- data/spec/models/list_update_payload_spec.rb +1 -1
- data/spec/models/log_job_status_spec.rb +1 -1
- data/spec/models/log_status_summary_spec.rb +1 -1
- data/spec/models/merge_email_payload_spec.rb +1 -1
- data/spec/models/message_attachment_spec.rb +1 -1
- data/spec/models/message_category_enum_spec.rb +1 -1
- data/spec/models/message_category_spec.rb +1 -1
- data/spec/models/new_api_key_spec.rb +1 -1
- data/spec/models/new_smtp_credentials_spec.rb +1 -1
- data/spec/models/options_spec.rb +1 -1
- data/spec/models/recipient_event_spec.rb +1 -1
- data/spec/models/segment_payload_spec.rb +1 -1
- data/spec/models/segment_spec.rb +1 -1
- data/spec/models/smtp_credentials_payload_spec.rb +1 -1
- data/spec/models/smtp_credentials_spec.rb +1 -1
- data/spec/models/sort_order_item_spec.rb +1 -1
- data/spec/models/split_optimization_type_spec.rb +1 -1
- data/spec/models/split_options_spec.rb +1 -1
- data/spec/models/sub_account_info_spec.rb +1 -1
- data/spec/models/subaccount_email_credits_payload_spec.rb +1 -1
- data/spec/models/subaccount_email_settings_payload_spec.rb +1 -1
- data/spec/models/subaccount_email_settings_spec.rb +1 -1
- data/spec/models/subaccount_payload_spec.rb +1 -1
- data/spec/models/subaccount_settings_info_payload_spec.rb +1 -1
- data/spec/models/subaccount_settings_info_spec.rb +1 -1
- data/spec/models/suppression_spec.rb +1 -1
- data/spec/models/template_payload_spec.rb +1 -1
- data/spec/models/template_scope_spec.rb +1 -1
- data/spec/models/template_spec.rb +1 -1
- data/spec/models/template_type_spec.rb +1 -1
- data/spec/models/tracking_type_spec.rb +1 -1
- data/spec/models/tracking_validation_status_spec.rb +1 -1
- data/spec/models/transactional_recipient_spec.rb +1 -1
- data/spec/models/utm_spec.rb +1 -1
- data/spec/models/verification_file_result_details_spec.rb +1 -1
- data/spec/models/verification_file_result_spec.rb +1 -1
- data/spec/models/verification_status_spec.rb +1 -1
- data/spec/models/webhook_create_payload_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +1 -1
- data/spec/models/webhook_update_payload_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -31,14 +31,9 @@ module ElasticEmail
|
|
|
31
31
|
}
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
# Returns attribute mapping this model knows about
|
|
35
|
-
def self.acceptable_attribute_map
|
|
36
|
-
attribute_map
|
|
37
|
-
end
|
|
38
|
-
|
|
39
34
|
# Returns all the JSON keys this model knows about
|
|
40
35
|
def self.acceptable_attributes
|
|
41
|
-
|
|
36
|
+
attribute_map.values
|
|
42
37
|
end
|
|
43
38
|
|
|
44
39
|
# Attribute type mapping.
|
|
@@ -64,10 +59,9 @@ module ElasticEmail
|
|
|
64
59
|
end
|
|
65
60
|
|
|
66
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
67
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
68
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
69
|
-
if (!
|
|
70
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailData`. Please check the name to make sure it's valid. List of attributes: " +
|
|
63
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
71
65
|
end
|
|
72
66
|
h[k.to_sym] = v
|
|
73
67
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -34,14 +34,9 @@ module ElasticEmail
|
|
|
34
34
|
}
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
# Returns attribute mapping this model knows about
|
|
38
|
-
def self.acceptable_attribute_map
|
|
39
|
-
attribute_map
|
|
40
|
-
end
|
|
41
|
-
|
|
42
37
|
# Returns all the JSON keys this model knows about
|
|
43
38
|
def self.acceptable_attributes
|
|
44
|
-
|
|
39
|
+
attribute_map.values
|
|
45
40
|
end
|
|
46
41
|
|
|
47
42
|
# Attribute type mapping.
|
|
@@ -68,10 +63,9 @@ module ElasticEmail
|
|
|
68
63
|
end
|
|
69
64
|
|
|
70
65
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
71
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
72
66
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
73
|
-
if (!
|
|
74
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailJobFailedStatus`. Please check the name to make sure it's valid. List of attributes: " +
|
|
67
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailJobFailedStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
75
69
|
end
|
|
76
70
|
h[k.to_sym] = v
|
|
77
71
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -93,14 +93,9 @@ module ElasticEmail
|
|
|
93
93
|
}
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
# Returns attribute mapping this model knows about
|
|
97
|
-
def self.acceptable_attribute_map
|
|
98
|
-
attribute_map
|
|
99
|
-
end
|
|
100
|
-
|
|
101
96
|
# Returns all the JSON keys this model knows about
|
|
102
97
|
def self.acceptable_attributes
|
|
103
|
-
|
|
98
|
+
attribute_map.values
|
|
104
99
|
end
|
|
105
100
|
|
|
106
101
|
# Attribute type mapping.
|
|
@@ -143,10 +138,9 @@ module ElasticEmail
|
|
|
143
138
|
end
|
|
144
139
|
|
|
145
140
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
146
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
147
141
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
148
|
-
if (!
|
|
149
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailJobStatus`. Please check the name to make sure it's valid. List of attributes: " +
|
|
142
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
143
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailJobStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
150
144
|
end
|
|
151
145
|
h[k.to_sym] = v
|
|
152
146
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,14 +32,9 @@ module ElasticEmail
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# Returns attribute mapping this model knows about
|
|
36
|
-
def self.acceptable_attribute_map
|
|
37
|
-
attribute_map
|
|
38
|
-
end
|
|
39
|
-
|
|
40
35
|
# Returns all the JSON keys this model knows about
|
|
41
36
|
def self.acceptable_attributes
|
|
42
|
-
|
|
37
|
+
attribute_map.values
|
|
43
38
|
end
|
|
44
39
|
|
|
45
40
|
# Attribute type mapping.
|
|
@@ -65,10 +60,9 @@ module ElasticEmail
|
|
|
65
60
|
end
|
|
66
61
|
|
|
67
62
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
68
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
69
63
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
70
|
-
if (!
|
|
71
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailMessageData`. Please check the name to make sure it's valid. List of attributes: " +
|
|
64
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
65
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailMessageData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
72
66
|
end
|
|
73
67
|
h[k.to_sym] = v
|
|
74
68
|
}
|
|
@@ -117,26 +111,6 @@ module ElasticEmail
|
|
|
117
111
|
true
|
|
118
112
|
end
|
|
119
113
|
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] recipients Value to be assigned
|
|
122
|
-
def recipients=(recipients)
|
|
123
|
-
if recipients.nil?
|
|
124
|
-
fail ArgumentError, 'recipients cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@recipients = recipients
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
# Custom attribute writer method with validation
|
|
131
|
-
# @param [Object] content Value to be assigned
|
|
132
|
-
def content=(content)
|
|
133
|
-
if content.nil?
|
|
134
|
-
fail ArgumentError, 'content cannot be nil'
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
@content = content
|
|
138
|
-
end
|
|
139
|
-
|
|
140
114
|
# Checks equality by comparing each attribute.
|
|
141
115
|
# @param [Object] Object to be compared
|
|
142
116
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -30,14 +30,9 @@ module ElasticEmail
|
|
|
30
30
|
}
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
# Returns attribute mapping this model knows about
|
|
34
|
-
def self.acceptable_attribute_map
|
|
35
|
-
attribute_map
|
|
36
|
-
end
|
|
37
|
-
|
|
38
33
|
# Returns all the JSON keys this model knows about
|
|
39
34
|
def self.acceptable_attributes
|
|
40
|
-
|
|
35
|
+
attribute_map.values
|
|
41
36
|
end
|
|
42
37
|
|
|
43
38
|
# Attribute type mapping.
|
|
@@ -62,10 +57,9 @@ module ElasticEmail
|
|
|
62
57
|
end
|
|
63
58
|
|
|
64
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
65
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
66
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
67
|
-
if (!
|
|
68
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailRecipient`. Please check the name to make sure it's valid. List of attributes: " +
|
|
61
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailRecipient`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
69
63
|
end
|
|
70
64
|
h[k.to_sym] = v
|
|
71
65
|
}
|
|
@@ -103,16 +97,6 @@ module ElasticEmail
|
|
|
103
97
|
true
|
|
104
98
|
end
|
|
105
99
|
|
|
106
|
-
# Custom attribute writer method with validation
|
|
107
|
-
# @param [Object] email Value to be assigned
|
|
108
|
-
def email=(email)
|
|
109
|
-
if email.nil?
|
|
110
|
-
fail ArgumentError, 'email cannot be nil'
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
@email = email
|
|
114
|
-
end
|
|
115
|
-
|
|
116
100
|
# Checks equality by comparing each attribute.
|
|
117
101
|
# @param [Object] Object to be compared
|
|
118
102
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -29,14 +29,9 @@ module ElasticEmail
|
|
|
29
29
|
}
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
# Returns attribute mapping this model knows about
|
|
33
|
-
def self.acceptable_attribute_map
|
|
34
|
-
attribute_map
|
|
35
|
-
end
|
|
36
|
-
|
|
37
32
|
# Returns all the JSON keys this model knows about
|
|
38
33
|
def self.acceptable_attributes
|
|
39
|
-
|
|
34
|
+
attribute_map.values
|
|
40
35
|
end
|
|
41
36
|
|
|
42
37
|
# Attribute type mapping.
|
|
@@ -61,10 +56,9 @@ module ElasticEmail
|
|
|
61
56
|
end
|
|
62
57
|
|
|
63
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
|
-
if (!
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailSend`. Please check the name to make sure it's valid. List of attributes: " +
|
|
60
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailSend`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
68
62
|
end
|
|
69
63
|
h[k.to_sym] = v
|
|
70
64
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -94,14 +94,9 @@ module ElasticEmail
|
|
|
94
94
|
}
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
# Returns attribute mapping this model knows about
|
|
98
|
-
def self.acceptable_attribute_map
|
|
99
|
-
attribute_map
|
|
100
|
-
end
|
|
101
|
-
|
|
102
97
|
# Returns all the JSON keys this model knows about
|
|
103
98
|
def self.acceptable_attributes
|
|
104
|
-
|
|
99
|
+
attribute_map.values
|
|
105
100
|
end
|
|
106
101
|
|
|
107
102
|
# Attribute type mapping.
|
|
@@ -139,10 +134,9 @@ module ElasticEmail
|
|
|
139
134
|
end
|
|
140
135
|
|
|
141
136
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
142
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
143
137
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
144
|
-
if (!
|
|
145
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailStatus`. Please check the name to make sure it's valid. List of attributes: " +
|
|
138
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
139
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
146
140
|
end
|
|
147
141
|
h[k.to_sym] = v
|
|
148
142
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -31,14 +31,9 @@ module ElasticEmail
|
|
|
31
31
|
}
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
# Returns attribute mapping this model knows about
|
|
35
|
-
def self.acceptable_attribute_map
|
|
36
|
-
attribute_map
|
|
37
|
-
end
|
|
38
|
-
|
|
39
34
|
# Returns all the JSON keys this model knows about
|
|
40
35
|
def self.acceptable_attributes
|
|
41
|
-
|
|
36
|
+
attribute_map.values
|
|
42
37
|
end
|
|
43
38
|
|
|
44
39
|
# Attribute type mapping.
|
|
@@ -64,10 +59,9 @@ module ElasticEmail
|
|
|
64
59
|
end
|
|
65
60
|
|
|
66
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
67
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
68
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
69
|
-
if (!
|
|
70
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailTransactionalMessageData`. Please check the name to make sure it's valid. List of attributes: " +
|
|
63
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailTransactionalMessageData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
71
65
|
end
|
|
72
66
|
h[k.to_sym] = v
|
|
73
67
|
}
|
|
@@ -114,26 +108,6 @@ module ElasticEmail
|
|
|
114
108
|
true
|
|
115
109
|
end
|
|
116
110
|
|
|
117
|
-
# Custom attribute writer method with validation
|
|
118
|
-
# @param [Object] recipients Value to be assigned
|
|
119
|
-
def recipients=(recipients)
|
|
120
|
-
if recipients.nil?
|
|
121
|
-
fail ArgumentError, 'recipients cannot be nil'
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
@recipients = recipients
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
# Custom attribute writer method with validation
|
|
128
|
-
# @param [Object] content Value to be assigned
|
|
129
|
-
def content=(content)
|
|
130
|
-
if content.nil?
|
|
131
|
-
fail ArgumentError, 'content cannot be nil'
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
@content = content
|
|
135
|
-
end
|
|
136
|
-
|
|
137
111
|
# Checks equality by comparing each attribute.
|
|
138
112
|
# @param [Object] Object to be compared
|
|
139
113
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -85,14 +85,9 @@ module ElasticEmail
|
|
|
85
85
|
}
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
# Returns attribute mapping this model knows about
|
|
89
|
-
def self.acceptable_attribute_map
|
|
90
|
-
attribute_map
|
|
91
|
-
end
|
|
92
|
-
|
|
93
88
|
# Returns all the JSON keys this model knows about
|
|
94
89
|
def self.acceptable_attributes
|
|
95
|
-
|
|
90
|
+
attribute_map.values
|
|
96
91
|
end
|
|
97
92
|
|
|
98
93
|
# Attribute type mapping.
|
|
@@ -126,10 +121,9 @@ module ElasticEmail
|
|
|
126
121
|
end
|
|
127
122
|
|
|
128
123
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
129
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
130
124
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
131
|
-
if (!
|
|
132
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailValidationResult`. Please check the name to make sure it's valid. List of attributes: " +
|
|
125
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
126
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailValidationResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
133
127
|
end
|
|
134
128
|
h[k.to_sym] = v
|
|
135
129
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -34,14 +34,9 @@ module ElasticEmail
|
|
|
34
34
|
}
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
# Returns attribute mapping this model knows about
|
|
38
|
-
def self.acceptable_attribute_map
|
|
39
|
-
attribute_map
|
|
40
|
-
end
|
|
41
|
-
|
|
42
37
|
# Returns all the JSON keys this model knows about
|
|
43
38
|
def self.acceptable_attributes
|
|
44
|
-
|
|
39
|
+
attribute_map.values
|
|
45
40
|
end
|
|
46
41
|
|
|
47
42
|
# Attribute type mapping.
|
|
@@ -67,10 +62,9 @@ module ElasticEmail
|
|
|
67
62
|
end
|
|
68
63
|
|
|
69
64
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
70
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
71
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
72
|
-
if (!
|
|
73
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailView`. Please check the name to make sure it's valid. List of attributes: " +
|
|
66
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailView`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
74
68
|
end
|
|
75
69
|
h[k.to_sym] = v
|
|
76
70
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -30,14 +30,9 @@ module ElasticEmail
|
|
|
30
30
|
}
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
# Returns attribute mapping this model knows about
|
|
34
|
-
def self.acceptable_attribute_map
|
|
35
|
-
attribute_map
|
|
36
|
-
end
|
|
37
|
-
|
|
38
33
|
# Returns all the JSON keys this model knows about
|
|
39
34
|
def self.acceptable_attributes
|
|
40
|
-
|
|
35
|
+
attribute_map.values
|
|
41
36
|
end
|
|
42
37
|
|
|
43
38
|
# Attribute type mapping.
|
|
@@ -62,10 +57,9 @@ module ElasticEmail
|
|
|
62
57
|
end
|
|
63
58
|
|
|
64
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
65
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
66
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
67
|
-
if (!
|
|
68
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailsPayload`. Please check the name to make sure it's valid. List of attributes: " +
|
|
61
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailsPayload`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
69
63
|
end
|
|
70
64
|
h[k.to_sym] = v
|
|
71
65
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -29,14 +29,9 @@ module ElasticEmail
|
|
|
29
29
|
}
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
# Returns attribute mapping this model knows about
|
|
33
|
-
def self.acceptable_attribute_map
|
|
34
|
-
attribute_map
|
|
35
|
-
end
|
|
36
|
-
|
|
37
32
|
# Returns all the JSON keys this model knows about
|
|
38
33
|
def self.acceptable_attributes
|
|
39
|
-
|
|
34
|
+
attribute_map.values
|
|
40
35
|
end
|
|
41
36
|
|
|
42
37
|
# Attribute type mapping.
|
|
@@ -61,10 +56,9 @@ module ElasticEmail
|
|
|
61
56
|
end
|
|
62
57
|
|
|
63
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
|
-
if (!
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ExportLink`. Please check the name to make sure it's valid. List of attributes: " +
|
|
60
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ExportLink`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
68
62
|
end
|
|
69
63
|
h[k.to_sym] = v
|
|
70
64
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -42,14 +42,9 @@ module ElasticEmail
|
|
|
42
42
|
}
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
-
# Returns attribute mapping this model knows about
|
|
46
|
-
def self.acceptable_attribute_map
|
|
47
|
-
attribute_map
|
|
48
|
-
end
|
|
49
|
-
|
|
50
45
|
# Returns all the JSON keys this model knows about
|
|
51
46
|
def self.acceptable_attributes
|
|
52
|
-
|
|
47
|
+
attribute_map.values
|
|
53
48
|
end
|
|
54
49
|
|
|
55
50
|
# Attribute type mapping.
|
|
@@ -79,10 +74,9 @@ module ElasticEmail
|
|
|
79
74
|
end
|
|
80
75
|
|
|
81
76
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
82
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
83
77
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
84
|
-
if (!
|
|
85
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::FileInfo`. Please check the name to make sure it's valid. List of attributes: " +
|
|
78
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
79
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::FileInfo`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
86
80
|
end
|
|
87
81
|
h[k.to_sym] = v
|
|
88
82
|
}
|