pingram 0.1.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 +7 -0
- data/Gemfile +9 -0
- data/README.md +54 -0
- data/Rakefile +10 -0
- data/lib/pingram/api/account_api.rb +506 -0
- data/lib/pingram/api/addresses_api.rb +209 -0
- data/lib/pingram/api/components_api.rb +396 -0
- data/lib/pingram/api/default_api.rb +88 -0
- data/lib/pingram/api/domains_api.rb +204 -0
- data/lib/pingram/api/editor_api.rb +88 -0
- data/lib/pingram/api/environments_api.rb +215 -0
- data/lib/pingram/api/health_api.rb +77 -0
- data/lib/pingram/api/insights_api.rb +88 -0
- data/lib/pingram/api/keys_api.rb +204 -0
- data/lib/pingram/api/logs_api.rb +375 -0
- data/lib/pingram/api/members_api.rb +433 -0
- data/lib/pingram/api/sender_api.rb +221 -0
- data/lib/pingram/api/templates_api.rb +479 -0
- data/lib/pingram/api/types_api.rb +335 -0
- data/lib/pingram/api/user_api.rb +587 -0
- data/lib/pingram/api/users_api.rb +228 -0
- data/lib/pingram/api_client.rb +397 -0
- data/lib/pingram/api_error.rb +58 -0
- data/lib/pingram/api_model_base.rb +88 -0
- data/lib/pingram/client_wrapper.rb +212 -0
- data/lib/pingram/configuration.rb +330 -0
- data/lib/pingram/models/account_addresses_response.rb +166 -0
- data/lib/pingram/models/account_addresses_response_addresses_inner.rb +301 -0
- data/lib/pingram/models/account_get_response.rb +354 -0
- data/lib/pingram/models/account_get_response_pending_downgrade_usage_limit.rb +201 -0
- data/lib/pingram/models/address_response.rb +164 -0
- data/lib/pingram/models/auto_join_get_response.rb +192 -0
- data/lib/pingram/models/auto_join_post_response.rb +192 -0
- data/lib/pingram/models/auto_join_request_body.rb +166 -0
- data/lib/pingram/models/bee_token_v2.rb +190 -0
- data/lib/pingram/models/billing_post_request_body.rb +216 -0
- data/lib/pingram/models/billing_post_response_body.rb +367 -0
- data/lib/pingram/models/billing_post_response_body_pending_downgrade_usage_limit.rb +202 -0
- data/lib/pingram/models/channels_enum.rb +45 -0
- data/lib/pingram/models/create_account_request_body.rb +164 -0
- data/lib/pingram/models/create_account_response.rb +190 -0
- data/lib/pingram/models/create_address_request.rb +182 -0
- data/lib/pingram/models/create_key_request.rb +227 -0
- data/lib/pingram/models/create_key_response.rb +308 -0
- data/lib/pingram/models/delete_key_response.rb +165 -0
- data/lib/pingram/models/delete_user_response.rb +164 -0
- data/lib/pingram/models/email_auth_token_post_request.rb +147 -0
- data/lib/pingram/models/email_component_patch_request.rb +174 -0
- data/lib/pingram/models/email_component_post_request.rb +217 -0
- data/lib/pingram/models/email_component_response.rb +424 -0
- data/lib/pingram/models/email_component_response_referenced_by_inner.rb +238 -0
- data/lib/pingram/models/environment.rb +270 -0
- data/lib/pingram/models/environment_create_request.rb +164 -0
- data/lib/pingram/models/environment_patch_request.rb +176 -0
- data/lib/pingram/models/get_account_metadata_response.rb +164 -0
- data/lib/pingram/models/get_account_metadata_response_user_account_metadata.rb +216 -0
- data/lib/pingram/models/get_email_components_response_inner.rb +424 -0
- data/lib/pingram/models/get_environments_response_inner.rb +270 -0
- data/lib/pingram/models/get_inapp_notifications_response.rb +166 -0
- data/lib/pingram/models/get_inapp_notifications_response_notifications_inner.rb +389 -0
- data/lib/pingram/models/get_inapp_notifications_response_notifications_inner_delivery_options.rb +206 -0
- data/lib/pingram/models/get_inapp_notifications_response_notifications_inner_delivery_options_instant.rb +191 -0
- data/lib/pingram/models/get_inapp_notifications_response_notifications_inner_delivery_options_off.rb +164 -0
- data/lib/pingram/models/get_inapp_notifications_response_notifications_inner_replies_inner.rb +190 -0
- data/lib/pingram/models/get_inapp_notifications_response_notifications_inner_template.rb +103 -0
- data/lib/pingram/models/get_inapp_notifications_response_notifications_inner_template_any_of.rb +301 -0
- data/lib/pingram/models/get_keys_response.rb +168 -0
- data/lib/pingram/models/get_keys_response_keys_inner.rb +371 -0
- data/lib/pingram/models/get_logs_response.rb +175 -0
- data/lib/pingram/models/get_logs_response_messages_inner.rb +419 -0
- data/lib/pingram/models/get_logs_response_messages_inner_attachments_inner.rb +225 -0
- data/lib/pingram/models/get_members_response_inner.rb +236 -0
- data/lib/pingram/models/get_metrics_response_inner.rb +238 -0
- data/lib/pingram/models/get_metrics_response_inner_messages_inner.rb +159 -0
- data/lib/pingram/models/get_notifications_response_inner.rb +317 -0
- data/lib/pingram/models/get_notifications_response_inner_deduplication.rb +164 -0
- data/lib/pingram/models/get_notifications_response_inner_options.rb +201 -0
- data/lib/pingram/models/get_notifications_response_inner_options_email.rb +242 -0
- data/lib/pingram/models/get_notifications_response_inner_options_email_daily.rb +173 -0
- data/lib/pingram/models/get_notifications_response_inner_options_email_monthly.rb +216 -0
- data/lib/pingram/models/get_notifications_response_inner_options_email_weekly.rb +182 -0
- data/lib/pingram/models/get_notifications_response_inner_templates_inner.rb +214 -0
- data/lib/pingram/models/get_notifications_response_inner_throttling.rb +294 -0
- data/lib/pingram/models/get_senders_response_inner.rb +342 -0
- data/lib/pingram/models/get_templates_response.rb +103 -0
- data/lib/pingram/models/get_users_response.rb +201 -0
- data/lib/pingram/models/get_users_response_users_inner.rb +268 -0
- data/lib/pingram/models/get_users_response_users_inner_email_suppression_status.rb +214 -0
- data/lib/pingram/models/get_users_response_users_inner_push_tokens_inner.rb +252 -0
- data/lib/pingram/models/get_users_response_users_inner_push_tokens_inner_device.rb +209 -0
- data/lib/pingram/models/get_users_response_users_inner_slack_token.rb +317 -0
- data/lib/pingram/models/get_users_response_users_inner_slack_token_authed_user.rb +192 -0
- data/lib/pingram/models/get_users_response_users_inner_slack_token_enterprise.rb +156 -0
- data/lib/pingram/models/get_users_response_users_inner_slack_token_incoming_webhook.rb +174 -0
- data/lib/pingram/models/get_users_response_users_inner_slack_token_response_metadata.rb +200 -0
- data/lib/pingram/models/get_users_response_users_inner_web_push_tokens_inner.rb +164 -0
- data/lib/pingram/models/get_users_response_users_inner_web_push_tokens_inner_sub.rb +191 -0
- data/lib/pingram/models/get_users_response_users_inner_web_push_tokens_inner_sub_keys.rb +190 -0
- data/lib/pingram/models/in_app_notification_patch_request.rb +231 -0
- data/lib/pingram/models/in_app_notification_unread_clear_request.rb +156 -0
- data/lib/pingram/models/inapp_unread_count_response.rb +164 -0
- data/lib/pingram/models/inbound_request_body.rb +103 -0
- data/lib/pingram/models/inbound_response_body.rb +216 -0
- data/lib/pingram/models/inbound_response_body_results_inner.rb +216 -0
- data/lib/pingram/models/ingishts_post_request.rb +288 -0
- data/lib/pingram/models/ingishts_post_request_label_options.rb +147 -0
- data/lib/pingram/models/ingishts_post_request_metric_data_queries_inner.rb +208 -0
- data/lib/pingram/models/ingishts_post_request_metric_data_queries_inner_metric_stat.rb +211 -0
- data/lib/pingram/models/ingishts_post_request_metric_data_queries_inner_metric_stat_metric.rb +171 -0
- data/lib/pingram/models/ingishts_post_request_metric_data_queries_inner_metric_stat_metric_dimensions_inner.rb +159 -0
- data/lib/pingram/models/intercom_webhook.rb +293 -0
- data/lib/pingram/models/intercom_webhook_data.rb +164 -0
- data/lib/pingram/models/intercom_webhook_data_item.rb +103 -0
- data/lib/pingram/models/intercom_webhook_data_item_any_of.rb +453 -0
- data/lib/pingram/models/intercom_webhook_data_item_any_of_contacts.rb +216 -0
- data/lib/pingram/models/intercom_webhook_data_item_any_of_contacts_contacts_inner.rb +199 -0
- data/lib/pingram/models/intercom_webhook_data_item_any_of_source.rb +260 -0
- data/lib/pingram/models/intercom_webhook_data_item_any_of_source_author.rb +208 -0
- data/lib/pingram/models/invite_post_response.rb +156 -0
- data/lib/pingram/models/log_query_post_body.rb +251 -0
- data/lib/pingram/models/logs_bulk_request.rb +167 -0
- data/lib/pingram/models/logs_get_response.rb +167 -0
- data/lib/pingram/models/logs_get_response_logs_inner.rb +1808 -0
- data/lib/pingram/models/logs_query_response.rb +165 -0
- data/lib/pingram/models/logs_query_result_response.rb +194 -0
- data/lib/pingram/models/logs_retention_response.rb +165 -0
- data/lib/pingram/models/logs_tail_response.rb +167 -0
- data/lib/pingram/models/member_invite_request.rb +173 -0
- data/lib/pingram/models/member_update_request.rb +164 -0
- data/lib/pingram/models/message_response.rb +164 -0
- data/lib/pingram/models/notification.rb +317 -0
- data/lib/pingram/models/notification_create_request.rb +227 -0
- data/lib/pingram/models/notification_patch_request.rb +203 -0
- data/lib/pingram/models/post_email_test_request.rb +303 -0
- data/lib/pingram/models/post_email_test_response.rb +175 -0
- data/lib/pingram/models/post_senders_request_body.rb +164 -0
- data/lib/pingram/models/post_user_request.rb +215 -0
- data/lib/pingram/models/sender_post_body.rb +324 -0
- data/lib/pingram/models/sender_post_body_email.rb +217 -0
- data/lib/pingram/models/sender_post_body_inapp.rb +182 -0
- data/lib/pingram/models/sender_post_body_mobile_push.rb +190 -0
- data/lib/pingram/models/sender_post_body_options.rb +165 -0
- data/lib/pingram/models/sender_post_body_options_apn.rb +201 -0
- data/lib/pingram/models/sender_post_body_options_email.rb +209 -0
- data/lib/pingram/models/sender_post_body_options_email_attachments_inner.rb +103 -0
- data/lib/pingram/models/sender_post_body_options_email_attachments_inner_any_of.rb +190 -0
- data/lib/pingram/models/sender_post_body_options_email_attachments_inner_any_of1.rb +199 -0
- data/lib/pingram/models/sender_post_body_options_fcm.rb +147 -0
- data/lib/pingram/models/sender_post_body_options_fcm_android.rb +208 -0
- data/lib/pingram/models/sender_post_body_slack.rb +299 -0
- data/lib/pingram/models/sender_post_body_slack_metadata.rb +173 -0
- data/lib/pingram/models/sender_post_body_slack_metadata_entities_inner.rb +257 -0
- data/lib/pingram/models/sender_post_body_slack_metadata_entities_inner_external_ref.rb +174 -0
- data/lib/pingram/models/sender_post_body_sms.rb +156 -0
- data/lib/pingram/models/sender_post_body_sms_auto_reply.rb +164 -0
- data/lib/pingram/models/sender_post_body_to.rb +251 -0
- data/lib/pingram/models/sender_post_body_user.rb +268 -0
- data/lib/pingram/models/sender_post_body_web_push.rb +208 -0
- data/lib/pingram/models/sender_post_response.rb +192 -0
- data/lib/pingram/models/set_default_template_request.rb +204 -0
- data/lib/pingram/models/slack_interactivity_response.rb +165 -0
- data/lib/pingram/models/slack_oauth_request.rb +190 -0
- data/lib/pingram/models/success_response.rb +164 -0
- data/lib/pingram/models/supabase_configure_request.rb +242 -0
- data/lib/pingram/models/supabase_configure_response.rb +173 -0
- data/lib/pingram/models/supabase_o_auth_request.rb +216 -0
- data/lib/pingram/models/supabase_o_auth_response.rb +173 -0
- data/lib/pingram/models/supabase_projects_response.rb +166 -0
- data/lib/pingram/models/supabase_projects_response_projects_inner.rb +268 -0
- data/lib/pingram/models/supabase_status_response.rb +208 -0
- data/lib/pingram/models/template.rb +301 -0
- data/lib/pingram/models/template_patch_request.rb +104 -0
- data/lib/pingram/models/template_patch_request_any_of.rb +199 -0
- data/lib/pingram/models/template_patch_request_any_of1.rb +187 -0
- data/lib/pingram/models/template_patch_request_any_of1_batch.rb +217 -0
- data/lib/pingram/models/template_patch_request_any_of1_instant.rb +184 -0
- data/lib/pingram/models/template_post_request.rb +346 -0
- data/lib/pingram/models/template_post_request_batch.rb +217 -0
- data/lib/pingram/models/template_post_request_instant.rb +183 -0
- data/lib/pingram/models/update_address_request.rb +182 -0
- data/lib/pingram/models/user.rb +268 -0
- data/lib/pingram/models/user_suppression_delete_response.rb +164 -0
- data/lib/pingram/models/webhook_response.rb +182 -0
- data/lib/pingram/version.rb +15 -0
- data/lib/pingram.rb +215 -0
- data/pingram.gemspec +38 -0
- metadata +270 -0
|
@@ -0,0 +1,1808 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#NotificationAPI
|
|
3
|
+
|
|
4
|
+
#Internal API for notification delivery and management
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Pingram
|
|
17
|
+
class LogsGetResponseLogsInner < ApiModelBase
|
|
18
|
+
attr_accessor :received_at
|
|
19
|
+
|
|
20
|
+
attr_accessor :type
|
|
21
|
+
|
|
22
|
+
attr_accessor :env_id
|
|
23
|
+
|
|
24
|
+
attr_accessor :client_id
|
|
25
|
+
|
|
26
|
+
attr_accessor :agent
|
|
27
|
+
|
|
28
|
+
attr_accessor :ip
|
|
29
|
+
|
|
30
|
+
attr_accessor :request
|
|
31
|
+
|
|
32
|
+
attr_accessor :test
|
|
33
|
+
|
|
34
|
+
attr_accessor :tracking_id
|
|
35
|
+
|
|
36
|
+
attr_accessor :account_id
|
|
37
|
+
|
|
38
|
+
attr_accessor :failed_at
|
|
39
|
+
|
|
40
|
+
attr_accessor :failed_code
|
|
41
|
+
|
|
42
|
+
attr_accessor :failed_internal
|
|
43
|
+
|
|
44
|
+
attr_accessor :inapp_sent_at
|
|
45
|
+
|
|
46
|
+
attr_accessor :inapp_sent_after
|
|
47
|
+
|
|
48
|
+
attr_accessor :inapp_delivered_at
|
|
49
|
+
|
|
50
|
+
attr_accessor :inapp_delivered_after
|
|
51
|
+
|
|
52
|
+
attr_accessor :inapp_failed_at
|
|
53
|
+
|
|
54
|
+
attr_accessor :inapp_failed_code
|
|
55
|
+
|
|
56
|
+
attr_accessor :inapp_failed_internal
|
|
57
|
+
|
|
58
|
+
attr_accessor :mobile_push_failed_at
|
|
59
|
+
|
|
60
|
+
attr_accessor :mobile_push_failed_code
|
|
61
|
+
|
|
62
|
+
attr_accessor :mobile_push_failed_token
|
|
63
|
+
|
|
64
|
+
attr_accessor :mobile_push_failed_internal
|
|
65
|
+
|
|
66
|
+
attr_accessor :mobile_push_sent_at
|
|
67
|
+
|
|
68
|
+
attr_accessor :mobile_push_sent_after
|
|
69
|
+
|
|
70
|
+
attr_accessor :mobile_push_sent_token
|
|
71
|
+
|
|
72
|
+
attr_accessor :mobile_push_delivered_at
|
|
73
|
+
|
|
74
|
+
attr_accessor :mobile_push_delivered_after
|
|
75
|
+
|
|
76
|
+
attr_accessor :email_sent_at
|
|
77
|
+
|
|
78
|
+
attr_accessor :email_sent_message_id
|
|
79
|
+
|
|
80
|
+
attr_accessor :email_sent_after
|
|
81
|
+
|
|
82
|
+
attr_accessor :email_delivered_at
|
|
83
|
+
|
|
84
|
+
attr_accessor :email_delivered_recipients
|
|
85
|
+
|
|
86
|
+
attr_accessor :email_delivered_after
|
|
87
|
+
|
|
88
|
+
attr_accessor :email_failed_at
|
|
89
|
+
|
|
90
|
+
attr_accessor :email_failed_code
|
|
91
|
+
|
|
92
|
+
attr_accessor :email_failed_recipient
|
|
93
|
+
|
|
94
|
+
attr_accessor :email_failed_diagnostic_code
|
|
95
|
+
|
|
96
|
+
attr_accessor :email_failed_internal
|
|
97
|
+
|
|
98
|
+
attr_accessor :email_opened_at
|
|
99
|
+
|
|
100
|
+
attr_accessor :email_opened_user_agent
|
|
101
|
+
|
|
102
|
+
attr_accessor :email_opened_ip
|
|
103
|
+
|
|
104
|
+
attr_accessor :email_clicked_at
|
|
105
|
+
|
|
106
|
+
attr_accessor :email_clicked_user_agent
|
|
107
|
+
|
|
108
|
+
attr_accessor :email_clicked_ip
|
|
109
|
+
|
|
110
|
+
attr_accessor :email_clicked_link
|
|
111
|
+
|
|
112
|
+
attr_accessor :email_clicked_link_tags
|
|
113
|
+
|
|
114
|
+
attr_accessor :email_inbound_at
|
|
115
|
+
|
|
116
|
+
attr_accessor :email_inbound_from
|
|
117
|
+
|
|
118
|
+
attr_accessor :email_inbound_from_name
|
|
119
|
+
|
|
120
|
+
attr_accessor :email_inbound_to
|
|
121
|
+
|
|
122
|
+
attr_accessor :email_inbound_cc
|
|
123
|
+
|
|
124
|
+
attr_accessor :email_inbound_bcc
|
|
125
|
+
|
|
126
|
+
attr_accessor :email_inbound_reply_to
|
|
127
|
+
|
|
128
|
+
attr_accessor :email_inbound_inbox
|
|
129
|
+
|
|
130
|
+
attr_accessor :email_inbound_subject
|
|
131
|
+
|
|
132
|
+
attr_accessor :email_inbound_body_text
|
|
133
|
+
|
|
134
|
+
attr_accessor :email_inbound_body_html
|
|
135
|
+
|
|
136
|
+
attr_accessor :email_inbound_has_attachments
|
|
137
|
+
|
|
138
|
+
attr_accessor :email_inbound_attachment_count
|
|
139
|
+
|
|
140
|
+
attr_accessor :email_inbound_message_id
|
|
141
|
+
|
|
142
|
+
attr_accessor :email_inbound_in_reply_to
|
|
143
|
+
|
|
144
|
+
attr_accessor :email_inbound_references
|
|
145
|
+
|
|
146
|
+
attr_accessor :email_inbound_webhook_delivered
|
|
147
|
+
|
|
148
|
+
attr_accessor :email_inbound_resolution_type
|
|
149
|
+
|
|
150
|
+
attr_accessor :sms_inbound_at
|
|
151
|
+
|
|
152
|
+
attr_accessor :sms_inbound_from
|
|
153
|
+
|
|
154
|
+
attr_accessor :sms_inbound_text
|
|
155
|
+
|
|
156
|
+
attr_accessor :sms_inbound_webhook_delivered
|
|
157
|
+
|
|
158
|
+
attr_accessor :sms_replied_at
|
|
159
|
+
|
|
160
|
+
attr_accessor :sms_replied_to
|
|
161
|
+
|
|
162
|
+
attr_accessor :sms_replied_text
|
|
163
|
+
|
|
164
|
+
attr_accessor :sms_replied_segments
|
|
165
|
+
|
|
166
|
+
attr_accessor :sms_replied_encoding
|
|
167
|
+
|
|
168
|
+
attr_accessor :web_push_sent_token
|
|
169
|
+
|
|
170
|
+
attr_accessor :web_push_sent_at
|
|
171
|
+
|
|
172
|
+
attr_accessor :web_push_sent_after
|
|
173
|
+
|
|
174
|
+
attr_accessor :web_push_delivered_at
|
|
175
|
+
|
|
176
|
+
attr_accessor :web_push_delivered_after
|
|
177
|
+
|
|
178
|
+
attr_accessor :web_push_delivered_token
|
|
179
|
+
|
|
180
|
+
attr_accessor :web_push_delivered_internal
|
|
181
|
+
|
|
182
|
+
attr_accessor :web_push_failed_at
|
|
183
|
+
|
|
184
|
+
attr_accessor :web_push_failed_token
|
|
185
|
+
|
|
186
|
+
attr_accessor :web_push_failed_code
|
|
187
|
+
|
|
188
|
+
attr_accessor :web_push_failed_internal
|
|
189
|
+
|
|
190
|
+
attr_accessor :processed_at
|
|
191
|
+
|
|
192
|
+
attr_accessor :ignored
|
|
193
|
+
|
|
194
|
+
attr_accessor :scheduled_for
|
|
195
|
+
|
|
196
|
+
attr_accessor :user_id
|
|
197
|
+
|
|
198
|
+
attr_accessor :user_email
|
|
199
|
+
|
|
200
|
+
attr_accessor :user_number
|
|
201
|
+
|
|
202
|
+
attr_accessor :email_routing
|
|
203
|
+
|
|
204
|
+
attr_accessor :email_routing_reason
|
|
205
|
+
|
|
206
|
+
attr_accessor :sms_routing
|
|
207
|
+
|
|
208
|
+
attr_accessor :sms_routing_reason
|
|
209
|
+
|
|
210
|
+
attr_accessor :web_push_routing
|
|
211
|
+
|
|
212
|
+
attr_accessor :web_push_routing_reason
|
|
213
|
+
|
|
214
|
+
attr_accessor :mobile_push_routing
|
|
215
|
+
|
|
216
|
+
attr_accessor :mobile_push_routing_reason
|
|
217
|
+
|
|
218
|
+
attr_accessor :call_routing
|
|
219
|
+
|
|
220
|
+
attr_accessor :call_routing_reason
|
|
221
|
+
|
|
222
|
+
attr_accessor :inapp_routing
|
|
223
|
+
|
|
224
|
+
attr_accessor :inapp_routing_reason
|
|
225
|
+
|
|
226
|
+
attr_accessor :slack_routing
|
|
227
|
+
|
|
228
|
+
attr_accessor :slack_routing_reason
|
|
229
|
+
|
|
230
|
+
attr_accessor :email_preview
|
|
231
|
+
|
|
232
|
+
attr_accessor :sms_preview
|
|
233
|
+
|
|
234
|
+
attr_accessor :call_preview
|
|
235
|
+
|
|
236
|
+
attr_accessor :web_push_preview
|
|
237
|
+
|
|
238
|
+
attr_accessor :mobile_push_preview
|
|
239
|
+
|
|
240
|
+
attr_accessor :slack_preview
|
|
241
|
+
|
|
242
|
+
attr_accessor :inapp_preview
|
|
243
|
+
|
|
244
|
+
attr_accessor :slack_sent_at
|
|
245
|
+
|
|
246
|
+
attr_accessor :slack_sent_after
|
|
247
|
+
|
|
248
|
+
attr_accessor :slack_delivered_at
|
|
249
|
+
|
|
250
|
+
attr_accessor :slack_delivered_after
|
|
251
|
+
|
|
252
|
+
attr_accessor :slack_delivered_internal
|
|
253
|
+
|
|
254
|
+
attr_accessor :slack_failed_at
|
|
255
|
+
|
|
256
|
+
attr_accessor :slack_failed_code
|
|
257
|
+
|
|
258
|
+
attr_accessor :slack_failed_internal
|
|
259
|
+
|
|
260
|
+
attr_accessor :call_sent_at
|
|
261
|
+
|
|
262
|
+
attr_accessor :call_sent_after
|
|
263
|
+
|
|
264
|
+
attr_accessor :call_sent_from
|
|
265
|
+
|
|
266
|
+
attr_accessor :call_delivered_at
|
|
267
|
+
|
|
268
|
+
attr_accessor :call_delivered_after
|
|
269
|
+
|
|
270
|
+
attr_accessor :call_delivered_code
|
|
271
|
+
|
|
272
|
+
attr_accessor :call_failed_at
|
|
273
|
+
|
|
274
|
+
attr_accessor :call_failed_code
|
|
275
|
+
|
|
276
|
+
attr_accessor :call_failed_internal
|
|
277
|
+
|
|
278
|
+
attr_accessor :sms_failed_at
|
|
279
|
+
|
|
280
|
+
attr_accessor :sms_failed_code
|
|
281
|
+
|
|
282
|
+
attr_accessor :sms_failed_internal
|
|
283
|
+
|
|
284
|
+
attr_accessor :sms_sent_at
|
|
285
|
+
|
|
286
|
+
attr_accessor :sms_sent_after
|
|
287
|
+
|
|
288
|
+
attr_accessor :sms_sent_from
|
|
289
|
+
|
|
290
|
+
attr_accessor :sms_sent_carrier
|
|
291
|
+
|
|
292
|
+
attr_accessor :sms_sent_line_type
|
|
293
|
+
|
|
294
|
+
attr_accessor :sms_sent_encoding
|
|
295
|
+
|
|
296
|
+
attr_accessor :sms_sent_segments
|
|
297
|
+
|
|
298
|
+
attr_accessor :sms_sent_parts
|
|
299
|
+
|
|
300
|
+
attr_accessor :sms_delivered_at
|
|
301
|
+
|
|
302
|
+
attr_accessor :sms_delivered_after
|
|
303
|
+
|
|
304
|
+
attr_accessor :schedule_updated_at
|
|
305
|
+
|
|
306
|
+
attr_accessor :schedule_updated_to
|
|
307
|
+
|
|
308
|
+
attr_accessor :schedule_deleted_at
|
|
309
|
+
|
|
310
|
+
class EnumAttributeValidator
|
|
311
|
+
attr_reader :datatype
|
|
312
|
+
attr_reader :allowable_values
|
|
313
|
+
|
|
314
|
+
def initialize(datatype, allowable_values)
|
|
315
|
+
@allowable_values = allowable_values.map do |value|
|
|
316
|
+
case datatype.to_s
|
|
317
|
+
when /Integer/i
|
|
318
|
+
value.to_i
|
|
319
|
+
when /Float/i
|
|
320
|
+
value.to_f
|
|
321
|
+
else
|
|
322
|
+
value
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
def valid?(value)
|
|
328
|
+
!value || allowable_values.include?(value)
|
|
329
|
+
end
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
333
|
+
def self.attribute_map
|
|
334
|
+
{
|
|
335
|
+
:'received_at' => :'received_at',
|
|
336
|
+
:'type' => :'type',
|
|
337
|
+
:'env_id' => :'envId',
|
|
338
|
+
:'client_id' => :'clientId',
|
|
339
|
+
:'agent' => :'agent',
|
|
340
|
+
:'ip' => :'ip',
|
|
341
|
+
:'request' => :'request',
|
|
342
|
+
:'test' => :'test',
|
|
343
|
+
:'tracking_id' => :'trackingId',
|
|
344
|
+
:'account_id' => :'accountId',
|
|
345
|
+
:'failed_at' => :'failed_at',
|
|
346
|
+
:'failed_code' => :'failed_code',
|
|
347
|
+
:'failed_internal' => :'failed_internal',
|
|
348
|
+
:'inapp_sent_at' => :'inapp_sent_at',
|
|
349
|
+
:'inapp_sent_after' => :'inapp_sent_after',
|
|
350
|
+
:'inapp_delivered_at' => :'inapp_delivered_at',
|
|
351
|
+
:'inapp_delivered_after' => :'inapp_delivered_after',
|
|
352
|
+
:'inapp_failed_at' => :'inapp_failed_at',
|
|
353
|
+
:'inapp_failed_code' => :'inapp_failed_code',
|
|
354
|
+
:'inapp_failed_internal' => :'inapp_failed_internal',
|
|
355
|
+
:'mobile_push_failed_at' => :'mobile_push_failed_at',
|
|
356
|
+
:'mobile_push_failed_code' => :'mobile_push_failed_code',
|
|
357
|
+
:'mobile_push_failed_token' => :'mobile_push_failed_token',
|
|
358
|
+
:'mobile_push_failed_internal' => :'mobile_push_failed_internal',
|
|
359
|
+
:'mobile_push_sent_at' => :'mobile_push_sent_at',
|
|
360
|
+
:'mobile_push_sent_after' => :'mobile_push_sent_after',
|
|
361
|
+
:'mobile_push_sent_token' => :'mobile_push_sent_token',
|
|
362
|
+
:'mobile_push_delivered_at' => :'mobile_push_delivered_at',
|
|
363
|
+
:'mobile_push_delivered_after' => :'mobile_push_delivered_after',
|
|
364
|
+
:'email_sent_at' => :'email_sent_at',
|
|
365
|
+
:'email_sent_message_id' => :'email_sent_message_id',
|
|
366
|
+
:'email_sent_after' => :'email_sent_after',
|
|
367
|
+
:'email_delivered_at' => :'email_delivered_at',
|
|
368
|
+
:'email_delivered_recipients' => :'email_delivered_recipients',
|
|
369
|
+
:'email_delivered_after' => :'email_delivered_after',
|
|
370
|
+
:'email_failed_at' => :'email_failed_at',
|
|
371
|
+
:'email_failed_code' => :'email_failed_code',
|
|
372
|
+
:'email_failed_recipient' => :'email_failed_recipient',
|
|
373
|
+
:'email_failed_diagnostic_code' => :'email_failed_diagnostic_code',
|
|
374
|
+
:'email_failed_internal' => :'email_failed_internal',
|
|
375
|
+
:'email_opened_at' => :'email_opened_at',
|
|
376
|
+
:'email_opened_user_agent' => :'email_opened_user_agent',
|
|
377
|
+
:'email_opened_ip' => :'email_opened_ip',
|
|
378
|
+
:'email_clicked_at' => :'email_clicked_at',
|
|
379
|
+
:'email_clicked_user_agent' => :'email_clicked_user_agent',
|
|
380
|
+
:'email_clicked_ip' => :'email_clicked_ip',
|
|
381
|
+
:'email_clicked_link' => :'email_clicked_link',
|
|
382
|
+
:'email_clicked_link_tags' => :'email_clicked_link_tags',
|
|
383
|
+
:'email_inbound_at' => :'email_inbound_at',
|
|
384
|
+
:'email_inbound_from' => :'email_inbound_from',
|
|
385
|
+
:'email_inbound_from_name' => :'email_inbound_from_name',
|
|
386
|
+
:'email_inbound_to' => :'email_inbound_to',
|
|
387
|
+
:'email_inbound_cc' => :'email_inbound_cc',
|
|
388
|
+
:'email_inbound_bcc' => :'email_inbound_bcc',
|
|
389
|
+
:'email_inbound_reply_to' => :'email_inbound_reply_to',
|
|
390
|
+
:'email_inbound_inbox' => :'email_inbound_inbox',
|
|
391
|
+
:'email_inbound_subject' => :'email_inbound_subject',
|
|
392
|
+
:'email_inbound_body_text' => :'email_inbound_body_text',
|
|
393
|
+
:'email_inbound_body_html' => :'email_inbound_body_html',
|
|
394
|
+
:'email_inbound_has_attachments' => :'email_inbound_has_attachments',
|
|
395
|
+
:'email_inbound_attachment_count' => :'email_inbound_attachment_count',
|
|
396
|
+
:'email_inbound_message_id' => :'email_inbound_message_id',
|
|
397
|
+
:'email_inbound_in_reply_to' => :'email_inbound_in_reply_to',
|
|
398
|
+
:'email_inbound_references' => :'email_inbound_references',
|
|
399
|
+
:'email_inbound_webhook_delivered' => :'email_inbound_webhook_delivered',
|
|
400
|
+
:'email_inbound_resolution_type' => :'email_inbound_resolution_type',
|
|
401
|
+
:'sms_inbound_at' => :'sms_inbound_at',
|
|
402
|
+
:'sms_inbound_from' => :'sms_inbound_from',
|
|
403
|
+
:'sms_inbound_text' => :'sms_inbound_text',
|
|
404
|
+
:'sms_inbound_webhook_delivered' => :'sms_inbound_webhook_delivered',
|
|
405
|
+
:'sms_replied_at' => :'sms_replied_at',
|
|
406
|
+
:'sms_replied_to' => :'sms_replied_to',
|
|
407
|
+
:'sms_replied_text' => :'sms_replied_text',
|
|
408
|
+
:'sms_replied_segments' => :'sms_replied_segments',
|
|
409
|
+
:'sms_replied_encoding' => :'sms_replied_encoding',
|
|
410
|
+
:'web_push_sent_token' => :'web_push_sent_token',
|
|
411
|
+
:'web_push_sent_at' => :'web_push_sent_at',
|
|
412
|
+
:'web_push_sent_after' => :'web_push_sent_after',
|
|
413
|
+
:'web_push_delivered_at' => :'web_push_delivered_at',
|
|
414
|
+
:'web_push_delivered_after' => :'web_push_delivered_after',
|
|
415
|
+
:'web_push_delivered_token' => :'web_push_delivered_token',
|
|
416
|
+
:'web_push_delivered_internal' => :'web_push_delivered_internal',
|
|
417
|
+
:'web_push_failed_at' => :'web_push_failed_at',
|
|
418
|
+
:'web_push_failed_token' => :'web_push_failed_token',
|
|
419
|
+
:'web_push_failed_code' => :'web_push_failed_code',
|
|
420
|
+
:'web_push_failed_internal' => :'web_push_failed_internal',
|
|
421
|
+
:'processed_at' => :'processed_at',
|
|
422
|
+
:'ignored' => :'ignored',
|
|
423
|
+
:'scheduled_for' => :'scheduled_for',
|
|
424
|
+
:'user_id' => :'user_id',
|
|
425
|
+
:'user_email' => :'user_email',
|
|
426
|
+
:'user_number' => :'user_number',
|
|
427
|
+
:'email_routing' => :'email_routing',
|
|
428
|
+
:'email_routing_reason' => :'email_routing_reason',
|
|
429
|
+
:'sms_routing' => :'sms_routing',
|
|
430
|
+
:'sms_routing_reason' => :'sms_routing_reason',
|
|
431
|
+
:'web_push_routing' => :'web_push_routing',
|
|
432
|
+
:'web_push_routing_reason' => :'web_push_routing_reason',
|
|
433
|
+
:'mobile_push_routing' => :'mobile_push_routing',
|
|
434
|
+
:'mobile_push_routing_reason' => :'mobile_push_routing_reason',
|
|
435
|
+
:'call_routing' => :'call_routing',
|
|
436
|
+
:'call_routing_reason' => :'call_routing_reason',
|
|
437
|
+
:'inapp_routing' => :'inapp_routing',
|
|
438
|
+
:'inapp_routing_reason' => :'inapp_routing_reason',
|
|
439
|
+
:'slack_routing' => :'slack_routing',
|
|
440
|
+
:'slack_routing_reason' => :'slack_routing_reason',
|
|
441
|
+
:'email_preview' => :'email_preview',
|
|
442
|
+
:'sms_preview' => :'sms_preview',
|
|
443
|
+
:'call_preview' => :'call_preview',
|
|
444
|
+
:'web_push_preview' => :'web_push_preview',
|
|
445
|
+
:'mobile_push_preview' => :'mobile_push_preview',
|
|
446
|
+
:'slack_preview' => :'slack_preview',
|
|
447
|
+
:'inapp_preview' => :'inapp_preview',
|
|
448
|
+
:'slack_sent_at' => :'slack_sent_at',
|
|
449
|
+
:'slack_sent_after' => :'slack_sent_after',
|
|
450
|
+
:'slack_delivered_at' => :'slack_delivered_at',
|
|
451
|
+
:'slack_delivered_after' => :'slack_delivered_after',
|
|
452
|
+
:'slack_delivered_internal' => :'slack_delivered_internal',
|
|
453
|
+
:'slack_failed_at' => :'slack_failed_at',
|
|
454
|
+
:'slack_failed_code' => :'slack_failed_code',
|
|
455
|
+
:'slack_failed_internal' => :'slack_failed_internal',
|
|
456
|
+
:'call_sent_at' => :'call_sent_at',
|
|
457
|
+
:'call_sent_after' => :'call_sent_after',
|
|
458
|
+
:'call_sent_from' => :'call_sent_from',
|
|
459
|
+
:'call_delivered_at' => :'call_delivered_at',
|
|
460
|
+
:'call_delivered_after' => :'call_delivered_after',
|
|
461
|
+
:'call_delivered_code' => :'call_delivered_code',
|
|
462
|
+
:'call_failed_at' => :'call_failed_at',
|
|
463
|
+
:'call_failed_code' => :'call_failed_code',
|
|
464
|
+
:'call_failed_internal' => :'call_failed_internal',
|
|
465
|
+
:'sms_failed_at' => :'sms_failed_at',
|
|
466
|
+
:'sms_failed_code' => :'sms_failed_code',
|
|
467
|
+
:'sms_failed_internal' => :'sms_failed_internal',
|
|
468
|
+
:'sms_sent_at' => :'sms_sent_at',
|
|
469
|
+
:'sms_sent_after' => :'sms_sent_after',
|
|
470
|
+
:'sms_sent_from' => :'sms_sent_from',
|
|
471
|
+
:'sms_sent_carrier' => :'sms_sent_carrier',
|
|
472
|
+
:'sms_sent_line_type' => :'sms_sent_line_type',
|
|
473
|
+
:'sms_sent_encoding' => :'sms_sent_encoding',
|
|
474
|
+
:'sms_sent_segments' => :'sms_sent_segments',
|
|
475
|
+
:'sms_sent_parts' => :'sms_sent_parts',
|
|
476
|
+
:'sms_delivered_at' => :'sms_delivered_at',
|
|
477
|
+
:'sms_delivered_after' => :'sms_delivered_after',
|
|
478
|
+
:'schedule_updated_at' => :'schedule_updated_at',
|
|
479
|
+
:'schedule_updated_to' => :'schedule_updated_to',
|
|
480
|
+
:'schedule_deleted_at' => :'schedule_deleted_at'
|
|
481
|
+
}
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
# Returns attribute mapping this model knows about
|
|
485
|
+
def self.acceptable_attribute_map
|
|
486
|
+
attribute_map
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
# Returns all the JSON keys this model knows about
|
|
490
|
+
def self.acceptable_attributes
|
|
491
|
+
acceptable_attribute_map.values
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
# Attribute type mapping.
|
|
495
|
+
def self.openapi_types
|
|
496
|
+
{
|
|
497
|
+
:'received_at' => :'String',
|
|
498
|
+
:'type' => :'String',
|
|
499
|
+
:'env_id' => :'String',
|
|
500
|
+
:'client_id' => :'String',
|
|
501
|
+
:'agent' => :'String',
|
|
502
|
+
:'ip' => :'String',
|
|
503
|
+
:'request' => :'String',
|
|
504
|
+
:'test' => :'Boolean',
|
|
505
|
+
:'tracking_id' => :'String',
|
|
506
|
+
:'account_id' => :'String',
|
|
507
|
+
:'failed_at' => :'String',
|
|
508
|
+
:'failed_code' => :'String',
|
|
509
|
+
:'failed_internal' => :'String',
|
|
510
|
+
:'inapp_sent_at' => :'String',
|
|
511
|
+
:'inapp_sent_after' => :'Float',
|
|
512
|
+
:'inapp_delivered_at' => :'String',
|
|
513
|
+
:'inapp_delivered_after' => :'Float',
|
|
514
|
+
:'inapp_failed_at' => :'String',
|
|
515
|
+
:'inapp_failed_code' => :'String',
|
|
516
|
+
:'inapp_failed_internal' => :'String',
|
|
517
|
+
:'mobile_push_failed_at' => :'String',
|
|
518
|
+
:'mobile_push_failed_code' => :'String',
|
|
519
|
+
:'mobile_push_failed_token' => :'String',
|
|
520
|
+
:'mobile_push_failed_internal' => :'String',
|
|
521
|
+
:'mobile_push_sent_at' => :'String',
|
|
522
|
+
:'mobile_push_sent_after' => :'Float',
|
|
523
|
+
:'mobile_push_sent_token' => :'String',
|
|
524
|
+
:'mobile_push_delivered_at' => :'String',
|
|
525
|
+
:'mobile_push_delivered_after' => :'Float',
|
|
526
|
+
:'email_sent_at' => :'String',
|
|
527
|
+
:'email_sent_message_id' => :'String',
|
|
528
|
+
:'email_sent_after' => :'Float',
|
|
529
|
+
:'email_delivered_at' => :'String',
|
|
530
|
+
:'email_delivered_recipients' => :'String',
|
|
531
|
+
:'email_delivered_after' => :'Float',
|
|
532
|
+
:'email_failed_at' => :'String',
|
|
533
|
+
:'email_failed_code' => :'String',
|
|
534
|
+
:'email_failed_recipient' => :'String',
|
|
535
|
+
:'email_failed_diagnostic_code' => :'String',
|
|
536
|
+
:'email_failed_internal' => :'String',
|
|
537
|
+
:'email_opened_at' => :'String',
|
|
538
|
+
:'email_opened_user_agent' => :'String',
|
|
539
|
+
:'email_opened_ip' => :'String',
|
|
540
|
+
:'email_clicked_at' => :'String',
|
|
541
|
+
:'email_clicked_user_agent' => :'String',
|
|
542
|
+
:'email_clicked_ip' => :'String',
|
|
543
|
+
:'email_clicked_link' => :'String',
|
|
544
|
+
:'email_clicked_link_tags' => :'String',
|
|
545
|
+
:'email_inbound_at' => :'String',
|
|
546
|
+
:'email_inbound_from' => :'String',
|
|
547
|
+
:'email_inbound_from_name' => :'String',
|
|
548
|
+
:'email_inbound_to' => :'String',
|
|
549
|
+
:'email_inbound_cc' => :'String',
|
|
550
|
+
:'email_inbound_bcc' => :'String',
|
|
551
|
+
:'email_inbound_reply_to' => :'String',
|
|
552
|
+
:'email_inbound_inbox' => :'String',
|
|
553
|
+
:'email_inbound_subject' => :'String',
|
|
554
|
+
:'email_inbound_body_text' => :'String',
|
|
555
|
+
:'email_inbound_body_html' => :'String',
|
|
556
|
+
:'email_inbound_has_attachments' => :'Boolean',
|
|
557
|
+
:'email_inbound_attachment_count' => :'Float',
|
|
558
|
+
:'email_inbound_message_id' => :'String',
|
|
559
|
+
:'email_inbound_in_reply_to' => :'String',
|
|
560
|
+
:'email_inbound_references' => :'String',
|
|
561
|
+
:'email_inbound_webhook_delivered' => :'Boolean',
|
|
562
|
+
:'email_inbound_resolution_type' => :'String',
|
|
563
|
+
:'sms_inbound_at' => :'String',
|
|
564
|
+
:'sms_inbound_from' => :'String',
|
|
565
|
+
:'sms_inbound_text' => :'String',
|
|
566
|
+
:'sms_inbound_webhook_delivered' => :'Boolean',
|
|
567
|
+
:'sms_replied_at' => :'String',
|
|
568
|
+
:'sms_replied_to' => :'String',
|
|
569
|
+
:'sms_replied_text' => :'String',
|
|
570
|
+
:'sms_replied_segments' => :'Float',
|
|
571
|
+
:'sms_replied_encoding' => :'String',
|
|
572
|
+
:'web_push_sent_token' => :'String',
|
|
573
|
+
:'web_push_sent_at' => :'String',
|
|
574
|
+
:'web_push_sent_after' => :'Float',
|
|
575
|
+
:'web_push_delivered_at' => :'String',
|
|
576
|
+
:'web_push_delivered_after' => :'Float',
|
|
577
|
+
:'web_push_delivered_token' => :'String',
|
|
578
|
+
:'web_push_delivered_internal' => :'String',
|
|
579
|
+
:'web_push_failed_at' => :'String',
|
|
580
|
+
:'web_push_failed_token' => :'String',
|
|
581
|
+
:'web_push_failed_code' => :'String',
|
|
582
|
+
:'web_push_failed_internal' => :'String',
|
|
583
|
+
:'processed_at' => :'String',
|
|
584
|
+
:'ignored' => :'String',
|
|
585
|
+
:'scheduled_for' => :'String',
|
|
586
|
+
:'user_id' => :'String',
|
|
587
|
+
:'user_email' => :'String',
|
|
588
|
+
:'user_number' => :'String',
|
|
589
|
+
:'email_routing' => :'String',
|
|
590
|
+
:'email_routing_reason' => :'String',
|
|
591
|
+
:'sms_routing' => :'String',
|
|
592
|
+
:'sms_routing_reason' => :'String',
|
|
593
|
+
:'web_push_routing' => :'String',
|
|
594
|
+
:'web_push_routing_reason' => :'String',
|
|
595
|
+
:'mobile_push_routing' => :'String',
|
|
596
|
+
:'mobile_push_routing_reason' => :'String',
|
|
597
|
+
:'call_routing' => :'String',
|
|
598
|
+
:'call_routing_reason' => :'String',
|
|
599
|
+
:'inapp_routing' => :'String',
|
|
600
|
+
:'inapp_routing_reason' => :'String',
|
|
601
|
+
:'slack_routing' => :'String',
|
|
602
|
+
:'slack_routing_reason' => :'String',
|
|
603
|
+
:'email_preview' => :'String',
|
|
604
|
+
:'sms_preview' => :'String',
|
|
605
|
+
:'call_preview' => :'String',
|
|
606
|
+
:'web_push_preview' => :'String',
|
|
607
|
+
:'mobile_push_preview' => :'String',
|
|
608
|
+
:'slack_preview' => :'String',
|
|
609
|
+
:'inapp_preview' => :'String',
|
|
610
|
+
:'slack_sent_at' => :'String',
|
|
611
|
+
:'slack_sent_after' => :'Float',
|
|
612
|
+
:'slack_delivered_at' => :'String',
|
|
613
|
+
:'slack_delivered_after' => :'Float',
|
|
614
|
+
:'slack_delivered_internal' => :'String',
|
|
615
|
+
:'slack_failed_at' => :'String',
|
|
616
|
+
:'slack_failed_code' => :'String',
|
|
617
|
+
:'slack_failed_internal' => :'String',
|
|
618
|
+
:'call_sent_at' => :'String',
|
|
619
|
+
:'call_sent_after' => :'Float',
|
|
620
|
+
:'call_sent_from' => :'String',
|
|
621
|
+
:'call_delivered_at' => :'String',
|
|
622
|
+
:'call_delivered_after' => :'Float',
|
|
623
|
+
:'call_delivered_code' => :'String',
|
|
624
|
+
:'call_failed_at' => :'String',
|
|
625
|
+
:'call_failed_code' => :'String',
|
|
626
|
+
:'call_failed_internal' => :'String',
|
|
627
|
+
:'sms_failed_at' => :'String',
|
|
628
|
+
:'sms_failed_code' => :'String',
|
|
629
|
+
:'sms_failed_internal' => :'String',
|
|
630
|
+
:'sms_sent_at' => :'String',
|
|
631
|
+
:'sms_sent_after' => :'Float',
|
|
632
|
+
:'sms_sent_from' => :'String',
|
|
633
|
+
:'sms_sent_carrier' => :'String',
|
|
634
|
+
:'sms_sent_line_type' => :'String',
|
|
635
|
+
:'sms_sent_encoding' => :'String',
|
|
636
|
+
:'sms_sent_segments' => :'Float',
|
|
637
|
+
:'sms_sent_parts' => :'Float',
|
|
638
|
+
:'sms_delivered_at' => :'String',
|
|
639
|
+
:'sms_delivered_after' => :'Float',
|
|
640
|
+
:'schedule_updated_at' => :'String',
|
|
641
|
+
:'schedule_updated_to' => :'String',
|
|
642
|
+
:'schedule_deleted_at' => :'String'
|
|
643
|
+
}
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
# List of attributes with nullable: true
|
|
647
|
+
def self.openapi_nullable
|
|
648
|
+
Set.new([
|
|
649
|
+
])
|
|
650
|
+
end
|
|
651
|
+
|
|
652
|
+
# Initializes the object
|
|
653
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
654
|
+
def initialize(attributes = {})
|
|
655
|
+
if (!attributes.is_a?(Hash))
|
|
656
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::LogsGetResponseLogsInner` initialize method"
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
660
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
661
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
662
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
663
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::LogsGetResponseLogsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
664
|
+
end
|
|
665
|
+
h[k.to_sym] = v
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
if attributes.key?(:'received_at')
|
|
669
|
+
self.received_at = attributes[:'received_at']
|
|
670
|
+
end
|
|
671
|
+
|
|
672
|
+
if attributes.key?(:'type')
|
|
673
|
+
self.type = attributes[:'type']
|
|
674
|
+
end
|
|
675
|
+
|
|
676
|
+
if attributes.key?(:'env_id')
|
|
677
|
+
self.env_id = attributes[:'env_id']
|
|
678
|
+
end
|
|
679
|
+
|
|
680
|
+
if attributes.key?(:'client_id')
|
|
681
|
+
self.client_id = attributes[:'client_id']
|
|
682
|
+
end
|
|
683
|
+
|
|
684
|
+
if attributes.key?(:'agent')
|
|
685
|
+
self.agent = attributes[:'agent']
|
|
686
|
+
end
|
|
687
|
+
|
|
688
|
+
if attributes.key?(:'ip')
|
|
689
|
+
self.ip = attributes[:'ip']
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
if attributes.key?(:'request')
|
|
693
|
+
self.request = attributes[:'request']
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
if attributes.key?(:'test')
|
|
697
|
+
self.test = attributes[:'test']
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
if attributes.key?(:'tracking_id')
|
|
701
|
+
self.tracking_id = attributes[:'tracking_id']
|
|
702
|
+
else
|
|
703
|
+
self.tracking_id = nil
|
|
704
|
+
end
|
|
705
|
+
|
|
706
|
+
if attributes.key?(:'account_id')
|
|
707
|
+
self.account_id = attributes[:'account_id']
|
|
708
|
+
else
|
|
709
|
+
self.account_id = nil
|
|
710
|
+
end
|
|
711
|
+
|
|
712
|
+
if attributes.key?(:'failed_at')
|
|
713
|
+
self.failed_at = attributes[:'failed_at']
|
|
714
|
+
end
|
|
715
|
+
|
|
716
|
+
if attributes.key?(:'failed_code')
|
|
717
|
+
self.failed_code = attributes[:'failed_code']
|
|
718
|
+
end
|
|
719
|
+
|
|
720
|
+
if attributes.key?(:'failed_internal')
|
|
721
|
+
self.failed_internal = attributes[:'failed_internal']
|
|
722
|
+
end
|
|
723
|
+
|
|
724
|
+
if attributes.key?(:'inapp_sent_at')
|
|
725
|
+
self.inapp_sent_at = attributes[:'inapp_sent_at']
|
|
726
|
+
end
|
|
727
|
+
|
|
728
|
+
if attributes.key?(:'inapp_sent_after')
|
|
729
|
+
self.inapp_sent_after = attributes[:'inapp_sent_after']
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
if attributes.key?(:'inapp_delivered_at')
|
|
733
|
+
self.inapp_delivered_at = attributes[:'inapp_delivered_at']
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
if attributes.key?(:'inapp_delivered_after')
|
|
737
|
+
self.inapp_delivered_after = attributes[:'inapp_delivered_after']
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
if attributes.key?(:'inapp_failed_at')
|
|
741
|
+
self.inapp_failed_at = attributes[:'inapp_failed_at']
|
|
742
|
+
end
|
|
743
|
+
|
|
744
|
+
if attributes.key?(:'inapp_failed_code')
|
|
745
|
+
self.inapp_failed_code = attributes[:'inapp_failed_code']
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
if attributes.key?(:'inapp_failed_internal')
|
|
749
|
+
self.inapp_failed_internal = attributes[:'inapp_failed_internal']
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
if attributes.key?(:'mobile_push_failed_at')
|
|
753
|
+
self.mobile_push_failed_at = attributes[:'mobile_push_failed_at']
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
if attributes.key?(:'mobile_push_failed_code')
|
|
757
|
+
self.mobile_push_failed_code = attributes[:'mobile_push_failed_code']
|
|
758
|
+
end
|
|
759
|
+
|
|
760
|
+
if attributes.key?(:'mobile_push_failed_token')
|
|
761
|
+
self.mobile_push_failed_token = attributes[:'mobile_push_failed_token']
|
|
762
|
+
end
|
|
763
|
+
|
|
764
|
+
if attributes.key?(:'mobile_push_failed_internal')
|
|
765
|
+
self.mobile_push_failed_internal = attributes[:'mobile_push_failed_internal']
|
|
766
|
+
end
|
|
767
|
+
|
|
768
|
+
if attributes.key?(:'mobile_push_sent_at')
|
|
769
|
+
self.mobile_push_sent_at = attributes[:'mobile_push_sent_at']
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
if attributes.key?(:'mobile_push_sent_after')
|
|
773
|
+
self.mobile_push_sent_after = attributes[:'mobile_push_sent_after']
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
if attributes.key?(:'mobile_push_sent_token')
|
|
777
|
+
self.mobile_push_sent_token = attributes[:'mobile_push_sent_token']
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
if attributes.key?(:'mobile_push_delivered_at')
|
|
781
|
+
self.mobile_push_delivered_at = attributes[:'mobile_push_delivered_at']
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
if attributes.key?(:'mobile_push_delivered_after')
|
|
785
|
+
self.mobile_push_delivered_after = attributes[:'mobile_push_delivered_after']
|
|
786
|
+
end
|
|
787
|
+
|
|
788
|
+
if attributes.key?(:'email_sent_at')
|
|
789
|
+
self.email_sent_at = attributes[:'email_sent_at']
|
|
790
|
+
end
|
|
791
|
+
|
|
792
|
+
if attributes.key?(:'email_sent_message_id')
|
|
793
|
+
self.email_sent_message_id = attributes[:'email_sent_message_id']
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
if attributes.key?(:'email_sent_after')
|
|
797
|
+
self.email_sent_after = attributes[:'email_sent_after']
|
|
798
|
+
end
|
|
799
|
+
|
|
800
|
+
if attributes.key?(:'email_delivered_at')
|
|
801
|
+
self.email_delivered_at = attributes[:'email_delivered_at']
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
if attributes.key?(:'email_delivered_recipients')
|
|
805
|
+
self.email_delivered_recipients = attributes[:'email_delivered_recipients']
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
if attributes.key?(:'email_delivered_after')
|
|
809
|
+
self.email_delivered_after = attributes[:'email_delivered_after']
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
if attributes.key?(:'email_failed_at')
|
|
813
|
+
self.email_failed_at = attributes[:'email_failed_at']
|
|
814
|
+
end
|
|
815
|
+
|
|
816
|
+
if attributes.key?(:'email_failed_code')
|
|
817
|
+
self.email_failed_code = attributes[:'email_failed_code']
|
|
818
|
+
end
|
|
819
|
+
|
|
820
|
+
if attributes.key?(:'email_failed_recipient')
|
|
821
|
+
self.email_failed_recipient = attributes[:'email_failed_recipient']
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
if attributes.key?(:'email_failed_diagnostic_code')
|
|
825
|
+
self.email_failed_diagnostic_code = attributes[:'email_failed_diagnostic_code']
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
if attributes.key?(:'email_failed_internal')
|
|
829
|
+
self.email_failed_internal = attributes[:'email_failed_internal']
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
if attributes.key?(:'email_opened_at')
|
|
833
|
+
self.email_opened_at = attributes[:'email_opened_at']
|
|
834
|
+
end
|
|
835
|
+
|
|
836
|
+
if attributes.key?(:'email_opened_user_agent')
|
|
837
|
+
self.email_opened_user_agent = attributes[:'email_opened_user_agent']
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
if attributes.key?(:'email_opened_ip')
|
|
841
|
+
self.email_opened_ip = attributes[:'email_opened_ip']
|
|
842
|
+
end
|
|
843
|
+
|
|
844
|
+
if attributes.key?(:'email_clicked_at')
|
|
845
|
+
self.email_clicked_at = attributes[:'email_clicked_at']
|
|
846
|
+
end
|
|
847
|
+
|
|
848
|
+
if attributes.key?(:'email_clicked_user_agent')
|
|
849
|
+
self.email_clicked_user_agent = attributes[:'email_clicked_user_agent']
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
if attributes.key?(:'email_clicked_ip')
|
|
853
|
+
self.email_clicked_ip = attributes[:'email_clicked_ip']
|
|
854
|
+
end
|
|
855
|
+
|
|
856
|
+
if attributes.key?(:'email_clicked_link')
|
|
857
|
+
self.email_clicked_link = attributes[:'email_clicked_link']
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
if attributes.key?(:'email_clicked_link_tags')
|
|
861
|
+
self.email_clicked_link_tags = attributes[:'email_clicked_link_tags']
|
|
862
|
+
end
|
|
863
|
+
|
|
864
|
+
if attributes.key?(:'email_inbound_at')
|
|
865
|
+
self.email_inbound_at = attributes[:'email_inbound_at']
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
if attributes.key?(:'email_inbound_from')
|
|
869
|
+
self.email_inbound_from = attributes[:'email_inbound_from']
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
if attributes.key?(:'email_inbound_from_name')
|
|
873
|
+
self.email_inbound_from_name = attributes[:'email_inbound_from_name']
|
|
874
|
+
end
|
|
875
|
+
|
|
876
|
+
if attributes.key?(:'email_inbound_to')
|
|
877
|
+
self.email_inbound_to = attributes[:'email_inbound_to']
|
|
878
|
+
end
|
|
879
|
+
|
|
880
|
+
if attributes.key?(:'email_inbound_cc')
|
|
881
|
+
self.email_inbound_cc = attributes[:'email_inbound_cc']
|
|
882
|
+
end
|
|
883
|
+
|
|
884
|
+
if attributes.key?(:'email_inbound_bcc')
|
|
885
|
+
self.email_inbound_bcc = attributes[:'email_inbound_bcc']
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
if attributes.key?(:'email_inbound_reply_to')
|
|
889
|
+
self.email_inbound_reply_to = attributes[:'email_inbound_reply_to']
|
|
890
|
+
end
|
|
891
|
+
|
|
892
|
+
if attributes.key?(:'email_inbound_inbox')
|
|
893
|
+
self.email_inbound_inbox = attributes[:'email_inbound_inbox']
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
if attributes.key?(:'email_inbound_subject')
|
|
897
|
+
self.email_inbound_subject = attributes[:'email_inbound_subject']
|
|
898
|
+
end
|
|
899
|
+
|
|
900
|
+
if attributes.key?(:'email_inbound_body_text')
|
|
901
|
+
self.email_inbound_body_text = attributes[:'email_inbound_body_text']
|
|
902
|
+
end
|
|
903
|
+
|
|
904
|
+
if attributes.key?(:'email_inbound_body_html')
|
|
905
|
+
self.email_inbound_body_html = attributes[:'email_inbound_body_html']
|
|
906
|
+
end
|
|
907
|
+
|
|
908
|
+
if attributes.key?(:'email_inbound_has_attachments')
|
|
909
|
+
self.email_inbound_has_attachments = attributes[:'email_inbound_has_attachments']
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
if attributes.key?(:'email_inbound_attachment_count')
|
|
913
|
+
self.email_inbound_attachment_count = attributes[:'email_inbound_attachment_count']
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
if attributes.key?(:'email_inbound_message_id')
|
|
917
|
+
self.email_inbound_message_id = attributes[:'email_inbound_message_id']
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
if attributes.key?(:'email_inbound_in_reply_to')
|
|
921
|
+
self.email_inbound_in_reply_to = attributes[:'email_inbound_in_reply_to']
|
|
922
|
+
end
|
|
923
|
+
|
|
924
|
+
if attributes.key?(:'email_inbound_references')
|
|
925
|
+
self.email_inbound_references = attributes[:'email_inbound_references']
|
|
926
|
+
end
|
|
927
|
+
|
|
928
|
+
if attributes.key?(:'email_inbound_webhook_delivered')
|
|
929
|
+
self.email_inbound_webhook_delivered = attributes[:'email_inbound_webhook_delivered']
|
|
930
|
+
end
|
|
931
|
+
|
|
932
|
+
if attributes.key?(:'email_inbound_resolution_type')
|
|
933
|
+
self.email_inbound_resolution_type = attributes[:'email_inbound_resolution_type']
|
|
934
|
+
end
|
|
935
|
+
|
|
936
|
+
if attributes.key?(:'sms_inbound_at')
|
|
937
|
+
self.sms_inbound_at = attributes[:'sms_inbound_at']
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
if attributes.key?(:'sms_inbound_from')
|
|
941
|
+
self.sms_inbound_from = attributes[:'sms_inbound_from']
|
|
942
|
+
end
|
|
943
|
+
|
|
944
|
+
if attributes.key?(:'sms_inbound_text')
|
|
945
|
+
self.sms_inbound_text = attributes[:'sms_inbound_text']
|
|
946
|
+
end
|
|
947
|
+
|
|
948
|
+
if attributes.key?(:'sms_inbound_webhook_delivered')
|
|
949
|
+
self.sms_inbound_webhook_delivered = attributes[:'sms_inbound_webhook_delivered']
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
if attributes.key?(:'sms_replied_at')
|
|
953
|
+
self.sms_replied_at = attributes[:'sms_replied_at']
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
if attributes.key?(:'sms_replied_to')
|
|
957
|
+
self.sms_replied_to = attributes[:'sms_replied_to']
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
if attributes.key?(:'sms_replied_text')
|
|
961
|
+
self.sms_replied_text = attributes[:'sms_replied_text']
|
|
962
|
+
end
|
|
963
|
+
|
|
964
|
+
if attributes.key?(:'sms_replied_segments')
|
|
965
|
+
self.sms_replied_segments = attributes[:'sms_replied_segments']
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
if attributes.key?(:'sms_replied_encoding')
|
|
969
|
+
self.sms_replied_encoding = attributes[:'sms_replied_encoding']
|
|
970
|
+
end
|
|
971
|
+
|
|
972
|
+
if attributes.key?(:'web_push_sent_token')
|
|
973
|
+
self.web_push_sent_token = attributes[:'web_push_sent_token']
|
|
974
|
+
end
|
|
975
|
+
|
|
976
|
+
if attributes.key?(:'web_push_sent_at')
|
|
977
|
+
self.web_push_sent_at = attributes[:'web_push_sent_at']
|
|
978
|
+
end
|
|
979
|
+
|
|
980
|
+
if attributes.key?(:'web_push_sent_after')
|
|
981
|
+
self.web_push_sent_after = attributes[:'web_push_sent_after']
|
|
982
|
+
end
|
|
983
|
+
|
|
984
|
+
if attributes.key?(:'web_push_delivered_at')
|
|
985
|
+
self.web_push_delivered_at = attributes[:'web_push_delivered_at']
|
|
986
|
+
end
|
|
987
|
+
|
|
988
|
+
if attributes.key?(:'web_push_delivered_after')
|
|
989
|
+
self.web_push_delivered_after = attributes[:'web_push_delivered_after']
|
|
990
|
+
end
|
|
991
|
+
|
|
992
|
+
if attributes.key?(:'web_push_delivered_token')
|
|
993
|
+
self.web_push_delivered_token = attributes[:'web_push_delivered_token']
|
|
994
|
+
end
|
|
995
|
+
|
|
996
|
+
if attributes.key?(:'web_push_delivered_internal')
|
|
997
|
+
self.web_push_delivered_internal = attributes[:'web_push_delivered_internal']
|
|
998
|
+
end
|
|
999
|
+
|
|
1000
|
+
if attributes.key?(:'web_push_failed_at')
|
|
1001
|
+
self.web_push_failed_at = attributes[:'web_push_failed_at']
|
|
1002
|
+
end
|
|
1003
|
+
|
|
1004
|
+
if attributes.key?(:'web_push_failed_token')
|
|
1005
|
+
self.web_push_failed_token = attributes[:'web_push_failed_token']
|
|
1006
|
+
end
|
|
1007
|
+
|
|
1008
|
+
if attributes.key?(:'web_push_failed_code')
|
|
1009
|
+
self.web_push_failed_code = attributes[:'web_push_failed_code']
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
if attributes.key?(:'web_push_failed_internal')
|
|
1013
|
+
self.web_push_failed_internal = attributes[:'web_push_failed_internal']
|
|
1014
|
+
end
|
|
1015
|
+
|
|
1016
|
+
if attributes.key?(:'processed_at')
|
|
1017
|
+
self.processed_at = attributes[:'processed_at']
|
|
1018
|
+
end
|
|
1019
|
+
|
|
1020
|
+
if attributes.key?(:'ignored')
|
|
1021
|
+
self.ignored = attributes[:'ignored']
|
|
1022
|
+
end
|
|
1023
|
+
|
|
1024
|
+
if attributes.key?(:'scheduled_for')
|
|
1025
|
+
self.scheduled_for = attributes[:'scheduled_for']
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
if attributes.key?(:'user_id')
|
|
1029
|
+
self.user_id = attributes[:'user_id']
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
if attributes.key?(:'user_email')
|
|
1033
|
+
self.user_email = attributes[:'user_email']
|
|
1034
|
+
end
|
|
1035
|
+
|
|
1036
|
+
if attributes.key?(:'user_number')
|
|
1037
|
+
self.user_number = attributes[:'user_number']
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1040
|
+
if attributes.key?(:'email_routing')
|
|
1041
|
+
self.email_routing = attributes[:'email_routing']
|
|
1042
|
+
end
|
|
1043
|
+
|
|
1044
|
+
if attributes.key?(:'email_routing_reason')
|
|
1045
|
+
self.email_routing_reason = attributes[:'email_routing_reason']
|
|
1046
|
+
end
|
|
1047
|
+
|
|
1048
|
+
if attributes.key?(:'sms_routing')
|
|
1049
|
+
self.sms_routing = attributes[:'sms_routing']
|
|
1050
|
+
end
|
|
1051
|
+
|
|
1052
|
+
if attributes.key?(:'sms_routing_reason')
|
|
1053
|
+
self.sms_routing_reason = attributes[:'sms_routing_reason']
|
|
1054
|
+
end
|
|
1055
|
+
|
|
1056
|
+
if attributes.key?(:'web_push_routing')
|
|
1057
|
+
self.web_push_routing = attributes[:'web_push_routing']
|
|
1058
|
+
end
|
|
1059
|
+
|
|
1060
|
+
if attributes.key?(:'web_push_routing_reason')
|
|
1061
|
+
self.web_push_routing_reason = attributes[:'web_push_routing_reason']
|
|
1062
|
+
end
|
|
1063
|
+
|
|
1064
|
+
if attributes.key?(:'mobile_push_routing')
|
|
1065
|
+
self.mobile_push_routing = attributes[:'mobile_push_routing']
|
|
1066
|
+
end
|
|
1067
|
+
|
|
1068
|
+
if attributes.key?(:'mobile_push_routing_reason')
|
|
1069
|
+
self.mobile_push_routing_reason = attributes[:'mobile_push_routing_reason']
|
|
1070
|
+
end
|
|
1071
|
+
|
|
1072
|
+
if attributes.key?(:'call_routing')
|
|
1073
|
+
self.call_routing = attributes[:'call_routing']
|
|
1074
|
+
end
|
|
1075
|
+
|
|
1076
|
+
if attributes.key?(:'call_routing_reason')
|
|
1077
|
+
self.call_routing_reason = attributes[:'call_routing_reason']
|
|
1078
|
+
end
|
|
1079
|
+
|
|
1080
|
+
if attributes.key?(:'inapp_routing')
|
|
1081
|
+
self.inapp_routing = attributes[:'inapp_routing']
|
|
1082
|
+
end
|
|
1083
|
+
|
|
1084
|
+
if attributes.key?(:'inapp_routing_reason')
|
|
1085
|
+
self.inapp_routing_reason = attributes[:'inapp_routing_reason']
|
|
1086
|
+
end
|
|
1087
|
+
|
|
1088
|
+
if attributes.key?(:'slack_routing')
|
|
1089
|
+
self.slack_routing = attributes[:'slack_routing']
|
|
1090
|
+
end
|
|
1091
|
+
|
|
1092
|
+
if attributes.key?(:'slack_routing_reason')
|
|
1093
|
+
self.slack_routing_reason = attributes[:'slack_routing_reason']
|
|
1094
|
+
end
|
|
1095
|
+
|
|
1096
|
+
if attributes.key?(:'email_preview')
|
|
1097
|
+
self.email_preview = attributes[:'email_preview']
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
if attributes.key?(:'sms_preview')
|
|
1101
|
+
self.sms_preview = attributes[:'sms_preview']
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
if attributes.key?(:'call_preview')
|
|
1105
|
+
self.call_preview = attributes[:'call_preview']
|
|
1106
|
+
end
|
|
1107
|
+
|
|
1108
|
+
if attributes.key?(:'web_push_preview')
|
|
1109
|
+
self.web_push_preview = attributes[:'web_push_preview']
|
|
1110
|
+
end
|
|
1111
|
+
|
|
1112
|
+
if attributes.key?(:'mobile_push_preview')
|
|
1113
|
+
self.mobile_push_preview = attributes[:'mobile_push_preview']
|
|
1114
|
+
end
|
|
1115
|
+
|
|
1116
|
+
if attributes.key?(:'slack_preview')
|
|
1117
|
+
self.slack_preview = attributes[:'slack_preview']
|
|
1118
|
+
end
|
|
1119
|
+
|
|
1120
|
+
if attributes.key?(:'inapp_preview')
|
|
1121
|
+
self.inapp_preview = attributes[:'inapp_preview']
|
|
1122
|
+
end
|
|
1123
|
+
|
|
1124
|
+
if attributes.key?(:'slack_sent_at')
|
|
1125
|
+
self.slack_sent_at = attributes[:'slack_sent_at']
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
if attributes.key?(:'slack_sent_after')
|
|
1129
|
+
self.slack_sent_after = attributes[:'slack_sent_after']
|
|
1130
|
+
end
|
|
1131
|
+
|
|
1132
|
+
if attributes.key?(:'slack_delivered_at')
|
|
1133
|
+
self.slack_delivered_at = attributes[:'slack_delivered_at']
|
|
1134
|
+
end
|
|
1135
|
+
|
|
1136
|
+
if attributes.key?(:'slack_delivered_after')
|
|
1137
|
+
self.slack_delivered_after = attributes[:'slack_delivered_after']
|
|
1138
|
+
end
|
|
1139
|
+
|
|
1140
|
+
if attributes.key?(:'slack_delivered_internal')
|
|
1141
|
+
self.slack_delivered_internal = attributes[:'slack_delivered_internal']
|
|
1142
|
+
end
|
|
1143
|
+
|
|
1144
|
+
if attributes.key?(:'slack_failed_at')
|
|
1145
|
+
self.slack_failed_at = attributes[:'slack_failed_at']
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
if attributes.key?(:'slack_failed_code')
|
|
1149
|
+
self.slack_failed_code = attributes[:'slack_failed_code']
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
if attributes.key?(:'slack_failed_internal')
|
|
1153
|
+
self.slack_failed_internal = attributes[:'slack_failed_internal']
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
if attributes.key?(:'call_sent_at')
|
|
1157
|
+
self.call_sent_at = attributes[:'call_sent_at']
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
if attributes.key?(:'call_sent_after')
|
|
1161
|
+
self.call_sent_after = attributes[:'call_sent_after']
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1164
|
+
if attributes.key?(:'call_sent_from')
|
|
1165
|
+
self.call_sent_from = attributes[:'call_sent_from']
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
if attributes.key?(:'call_delivered_at')
|
|
1169
|
+
self.call_delivered_at = attributes[:'call_delivered_at']
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
if attributes.key?(:'call_delivered_after')
|
|
1173
|
+
self.call_delivered_after = attributes[:'call_delivered_after']
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1176
|
+
if attributes.key?(:'call_delivered_code')
|
|
1177
|
+
self.call_delivered_code = attributes[:'call_delivered_code']
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
if attributes.key?(:'call_failed_at')
|
|
1181
|
+
self.call_failed_at = attributes[:'call_failed_at']
|
|
1182
|
+
end
|
|
1183
|
+
|
|
1184
|
+
if attributes.key?(:'call_failed_code')
|
|
1185
|
+
self.call_failed_code = attributes[:'call_failed_code']
|
|
1186
|
+
end
|
|
1187
|
+
|
|
1188
|
+
if attributes.key?(:'call_failed_internal')
|
|
1189
|
+
self.call_failed_internal = attributes[:'call_failed_internal']
|
|
1190
|
+
end
|
|
1191
|
+
|
|
1192
|
+
if attributes.key?(:'sms_failed_at')
|
|
1193
|
+
self.sms_failed_at = attributes[:'sms_failed_at']
|
|
1194
|
+
end
|
|
1195
|
+
|
|
1196
|
+
if attributes.key?(:'sms_failed_code')
|
|
1197
|
+
self.sms_failed_code = attributes[:'sms_failed_code']
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1200
|
+
if attributes.key?(:'sms_failed_internal')
|
|
1201
|
+
self.sms_failed_internal = attributes[:'sms_failed_internal']
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1204
|
+
if attributes.key?(:'sms_sent_at')
|
|
1205
|
+
self.sms_sent_at = attributes[:'sms_sent_at']
|
|
1206
|
+
end
|
|
1207
|
+
|
|
1208
|
+
if attributes.key?(:'sms_sent_after')
|
|
1209
|
+
self.sms_sent_after = attributes[:'sms_sent_after']
|
|
1210
|
+
end
|
|
1211
|
+
|
|
1212
|
+
if attributes.key?(:'sms_sent_from')
|
|
1213
|
+
self.sms_sent_from = attributes[:'sms_sent_from']
|
|
1214
|
+
end
|
|
1215
|
+
|
|
1216
|
+
if attributes.key?(:'sms_sent_carrier')
|
|
1217
|
+
self.sms_sent_carrier = attributes[:'sms_sent_carrier']
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1220
|
+
if attributes.key?(:'sms_sent_line_type')
|
|
1221
|
+
self.sms_sent_line_type = attributes[:'sms_sent_line_type']
|
|
1222
|
+
end
|
|
1223
|
+
|
|
1224
|
+
if attributes.key?(:'sms_sent_encoding')
|
|
1225
|
+
self.sms_sent_encoding = attributes[:'sms_sent_encoding']
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1228
|
+
if attributes.key?(:'sms_sent_segments')
|
|
1229
|
+
self.sms_sent_segments = attributes[:'sms_sent_segments']
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
if attributes.key?(:'sms_sent_parts')
|
|
1233
|
+
self.sms_sent_parts = attributes[:'sms_sent_parts']
|
|
1234
|
+
end
|
|
1235
|
+
|
|
1236
|
+
if attributes.key?(:'sms_delivered_at')
|
|
1237
|
+
self.sms_delivered_at = attributes[:'sms_delivered_at']
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
if attributes.key?(:'sms_delivered_after')
|
|
1241
|
+
self.sms_delivered_after = attributes[:'sms_delivered_after']
|
|
1242
|
+
end
|
|
1243
|
+
|
|
1244
|
+
if attributes.key?(:'schedule_updated_at')
|
|
1245
|
+
self.schedule_updated_at = attributes[:'schedule_updated_at']
|
|
1246
|
+
end
|
|
1247
|
+
|
|
1248
|
+
if attributes.key?(:'schedule_updated_to')
|
|
1249
|
+
self.schedule_updated_to = attributes[:'schedule_updated_to']
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1252
|
+
if attributes.key?(:'schedule_deleted_at')
|
|
1253
|
+
self.schedule_deleted_at = attributes[:'schedule_deleted_at']
|
|
1254
|
+
end
|
|
1255
|
+
end
|
|
1256
|
+
|
|
1257
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
1258
|
+
# @return Array for valid properties with the reasons
|
|
1259
|
+
def list_invalid_properties
|
|
1260
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
1261
|
+
invalid_properties = Array.new
|
|
1262
|
+
if @tracking_id.nil?
|
|
1263
|
+
invalid_properties.push('invalid value for "tracking_id", tracking_id cannot be nil.')
|
|
1264
|
+
end
|
|
1265
|
+
|
|
1266
|
+
if @account_id.nil?
|
|
1267
|
+
invalid_properties.push('invalid value for "account_id", account_id cannot be nil.')
|
|
1268
|
+
end
|
|
1269
|
+
|
|
1270
|
+
invalid_properties
|
|
1271
|
+
end
|
|
1272
|
+
|
|
1273
|
+
# Check to see if the all the properties in the model are valid
|
|
1274
|
+
# @return true if the model is valid
|
|
1275
|
+
def valid?
|
|
1276
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
1277
|
+
return false if @tracking_id.nil?
|
|
1278
|
+
return false if @account_id.nil?
|
|
1279
|
+
failed_code_validator = EnumAttributeValidator.new('String', ["SPAM_CONTENT", "INVALID_SCHEDULE_FORMAT", "SCHEDULE_RESOURCE_NOT_FOUND", "UNKNOWN"])
|
|
1280
|
+
return false unless failed_code_validator.valid?(@failed_code)
|
|
1281
|
+
inapp_failed_code_validator = EnumAttributeValidator.new('String', ["IN_APP_WEB_FAILED", "UNKNOWN"])
|
|
1282
|
+
return false unless inapp_failed_code_validator.valid?(@inapp_failed_code)
|
|
1283
|
+
mobile_push_failed_code_validator = EnumAttributeValidator.new('String', ["NO_APN_CONFIG", "NO_FCM_CONFIG", "INVALID_APN_TOKEN", "INVALID_FCM_TOKEN", "UNKNOWN"])
|
|
1284
|
+
return false unless mobile_push_failed_code_validator.valid?(@mobile_push_failed_code)
|
|
1285
|
+
email_failed_code_validator = EnumAttributeValidator.new('String', ["UNVERIFIED_SENDER", "PERMANENT_GENERAL_BOUNCE", "PERMANENT_NO_EMAIL_BOUNCE", "PERMANENT_SUPPRESSED_BOUNCE", "TRANSIENT_GENERAL_BOUNCE", "TRANSIENT_MAILBOX_FULL_BOUNCE", "TRANSIENT_MESSAGE_TOO_LARGE_BOUNCE", "TRANSIENT_CONTENT_REJECTED_BOUNCE", "TRANSIENT_ATTACHMENT_REJECTED_BOUNCE", "UNDETERMINED_BOUNCE", "COMPLAINT_ABUSE", "COMPLAINT_AUTH", "COMPLAINT_FRAUD", "COMPLAINT_NOT_SPAM", "COMPLAINT_OTHER", "COMPLAINT_VIRUS", "SUPPRESSED_COMPLAINT", "SUPPRESSED_BOUNCE", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1286
|
+
return false unless email_failed_code_validator.valid?(@email_failed_code)
|
|
1287
|
+
email_inbound_resolution_type_validator = EnumAttributeValidator.new('String', ["reply", "builtin", "custom"])
|
|
1288
|
+
return false unless email_inbound_resolution_type_validator.valid?(@email_inbound_resolution_type)
|
|
1289
|
+
web_push_failed_code_validator = EnumAttributeValidator.new('String', ["UNSUBSCIRBED_OR_EXPIRED", "UNKNOWN", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1290
|
+
return false unless web_push_failed_code_validator.valid?(@web_push_failed_code)
|
|
1291
|
+
ignored_validator = EnumAttributeValidator.new('String', ["THROTTLING", "DEDUPLICATION", "DISABLED_NOTIFICATION", "ALL_CHANNELS_IGNORED"])
|
|
1292
|
+
return false unless ignored_validator.valid?(@ignored)
|
|
1293
|
+
email_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1294
|
+
return false unless email_routing_validator.valid?(@email_routing)
|
|
1295
|
+
email_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1296
|
+
return false unless email_routing_reason_validator.valid?(@email_routing_reason)
|
|
1297
|
+
sms_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1298
|
+
return false unless sms_routing_validator.valid?(@sms_routing)
|
|
1299
|
+
sms_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1300
|
+
return false unless sms_routing_reason_validator.valid?(@sms_routing_reason)
|
|
1301
|
+
web_push_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1302
|
+
return false unless web_push_routing_validator.valid?(@web_push_routing)
|
|
1303
|
+
web_push_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1304
|
+
return false unless web_push_routing_reason_validator.valid?(@web_push_routing_reason)
|
|
1305
|
+
mobile_push_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1306
|
+
return false unless mobile_push_routing_validator.valid?(@mobile_push_routing)
|
|
1307
|
+
mobile_push_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1308
|
+
return false unless mobile_push_routing_reason_validator.valid?(@mobile_push_routing_reason)
|
|
1309
|
+
call_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1310
|
+
return false unless call_routing_validator.valid?(@call_routing)
|
|
1311
|
+
call_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1312
|
+
return false unless call_routing_reason_validator.valid?(@call_routing_reason)
|
|
1313
|
+
inapp_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1314
|
+
return false unless inapp_routing_validator.valid?(@inapp_routing)
|
|
1315
|
+
inapp_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1316
|
+
return false unless inapp_routing_reason_validator.valid?(@inapp_routing_reason)
|
|
1317
|
+
slack_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1318
|
+
return false unless slack_routing_validator.valid?(@slack_routing)
|
|
1319
|
+
slack_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1320
|
+
return false unless slack_routing_reason_validator.valid?(@slack_routing_reason)
|
|
1321
|
+
slack_failed_code_validator = EnumAttributeValidator.new('String', ["CHANNEL_NOT_FOUND", "NOT_IN_CHANNEL", "CHANNEL_ARCHIVED", "MESSAGE_TOO_LONG", "NO_TEXT", "RESTRICTED_ACTION", "TOKEN_EXPIRED", "INVALID_AUTH", "UNKNOWN", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1322
|
+
return false unless slack_failed_code_validator.valid?(@slack_failed_code)
|
|
1323
|
+
call_delivered_code_validator = EnumAttributeValidator.new('String', ["COMPLETED", "BUSY", "NO_ANSWER", "UNKNOWN"])
|
|
1324
|
+
return false unless call_delivered_code_validator.valid?(@call_delivered_code)
|
|
1325
|
+
call_failed_code_validator = EnumAttributeValidator.new('String', ["13224", "21211", "21215", "21265", "21610", "21614", "21612", "30005", "30006", "30007", "30008", "30453", "40001", "40002", "40300", "Unknown", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1326
|
+
return false unless call_failed_code_validator.valid?(@call_failed_code)
|
|
1327
|
+
sms_failed_code_validator = EnumAttributeValidator.new('String', ["13224", "21211", "21215", "21265", "21610", "21614", "21612", "30005", "30006", "30007", "30008", "30453", "40001", "40002", "40300", "Unknown", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1328
|
+
return false unless sms_failed_code_validator.valid?(@sms_failed_code)
|
|
1329
|
+
true
|
|
1330
|
+
end
|
|
1331
|
+
|
|
1332
|
+
# Custom attribute writer method with validation
|
|
1333
|
+
# @param [Object] tracking_id Value to be assigned
|
|
1334
|
+
def tracking_id=(tracking_id)
|
|
1335
|
+
if tracking_id.nil?
|
|
1336
|
+
fail ArgumentError, 'tracking_id cannot be nil'
|
|
1337
|
+
end
|
|
1338
|
+
|
|
1339
|
+
@tracking_id = tracking_id
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1342
|
+
# Custom attribute writer method with validation
|
|
1343
|
+
# @param [Object] account_id Value to be assigned
|
|
1344
|
+
def account_id=(account_id)
|
|
1345
|
+
if account_id.nil?
|
|
1346
|
+
fail ArgumentError, 'account_id cannot be nil'
|
|
1347
|
+
end
|
|
1348
|
+
|
|
1349
|
+
@account_id = account_id
|
|
1350
|
+
end
|
|
1351
|
+
|
|
1352
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1353
|
+
# @param [Object] failed_code Object to be assigned
|
|
1354
|
+
def failed_code=(failed_code)
|
|
1355
|
+
validator = EnumAttributeValidator.new('String', ["SPAM_CONTENT", "INVALID_SCHEDULE_FORMAT", "SCHEDULE_RESOURCE_NOT_FOUND", "UNKNOWN"])
|
|
1356
|
+
unless validator.valid?(failed_code)
|
|
1357
|
+
fail ArgumentError, "invalid value for \"failed_code\", must be one of #{validator.allowable_values}."
|
|
1358
|
+
end
|
|
1359
|
+
@failed_code = failed_code
|
|
1360
|
+
end
|
|
1361
|
+
|
|
1362
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1363
|
+
# @param [Object] inapp_failed_code Object to be assigned
|
|
1364
|
+
def inapp_failed_code=(inapp_failed_code)
|
|
1365
|
+
validator = EnumAttributeValidator.new('String', ["IN_APP_WEB_FAILED", "UNKNOWN"])
|
|
1366
|
+
unless validator.valid?(inapp_failed_code)
|
|
1367
|
+
fail ArgumentError, "invalid value for \"inapp_failed_code\", must be one of #{validator.allowable_values}."
|
|
1368
|
+
end
|
|
1369
|
+
@inapp_failed_code = inapp_failed_code
|
|
1370
|
+
end
|
|
1371
|
+
|
|
1372
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1373
|
+
# @param [Object] mobile_push_failed_code Object to be assigned
|
|
1374
|
+
def mobile_push_failed_code=(mobile_push_failed_code)
|
|
1375
|
+
validator = EnumAttributeValidator.new('String', ["NO_APN_CONFIG", "NO_FCM_CONFIG", "INVALID_APN_TOKEN", "INVALID_FCM_TOKEN", "UNKNOWN"])
|
|
1376
|
+
unless validator.valid?(mobile_push_failed_code)
|
|
1377
|
+
fail ArgumentError, "invalid value for \"mobile_push_failed_code\", must be one of #{validator.allowable_values}."
|
|
1378
|
+
end
|
|
1379
|
+
@mobile_push_failed_code = mobile_push_failed_code
|
|
1380
|
+
end
|
|
1381
|
+
|
|
1382
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1383
|
+
# @param [Object] email_failed_code Object to be assigned
|
|
1384
|
+
def email_failed_code=(email_failed_code)
|
|
1385
|
+
validator = EnumAttributeValidator.new('String', ["UNVERIFIED_SENDER", "PERMANENT_GENERAL_BOUNCE", "PERMANENT_NO_EMAIL_BOUNCE", "PERMANENT_SUPPRESSED_BOUNCE", "TRANSIENT_GENERAL_BOUNCE", "TRANSIENT_MAILBOX_FULL_BOUNCE", "TRANSIENT_MESSAGE_TOO_LARGE_BOUNCE", "TRANSIENT_CONTENT_REJECTED_BOUNCE", "TRANSIENT_ATTACHMENT_REJECTED_BOUNCE", "UNDETERMINED_BOUNCE", "COMPLAINT_ABUSE", "COMPLAINT_AUTH", "COMPLAINT_FRAUD", "COMPLAINT_NOT_SPAM", "COMPLAINT_OTHER", "COMPLAINT_VIRUS", "SUPPRESSED_COMPLAINT", "SUPPRESSED_BOUNCE", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1386
|
+
unless validator.valid?(email_failed_code)
|
|
1387
|
+
fail ArgumentError, "invalid value for \"email_failed_code\", must be one of #{validator.allowable_values}."
|
|
1388
|
+
end
|
|
1389
|
+
@email_failed_code = email_failed_code
|
|
1390
|
+
end
|
|
1391
|
+
|
|
1392
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1393
|
+
# @param [Object] email_inbound_resolution_type Object to be assigned
|
|
1394
|
+
def email_inbound_resolution_type=(email_inbound_resolution_type)
|
|
1395
|
+
validator = EnumAttributeValidator.new('String', ["reply", "builtin", "custom"])
|
|
1396
|
+
unless validator.valid?(email_inbound_resolution_type)
|
|
1397
|
+
fail ArgumentError, "invalid value for \"email_inbound_resolution_type\", must be one of #{validator.allowable_values}."
|
|
1398
|
+
end
|
|
1399
|
+
@email_inbound_resolution_type = email_inbound_resolution_type
|
|
1400
|
+
end
|
|
1401
|
+
|
|
1402
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1403
|
+
# @param [Object] web_push_failed_code Object to be assigned
|
|
1404
|
+
def web_push_failed_code=(web_push_failed_code)
|
|
1405
|
+
validator = EnumAttributeValidator.new('String', ["UNSUBSCIRBED_OR_EXPIRED", "UNKNOWN", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1406
|
+
unless validator.valid?(web_push_failed_code)
|
|
1407
|
+
fail ArgumentError, "invalid value for \"web_push_failed_code\", must be one of #{validator.allowable_values}."
|
|
1408
|
+
end
|
|
1409
|
+
@web_push_failed_code = web_push_failed_code
|
|
1410
|
+
end
|
|
1411
|
+
|
|
1412
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1413
|
+
# @param [Object] ignored Object to be assigned
|
|
1414
|
+
def ignored=(ignored)
|
|
1415
|
+
validator = EnumAttributeValidator.new('String', ["THROTTLING", "DEDUPLICATION", "DISABLED_NOTIFICATION", "ALL_CHANNELS_IGNORED"])
|
|
1416
|
+
unless validator.valid?(ignored)
|
|
1417
|
+
fail ArgumentError, "invalid value for \"ignored\", must be one of #{validator.allowable_values}."
|
|
1418
|
+
end
|
|
1419
|
+
@ignored = ignored
|
|
1420
|
+
end
|
|
1421
|
+
|
|
1422
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1423
|
+
# @param [Object] email_routing Object to be assigned
|
|
1424
|
+
def email_routing=(email_routing)
|
|
1425
|
+
validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1426
|
+
unless validator.valid?(email_routing)
|
|
1427
|
+
fail ArgumentError, "invalid value for \"email_routing\", must be one of #{validator.allowable_values}."
|
|
1428
|
+
end
|
|
1429
|
+
@email_routing = email_routing
|
|
1430
|
+
end
|
|
1431
|
+
|
|
1432
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1433
|
+
# @param [Object] email_routing_reason Object to be assigned
|
|
1434
|
+
def email_routing_reason=(email_routing_reason)
|
|
1435
|
+
validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1436
|
+
unless validator.valid?(email_routing_reason)
|
|
1437
|
+
fail ArgumentError, "invalid value for \"email_routing_reason\", must be one of #{validator.allowable_values}."
|
|
1438
|
+
end
|
|
1439
|
+
@email_routing_reason = email_routing_reason
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1442
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1443
|
+
# @param [Object] sms_routing Object to be assigned
|
|
1444
|
+
def sms_routing=(sms_routing)
|
|
1445
|
+
validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1446
|
+
unless validator.valid?(sms_routing)
|
|
1447
|
+
fail ArgumentError, "invalid value for \"sms_routing\", must be one of #{validator.allowable_values}."
|
|
1448
|
+
end
|
|
1449
|
+
@sms_routing = sms_routing
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1452
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1453
|
+
# @param [Object] sms_routing_reason Object to be assigned
|
|
1454
|
+
def sms_routing_reason=(sms_routing_reason)
|
|
1455
|
+
validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1456
|
+
unless validator.valid?(sms_routing_reason)
|
|
1457
|
+
fail ArgumentError, "invalid value for \"sms_routing_reason\", must be one of #{validator.allowable_values}."
|
|
1458
|
+
end
|
|
1459
|
+
@sms_routing_reason = sms_routing_reason
|
|
1460
|
+
end
|
|
1461
|
+
|
|
1462
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1463
|
+
# @param [Object] web_push_routing Object to be assigned
|
|
1464
|
+
def web_push_routing=(web_push_routing)
|
|
1465
|
+
validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1466
|
+
unless validator.valid?(web_push_routing)
|
|
1467
|
+
fail ArgumentError, "invalid value for \"web_push_routing\", must be one of #{validator.allowable_values}."
|
|
1468
|
+
end
|
|
1469
|
+
@web_push_routing = web_push_routing
|
|
1470
|
+
end
|
|
1471
|
+
|
|
1472
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1473
|
+
# @param [Object] web_push_routing_reason Object to be assigned
|
|
1474
|
+
def web_push_routing_reason=(web_push_routing_reason)
|
|
1475
|
+
validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1476
|
+
unless validator.valid?(web_push_routing_reason)
|
|
1477
|
+
fail ArgumentError, "invalid value for \"web_push_routing_reason\", must be one of #{validator.allowable_values}."
|
|
1478
|
+
end
|
|
1479
|
+
@web_push_routing_reason = web_push_routing_reason
|
|
1480
|
+
end
|
|
1481
|
+
|
|
1482
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1483
|
+
# @param [Object] mobile_push_routing Object to be assigned
|
|
1484
|
+
def mobile_push_routing=(mobile_push_routing)
|
|
1485
|
+
validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1486
|
+
unless validator.valid?(mobile_push_routing)
|
|
1487
|
+
fail ArgumentError, "invalid value for \"mobile_push_routing\", must be one of #{validator.allowable_values}."
|
|
1488
|
+
end
|
|
1489
|
+
@mobile_push_routing = mobile_push_routing
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1492
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1493
|
+
# @param [Object] mobile_push_routing_reason Object to be assigned
|
|
1494
|
+
def mobile_push_routing_reason=(mobile_push_routing_reason)
|
|
1495
|
+
validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1496
|
+
unless validator.valid?(mobile_push_routing_reason)
|
|
1497
|
+
fail ArgumentError, "invalid value for \"mobile_push_routing_reason\", must be one of #{validator.allowable_values}."
|
|
1498
|
+
end
|
|
1499
|
+
@mobile_push_routing_reason = mobile_push_routing_reason
|
|
1500
|
+
end
|
|
1501
|
+
|
|
1502
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1503
|
+
# @param [Object] call_routing Object to be assigned
|
|
1504
|
+
def call_routing=(call_routing)
|
|
1505
|
+
validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1506
|
+
unless validator.valid?(call_routing)
|
|
1507
|
+
fail ArgumentError, "invalid value for \"call_routing\", must be one of #{validator.allowable_values}."
|
|
1508
|
+
end
|
|
1509
|
+
@call_routing = call_routing
|
|
1510
|
+
end
|
|
1511
|
+
|
|
1512
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1513
|
+
# @param [Object] call_routing_reason Object to be assigned
|
|
1514
|
+
def call_routing_reason=(call_routing_reason)
|
|
1515
|
+
validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1516
|
+
unless validator.valid?(call_routing_reason)
|
|
1517
|
+
fail ArgumentError, "invalid value for \"call_routing_reason\", must be one of #{validator.allowable_values}."
|
|
1518
|
+
end
|
|
1519
|
+
@call_routing_reason = call_routing_reason
|
|
1520
|
+
end
|
|
1521
|
+
|
|
1522
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1523
|
+
# @param [Object] inapp_routing Object to be assigned
|
|
1524
|
+
def inapp_routing=(inapp_routing)
|
|
1525
|
+
validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1526
|
+
unless validator.valid?(inapp_routing)
|
|
1527
|
+
fail ArgumentError, "invalid value for \"inapp_routing\", must be one of #{validator.allowable_values}."
|
|
1528
|
+
end
|
|
1529
|
+
@inapp_routing = inapp_routing
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1532
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1533
|
+
# @param [Object] inapp_routing_reason Object to be assigned
|
|
1534
|
+
def inapp_routing_reason=(inapp_routing_reason)
|
|
1535
|
+
validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1536
|
+
unless validator.valid?(inapp_routing_reason)
|
|
1537
|
+
fail ArgumentError, "invalid value for \"inapp_routing_reason\", must be one of #{validator.allowable_values}."
|
|
1538
|
+
end
|
|
1539
|
+
@inapp_routing_reason = inapp_routing_reason
|
|
1540
|
+
end
|
|
1541
|
+
|
|
1542
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1543
|
+
# @param [Object] slack_routing Object to be assigned
|
|
1544
|
+
def slack_routing=(slack_routing)
|
|
1545
|
+
validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
|
|
1546
|
+
unless validator.valid?(slack_routing)
|
|
1547
|
+
fail ArgumentError, "invalid value for \"slack_routing\", must be one of #{validator.allowable_values}."
|
|
1548
|
+
end
|
|
1549
|
+
@slack_routing = slack_routing
|
|
1550
|
+
end
|
|
1551
|
+
|
|
1552
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1553
|
+
# @param [Object] slack_routing_reason Object to be assigned
|
|
1554
|
+
def slack_routing_reason=(slack_routing_reason)
|
|
1555
|
+
validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
|
|
1556
|
+
unless validator.valid?(slack_routing_reason)
|
|
1557
|
+
fail ArgumentError, "invalid value for \"slack_routing_reason\", must be one of #{validator.allowable_values}."
|
|
1558
|
+
end
|
|
1559
|
+
@slack_routing_reason = slack_routing_reason
|
|
1560
|
+
end
|
|
1561
|
+
|
|
1562
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1563
|
+
# @param [Object] slack_failed_code Object to be assigned
|
|
1564
|
+
def slack_failed_code=(slack_failed_code)
|
|
1565
|
+
validator = EnumAttributeValidator.new('String', ["CHANNEL_NOT_FOUND", "NOT_IN_CHANNEL", "CHANNEL_ARCHIVED", "MESSAGE_TOO_LONG", "NO_TEXT", "RESTRICTED_ACTION", "TOKEN_EXPIRED", "INVALID_AUTH", "UNKNOWN", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1566
|
+
unless validator.valid?(slack_failed_code)
|
|
1567
|
+
fail ArgumentError, "invalid value for \"slack_failed_code\", must be one of #{validator.allowable_values}."
|
|
1568
|
+
end
|
|
1569
|
+
@slack_failed_code = slack_failed_code
|
|
1570
|
+
end
|
|
1571
|
+
|
|
1572
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1573
|
+
# @param [Object] call_delivered_code Object to be assigned
|
|
1574
|
+
def call_delivered_code=(call_delivered_code)
|
|
1575
|
+
validator = EnumAttributeValidator.new('String', ["COMPLETED", "BUSY", "NO_ANSWER", "UNKNOWN"])
|
|
1576
|
+
unless validator.valid?(call_delivered_code)
|
|
1577
|
+
fail ArgumentError, "invalid value for \"call_delivered_code\", must be one of #{validator.allowable_values}."
|
|
1578
|
+
end
|
|
1579
|
+
@call_delivered_code = call_delivered_code
|
|
1580
|
+
end
|
|
1581
|
+
|
|
1582
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1583
|
+
# @param [Object] call_failed_code Object to be assigned
|
|
1584
|
+
def call_failed_code=(call_failed_code)
|
|
1585
|
+
validator = EnumAttributeValidator.new('String', ["13224", "21211", "21215", "21265", "21610", "21614", "21612", "30005", "30006", "30007", "30008", "30453", "40001", "40002", "40300", "Unknown", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1586
|
+
unless validator.valid?(call_failed_code)
|
|
1587
|
+
fail ArgumentError, "invalid value for \"call_failed_code\", must be one of #{validator.allowable_values}."
|
|
1588
|
+
end
|
|
1589
|
+
@call_failed_code = call_failed_code
|
|
1590
|
+
end
|
|
1591
|
+
|
|
1592
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1593
|
+
# @param [Object] sms_failed_code Object to be assigned
|
|
1594
|
+
def sms_failed_code=(sms_failed_code)
|
|
1595
|
+
validator = EnumAttributeValidator.new('String', ["13224", "21211", "21215", "21265", "21610", "21614", "21612", "30005", "30006", "30007", "30008", "30453", "40001", "40002", "40300", "Unknown", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE"])
|
|
1596
|
+
unless validator.valid?(sms_failed_code)
|
|
1597
|
+
fail ArgumentError, "invalid value for \"sms_failed_code\", must be one of #{validator.allowable_values}."
|
|
1598
|
+
end
|
|
1599
|
+
@sms_failed_code = sms_failed_code
|
|
1600
|
+
end
|
|
1601
|
+
|
|
1602
|
+
# Checks equality by comparing each attribute.
|
|
1603
|
+
# @param [Object] Object to be compared
|
|
1604
|
+
def ==(o)
|
|
1605
|
+
return true if self.equal?(o)
|
|
1606
|
+
self.class == o.class &&
|
|
1607
|
+
received_at == o.received_at &&
|
|
1608
|
+
type == o.type &&
|
|
1609
|
+
env_id == o.env_id &&
|
|
1610
|
+
client_id == o.client_id &&
|
|
1611
|
+
agent == o.agent &&
|
|
1612
|
+
ip == o.ip &&
|
|
1613
|
+
request == o.request &&
|
|
1614
|
+
test == o.test &&
|
|
1615
|
+
tracking_id == o.tracking_id &&
|
|
1616
|
+
account_id == o.account_id &&
|
|
1617
|
+
failed_at == o.failed_at &&
|
|
1618
|
+
failed_code == o.failed_code &&
|
|
1619
|
+
failed_internal == o.failed_internal &&
|
|
1620
|
+
inapp_sent_at == o.inapp_sent_at &&
|
|
1621
|
+
inapp_sent_after == o.inapp_sent_after &&
|
|
1622
|
+
inapp_delivered_at == o.inapp_delivered_at &&
|
|
1623
|
+
inapp_delivered_after == o.inapp_delivered_after &&
|
|
1624
|
+
inapp_failed_at == o.inapp_failed_at &&
|
|
1625
|
+
inapp_failed_code == o.inapp_failed_code &&
|
|
1626
|
+
inapp_failed_internal == o.inapp_failed_internal &&
|
|
1627
|
+
mobile_push_failed_at == o.mobile_push_failed_at &&
|
|
1628
|
+
mobile_push_failed_code == o.mobile_push_failed_code &&
|
|
1629
|
+
mobile_push_failed_token == o.mobile_push_failed_token &&
|
|
1630
|
+
mobile_push_failed_internal == o.mobile_push_failed_internal &&
|
|
1631
|
+
mobile_push_sent_at == o.mobile_push_sent_at &&
|
|
1632
|
+
mobile_push_sent_after == o.mobile_push_sent_after &&
|
|
1633
|
+
mobile_push_sent_token == o.mobile_push_sent_token &&
|
|
1634
|
+
mobile_push_delivered_at == o.mobile_push_delivered_at &&
|
|
1635
|
+
mobile_push_delivered_after == o.mobile_push_delivered_after &&
|
|
1636
|
+
email_sent_at == o.email_sent_at &&
|
|
1637
|
+
email_sent_message_id == o.email_sent_message_id &&
|
|
1638
|
+
email_sent_after == o.email_sent_after &&
|
|
1639
|
+
email_delivered_at == o.email_delivered_at &&
|
|
1640
|
+
email_delivered_recipients == o.email_delivered_recipients &&
|
|
1641
|
+
email_delivered_after == o.email_delivered_after &&
|
|
1642
|
+
email_failed_at == o.email_failed_at &&
|
|
1643
|
+
email_failed_code == o.email_failed_code &&
|
|
1644
|
+
email_failed_recipient == o.email_failed_recipient &&
|
|
1645
|
+
email_failed_diagnostic_code == o.email_failed_diagnostic_code &&
|
|
1646
|
+
email_failed_internal == o.email_failed_internal &&
|
|
1647
|
+
email_opened_at == o.email_opened_at &&
|
|
1648
|
+
email_opened_user_agent == o.email_opened_user_agent &&
|
|
1649
|
+
email_opened_ip == o.email_opened_ip &&
|
|
1650
|
+
email_clicked_at == o.email_clicked_at &&
|
|
1651
|
+
email_clicked_user_agent == o.email_clicked_user_agent &&
|
|
1652
|
+
email_clicked_ip == o.email_clicked_ip &&
|
|
1653
|
+
email_clicked_link == o.email_clicked_link &&
|
|
1654
|
+
email_clicked_link_tags == o.email_clicked_link_tags &&
|
|
1655
|
+
email_inbound_at == o.email_inbound_at &&
|
|
1656
|
+
email_inbound_from == o.email_inbound_from &&
|
|
1657
|
+
email_inbound_from_name == o.email_inbound_from_name &&
|
|
1658
|
+
email_inbound_to == o.email_inbound_to &&
|
|
1659
|
+
email_inbound_cc == o.email_inbound_cc &&
|
|
1660
|
+
email_inbound_bcc == o.email_inbound_bcc &&
|
|
1661
|
+
email_inbound_reply_to == o.email_inbound_reply_to &&
|
|
1662
|
+
email_inbound_inbox == o.email_inbound_inbox &&
|
|
1663
|
+
email_inbound_subject == o.email_inbound_subject &&
|
|
1664
|
+
email_inbound_body_text == o.email_inbound_body_text &&
|
|
1665
|
+
email_inbound_body_html == o.email_inbound_body_html &&
|
|
1666
|
+
email_inbound_has_attachments == o.email_inbound_has_attachments &&
|
|
1667
|
+
email_inbound_attachment_count == o.email_inbound_attachment_count &&
|
|
1668
|
+
email_inbound_message_id == o.email_inbound_message_id &&
|
|
1669
|
+
email_inbound_in_reply_to == o.email_inbound_in_reply_to &&
|
|
1670
|
+
email_inbound_references == o.email_inbound_references &&
|
|
1671
|
+
email_inbound_webhook_delivered == o.email_inbound_webhook_delivered &&
|
|
1672
|
+
email_inbound_resolution_type == o.email_inbound_resolution_type &&
|
|
1673
|
+
sms_inbound_at == o.sms_inbound_at &&
|
|
1674
|
+
sms_inbound_from == o.sms_inbound_from &&
|
|
1675
|
+
sms_inbound_text == o.sms_inbound_text &&
|
|
1676
|
+
sms_inbound_webhook_delivered == o.sms_inbound_webhook_delivered &&
|
|
1677
|
+
sms_replied_at == o.sms_replied_at &&
|
|
1678
|
+
sms_replied_to == o.sms_replied_to &&
|
|
1679
|
+
sms_replied_text == o.sms_replied_text &&
|
|
1680
|
+
sms_replied_segments == o.sms_replied_segments &&
|
|
1681
|
+
sms_replied_encoding == o.sms_replied_encoding &&
|
|
1682
|
+
web_push_sent_token == o.web_push_sent_token &&
|
|
1683
|
+
web_push_sent_at == o.web_push_sent_at &&
|
|
1684
|
+
web_push_sent_after == o.web_push_sent_after &&
|
|
1685
|
+
web_push_delivered_at == o.web_push_delivered_at &&
|
|
1686
|
+
web_push_delivered_after == o.web_push_delivered_after &&
|
|
1687
|
+
web_push_delivered_token == o.web_push_delivered_token &&
|
|
1688
|
+
web_push_delivered_internal == o.web_push_delivered_internal &&
|
|
1689
|
+
web_push_failed_at == o.web_push_failed_at &&
|
|
1690
|
+
web_push_failed_token == o.web_push_failed_token &&
|
|
1691
|
+
web_push_failed_code == o.web_push_failed_code &&
|
|
1692
|
+
web_push_failed_internal == o.web_push_failed_internal &&
|
|
1693
|
+
processed_at == o.processed_at &&
|
|
1694
|
+
ignored == o.ignored &&
|
|
1695
|
+
scheduled_for == o.scheduled_for &&
|
|
1696
|
+
user_id == o.user_id &&
|
|
1697
|
+
user_email == o.user_email &&
|
|
1698
|
+
user_number == o.user_number &&
|
|
1699
|
+
email_routing == o.email_routing &&
|
|
1700
|
+
email_routing_reason == o.email_routing_reason &&
|
|
1701
|
+
sms_routing == o.sms_routing &&
|
|
1702
|
+
sms_routing_reason == o.sms_routing_reason &&
|
|
1703
|
+
web_push_routing == o.web_push_routing &&
|
|
1704
|
+
web_push_routing_reason == o.web_push_routing_reason &&
|
|
1705
|
+
mobile_push_routing == o.mobile_push_routing &&
|
|
1706
|
+
mobile_push_routing_reason == o.mobile_push_routing_reason &&
|
|
1707
|
+
call_routing == o.call_routing &&
|
|
1708
|
+
call_routing_reason == o.call_routing_reason &&
|
|
1709
|
+
inapp_routing == o.inapp_routing &&
|
|
1710
|
+
inapp_routing_reason == o.inapp_routing_reason &&
|
|
1711
|
+
slack_routing == o.slack_routing &&
|
|
1712
|
+
slack_routing_reason == o.slack_routing_reason &&
|
|
1713
|
+
email_preview == o.email_preview &&
|
|
1714
|
+
sms_preview == o.sms_preview &&
|
|
1715
|
+
call_preview == o.call_preview &&
|
|
1716
|
+
web_push_preview == o.web_push_preview &&
|
|
1717
|
+
mobile_push_preview == o.mobile_push_preview &&
|
|
1718
|
+
slack_preview == o.slack_preview &&
|
|
1719
|
+
inapp_preview == o.inapp_preview &&
|
|
1720
|
+
slack_sent_at == o.slack_sent_at &&
|
|
1721
|
+
slack_sent_after == o.slack_sent_after &&
|
|
1722
|
+
slack_delivered_at == o.slack_delivered_at &&
|
|
1723
|
+
slack_delivered_after == o.slack_delivered_after &&
|
|
1724
|
+
slack_delivered_internal == o.slack_delivered_internal &&
|
|
1725
|
+
slack_failed_at == o.slack_failed_at &&
|
|
1726
|
+
slack_failed_code == o.slack_failed_code &&
|
|
1727
|
+
slack_failed_internal == o.slack_failed_internal &&
|
|
1728
|
+
call_sent_at == o.call_sent_at &&
|
|
1729
|
+
call_sent_after == o.call_sent_after &&
|
|
1730
|
+
call_sent_from == o.call_sent_from &&
|
|
1731
|
+
call_delivered_at == o.call_delivered_at &&
|
|
1732
|
+
call_delivered_after == o.call_delivered_after &&
|
|
1733
|
+
call_delivered_code == o.call_delivered_code &&
|
|
1734
|
+
call_failed_at == o.call_failed_at &&
|
|
1735
|
+
call_failed_code == o.call_failed_code &&
|
|
1736
|
+
call_failed_internal == o.call_failed_internal &&
|
|
1737
|
+
sms_failed_at == o.sms_failed_at &&
|
|
1738
|
+
sms_failed_code == o.sms_failed_code &&
|
|
1739
|
+
sms_failed_internal == o.sms_failed_internal &&
|
|
1740
|
+
sms_sent_at == o.sms_sent_at &&
|
|
1741
|
+
sms_sent_after == o.sms_sent_after &&
|
|
1742
|
+
sms_sent_from == o.sms_sent_from &&
|
|
1743
|
+
sms_sent_carrier == o.sms_sent_carrier &&
|
|
1744
|
+
sms_sent_line_type == o.sms_sent_line_type &&
|
|
1745
|
+
sms_sent_encoding == o.sms_sent_encoding &&
|
|
1746
|
+
sms_sent_segments == o.sms_sent_segments &&
|
|
1747
|
+
sms_sent_parts == o.sms_sent_parts &&
|
|
1748
|
+
sms_delivered_at == o.sms_delivered_at &&
|
|
1749
|
+
sms_delivered_after == o.sms_delivered_after &&
|
|
1750
|
+
schedule_updated_at == o.schedule_updated_at &&
|
|
1751
|
+
schedule_updated_to == o.schedule_updated_to &&
|
|
1752
|
+
schedule_deleted_at == o.schedule_deleted_at
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1755
|
+
# @see the `==` method
|
|
1756
|
+
# @param [Object] Object to be compared
|
|
1757
|
+
def eql?(o)
|
|
1758
|
+
self == o
|
|
1759
|
+
end
|
|
1760
|
+
|
|
1761
|
+
# Calculates hash code according to all attributes.
|
|
1762
|
+
# @return [Integer] Hash code
|
|
1763
|
+
def hash
|
|
1764
|
+
[received_at, type, env_id, client_id, agent, ip, request, test, tracking_id, account_id, failed_at, failed_code, failed_internal, inapp_sent_at, inapp_sent_after, inapp_delivered_at, inapp_delivered_after, inapp_failed_at, inapp_failed_code, inapp_failed_internal, mobile_push_failed_at, mobile_push_failed_code, mobile_push_failed_token, mobile_push_failed_internal, mobile_push_sent_at, mobile_push_sent_after, mobile_push_sent_token, mobile_push_delivered_at, mobile_push_delivered_after, email_sent_at, email_sent_message_id, email_sent_after, email_delivered_at, email_delivered_recipients, email_delivered_after, email_failed_at, email_failed_code, email_failed_recipient, email_failed_diagnostic_code, email_failed_internal, email_opened_at, email_opened_user_agent, email_opened_ip, email_clicked_at, email_clicked_user_agent, email_clicked_ip, email_clicked_link, email_clicked_link_tags, email_inbound_at, email_inbound_from, email_inbound_from_name, email_inbound_to, email_inbound_cc, email_inbound_bcc, email_inbound_reply_to, email_inbound_inbox, email_inbound_subject, email_inbound_body_text, email_inbound_body_html, email_inbound_has_attachments, email_inbound_attachment_count, email_inbound_message_id, email_inbound_in_reply_to, email_inbound_references, email_inbound_webhook_delivered, email_inbound_resolution_type, sms_inbound_at, sms_inbound_from, sms_inbound_text, sms_inbound_webhook_delivered, sms_replied_at, sms_replied_to, sms_replied_text, sms_replied_segments, sms_replied_encoding, web_push_sent_token, web_push_sent_at, web_push_sent_after, web_push_delivered_at, web_push_delivered_after, web_push_delivered_token, web_push_delivered_internal, web_push_failed_at, web_push_failed_token, web_push_failed_code, web_push_failed_internal, processed_at, ignored, scheduled_for, user_id, user_email, user_number, email_routing, email_routing_reason, sms_routing, sms_routing_reason, web_push_routing, web_push_routing_reason, mobile_push_routing, mobile_push_routing_reason, call_routing, call_routing_reason, inapp_routing, inapp_routing_reason, slack_routing, slack_routing_reason, email_preview, sms_preview, call_preview, web_push_preview, mobile_push_preview, slack_preview, inapp_preview, slack_sent_at, slack_sent_after, slack_delivered_at, slack_delivered_after, slack_delivered_internal, slack_failed_at, slack_failed_code, slack_failed_internal, call_sent_at, call_sent_after, call_sent_from, call_delivered_at, call_delivered_after, call_delivered_code, call_failed_at, call_failed_code, call_failed_internal, sms_failed_at, sms_failed_code, sms_failed_internal, sms_sent_at, sms_sent_after, sms_sent_from, sms_sent_carrier, sms_sent_line_type, sms_sent_encoding, sms_sent_segments, sms_sent_parts, sms_delivered_at, sms_delivered_after, schedule_updated_at, schedule_updated_to, schedule_deleted_at].hash
|
|
1765
|
+
end
|
|
1766
|
+
|
|
1767
|
+
# Builds the object from hash
|
|
1768
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
1769
|
+
# @return [Object] Returns the model itself
|
|
1770
|
+
def self.build_from_hash(attributes)
|
|
1771
|
+
return nil unless attributes.is_a?(Hash)
|
|
1772
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
1773
|
+
transformed_hash = {}
|
|
1774
|
+
openapi_types.each_pair do |key, type|
|
|
1775
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
1776
|
+
transformed_hash["#{key}"] = nil
|
|
1777
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
1778
|
+
# check to ensure the input is an array given that the attribute
|
|
1779
|
+
# is documented as an array but the input is not
|
|
1780
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
1781
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
1782
|
+
end
|
|
1783
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
1784
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
1785
|
+
end
|
|
1786
|
+
end
|
|
1787
|
+
new(transformed_hash)
|
|
1788
|
+
end
|
|
1789
|
+
|
|
1790
|
+
# Returns the object in the form of hash
|
|
1791
|
+
# @return [Hash] Returns the object in the form of hash
|
|
1792
|
+
def to_hash
|
|
1793
|
+
hash = {}
|
|
1794
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
1795
|
+
value = self.send(attr)
|
|
1796
|
+
if value.nil?
|
|
1797
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
1798
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
1799
|
+
end
|
|
1800
|
+
|
|
1801
|
+
hash[param] = _to_hash(value)
|
|
1802
|
+
end
|
|
1803
|
+
hash
|
|
1804
|
+
end
|
|
1805
|
+
|
|
1806
|
+
end
|
|
1807
|
+
|
|
1808
|
+
end
|