mailslurp_client 17.2.0 → 17.3.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/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 +124 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +4 -4
- data/lib/mailslurp_client/api/phone_controller_api.rb +1312 -81
- 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 +15 -15
- 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 +45 -45
- 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 +50 -50
- 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 +10 -10
- 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 +42 -42
- data/lib/mailslurp_client/models/connector_projection.rb +42 -42
- data/lib/mailslurp_client/models/contact_projection.rb +15 -15
- data/lib/mailslurp_client/models/create_email_audit_options.rb +394 -0
- data/lib/mailslurp_client/models/create_phone_number_options.rb +25 -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_projection.rb +88 -88
- data/lib/mailslurp_client/models/email_thread_projection.rb +54 -54
- 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 +29 -29
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +27 -27
- 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 +15 -15
- data/lib/mailslurp_client/models/guest_portal_user_projection.rb +47 -47
- data/lib/mailslurp_client/models/imap_email_projection.rb +18 -18
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +21 -21
- data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +33 -33
- 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 +18 -18
- data/lib/mailslurp_client/models/page_ai_transform_mapping_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_ai_transform_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_ai_transform_result_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_alias.rb +19 -19
- data/lib/mailslurp_client/models/page_alias_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_complaint.rb +19 -19
- data/lib/mailslurp_client/models/page_connector.rb +19 -19
- data/lib/mailslurp_client/models/page_connector_events.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
- data/lib/mailslurp_client/models/page_device_preview_run_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
- data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
- data/lib/mailslurp_client/models/page_entity_automation_items.rb +19 -19
- data/lib/mailslurp_client/models/page_entity_event_items.rb +19 -19
- data/lib/mailslurp_client/models/page_entity_favourite_items.rb +19 -19
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_guest_portal_users.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_tags.rb +19 -19
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_sms_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_opt_in_identity_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_phone_message_thread_item_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_phone_message_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_phone_number_release_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_plus_address_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_reputation_items.rb +19 -19
- data/lib/mailslurp_client/models/page_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_sent_sms_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_endpoint_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
- data/lib/mailslurp_client/models/pageable_object.rb +22 -22
- data/lib/mailslurp_client/models/phone_message_thread_item_projection.rb +18 -18
- data/lib/mailslurp_client/models/phone_number_dto.rb +49 -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_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 +41 -41
- 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 +41 -41
- 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_phone_pool_options.rb +215 -0
- data/lib/mailslurp_client/models/validation_dto.rb +1 -5
- data/lib/mailslurp_client/models/webhook_projection.rb +45 -45
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +67 -0
- metadata +69 -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,22 +16,22 @@ 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
|
|
|
25
23
|
attr_accessor :created_at
|
|
26
24
|
|
|
25
|
+
attr_accessor :updated_at
|
|
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',
|
|
34
|
-
:'created_at' => :'createdAt'
|
|
33
|
+
:'created_at' => :'createdAt',
|
|
34
|
+
:'updated_at' => :'updatedAt'
|
|
35
35
|
}
|
|
36
36
|
end
|
|
37
37
|
|
|
@@ -39,10 +39,10 @@ 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',
|
|
45
|
-
:'created_at' => :'DateTime'
|
|
44
|
+
:'created_at' => :'DateTime',
|
|
45
|
+
:'updated_at' => :'DateTime'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -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
|
|
@@ -86,6 +82,10 @@ module MailSlurpClient
|
|
|
86
82
|
if attributes.key?(:'created_at')
|
|
87
83
|
self.created_at = attributes[:'created_at']
|
|
88
84
|
end
|
|
85
|
+
|
|
86
|
+
if attributes.key?(:'updated_at')
|
|
87
|
+
self.updated_at = attributes[:'updated_at']
|
|
88
|
+
end
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -96,10 +96,6 @@ 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
|
|
@@ -108,6 +104,10 @@ module MailSlurpClient
|
|
|
108
104
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
|
109
105
|
end
|
|
110
106
|
|
|
107
|
+
if @updated_at.nil?
|
|
108
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
|
109
|
+
end
|
|
110
|
+
|
|
111
111
|
invalid_properties
|
|
112
112
|
end
|
|
113
113
|
|
|
@@ -115,9 +115,9 @@ 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?
|
|
120
119
|
return false if @created_at.nil?
|
|
120
|
+
return false if @updated_at.nil?
|
|
121
121
|
true
|
|
122
122
|
end
|
|
123
123
|
|
|
@@ -127,10 +127,10 @@ 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 &&
|
|
133
|
-
created_at == o.created_at
|
|
132
|
+
created_at == o.created_at &&
|
|
133
|
+
updated_at == o.updated_at
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
# @see the `==` method
|
|
@@ -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, created_at, updated_at].hash
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
# Builds the object from hash
|
|
@@ -25,16 +25,16 @@ module MailSlurpClient
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :last
|
|
27
27
|
|
|
28
|
+
attr_accessor :size
|
|
29
|
+
|
|
30
|
+
attr_accessor :number
|
|
31
|
+
|
|
28
32
|
attr_accessor :number_of_elements
|
|
29
33
|
|
|
30
34
|
attr_accessor :sort
|
|
31
35
|
|
|
32
36
|
attr_accessor :first
|
|
33
37
|
|
|
34
|
-
attr_accessor :size
|
|
35
|
-
|
|
36
|
-
attr_accessor :number
|
|
37
|
-
|
|
38
38
|
attr_accessor :empty
|
|
39
39
|
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -45,11 +45,11 @@ module MailSlurpClient
|
|
|
45
45
|
:'total_elements' => :'totalElements',
|
|
46
46
|
:'total_pages' => :'totalPages',
|
|
47
47
|
:'last' => :'last',
|
|
48
|
+
:'size' => :'size',
|
|
49
|
+
:'number' => :'number',
|
|
48
50
|
:'number_of_elements' => :'numberOfElements',
|
|
49
51
|
:'sort' => :'sort',
|
|
50
52
|
:'first' => :'first',
|
|
51
|
-
:'size' => :'size',
|
|
52
|
-
:'number' => :'number',
|
|
53
53
|
:'empty' => :'empty'
|
|
54
54
|
}
|
|
55
55
|
end
|
|
@@ -62,11 +62,11 @@ module MailSlurpClient
|
|
|
62
62
|
:'total_elements' => :'Integer',
|
|
63
63
|
:'total_pages' => :'Integer',
|
|
64
64
|
:'last' => :'Boolean',
|
|
65
|
+
:'size' => :'Integer',
|
|
66
|
+
:'number' => :'Integer',
|
|
65
67
|
:'number_of_elements' => :'Integer',
|
|
66
68
|
:'sort' => :'SortObject',
|
|
67
69
|
:'first' => :'Boolean',
|
|
68
|
-
:'size' => :'Integer',
|
|
69
|
-
:'number' => :'Integer',
|
|
70
70
|
:'empty' => :'Boolean'
|
|
71
71
|
}
|
|
72
72
|
end
|
|
@@ -114,6 +114,14 @@ module MailSlurpClient
|
|
|
114
114
|
self.last = attributes[:'last']
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
+
if attributes.key?(:'size')
|
|
118
|
+
self.size = attributes[:'size']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'number')
|
|
122
|
+
self.number = attributes[:'number']
|
|
123
|
+
end
|
|
124
|
+
|
|
117
125
|
if attributes.key?(:'number_of_elements')
|
|
118
126
|
self.number_of_elements = attributes[:'number_of_elements']
|
|
119
127
|
end
|
|
@@ -126,14 +134,6 @@ module MailSlurpClient
|
|
|
126
134
|
self.first = attributes[:'first']
|
|
127
135
|
end
|
|
128
136
|
|
|
129
|
-
if attributes.key?(:'size')
|
|
130
|
-
self.size = attributes[:'size']
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if attributes.key?(:'number')
|
|
134
|
-
self.number = attributes[:'number']
|
|
135
|
-
end
|
|
136
|
-
|
|
137
137
|
if attributes.key?(:'empty')
|
|
138
138
|
self.empty = attributes[:'empty']
|
|
139
139
|
end
|
|
@@ -172,11 +172,11 @@ module MailSlurpClient
|
|
|
172
172
|
total_elements == o.total_elements &&
|
|
173
173
|
total_pages == o.total_pages &&
|
|
174
174
|
last == o.last &&
|
|
175
|
+
size == o.size &&
|
|
176
|
+
number == o.number &&
|
|
175
177
|
number_of_elements == o.number_of_elements &&
|
|
176
178
|
sort == o.sort &&
|
|
177
179
|
first == o.first &&
|
|
178
|
-
size == o.size &&
|
|
179
|
-
number == o.number &&
|
|
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, total_elements, total_pages, last,
|
|
192
|
+
[content, pageable, total_elements, total_pages, last, size, number, number_of_elements, sort, first, empty].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|
|
@@ -25,16 +25,16 @@ module MailSlurpClient
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :last
|
|
27
27
|
|
|
28
|
+
attr_accessor :size
|
|
29
|
+
|
|
30
|
+
attr_accessor :number
|
|
31
|
+
|
|
28
32
|
attr_accessor :number_of_elements
|
|
29
33
|
|
|
30
34
|
attr_accessor :sort
|
|
31
35
|
|
|
32
36
|
attr_accessor :first
|
|
33
37
|
|
|
34
|
-
attr_accessor :size
|
|
35
|
-
|
|
36
|
-
attr_accessor :number
|
|
37
|
-
|
|
38
38
|
attr_accessor :empty
|
|
39
39
|
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -45,11 +45,11 @@ module MailSlurpClient
|
|
|
45
45
|
:'total_elements' => :'totalElements',
|
|
46
46
|
:'total_pages' => :'totalPages',
|
|
47
47
|
:'last' => :'last',
|
|
48
|
+
:'size' => :'size',
|
|
49
|
+
:'number' => :'number',
|
|
48
50
|
:'number_of_elements' => :'numberOfElements',
|
|
49
51
|
:'sort' => :'sort',
|
|
50
52
|
:'first' => :'first',
|
|
51
|
-
:'size' => :'size',
|
|
52
|
-
:'number' => :'number',
|
|
53
53
|
:'empty' => :'empty'
|
|
54
54
|
}
|
|
55
55
|
end
|
|
@@ -62,11 +62,11 @@ module MailSlurpClient
|
|
|
62
62
|
:'total_elements' => :'Integer',
|
|
63
63
|
:'total_pages' => :'Integer',
|
|
64
64
|
:'last' => :'Boolean',
|
|
65
|
+
:'size' => :'Integer',
|
|
66
|
+
:'number' => :'Integer',
|
|
65
67
|
:'number_of_elements' => :'Integer',
|
|
66
68
|
:'sort' => :'SortObject',
|
|
67
69
|
:'first' => :'Boolean',
|
|
68
|
-
:'size' => :'Integer',
|
|
69
|
-
:'number' => :'Integer',
|
|
70
70
|
:'empty' => :'Boolean'
|
|
71
71
|
}
|
|
72
72
|
end
|
|
@@ -114,6 +114,14 @@ module MailSlurpClient
|
|
|
114
114
|
self.last = attributes[:'last']
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
+
if attributes.key?(:'size')
|
|
118
|
+
self.size = attributes[:'size']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'number')
|
|
122
|
+
self.number = attributes[:'number']
|
|
123
|
+
end
|
|
124
|
+
|
|
117
125
|
if attributes.key?(:'number_of_elements')
|
|
118
126
|
self.number_of_elements = attributes[:'number_of_elements']
|
|
119
127
|
end
|
|
@@ -126,14 +134,6 @@ module MailSlurpClient
|
|
|
126
134
|
self.first = attributes[:'first']
|
|
127
135
|
end
|
|
128
136
|
|
|
129
|
-
if attributes.key?(:'size')
|
|
130
|
-
self.size = attributes[:'size']
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if attributes.key?(:'number')
|
|
134
|
-
self.number = attributes[:'number']
|
|
135
|
-
end
|
|
136
|
-
|
|
137
137
|
if attributes.key?(:'empty')
|
|
138
138
|
self.empty = attributes[:'empty']
|
|
139
139
|
end
|
|
@@ -172,11 +172,11 @@ module MailSlurpClient
|
|
|
172
172
|
total_elements == o.total_elements &&
|
|
173
173
|
total_pages == o.total_pages &&
|
|
174
174
|
last == o.last &&
|
|
175
|
+
size == o.size &&
|
|
176
|
+
number == o.number &&
|
|
175
177
|
number_of_elements == o.number_of_elements &&
|
|
176
178
|
sort == o.sort &&
|
|
177
179
|
first == o.first &&
|
|
178
|
-
size == o.size &&
|
|
179
|
-
number == o.number &&
|
|
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, total_elements, total_pages, last,
|
|
192
|
+
[content, pageable, total_elements, total_pages, last, size, number, number_of_elements, sort, first, empty].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|
|
@@ -27,16 +27,16 @@ module MailSlurpClient
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :last
|
|
29
29
|
|
|
30
|
+
attr_accessor :size
|
|
31
|
+
|
|
32
|
+
attr_accessor :number
|
|
33
|
+
|
|
30
34
|
attr_accessor :number_of_elements
|
|
31
35
|
|
|
32
36
|
attr_accessor :sort
|
|
33
37
|
|
|
34
38
|
attr_accessor :first
|
|
35
39
|
|
|
36
|
-
attr_accessor :size
|
|
37
|
-
|
|
38
|
-
attr_accessor :number
|
|
39
|
-
|
|
40
40
|
attr_accessor :empty
|
|
41
41
|
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -48,11 +48,11 @@ module MailSlurpClient
|
|
|
48
48
|
:'total_elements' => :'totalElements',
|
|
49
49
|
:'total_pages' => :'totalPages',
|
|
50
50
|
:'last' => :'last',
|
|
51
|
+
:'size' => :'size',
|
|
52
|
+
:'number' => :'number',
|
|
51
53
|
:'number_of_elements' => :'numberOfElements',
|
|
52
54
|
:'sort' => :'sort',
|
|
53
55
|
:'first' => :'first',
|
|
54
|
-
:'size' => :'size',
|
|
55
|
-
:'number' => :'number',
|
|
56
56
|
:'empty' => :'empty'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
@@ -66,11 +66,11 @@ module MailSlurpClient
|
|
|
66
66
|
:'total_elements' => :'Integer',
|
|
67
67
|
:'total_pages' => :'Integer',
|
|
68
68
|
:'last' => :'Boolean',
|
|
69
|
+
:'size' => :'Integer',
|
|
70
|
+
:'number' => :'Integer',
|
|
69
71
|
:'number_of_elements' => :'Integer',
|
|
70
72
|
:'sort' => :'SortObject',
|
|
71
73
|
:'first' => :'Boolean',
|
|
72
|
-
:'size' => :'Integer',
|
|
73
|
-
:'number' => :'Integer',
|
|
74
74
|
:'empty' => :'Boolean'
|
|
75
75
|
}
|
|
76
76
|
end
|
|
@@ -124,6 +124,14 @@ module MailSlurpClient
|
|
|
124
124
|
self.last = attributes[:'last']
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
+
if attributes.key?(:'size')
|
|
128
|
+
self.size = attributes[:'size']
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
if attributes.key?(:'number')
|
|
132
|
+
self.number = attributes[:'number']
|
|
133
|
+
end
|
|
134
|
+
|
|
127
135
|
if attributes.key?(:'number_of_elements')
|
|
128
136
|
self.number_of_elements = attributes[:'number_of_elements']
|
|
129
137
|
end
|
|
@@ -136,14 +144,6 @@ module MailSlurpClient
|
|
|
136
144
|
self.first = attributes[:'first']
|
|
137
145
|
end
|
|
138
146
|
|
|
139
|
-
if attributes.key?(:'size')
|
|
140
|
-
self.size = attributes[:'size']
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
if attributes.key?(:'number')
|
|
144
|
-
self.number = attributes[:'number']
|
|
145
|
-
end
|
|
146
|
-
|
|
147
147
|
if attributes.key?(:'empty')
|
|
148
148
|
self.empty = attributes[:'empty']
|
|
149
149
|
end
|
|
@@ -188,11 +188,11 @@ module MailSlurpClient
|
|
|
188
188
|
total_elements == o.total_elements &&
|
|
189
189
|
total_pages == o.total_pages &&
|
|
190
190
|
last == o.last &&
|
|
191
|
+
size == o.size &&
|
|
192
|
+
number == o.number &&
|
|
191
193
|
number_of_elements == o.number_of_elements &&
|
|
192
194
|
sort == o.sort &&
|
|
193
195
|
first == o.first &&
|
|
194
|
-
size == o.size &&
|
|
195
|
-
number == o.number &&
|
|
196
196
|
empty == o.empty
|
|
197
197
|
end
|
|
198
198
|
|
|
@@ -205,7 +205,7 @@ module MailSlurpClient
|
|
|
205
205
|
# Calculates hash code according to all attributes.
|
|
206
206
|
# @return [Integer] Hash code
|
|
207
207
|
def hash
|
|
208
|
-
[content, pageable, columns, total_elements, total_pages, last,
|
|
208
|
+
[content, pageable, columns, total_elements, total_pages, last, size, number, number_of_elements, sort, first, empty].hash
|
|
209
209
|
end
|
|
210
210
|
|
|
211
211
|
# Builds the object from hash
|
|
@@ -25,16 +25,16 @@ module MailSlurpClient
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :last
|
|
27
27
|
|
|
28
|
+
attr_accessor :size
|
|
29
|
+
|
|
30
|
+
attr_accessor :number
|
|
31
|
+
|
|
28
32
|
attr_accessor :number_of_elements
|
|
29
33
|
|
|
30
34
|
attr_accessor :sort
|
|
31
35
|
|
|
32
36
|
attr_accessor :first
|
|
33
37
|
|
|
34
|
-
attr_accessor :size
|
|
35
|
-
|
|
36
|
-
attr_accessor :number
|
|
37
|
-
|
|
38
38
|
attr_accessor :empty
|
|
39
39
|
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -45,11 +45,11 @@ module MailSlurpClient
|
|
|
45
45
|
:'total_elements' => :'totalElements',
|
|
46
46
|
:'total_pages' => :'totalPages',
|
|
47
47
|
:'last' => :'last',
|
|
48
|
+
:'size' => :'size',
|
|
49
|
+
:'number' => :'number',
|
|
48
50
|
:'number_of_elements' => :'numberOfElements',
|
|
49
51
|
:'sort' => :'sort',
|
|
50
52
|
:'first' => :'first',
|
|
51
|
-
:'size' => :'size',
|
|
52
|
-
:'number' => :'number',
|
|
53
53
|
:'empty' => :'empty'
|
|
54
54
|
}
|
|
55
55
|
end
|
|
@@ -62,11 +62,11 @@ module MailSlurpClient
|
|
|
62
62
|
:'total_elements' => :'Integer',
|
|
63
63
|
:'total_pages' => :'Integer',
|
|
64
64
|
:'last' => :'Boolean',
|
|
65
|
+
:'size' => :'Integer',
|
|
66
|
+
:'number' => :'Integer',
|
|
65
67
|
:'number_of_elements' => :'Integer',
|
|
66
68
|
:'sort' => :'SortObject',
|
|
67
69
|
:'first' => :'Boolean',
|
|
68
|
-
:'size' => :'Integer',
|
|
69
|
-
:'number' => :'Integer',
|
|
70
70
|
:'empty' => :'Boolean'
|
|
71
71
|
}
|
|
72
72
|
end
|
|
@@ -114,6 +114,14 @@ module MailSlurpClient
|
|
|
114
114
|
self.last = attributes[:'last']
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
+
if attributes.key?(:'size')
|
|
118
|
+
self.size = attributes[:'size']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'number')
|
|
122
|
+
self.number = attributes[:'number']
|
|
123
|
+
end
|
|
124
|
+
|
|
117
125
|
if attributes.key?(:'number_of_elements')
|
|
118
126
|
self.number_of_elements = attributes[:'number_of_elements']
|
|
119
127
|
end
|
|
@@ -126,14 +134,6 @@ module MailSlurpClient
|
|
|
126
134
|
self.first = attributes[:'first']
|
|
127
135
|
end
|
|
128
136
|
|
|
129
|
-
if attributes.key?(:'size')
|
|
130
|
-
self.size = attributes[:'size']
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if attributes.key?(:'number')
|
|
134
|
-
self.number = attributes[:'number']
|
|
135
|
-
end
|
|
136
|
-
|
|
137
137
|
if attributes.key?(:'empty')
|
|
138
138
|
self.empty = attributes[:'empty']
|
|
139
139
|
end
|
|
@@ -172,11 +172,11 @@ module MailSlurpClient
|
|
|
172
172
|
total_elements == o.total_elements &&
|
|
173
173
|
total_pages == o.total_pages &&
|
|
174
174
|
last == o.last &&
|
|
175
|
+
size == o.size &&
|
|
176
|
+
number == o.number &&
|
|
175
177
|
number_of_elements == o.number_of_elements &&
|
|
176
178
|
sort == o.sort &&
|
|
177
179
|
first == o.first &&
|
|
178
|
-
size == o.size &&
|
|
179
|
-
number == o.number &&
|
|
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, total_elements, total_pages, last,
|
|
192
|
+
[content, pageable, total_elements, total_pages, last, size, number, number_of_elements, sort, first, empty].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|