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
|
|
|
@@ -49,14 +49,9 @@ module ElasticEmail
|
|
|
49
49
|
}
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
# Returns attribute mapping this model knows about
|
|
53
|
-
def self.acceptable_attribute_map
|
|
54
|
-
attribute_map
|
|
55
|
-
end
|
|
56
|
-
|
|
57
52
|
# Returns all the JSON keys this model knows about
|
|
58
53
|
def self.acceptable_attributes
|
|
59
|
-
|
|
54
|
+
attribute_map.values
|
|
60
55
|
end
|
|
61
56
|
|
|
62
57
|
# Attribute type mapping.
|
|
@@ -86,10 +81,9 @@ module ElasticEmail
|
|
|
86
81
|
end
|
|
87
82
|
|
|
88
83
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
89
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
90
84
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
91
|
-
if (!
|
|
92
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::CampaignTemplate`. Please check the name to make sure it's valid. List of attributes: " +
|
|
85
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
86
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::CampaignTemplate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
93
87
|
end
|
|
94
88
|
h[k.to_sym] = v
|
|
95
89
|
}
|
|
@@ -147,16 +141,6 @@ module ElasticEmail
|
|
|
147
141
|
true
|
|
148
142
|
end
|
|
149
143
|
|
|
150
|
-
# Custom attribute writer method with validation
|
|
151
|
-
# @param [Object] from Value to be assigned
|
|
152
|
-
def from=(from)
|
|
153
|
-
if from.nil?
|
|
154
|
-
fail ArgumentError, 'from cannot be nil'
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
@from = from
|
|
158
|
-
end
|
|
159
|
-
|
|
160
144
|
# Checks equality by comparing each attribute.
|
|
161
145
|
# @param [Object] Object to be compared
|
|
162
146
|
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
|
|
|
@@ -78,14 +78,9 @@ module ElasticEmail
|
|
|
78
78
|
}
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
-
# Returns attribute mapping this model knows about
|
|
82
|
-
def self.acceptable_attribute_map
|
|
83
|
-
attribute_map
|
|
84
|
-
end
|
|
85
|
-
|
|
86
81
|
# Returns all the JSON keys this model knows about
|
|
87
82
|
def self.acceptable_attributes
|
|
88
|
-
|
|
83
|
+
attribute_map.values
|
|
89
84
|
end
|
|
90
85
|
|
|
91
86
|
# Attribute type mapping.
|
|
@@ -122,10 +117,9 @@ module ElasticEmail
|
|
|
122
117
|
end
|
|
123
118
|
|
|
124
119
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
125
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
126
120
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
127
|
-
if (!
|
|
128
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ChannelLogStatusSummary`. Please check the name to make sure it's valid. List of attributes: " +
|
|
121
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
122
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ChannelLogStatusSummary`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
129
123
|
end
|
|
130
124
|
h[k.to_sym] = v
|
|
131
125
|
}
|
|
@@ -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
|
|
|
@@ -54,14 +54,9 @@ module ElasticEmail
|
|
|
54
54
|
}
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
# Returns attribute mapping this model knows about
|
|
58
|
-
def self.acceptable_attribute_map
|
|
59
|
-
attribute_map
|
|
60
|
-
end
|
|
61
|
-
|
|
62
57
|
# Returns all the JSON keys this model knows about
|
|
63
58
|
def self.acceptable_attributes
|
|
64
|
-
|
|
59
|
+
attribute_map.values
|
|
65
60
|
end
|
|
66
61
|
|
|
67
62
|
# Attribute type mapping.
|
|
@@ -88,10 +83,9 @@ module ElasticEmail
|
|
|
88
83
|
end
|
|
89
84
|
|
|
90
85
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
91
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
92
86
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
93
|
-
if (!
|
|
94
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ConsentData`. Please check the name to make sure it's valid. List of attributes: " +
|
|
87
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
88
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ConsentData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
95
89
|
end
|
|
96
90
|
h[k.to_sym] = v
|
|
97
91
|
}
|
|
@@ -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
|
|
|
@@ -87,14 +87,9 @@ module ElasticEmail
|
|
|
87
87
|
}
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
# Returns attribute mapping this model knows about
|
|
91
|
-
def self.acceptable_attribute_map
|
|
92
|
-
attribute_map
|
|
93
|
-
end
|
|
94
|
-
|
|
95
90
|
# Returns all the JSON keys this model knows about
|
|
96
91
|
def self.acceptable_attributes
|
|
97
|
-
|
|
92
|
+
attribute_map.values
|
|
98
93
|
end
|
|
99
94
|
|
|
100
95
|
# Attribute type mapping.
|
|
@@ -131,10 +126,9 @@ module ElasticEmail
|
|
|
131
126
|
end
|
|
132
127
|
|
|
133
128
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
134
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
135
129
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
136
|
-
if (!
|
|
137
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::Contact`. Please check the name to make sure it's valid. List of attributes: " +
|
|
130
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
131
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::Contact`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
138
132
|
end
|
|
139
133
|
h[k.to_sym] = v
|
|
140
134
|
}
|
|
@@ -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
|
|
|
@@ -65,14 +65,9 @@ module ElasticEmail
|
|
|
65
65
|
}
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
-
# Returns attribute mapping this model knows about
|
|
69
|
-
def self.acceptable_attribute_map
|
|
70
|
-
attribute_map
|
|
71
|
-
end
|
|
72
|
-
|
|
73
68
|
# Returns all the JSON keys this model knows about
|
|
74
69
|
def self.acceptable_attributes
|
|
75
|
-
|
|
70
|
+
attribute_map.values
|
|
76
71
|
end
|
|
77
72
|
|
|
78
73
|
# Attribute type mapping.
|
|
@@ -111,10 +106,9 @@ module ElasticEmail
|
|
|
111
106
|
end
|
|
112
107
|
|
|
113
108
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
114
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
115
109
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
116
|
-
if (!
|
|
117
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ContactActivity`. Please check the name to make sure it's valid. List of attributes: " +
|
|
110
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
111
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ContactActivity`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
118
112
|
end
|
|
119
113
|
h[k.to_sym] = v
|
|
120
114
|
}
|
|
@@ -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
|
|
|
@@ -65,14 +65,9 @@ module ElasticEmail
|
|
|
65
65
|
}
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
-
# Returns attribute mapping this model knows about
|
|
69
|
-
def self.acceptable_attribute_map
|
|
70
|
-
attribute_map
|
|
71
|
-
end
|
|
72
|
-
|
|
73
68
|
# Returns all the JSON keys this model knows about
|
|
74
69
|
def self.acceptable_attributes
|
|
75
|
-
|
|
70
|
+
attribute_map.values
|
|
76
71
|
end
|
|
77
72
|
|
|
78
73
|
# Attribute type mapping.
|
|
@@ -101,10 +96,9 @@ module ElasticEmail
|
|
|
101
96
|
end
|
|
102
97
|
|
|
103
98
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
104
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
105
99
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
106
|
-
if (!
|
|
107
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ContactPayload`. Please check the name to make sure it's valid. List of attributes: " +
|
|
100
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
101
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ContactPayload`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
108
102
|
end
|
|
109
103
|
h[k.to_sym] = v
|
|
110
104
|
}
|
|
@@ -160,16 +154,6 @@ module ElasticEmail
|
|
|
160
154
|
true
|
|
161
155
|
end
|
|
162
156
|
|
|
163
|
-
# Custom attribute writer method with validation
|
|
164
|
-
# @param [Object] email Value to be assigned
|
|
165
|
-
def email=(email)
|
|
166
|
-
if email.nil?
|
|
167
|
-
fail ArgumentError, 'email cannot be nil'
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
@email = email
|
|
171
|
-
end
|
|
172
|
-
|
|
173
157
|
# Checks equality by comparing each attribute.
|
|
174
158
|
# @param [Object] Object to be compared
|
|
175
159
|
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
|
|
|
@@ -33,14 +33,9 @@ module ElasticEmail
|
|
|
33
33
|
}
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
# Returns attribute mapping this model knows about
|
|
37
|
-
def self.acceptable_attribute_map
|
|
38
|
-
attribute_map
|
|
39
|
-
end
|
|
40
|
-
|
|
41
36
|
# Returns all the JSON keys this model knows about
|
|
42
37
|
def self.acceptable_attributes
|
|
43
|
-
|
|
38
|
+
attribute_map.values
|
|
44
39
|
end
|
|
45
40
|
|
|
46
41
|
# Attribute type mapping.
|
|
@@ -66,10 +61,9 @@ module ElasticEmail
|
|
|
66
61
|
end
|
|
67
62
|
|
|
68
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
69
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
70
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
71
|
-
if (!
|
|
72
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ContactUpdatePayload`. Please check the name to make sure it's valid. List of attributes: " +
|
|
65
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ContactUpdatePayload`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
73
67
|
end
|
|
74
68
|
h[k.to_sym] = v
|
|
75
69
|
}
|
|
@@ -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
|
|
|
@@ -38,14 +38,9 @@ module ElasticEmail
|
|
|
38
38
|
}
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
# Returns attribute mapping this model knows about
|
|
42
|
-
def self.acceptable_attribute_map
|
|
43
|
-
attribute_map
|
|
44
|
-
end
|
|
45
|
-
|
|
46
41
|
# Returns all the JSON keys this model knows about
|
|
47
42
|
def self.acceptable_attributes
|
|
48
|
-
|
|
43
|
+
attribute_map.values
|
|
49
44
|
end
|
|
50
45
|
|
|
51
46
|
# Attribute type mapping.
|
|
@@ -73,10 +68,9 @@ module ElasticEmail
|
|
|
73
68
|
end
|
|
74
69
|
|
|
75
70
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
76
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
77
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
78
|
-
if (!
|
|
79
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ContactsList`. Please check the name to make sure it's valid. List of attributes: " +
|
|
72
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::ContactsList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
80
74
|
end
|
|
81
75
|
h[k.to_sym] = v
|
|
82
76
|
}
|
|
@@ -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
|
|
|
@@ -38,14 +38,9 @@ module ElasticEmail
|
|
|
38
38
|
}
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
# Returns attribute mapping this model knows about
|
|
42
|
-
def self.acceptable_attribute_map
|
|
43
|
-
attribute_map
|
|
44
|
-
end
|
|
45
|
-
|
|
46
41
|
# Returns all the JSON keys this model knows about
|
|
47
42
|
def self.acceptable_attributes
|
|
48
|
-
|
|
43
|
+
attribute_map.values
|
|
49
44
|
end
|
|
50
45
|
|
|
51
46
|
# Attribute type mapping.
|
|
@@ -73,10 +68,9 @@ module ElasticEmail
|
|
|
73
68
|
end
|
|
74
69
|
|
|
75
70
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
76
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
77
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
78
|
-
if (!
|
|
79
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DKIMRecord`. Please check the name to make sure it's valid. List of attributes: " +
|
|
72
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DKIMRecord`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
80
74
|
end
|
|
81
75
|
h[k.to_sym] = v
|
|
82
76
|
}
|
|
@@ -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
|
|
|
@@ -118,14 +118,9 @@ module ElasticEmail
|
|
|
118
118
|
}
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
# Returns attribute mapping this model knows about
|
|
122
|
-
def self.acceptable_attribute_map
|
|
123
|
-
attribute_map
|
|
124
|
-
end
|
|
125
|
-
|
|
126
121
|
# Returns all the JSON keys this model knows about
|
|
127
122
|
def self.acceptable_attributes
|
|
128
|
-
|
|
123
|
+
attribute_map.values
|
|
129
124
|
end
|
|
130
125
|
|
|
131
126
|
# Attribute type mapping.
|
|
@@ -171,10 +166,9 @@ module ElasticEmail
|
|
|
171
166
|
end
|
|
172
167
|
|
|
173
168
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
174
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
175
169
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
176
|
-
if (!
|
|
177
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DomainData`. Please check the name to make sure it's valid. List of attributes: " +
|
|
170
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
171
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DomainData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
178
172
|
end
|
|
179
173
|
h[k.to_sym] = v
|
|
180
174
|
}
|
|
@@ -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
|
|
|
@@ -114,14 +114,9 @@ module ElasticEmail
|
|
|
114
114
|
}
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
-
# Returns attribute mapping this model knows about
|
|
118
|
-
def self.acceptable_attribute_map
|
|
119
|
-
attribute_map
|
|
120
|
-
end
|
|
121
|
-
|
|
122
117
|
# Returns all the JSON keys this model knows about
|
|
123
118
|
def self.acceptable_attributes
|
|
124
|
-
|
|
119
|
+
attribute_map.values
|
|
125
120
|
end
|
|
126
121
|
|
|
127
122
|
# Attribute type mapping.
|
|
@@ -166,10 +161,9 @@ module ElasticEmail
|
|
|
166
161
|
end
|
|
167
162
|
|
|
168
163
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
169
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
170
164
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
171
|
-
if (!
|
|
172
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DomainDetail`. Please check the name to make sure it's valid. List of attributes: " +
|
|
165
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
166
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DomainDetail`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
173
167
|
end
|
|
174
168
|
h[k.to_sym] = v
|
|
175
169
|
}
|
|
@@ -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
|
|
|
@@ -28,14 +28,9 @@ module ElasticEmail
|
|
|
28
28
|
}
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
# Returns attribute mapping this model knows about
|
|
32
|
-
def self.acceptable_attribute_map
|
|
33
|
-
attribute_map
|
|
34
|
-
end
|
|
35
|
-
|
|
36
31
|
# Returns all the JSON keys this model knows about
|
|
37
32
|
def self.acceptable_attributes
|
|
38
|
-
|
|
33
|
+
attribute_map.values
|
|
39
34
|
end
|
|
40
35
|
|
|
41
36
|
# Attribute type mapping.
|
|
@@ -60,10 +55,9 @@ module ElasticEmail
|
|
|
60
55
|
end
|
|
61
56
|
|
|
62
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
63
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
64
58
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
65
|
-
if (!
|
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DomainPayload`. Please check the name to make sure it's valid. List of attributes: " +
|
|
59
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
60
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DomainPayload`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
67
61
|
end
|
|
68
62
|
h[k.to_sym] = v
|
|
69
63
|
}
|
|
@@ -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
|
|
|
@@ -55,14 +55,9 @@ module ElasticEmail
|
|
|
55
55
|
}
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
# Returns attribute mapping this model knows about
|
|
59
|
-
def self.acceptable_attribute_map
|
|
60
|
-
attribute_map
|
|
61
|
-
end
|
|
62
|
-
|
|
63
58
|
# Returns all the JSON keys this model knows about
|
|
64
59
|
def self.acceptable_attributes
|
|
65
|
-
|
|
60
|
+
attribute_map.values
|
|
66
61
|
end
|
|
67
62
|
|
|
68
63
|
# Attribute type mapping.
|
|
@@ -89,10 +84,9 @@ module ElasticEmail
|
|
|
89
84
|
end
|
|
90
85
|
|
|
91
86
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
92
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
93
87
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
94
|
-
if (!
|
|
95
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DomainUpdatePayload`. Please check the name to make sure it's valid. List of attributes: " +
|
|
88
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
89
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::DomainUpdatePayload`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
96
90
|
end
|
|
97
91
|
h[k.to_sym] = v
|
|
98
92
|
}
|
|
@@ -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
|
|
|
@@ -69,14 +69,9 @@ module ElasticEmail
|
|
|
69
69
|
}
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
# Returns attribute mapping this model knows about
|
|
73
|
-
def self.acceptable_attribute_map
|
|
74
|
-
attribute_map
|
|
75
|
-
end
|
|
76
|
-
|
|
77
72
|
# Returns all the JSON keys this model knows about
|
|
78
73
|
def self.acceptable_attributes
|
|
79
|
-
|
|
74
|
+
attribute_map.values
|
|
80
75
|
end
|
|
81
76
|
|
|
82
77
|
# Attribute type mapping.
|
|
@@ -111,10 +106,9 @@ module ElasticEmail
|
|
|
111
106
|
end
|
|
112
107
|
|
|
113
108
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
114
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
115
109
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
116
|
-
if (!
|
|
117
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailContent`. Please check the name to make sure it's valid. List of attributes: " +
|
|
110
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
111
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `ElasticEmail::EmailContent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
118
112
|
end
|
|
119
113
|
h[k.to_sym] = v
|
|
120
114
|
}
|
|
@@ -200,16 +194,6 @@ module ElasticEmail
|
|
|
200
194
|
true
|
|
201
195
|
end
|
|
202
196
|
|
|
203
|
-
# Custom attribute writer method with validation
|
|
204
|
-
# @param [Object] from Value to be assigned
|
|
205
|
-
def from=(from)
|
|
206
|
-
if from.nil?
|
|
207
|
-
fail ArgumentError, 'from cannot be nil'
|
|
208
|
-
end
|
|
209
|
-
|
|
210
|
-
@from = from
|
|
211
|
-
end
|
|
212
|
-
|
|
213
197
|
# Checks equality by comparing each attribute.
|
|
214
198
|
# @param [Object] Object to be compared
|
|
215
199
|
def ==(o)
|