mailslurp_client 17.2.0 → 17.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/attachment_controller_api.rb +5 -5
- data/lib/mailslurp_client/api/campaign_probe_controller_api.rb +138 -0
- data/lib/mailslurp_client/api/domain_monitor_controller_api.rb +264 -0
- data/lib/mailslurp_client/api/email_audit_controller_api.rb +334 -0
- data/lib/mailslurp_client/api/email_controller_api.rb +126 -2
- data/lib/mailslurp_client/api/email_verification_controller_api.rb +64 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +233 -4
- data/lib/mailslurp_client/api/phone_controller_api.rb +2091 -526
- data/lib/mailslurp_client/api/sms_controller_api.rb +125 -0
- data/lib/mailslurp_client/api/tools_controller_api.rb +806 -0
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +18 -18
- data/lib/mailslurp_client/models/acquire_phone_pool_lease_options.rb +233 -0
- data/lib/mailslurp_client/models/add_phone_pool_numbers_options.rb +213 -0
- data/lib/mailslurp_client/models/ai_transform_mapping_projection.rb +27 -27
- data/lib/mailslurp_client/models/ai_transform_projection.rb +28 -28
- data/lib/mailslurp_client/models/alias_projection.rb +36 -36
- data/lib/mailslurp_client/models/alias_thread_projection.rb +42 -42
- data/lib/mailslurp_client/models/analyze_dmarc_report_options.rb +248 -0
- data/lib/mailslurp_client/models/analyze_dmarc_report_results.rb +386 -0
- data/lib/mailslurp_client/models/analyze_email_headers_options.rb +240 -0
- data/lib/mailslurp_client/models/analyze_email_headers_results.rb +275 -0
- data/lib/mailslurp_client/models/attachment_projection.rb +66 -66
- data/lib/mailslurp_client/models/available_phone_number_dto.rb +325 -0
- data/lib/mailslurp_client/models/available_phone_numbers_result.rb +236 -0
- data/lib/mailslurp_client/models/bounce_projection.rb +28 -28
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +24 -24
- data/lib/mailslurp_client/models/campaign_probe_run_comparison_dto.rb +397 -0
- data/lib/mailslurp_client/models/check_campaign_probe_options.rb +371 -0
- data/lib/mailslurp_client/models/check_campaign_probe_results.rb +482 -0
- data/lib/mailslurp_client/models/check_dns_propagation_options.rb +297 -0
- data/lib/mailslurp_client/models/check_dns_propagation_results.rb +361 -0
- data/lib/mailslurp_client/models/check_domain_monitor_options.rb +243 -0
- data/lib/mailslurp_client/models/check_domain_monitor_results.rb +398 -0
- data/lib/mailslurp_client/models/check_email_audit_options.rb +405 -0
- data/lib/mailslurp_client/models/check_email_auth_stack_options.rb +248 -0
- data/lib/mailslurp_client/models/check_email_auth_stack_results.rb +462 -0
- data/lib/mailslurp_client/models/check_email_blacklist_options.rb +241 -0
- data/lib/mailslurp_client/models/check_email_blacklist_results.rb +366 -0
- data/lib/mailslurp_client/models/connector_event_projection.rb +65 -65
- data/lib/mailslurp_client/models/connector_projection.rb +36 -36
- data/lib/mailslurp_client/models/contact_projection.rb +29 -29
- data/lib/mailslurp_client/models/create_email_audit_options.rb +394 -0
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +58 -29
- data/lib/mailslurp_client/models/create_inbox_replier_options.rb +39 -33
- data/lib/mailslurp_client/models/create_phone_number_options.rb +58 -4
- data/lib/mailslurp_client/models/create_phone_pool_options.rb +220 -0
- data/lib/mailslurp_client/models/create_phone_provisioning_job_item_options.rb +256 -0
- data/lib/mailslurp_client/models/create_phone_provisioning_job_options.rb +284 -0
- data/lib/mailslurp_client/models/dmarc_report_metadata.rb +308 -0
- data/lib/mailslurp_client/models/dmarc_report_source_summary.rb +274 -0
- data/lib/mailslurp_client/models/dns_propagation_resolver_result.rb +252 -0
- data/lib/mailslurp_client/models/domain_monitor_run_comparison_dto.rb +369 -0
- data/lib/mailslurp_client/models/domain_monitor_summary_dto.rb +248 -0
- data/lib/mailslurp_client/models/email_audit_analysis_result.rb +620 -0
- data/lib/mailslurp_client/models/email_audit_comparison_dto.rb +411 -0
- data/lib/mailslurp_client/models/email_audit_dto.rb +308 -0
- data/lib/mailslurp_client/models/email_audit_spelling_issue.rb +276 -0
- data/lib/mailslurp_client/models/email_audit_url_issue.rb +236 -0
- data/lib/mailslurp_client/models/email_blacklist_ip_result.rb +242 -0
- data/lib/mailslurp_client/models/email_blacklist_listing_result.rb +258 -0
- data/lib/mailslurp_client/models/email_header_analysis_summary.rb +242 -0
- data/lib/mailslurp_client/models/email_header_received_hop.rb +242 -0
- data/lib/mailslurp_client/models/email_intelligence_list_result.rb +285 -0
- data/lib/mailslurp_client/models/email_intelligence_options.rb +308 -0
- data/lib/mailslurp_client/models/email_intelligence_result_dto.rb +256 -0
- data/lib/mailslurp_client/models/email_intelligence_score_breakdown_dto.rb +296 -0
- data/lib/mailslurp_client/models/email_intelligence_signals_dto.rb +352 -0
- data/lib/mailslurp_client/models/email_intelligence_tests_options.rb +253 -0
- data/lib/mailslurp_client/models/email_projection.rb +88 -88
- data/lib/mailslurp_client/models/email_thread_projection.rb +57 -57
- data/lib/mailslurp_client/models/entity_automation_item_projection.rb +33 -33
- data/lib/mailslurp_client/models/entity_event_item_projection.rb +42 -42
- data/lib/mailslurp_client/models/entity_favourite_item_projection.rb +32 -32
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +18 -18
- data/lib/mailslurp_client/models/extract_attachment_text_options.rb +1 -1
- data/lib/mailslurp_client/models/extract_attachment_text_result.rb +1 -1
- data/lib/mailslurp_client/models/generate_spf_record_options.rb +357 -0
- data/lib/mailslurp_client/models/generate_spf_record_results.rb +318 -0
- data/lib/mailslurp_client/models/get_or_create_phone_pool_options.rb +220 -0
- data/lib/mailslurp_client/models/group_projection.rb +19 -19
- data/lib/mailslurp_client/models/guest_portal_user_projection.rb +41 -41
- data/lib/mailslurp_client/models/imap_email_projection.rb +18 -18
- data/lib/mailslurp_client/models/import_email_options.rb +269 -0
- data/lib/mailslurp_client/models/inbox_automation_match_option.rb +308 -0
- data/lib/mailslurp_client/models/inbox_automation_match_options.rb +273 -0
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +65 -17
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +36 -36
- data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +17 -9
- data/lib/mailslurp_client/models/inbox_replier_dto.rb +41 -16
- data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +48 -48
- data/lib/mailslurp_client/models/inline_object.rb +12 -58
- data/lib/mailslurp_client/models/inline_object1.rb +58 -12
- data/lib/mailslurp_client/models/inline_object2.rb +211 -0
- data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +19 -19
- data/lib/mailslurp_client/models/lookup_dkim_domain_options.rb +275 -0
- data/lib/mailslurp_client/models/lookup_dkim_domain_results.rb +304 -0
- data/lib/mailslurp_client/models/lookup_ptr_options.rb +241 -0
- data/lib/mailslurp_client/models/lookup_ptr_results.rb +305 -0
- data/lib/mailslurp_client/models/lookup_spf_domain_options.rb +240 -0
- data/lib/mailslurp_client/models/lookup_spf_domain_results.rb +305 -0
- data/lib/mailslurp_client/models/missed_email_projection.rb +28 -28
- data/lib/mailslurp_client/models/missed_sms_projection.rb +32 -32
- data/lib/mailslurp_client/models/opt_in_identity_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_ai_transform_mapping_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_ai_transform_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_ai_transform_result_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_alias.rb +36 -36
- data/lib/mailslurp_client/models/page_alias_thread_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_attachment_entity.rb +36 -36
- data/lib/mailslurp_client/models/page_bounced_email.rb +36 -36
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +36 -36
- data/lib/mailslurp_client/models/page_complaint.rb +36 -36
- data/lib/mailslurp_client/models/page_connector.rb +36 -36
- data/lib/mailslurp_client/models/page_connector_events.rb +36 -36
- data/lib/mailslurp_client/models/page_contact_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_delivery_status.rb +36 -36
- data/lib/mailslurp_client/models/page_device_preview_run_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_email_preview.rb +36 -36
- data/lib/mailslurp_client/models/page_email_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_email_thread_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_email_validation_request.rb +36 -36
- data/lib/mailslurp_client/models/page_entity_automation_items.rb +36 -36
- data/lib/mailslurp_client/models/page_entity_event_items.rb +36 -36
- data/lib/mailslurp_client/models/page_entity_favourite_items.rb +36 -36
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_group_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_guest_portal_users.rb +36 -36
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +36 -36
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +36 -36
- data/lib/mailslurp_client/models/page_inbox_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +36 -36
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +36 -36
- data/lib/mailslurp_client/models/page_inbox_tags.rb +36 -36
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +36 -36
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_missed_sms_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_opt_in_identity_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_phone_message_thread_item_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_phone_message_thread_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_phone_number_release_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_plus_address_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_reputation_items.rb +36 -36
- data/lib/mailslurp_client/models/page_ruleset_dto.rb +36 -36
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +36 -36
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_sent_sms_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_sms_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_template_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_webhook_endpoint_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_webhook_projection.rb +36 -36
- data/lib/mailslurp_client/models/page_webhook_result.rb +36 -36
- data/lib/mailslurp_client/models/pageable_object.rb +28 -28
- data/lib/mailslurp_client/models/phone_message_thread_item_projection.rb +32 -32
- data/lib/mailslurp_client/models/phone_number_dto.rb +65 -4
- data/lib/mailslurp_client/models/phone_number_line_type_intelligence_dto.rb +242 -0
- data/lib/mailslurp_client/models/phone_number_line_type_lookup_dto.rb +286 -0
- data/lib/mailslurp_client/models/phone_number_projection.rb +80 -35
- data/lib/mailslurp_client/models/phone_number_release_projection.rb +39 -39
- data/lib/mailslurp_client/models/phone_number_tags_options.rb +213 -0
- data/lib/mailslurp_client/models/phone_pool_detail_dto.rb +334 -0
- data/lib/mailslurp_client/models/phone_pool_dto.rb +318 -0
- data/lib/mailslurp_client/models/phone_pool_lease_dto.rb +351 -0
- data/lib/mailslurp_client/models/phone_pool_member_dto.rb +333 -0
- data/lib/mailslurp_client/models/phone_provider_capabilities_result.rb +284 -0
- data/lib/mailslurp_client/models/phone_provisioning_job_dto.rb +434 -0
- data/lib/mailslurp_client/models/phone_provisioning_job_item_dto.rb +336 -0
- data/lib/mailslurp_client/models/phone_sms_prepaid_credit_dto.rb +340 -0
- data/lib/mailslurp_client/models/phone_sms_prepaid_credits_dto.rb +241 -0
- data/lib/mailslurp_client/models/plus_address_projection.rb +27 -27
- data/lib/mailslurp_client/models/recipient_projection.rb +13 -13
- data/lib/mailslurp_client/models/reputation_item_projection.rb +53 -53
- data/lib/mailslurp_client/models/search_available_phone_numbers_options.rb +377 -0
- data/lib/mailslurp_client/models/sender_projection.rb +13 -13
- data/lib/mailslurp_client/models/sent_email_projection.rb +63 -63
- data/lib/mailslurp_client/models/sent_sms_projection.rb +18 -18
- data/lib/mailslurp_client/models/sms_projection.rb +18 -18
- data/lib/mailslurp_client/models/smtp_auth_diagnostic_result.rb +235 -0
- data/lib/mailslurp_client/models/smtp_diagnostic_step.rb +236 -0
- data/lib/mailslurp_client/models/smtp_tls_diagnostic_result.rb +245 -0
- data/lib/mailslurp_client/models/sort_object.rb +10 -10
- data/lib/mailslurp_client/models/spf_mechanism_result.rb +229 -0
- data/lib/mailslurp_client/models/template_projection.rb +32 -32
- data/lib/mailslurp_client/models/test_smtp_server_options.rb +337 -0
- data/lib/mailslurp_client/models/test_smtp_server_results.rb +297 -0
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +27 -27
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +27 -27
- data/lib/mailslurp_client/models/update_inbox_replier_options.rb +39 -33
- data/lib/mailslurp_client/models/update_phone_pool_options.rb +215 -0
- data/lib/mailslurp_client/models/validation_dto.rb +1 -5
- data/lib/mailslurp_client/models/webhook_projection.rb +50 -50
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +78 -0
- metadata +80 -2
|
@@ -15,39 +15,39 @@ require 'date'
|
|
|
15
15
|
module MailSlurpClient
|
|
16
16
|
# Missed SMS projection
|
|
17
17
|
class MissedSmsProjection
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
18
20
|
attr_accessor :user_id
|
|
19
21
|
|
|
20
22
|
attr_accessor :created_at
|
|
21
23
|
|
|
22
|
-
attr_accessor :sid
|
|
23
|
-
|
|
24
24
|
attr_accessor :phone_number
|
|
25
25
|
|
|
26
|
-
attr_accessor :
|
|
26
|
+
attr_accessor :sid
|
|
27
27
|
|
|
28
|
-
attr_accessor :
|
|
28
|
+
attr_accessor :from_number
|
|
29
29
|
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
31
|
def self.attribute_map
|
|
32
32
|
{
|
|
33
|
+
:'id' => :'id',
|
|
33
34
|
:'user_id' => :'userId',
|
|
34
35
|
:'created_at' => :'createdAt',
|
|
35
|
-
:'sid' => :'sid',
|
|
36
36
|
:'phone_number' => :'phoneNumber',
|
|
37
|
-
:'
|
|
38
|
-
:'
|
|
37
|
+
:'sid' => :'sid',
|
|
38
|
+
:'from_number' => :'fromNumber'
|
|
39
39
|
}
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
# Attribute type mapping.
|
|
43
43
|
def self.openapi_types
|
|
44
44
|
{
|
|
45
|
+
:'id' => :'String',
|
|
45
46
|
:'user_id' => :'String',
|
|
46
47
|
:'created_at' => :'DateTime',
|
|
47
|
-
:'sid' => :'String',
|
|
48
48
|
:'phone_number' => :'String',
|
|
49
|
-
:'
|
|
50
|
-
:'
|
|
49
|
+
:'sid' => :'String',
|
|
50
|
+
:'from_number' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -72,6 +72,10 @@ module MailSlurpClient
|
|
|
72
72
|
h[k.to_sym] = v
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
if attributes.key?(:'id')
|
|
76
|
+
self.id = attributes[:'id']
|
|
77
|
+
end
|
|
78
|
+
|
|
75
79
|
if attributes.key?(:'user_id')
|
|
76
80
|
self.user_id = attributes[:'user_id']
|
|
77
81
|
end
|
|
@@ -80,20 +84,16 @@ module MailSlurpClient
|
|
|
80
84
|
self.created_at = attributes[:'created_at']
|
|
81
85
|
end
|
|
82
86
|
|
|
83
|
-
if attributes.key?(:'sid')
|
|
84
|
-
self.sid = attributes[:'sid']
|
|
85
|
-
end
|
|
86
|
-
|
|
87
87
|
if attributes.key?(:'phone_number')
|
|
88
88
|
self.phone_number = attributes[:'phone_number']
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
if attributes.key?(:'
|
|
92
|
-
self.
|
|
91
|
+
if attributes.key?(:'sid')
|
|
92
|
+
self.sid = attributes[:'sid']
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'
|
|
96
|
-
self.
|
|
95
|
+
if attributes.key?(:'from_number')
|
|
96
|
+
self.from_number = attributes[:'from_number']
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
@@ -101,6 +101,10 @@ module MailSlurpClient
|
|
|
101
101
|
# @return Array for valid properties with the reasons
|
|
102
102
|
def list_invalid_properties
|
|
103
103
|
invalid_properties = Array.new
|
|
104
|
+
if @id.nil?
|
|
105
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
106
|
+
end
|
|
107
|
+
|
|
104
108
|
if @user_id.nil?
|
|
105
109
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
|
106
110
|
end
|
|
@@ -109,20 +113,16 @@ module MailSlurpClient
|
|
|
109
113
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
|
110
114
|
end
|
|
111
115
|
|
|
112
|
-
if @sid.nil?
|
|
113
|
-
invalid_properties.push('invalid value for "sid", sid cannot be nil.')
|
|
114
|
-
end
|
|
115
|
-
|
|
116
116
|
if @phone_number.nil?
|
|
117
117
|
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
if @
|
|
121
|
-
invalid_properties.push('invalid value for "
|
|
120
|
+
if @sid.nil?
|
|
121
|
+
invalid_properties.push('invalid value for "sid", sid cannot be nil.')
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
if @
|
|
125
|
-
invalid_properties.push('invalid value for "
|
|
124
|
+
if @from_number.nil?
|
|
125
|
+
invalid_properties.push('invalid value for "from_number", from_number cannot be nil.')
|
|
126
126
|
end
|
|
127
127
|
|
|
128
128
|
invalid_properties
|
|
@@ -131,12 +131,12 @@ module MailSlurpClient
|
|
|
131
131
|
# Check to see if the all the properties in the model are valid
|
|
132
132
|
# @return true if the model is valid
|
|
133
133
|
def valid?
|
|
134
|
+
return false if @id.nil?
|
|
134
135
|
return false if @user_id.nil?
|
|
135
136
|
return false if @created_at.nil?
|
|
136
|
-
return false if @sid.nil?
|
|
137
137
|
return false if @phone_number.nil?
|
|
138
|
+
return false if @sid.nil?
|
|
138
139
|
return false if @from_number.nil?
|
|
139
|
-
return false if @id.nil?
|
|
140
140
|
true
|
|
141
141
|
end
|
|
142
142
|
|
|
@@ -145,12 +145,12 @@ module MailSlurpClient
|
|
|
145
145
|
def ==(o)
|
|
146
146
|
return true if self.equal?(o)
|
|
147
147
|
self.class == o.class &&
|
|
148
|
+
id == o.id &&
|
|
148
149
|
user_id == o.user_id &&
|
|
149
150
|
created_at == o.created_at &&
|
|
150
|
-
sid == o.sid &&
|
|
151
151
|
phone_number == o.phone_number &&
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
sid == o.sid &&
|
|
153
|
+
from_number == o.from_number
|
|
154
154
|
end
|
|
155
155
|
|
|
156
156
|
# @see the `==` method
|
|
@@ -162,7 +162,7 @@ module MailSlurpClient
|
|
|
162
162
|
# Calculates hash code according to all attributes.
|
|
163
163
|
# @return [Integer] Hash code
|
|
164
164
|
def hash
|
|
165
|
-
[user_id, created_at,
|
|
165
|
+
[id, user_id, created_at, phone_number, sid, from_number].hash
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
# Builds the object from hash
|
|
@@ -16,21 +16,21 @@ module MailSlurpClient
|
|
|
16
16
|
class OptInIdentityProjection
|
|
17
17
|
attr_accessor :id
|
|
18
18
|
|
|
19
|
-
attr_accessor :updated_at
|
|
20
|
-
|
|
21
19
|
attr_accessor :verified
|
|
22
20
|
|
|
23
21
|
attr_accessor :email_address
|
|
24
22
|
|
|
23
|
+
attr_accessor :updated_at
|
|
24
|
+
|
|
25
25
|
attr_accessor :created_at
|
|
26
26
|
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
28
|
def self.attribute_map
|
|
29
29
|
{
|
|
30
30
|
:'id' => :'id',
|
|
31
|
-
:'updated_at' => :'updatedAt',
|
|
32
31
|
:'verified' => :'verified',
|
|
33
32
|
:'email_address' => :'emailAddress',
|
|
33
|
+
:'updated_at' => :'updatedAt',
|
|
34
34
|
:'created_at' => :'createdAt'
|
|
35
35
|
}
|
|
36
36
|
end
|
|
@@ -39,9 +39,9 @@ module MailSlurpClient
|
|
|
39
39
|
def self.openapi_types
|
|
40
40
|
{
|
|
41
41
|
:'id' => :'String',
|
|
42
|
-
:'updated_at' => :'DateTime',
|
|
43
42
|
:'verified' => :'Boolean',
|
|
44
43
|
:'email_address' => :'String',
|
|
44
|
+
:'updated_at' => :'DateTime',
|
|
45
45
|
:'created_at' => :'DateTime'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
@@ -71,10 +71,6 @@ module MailSlurpClient
|
|
|
71
71
|
self.id = attributes[:'id']
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
if attributes.key?(:'updated_at')
|
|
75
|
-
self.updated_at = attributes[:'updated_at']
|
|
76
|
-
end
|
|
77
|
-
|
|
78
74
|
if attributes.key?(:'verified')
|
|
79
75
|
self.verified = attributes[:'verified']
|
|
80
76
|
end
|
|
@@ -83,6 +79,10 @@ module MailSlurpClient
|
|
|
83
79
|
self.email_address = attributes[:'email_address']
|
|
84
80
|
end
|
|
85
81
|
|
|
82
|
+
if attributes.key?(:'updated_at')
|
|
83
|
+
self.updated_at = attributes[:'updated_at']
|
|
84
|
+
end
|
|
85
|
+
|
|
86
86
|
if attributes.key?(:'created_at')
|
|
87
87
|
self.created_at = attributes[:'created_at']
|
|
88
88
|
end
|
|
@@ -96,14 +96,14 @@ module MailSlurpClient
|
|
|
96
96
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
if @updated_at.nil?
|
|
100
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
|
101
|
-
end
|
|
102
|
-
|
|
103
99
|
if @email_address.nil?
|
|
104
100
|
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
|
105
101
|
end
|
|
106
102
|
|
|
103
|
+
if @updated_at.nil?
|
|
104
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
|
105
|
+
end
|
|
106
|
+
|
|
107
107
|
if @created_at.nil?
|
|
108
108
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
|
109
109
|
end
|
|
@@ -115,8 +115,8 @@ module MailSlurpClient
|
|
|
115
115
|
# @return true if the model is valid
|
|
116
116
|
def valid?
|
|
117
117
|
return false if @id.nil?
|
|
118
|
-
return false if @updated_at.nil?
|
|
119
118
|
return false if @email_address.nil?
|
|
119
|
+
return false if @updated_at.nil?
|
|
120
120
|
return false if @created_at.nil?
|
|
121
121
|
true
|
|
122
122
|
end
|
|
@@ -127,9 +127,9 @@ module MailSlurpClient
|
|
|
127
127
|
return true if self.equal?(o)
|
|
128
128
|
self.class == o.class &&
|
|
129
129
|
id == o.id &&
|
|
130
|
-
updated_at == o.updated_at &&
|
|
131
130
|
verified == o.verified &&
|
|
132
131
|
email_address == o.email_address &&
|
|
132
|
+
updated_at == o.updated_at &&
|
|
133
133
|
created_at == o.created_at
|
|
134
134
|
end
|
|
135
135
|
|
|
@@ -142,7 +142,7 @@ module MailSlurpClient
|
|
|
142
142
|
# Calculates hash code according to all attributes.
|
|
143
143
|
# @return [Integer] Hash code
|
|
144
144
|
def hash
|
|
145
|
-
[id,
|
|
145
|
+
[id, verified, email_address, updated_at, created_at].hash
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
# Builds the object from hash
|
|
@@ -19,21 +19,21 @@ module MailSlurpClient
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :pageable
|
|
21
21
|
|
|
22
|
-
attr_accessor :total_elements
|
|
23
|
-
|
|
24
22
|
attr_accessor :total_pages
|
|
25
23
|
|
|
24
|
+
attr_accessor :total_elements
|
|
25
|
+
|
|
26
26
|
attr_accessor :last
|
|
27
27
|
|
|
28
|
-
attr_accessor :
|
|
28
|
+
attr_accessor :size
|
|
29
29
|
|
|
30
|
-
attr_accessor :
|
|
30
|
+
attr_accessor :number
|
|
31
31
|
|
|
32
32
|
attr_accessor :first
|
|
33
33
|
|
|
34
|
-
attr_accessor :
|
|
34
|
+
attr_accessor :number_of_elements
|
|
35
35
|
|
|
36
|
-
attr_accessor :
|
|
36
|
+
attr_accessor :sort
|
|
37
37
|
|
|
38
38
|
attr_accessor :empty
|
|
39
39
|
|
|
@@ -42,14 +42,14 @@ module MailSlurpClient
|
|
|
42
42
|
{
|
|
43
43
|
:'content' => :'content',
|
|
44
44
|
:'pageable' => :'pageable',
|
|
45
|
-
:'total_elements' => :'totalElements',
|
|
46
45
|
:'total_pages' => :'totalPages',
|
|
46
|
+
:'total_elements' => :'totalElements',
|
|
47
47
|
:'last' => :'last',
|
|
48
|
-
:'number_of_elements' => :'numberOfElements',
|
|
49
|
-
:'sort' => :'sort',
|
|
50
|
-
:'first' => :'first',
|
|
51
48
|
:'size' => :'size',
|
|
52
49
|
:'number' => :'number',
|
|
50
|
+
:'first' => :'first',
|
|
51
|
+
:'number_of_elements' => :'numberOfElements',
|
|
52
|
+
:'sort' => :'sort',
|
|
53
53
|
:'empty' => :'empty'
|
|
54
54
|
}
|
|
55
55
|
end
|
|
@@ -59,14 +59,14 @@ module MailSlurpClient
|
|
|
59
59
|
{
|
|
60
60
|
:'content' => :'Array<AITransformMappingProjection>',
|
|
61
61
|
:'pageable' => :'PageableObject',
|
|
62
|
-
:'total_elements' => :'Integer',
|
|
63
62
|
:'total_pages' => :'Integer',
|
|
63
|
+
:'total_elements' => :'Integer',
|
|
64
64
|
:'last' => :'Boolean',
|
|
65
|
-
:'number_of_elements' => :'Integer',
|
|
66
|
-
:'sort' => :'SortObject',
|
|
67
|
-
:'first' => :'Boolean',
|
|
68
65
|
:'size' => :'Integer',
|
|
69
66
|
:'number' => :'Integer',
|
|
67
|
+
:'first' => :'Boolean',
|
|
68
|
+
:'number_of_elements' => :'Integer',
|
|
69
|
+
:'sort' => :'SortObject',
|
|
70
70
|
:'empty' => :'Boolean'
|
|
71
71
|
}
|
|
72
72
|
end
|
|
@@ -102,36 +102,36 @@ module MailSlurpClient
|
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'total_elements')
|
|
106
|
-
self.total_elements = attributes[:'total_elements']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
105
|
if attributes.key?(:'total_pages')
|
|
110
106
|
self.total_pages = attributes[:'total_pages']
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if attributes.key?(:'total_elements')
|
|
110
|
+
self.total_elements = attributes[:'total_elements']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if attributes.key?(:'last')
|
|
114
114
|
self.last = attributes[:'last']
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
-
if attributes.key?(:'
|
|
118
|
-
self.
|
|
117
|
+
if attributes.key?(:'size')
|
|
118
|
+
self.size = attributes[:'size']
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
121
|
+
if attributes.key?(:'number')
|
|
122
|
+
self.number = attributes[:'number']
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
if attributes.key?(:'first')
|
|
126
126
|
self.first = attributes[:'first']
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
-
if attributes.key?(:'
|
|
130
|
-
self.
|
|
129
|
+
if attributes.key?(:'number_of_elements')
|
|
130
|
+
self.number_of_elements = attributes[:'number_of_elements']
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
if attributes.key?(:'
|
|
134
|
-
self.
|
|
133
|
+
if attributes.key?(:'sort')
|
|
134
|
+
self.sort = attributes[:'sort']
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
if attributes.key?(:'empty')
|
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
|
143
143
|
# @return Array for valid properties with the reasons
|
|
144
144
|
def list_invalid_properties
|
|
145
145
|
invalid_properties = Array.new
|
|
146
|
-
if @total_elements.nil?
|
|
147
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
|
148
|
-
end
|
|
149
|
-
|
|
150
146
|
if @total_pages.nil?
|
|
151
147
|
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
|
152
148
|
end
|
|
153
149
|
|
|
150
|
+
if @total_elements.nil?
|
|
151
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
|
152
|
+
end
|
|
153
|
+
|
|
154
154
|
invalid_properties
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
|
158
158
|
# @return true if the model is valid
|
|
159
159
|
def valid?
|
|
160
|
-
return false if @total_elements.nil?
|
|
161
160
|
return false if @total_pages.nil?
|
|
161
|
+
return false if @total_elements.nil?
|
|
162
162
|
true
|
|
163
163
|
end
|
|
164
164
|
|
|
@@ -169,14 +169,14 @@ module MailSlurpClient
|
|
|
169
169
|
self.class == o.class &&
|
|
170
170
|
content == o.content &&
|
|
171
171
|
pageable == o.pageable &&
|
|
172
|
-
total_elements == o.total_elements &&
|
|
173
172
|
total_pages == o.total_pages &&
|
|
173
|
+
total_elements == o.total_elements &&
|
|
174
174
|
last == o.last &&
|
|
175
|
-
number_of_elements == o.number_of_elements &&
|
|
176
|
-
sort == o.sort &&
|
|
177
|
-
first == o.first &&
|
|
178
175
|
size == o.size &&
|
|
179
176
|
number == o.number &&
|
|
177
|
+
first == o.first &&
|
|
178
|
+
number_of_elements == o.number_of_elements &&
|
|
179
|
+
sort == o.sort &&
|
|
180
180
|
empty == o.empty
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
|
189
189
|
# Calculates hash code according to all attributes.
|
|
190
190
|
# @return [Integer] Hash code
|
|
191
191
|
def hash
|
|
192
|
-
[content, pageable,
|
|
192
|
+
[content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|
|
@@ -19,21 +19,21 @@ module MailSlurpClient
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :pageable
|
|
21
21
|
|
|
22
|
-
attr_accessor :total_elements
|
|
23
|
-
|
|
24
22
|
attr_accessor :total_pages
|
|
25
23
|
|
|
24
|
+
attr_accessor :total_elements
|
|
25
|
+
|
|
26
26
|
attr_accessor :last
|
|
27
27
|
|
|
28
|
-
attr_accessor :
|
|
28
|
+
attr_accessor :size
|
|
29
29
|
|
|
30
|
-
attr_accessor :
|
|
30
|
+
attr_accessor :number
|
|
31
31
|
|
|
32
32
|
attr_accessor :first
|
|
33
33
|
|
|
34
|
-
attr_accessor :
|
|
34
|
+
attr_accessor :number_of_elements
|
|
35
35
|
|
|
36
|
-
attr_accessor :
|
|
36
|
+
attr_accessor :sort
|
|
37
37
|
|
|
38
38
|
attr_accessor :empty
|
|
39
39
|
|
|
@@ -42,14 +42,14 @@ module MailSlurpClient
|
|
|
42
42
|
{
|
|
43
43
|
:'content' => :'content',
|
|
44
44
|
:'pageable' => :'pageable',
|
|
45
|
-
:'total_elements' => :'totalElements',
|
|
46
45
|
:'total_pages' => :'totalPages',
|
|
46
|
+
:'total_elements' => :'totalElements',
|
|
47
47
|
:'last' => :'last',
|
|
48
|
-
:'number_of_elements' => :'numberOfElements',
|
|
49
|
-
:'sort' => :'sort',
|
|
50
|
-
:'first' => :'first',
|
|
51
48
|
:'size' => :'size',
|
|
52
49
|
:'number' => :'number',
|
|
50
|
+
:'first' => :'first',
|
|
51
|
+
:'number_of_elements' => :'numberOfElements',
|
|
52
|
+
:'sort' => :'sort',
|
|
53
53
|
:'empty' => :'empty'
|
|
54
54
|
}
|
|
55
55
|
end
|
|
@@ -59,14 +59,14 @@ module MailSlurpClient
|
|
|
59
59
|
{
|
|
60
60
|
:'content' => :'Array<AITransformProjection>',
|
|
61
61
|
:'pageable' => :'PageableObject',
|
|
62
|
-
:'total_elements' => :'Integer',
|
|
63
62
|
:'total_pages' => :'Integer',
|
|
63
|
+
:'total_elements' => :'Integer',
|
|
64
64
|
:'last' => :'Boolean',
|
|
65
|
-
:'number_of_elements' => :'Integer',
|
|
66
|
-
:'sort' => :'SortObject',
|
|
67
|
-
:'first' => :'Boolean',
|
|
68
65
|
:'size' => :'Integer',
|
|
69
66
|
:'number' => :'Integer',
|
|
67
|
+
:'first' => :'Boolean',
|
|
68
|
+
:'number_of_elements' => :'Integer',
|
|
69
|
+
:'sort' => :'SortObject',
|
|
70
70
|
:'empty' => :'Boolean'
|
|
71
71
|
}
|
|
72
72
|
end
|
|
@@ -102,36 +102,36 @@ module MailSlurpClient
|
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'total_elements')
|
|
106
|
-
self.total_elements = attributes[:'total_elements']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
105
|
if attributes.key?(:'total_pages')
|
|
110
106
|
self.total_pages = attributes[:'total_pages']
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if attributes.key?(:'total_elements')
|
|
110
|
+
self.total_elements = attributes[:'total_elements']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if attributes.key?(:'last')
|
|
114
114
|
self.last = attributes[:'last']
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
-
if attributes.key?(:'
|
|
118
|
-
self.
|
|
117
|
+
if attributes.key?(:'size')
|
|
118
|
+
self.size = attributes[:'size']
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
121
|
+
if attributes.key?(:'number')
|
|
122
|
+
self.number = attributes[:'number']
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
if attributes.key?(:'first')
|
|
126
126
|
self.first = attributes[:'first']
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
-
if attributes.key?(:'
|
|
130
|
-
self.
|
|
129
|
+
if attributes.key?(:'number_of_elements')
|
|
130
|
+
self.number_of_elements = attributes[:'number_of_elements']
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
if attributes.key?(:'
|
|
134
|
-
self.
|
|
133
|
+
if attributes.key?(:'sort')
|
|
134
|
+
self.sort = attributes[:'sort']
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
if attributes.key?(:'empty')
|
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
|
143
143
|
# @return Array for valid properties with the reasons
|
|
144
144
|
def list_invalid_properties
|
|
145
145
|
invalid_properties = Array.new
|
|
146
|
-
if @total_elements.nil?
|
|
147
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
|
148
|
-
end
|
|
149
|
-
|
|
150
146
|
if @total_pages.nil?
|
|
151
147
|
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
|
152
148
|
end
|
|
153
149
|
|
|
150
|
+
if @total_elements.nil?
|
|
151
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
|
152
|
+
end
|
|
153
|
+
|
|
154
154
|
invalid_properties
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
|
158
158
|
# @return true if the model is valid
|
|
159
159
|
def valid?
|
|
160
|
-
return false if @total_elements.nil?
|
|
161
160
|
return false if @total_pages.nil?
|
|
161
|
+
return false if @total_elements.nil?
|
|
162
162
|
true
|
|
163
163
|
end
|
|
164
164
|
|
|
@@ -169,14 +169,14 @@ module MailSlurpClient
|
|
|
169
169
|
self.class == o.class &&
|
|
170
170
|
content == o.content &&
|
|
171
171
|
pageable == o.pageable &&
|
|
172
|
-
total_elements == o.total_elements &&
|
|
173
172
|
total_pages == o.total_pages &&
|
|
173
|
+
total_elements == o.total_elements &&
|
|
174
174
|
last == o.last &&
|
|
175
|
-
number_of_elements == o.number_of_elements &&
|
|
176
|
-
sort == o.sort &&
|
|
177
|
-
first == o.first &&
|
|
178
175
|
size == o.size &&
|
|
179
176
|
number == o.number &&
|
|
177
|
+
first == o.first &&
|
|
178
|
+
number_of_elements == o.number_of_elements &&
|
|
179
|
+
sort == o.sort &&
|
|
180
180
|
empty == o.empty
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
|
189
189
|
# Calculates hash code according to all attributes.
|
|
190
190
|
# @return [Integer] Hash code
|
|
191
191
|
def hash
|
|
192
|
-
[content, pageable,
|
|
192
|
+
[content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|