mailslurp_client 15.13.32 → 15.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/api_user_controller_api.rb +0 -4
- data/lib/mailslurp_client/api/missed_email_controller_api.rb +6 -6
- data/lib/mailslurp_client/models/alias_dto.rb +5 -0
- data/lib/mailslurp_client/models/alias_projection.rb +13 -13
- data/lib/mailslurp_client/models/attachment_entity.rb +0 -1
- data/lib/mailslurp_client/models/attachment_projection.rb +3 -0
- data/lib/mailslurp_client/models/bounce_projection.rb +3 -0
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +3 -0
- data/lib/mailslurp_client/models/bounced_email_dto.rb +12 -0
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +10 -0
- data/lib/mailslurp_client/models/contact_dto.rb +7 -0
- data/lib/mailslurp_client/models/contact_projection.rb +29 -24
- data/lib/mailslurp_client/models/create_alias_options.rb +2 -0
- data/lib/mailslurp_client/models/create_contact_options.rb +1 -0
- data/lib/mailslurp_client/models/create_group_options.rb +1 -0
- data/lib/mailslurp_client/models/create_inbox_dto.rb +1 -0
- data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +2 -0
- data/lib/mailslurp_client/models/create_webhook_options.rb +2 -0
- data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +1 -0
- data/lib/mailslurp_client/models/domain_dto.rb +1 -0
- data/lib/mailslurp_client/models/domain_preview.rb +1 -0
- data/lib/mailslurp_client/models/email.rb +1 -0
- data/lib/mailslurp_client/models/email_preview.rb +1 -0
- data/lib/mailslurp_client/models/email_projection.rb +35 -27
- data/lib/mailslurp_client/models/{email_validation_request.rb → email_validation_request_dto.rb} +8 -3
- data/lib/mailslurp_client/models/email_verification_result.rb +1 -0
- data/lib/mailslurp_client/models/expiration_defaults.rb +3 -0
- data/lib/mailslurp_client/models/export_options.rb +5 -0
- data/lib/mailslurp_client/models/forward_email_options.rb +5 -0
- data/lib/mailslurp_client/models/group_dto.rb +1 -0
- data/lib/mailslurp_client/models/group_projection.rb +1 -0
- data/lib/mailslurp_client/models/inbox_by_email_address_result.rb +1 -0
- data/lib/mailslurp_client/models/inbox_by_name_result.rb +1 -0
- data/lib/mailslurp_client/models/match_options.rb +2 -0
- data/lib/mailslurp_client/models/{missed_email.rb → missed_email_dto.rb} +16 -3
- data/lib/mailslurp_client/models/missed_email_projection.rb +3 -0
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +1 -0
- data/lib/mailslurp_client/models/page_alias.rb +10 -10
- data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
- data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
- data/lib/mailslurp_client/models/page_complaint.rb +10 -10
- data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
- data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
- data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_email_validation_request.rb +11 -11
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
- data/lib/mailslurp_client/models/phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/recipient.rb +1 -0
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +6 -0
- data/lib/mailslurp_client/models/reply_to_email_options.rb +8 -0
- data/lib/mailslurp_client/models/send_email_options.rb +20 -0
- data/lib/mailslurp_client/models/sent_email_dto.rb +22 -0
- data/lib/mailslurp_client/models/sent_email_projection.rb +24 -24
- data/lib/mailslurp_client/models/simple_send_email_options.rb +3 -0
- data/lib/mailslurp_client/models/sms_projection.rb +15 -15
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/models/template_projection.rb +20 -20
- data/lib/mailslurp_client/models/thread_projection.rb +26 -26
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +4 -0
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +13 -13
- data/lib/mailslurp_client/models/update_alias_options.rb +1 -0
- data/lib/mailslurp_client/models/update_domain_options.rb +1 -0
- data/lib/mailslurp_client/models/verify_email_address_options.rb +3 -0
- data/lib/mailslurp_client/models/wait_for_conditions.rb +8 -0
- data/lib/mailslurp_client/models/wait_for_sms_conditions.rb +8 -0
- data/lib/mailslurp_client/models/webhook_bounce_payload.rb +3 -0
- data/lib/mailslurp_client/models/webhook_bounce_recipient_payload.rb +1 -0
- data/lib/mailslurp_client/models/webhook_delivery_status_payload.rb +1 -0
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +1 -0
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +1 -0
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +1 -0
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +2 -0
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +3 -0
- data/lib/mailslurp_client/models/webhook_projection.rb +13 -13
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +1 -0
- data/lib/mailslurp_client/models/webhook_result_dto.rb +6 -0
- data/lib/mailslurp_client/models/webhook_test_request.rb +1 -0
- data/lib/mailslurp_client/models/webhook_test_response.rb +2 -0
- data/lib/mailslurp_client/models/webhook_test_result.rb +1 -0
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +2 -2
- metadata +4 -4
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :total_elements
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
26
|
+
attr_accessor :total_elements
|
27
|
+
|
28
28
|
attr_accessor :last
|
29
29
|
|
30
30
|
attr_accessor :size
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
48
|
:'total_pages' => :'totalPages',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
50
|
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
@@ -63,8 +63,8 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<SmsProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
66
|
:'total_pages' => :'Integer',
|
67
|
+
:'total_elements' => :'Integer',
|
68
68
|
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
@@ -110,14 +110,14 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'total_elements')
|
114
|
-
self.total_elements = attributes[:'total_elements']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
120
116
|
|
117
|
+
if attributes.key?(:'total_elements')
|
118
|
+
self.total_elements = attributes[:'total_elements']
|
119
|
+
end
|
120
|
+
|
121
121
|
if attributes.key?(:'last')
|
122
122
|
self.last = attributes[:'last']
|
123
123
|
end
|
@@ -168,8 +168,8 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
171
|
total_pages == o.total_pages &&
|
172
|
+
total_elements == o.total_elements &&
|
173
173
|
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :total_elements
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
26
|
+
attr_accessor :total_elements
|
27
|
+
|
28
28
|
attr_accessor :last
|
29
29
|
|
30
30
|
attr_accessor :size
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
48
|
:'total_pages' => :'totalPages',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
50
|
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
@@ -63,8 +63,8 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<TemplateProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
66
|
:'total_pages' => :'Integer',
|
67
|
+
:'total_elements' => :'Integer',
|
68
68
|
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
@@ -110,14 +110,14 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'total_elements')
|
114
|
-
self.total_elements = attributes[:'total_elements']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
120
116
|
|
117
|
+
if attributes.key?(:'total_elements')
|
118
|
+
self.total_elements = attributes[:'total_elements']
|
119
|
+
end
|
120
|
+
|
121
121
|
if attributes.key?(:'last')
|
122
122
|
self.last = attributes[:'last']
|
123
123
|
end
|
@@ -168,8 +168,8 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
171
|
total_pages == o.total_pages &&
|
172
|
+
total_elements == o.total_elements &&
|
173
173
|
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :total_elements
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
26
|
+
attr_accessor :total_elements
|
27
|
+
|
28
28
|
attr_accessor :last
|
29
29
|
|
30
30
|
attr_accessor :size
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
48
|
:'total_pages' => :'totalPages',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
50
|
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
@@ -63,8 +63,8 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<ThreadProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
66
|
:'total_pages' => :'Integer',
|
67
|
+
:'total_elements' => :'Integer',
|
68
68
|
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
@@ -110,14 +110,14 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'total_elements')
|
114
|
-
self.total_elements = attributes[:'total_elements']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
120
116
|
|
117
|
+
if attributes.key?(:'total_elements')
|
118
|
+
self.total_elements = attributes[:'total_elements']
|
119
|
+
end
|
120
|
+
|
121
121
|
if attributes.key?(:'last')
|
122
122
|
self.last = attributes[:'last']
|
123
123
|
end
|
@@ -168,8 +168,8 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
171
|
total_pages == o.total_pages &&
|
172
|
+
total_elements == o.total_elements &&
|
173
173
|
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :total_elements
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
26
|
+
attr_accessor :total_elements
|
27
|
+
|
28
28
|
attr_accessor :last
|
29
29
|
|
30
30
|
attr_accessor :size
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
48
|
:'total_pages' => :'totalPages',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
50
|
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
@@ -63,8 +63,8 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<TrackingPixelProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
66
|
:'total_pages' => :'Integer',
|
67
|
+
:'total_elements' => :'Integer',
|
68
68
|
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
@@ -110,14 +110,14 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'total_elements')
|
114
|
-
self.total_elements = attributes[:'total_elements']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
120
116
|
|
117
|
+
if attributes.key?(:'total_elements')
|
118
|
+
self.total_elements = attributes[:'total_elements']
|
119
|
+
end
|
120
|
+
|
121
121
|
if attributes.key?(:'last')
|
122
122
|
self.last = attributes[:'last']
|
123
123
|
end
|
@@ -168,8 +168,8 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
171
|
total_pages == o.total_pages &&
|
172
|
+
total_elements == o.total_elements &&
|
173
173
|
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :total_elements
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
26
|
+
attr_accessor :total_elements
|
27
|
+
|
28
28
|
attr_accessor :last
|
29
29
|
|
30
30
|
attr_accessor :size
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
48
|
:'total_pages' => :'totalPages',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
50
|
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
@@ -63,8 +63,8 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<UnknownMissedEmailProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
66
|
:'total_pages' => :'Integer',
|
67
|
+
:'total_elements' => :'Integer',
|
68
68
|
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
@@ -110,14 +110,14 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'total_elements')
|
114
|
-
self.total_elements = attributes[:'total_elements']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
120
116
|
|
117
|
+
if attributes.key?(:'total_elements')
|
118
|
+
self.total_elements = attributes[:'total_elements']
|
119
|
+
end
|
120
|
+
|
121
121
|
if attributes.key?(:'last')
|
122
122
|
self.last = attributes[:'last']
|
123
123
|
end
|
@@ -168,8 +168,8 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
171
|
total_pages == o.total_pages &&
|
172
|
+
total_elements == o.total_elements &&
|
173
173
|
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :total_elements
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
26
|
+
attr_accessor :total_elements
|
27
|
+
|
28
28
|
attr_accessor :last
|
29
29
|
|
30
30
|
attr_accessor :size
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
48
|
:'total_pages' => :'totalPages',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
50
|
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
@@ -63,8 +63,8 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<WebhookProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
66
|
:'total_pages' => :'Integer',
|
67
|
+
:'total_elements' => :'Integer',
|
68
68
|
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
@@ -110,14 +110,14 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'total_elements')
|
114
|
-
self.total_elements = attributes[:'total_elements']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
120
116
|
|
117
|
+
if attributes.key?(:'total_elements')
|
118
|
+
self.total_elements = attributes[:'total_elements']
|
119
|
+
end
|
120
|
+
|
121
121
|
if attributes.key?(:'last')
|
122
122
|
self.last = attributes[:'last']
|
123
123
|
end
|
@@ -168,8 +168,8 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
171
|
total_pages == o.total_pages &&
|
172
|
+
total_elements == o.total_elements &&
|
173
173
|
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :total_elements
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
26
|
+
attr_accessor :total_elements
|
27
|
+
|
28
28
|
attr_accessor :last
|
29
29
|
|
30
30
|
attr_accessor :size
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
48
|
:'total_pages' => :'totalPages',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
50
|
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
@@ -63,8 +63,8 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<WebhookResultDto>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
66
|
:'total_pages' => :'Integer',
|
67
|
+
:'total_elements' => :'Integer',
|
68
68
|
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
@@ -110,14 +110,14 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'total_elements')
|
114
|
-
self.total_elements = attributes[:'total_elements']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
120
116
|
|
117
|
+
if attributes.key?(:'total_elements')
|
118
|
+
self.total_elements = attributes[:'total_elements']
|
119
|
+
end
|
120
|
+
|
121
121
|
if attributes.key?(:'last')
|
122
122
|
self.last = attributes[:'last']
|
123
123
|
end
|
@@ -168,8 +168,8 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
171
|
total_pages == o.total_pages &&
|
172
|
+
total_elements == o.total_elements &&
|
173
173
|
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -19,11 +19,11 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :user_id
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :created_at
|
23
23
|
|
24
24
|
attr_accessor :phone_number
|
25
25
|
|
26
|
-
attr_accessor :
|
26
|
+
attr_accessor :phone_country
|
27
27
|
|
28
28
|
class EnumAttributeValidator
|
29
29
|
attr_reader :datatype
|
@@ -52,9 +52,9 @@ module MailSlurpClient
|
|
52
52
|
{
|
53
53
|
:'id' => :'id',
|
54
54
|
:'user_id' => :'userId',
|
55
|
-
:'
|
55
|
+
:'created_at' => :'createdAt',
|
56
56
|
:'phone_number' => :'phoneNumber',
|
57
|
-
:'
|
57
|
+
:'phone_country' => :'phoneCountry'
|
58
58
|
}
|
59
59
|
end
|
60
60
|
|
@@ -63,9 +63,9 @@ module MailSlurpClient
|
|
63
63
|
{
|
64
64
|
:'id' => :'String',
|
65
65
|
:'user_id' => :'String',
|
66
|
-
:'
|
66
|
+
:'created_at' => :'DateTime',
|
67
67
|
:'phone_number' => :'String',
|
68
|
-
:'
|
68
|
+
:'phone_country' => :'String'
|
69
69
|
}
|
70
70
|
end
|
71
71
|
|
@@ -98,16 +98,16 @@ module MailSlurpClient
|
|
98
98
|
self.user_id = attributes[:'user_id']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
101
|
+
if attributes.key?(:'created_at')
|
102
|
+
self.created_at = attributes[:'created_at']
|
103
103
|
end
|
104
104
|
|
105
105
|
if attributes.key?(:'phone_number')
|
106
106
|
self.phone_number = attributes[:'phone_number']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
109
|
+
if attributes.key?(:'phone_country')
|
110
|
+
self.phone_country = attributes[:'phone_country']
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
@@ -123,16 +123,16 @@ module MailSlurpClient
|
|
123
123
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
124
124
|
end
|
125
125
|
|
126
|
-
if @
|
127
|
-
invalid_properties.push('invalid value for "
|
126
|
+
if @created_at.nil?
|
127
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
128
128
|
end
|
129
129
|
|
130
130
|
if @phone_number.nil?
|
131
131
|
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
132
132
|
end
|
133
133
|
|
134
|
-
if @
|
135
|
-
invalid_properties.push('invalid value for "
|
134
|
+
if @phone_country.nil?
|
135
|
+
invalid_properties.push('invalid value for "phone_country", phone_country cannot be nil.')
|
136
136
|
end
|
137
137
|
|
138
138
|
invalid_properties
|
@@ -143,11 +143,11 @@ module MailSlurpClient
|
|
143
143
|
def valid?
|
144
144
|
return false if @id.nil?
|
145
145
|
return false if @user_id.nil?
|
146
|
+
return false if @created_at.nil?
|
147
|
+
return false if @phone_number.nil?
|
146
148
|
return false if @phone_country.nil?
|
147
149
|
phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
|
148
150
|
return false unless phone_country_validator.valid?(@phone_country)
|
149
|
-
return false if @phone_number.nil?
|
150
|
-
return false if @created_at.nil?
|
151
151
|
true
|
152
152
|
end
|
153
153
|
|
@@ -168,9 +168,9 @@ module MailSlurpClient
|
|
168
168
|
self.class == o.class &&
|
169
169
|
id == o.id &&
|
170
170
|
user_id == o.user_id &&
|
171
|
-
|
171
|
+
created_at == o.created_at &&
|
172
172
|
phone_number == o.phone_number &&
|
173
|
-
|
173
|
+
phone_country == o.phone_country
|
174
174
|
end
|
175
175
|
|
176
176
|
# @see the `==` method
|
@@ -182,7 +182,7 @@ module MailSlurpClient
|
|
182
182
|
# Calculates hash code according to all attributes.
|
183
183
|
# @return [Integer] Hash code
|
184
184
|
def hash
|
185
|
-
[id, user_id,
|
185
|
+
[id, user_id, created_at, phone_number, phone_country].hash
|
186
186
|
end
|
187
187
|
|
188
188
|
# Builds the object from hash
|
@@ -96,6 +96,12 @@ module MailSlurpClient
|
|
96
96
|
# List of attributes with nullable: true
|
97
97
|
def self.openapi_nullable
|
98
98
|
Set.new([
|
99
|
+
:'charset',
|
100
|
+
:'attachments',
|
101
|
+
:'template_variables',
|
102
|
+
:'template',
|
103
|
+
:'send_strategy',
|
104
|
+
:'use_inbox_name',
|
99
105
|
])
|
100
106
|
end
|
101
107
|
|
@@ -106,6 +106,14 @@ module MailSlurpClient
|
|
106
106
|
# List of attributes with nullable: true
|
107
107
|
def self.openapi_nullable
|
108
108
|
Set.new([
|
109
|
+
:'from',
|
110
|
+
:'reply_to',
|
111
|
+
:'charset',
|
112
|
+
:'attachments',
|
113
|
+
:'template_variables',
|
114
|
+
:'template',
|
115
|
+
:'send_strategy',
|
116
|
+
:'use_inbox_name',
|
109
117
|
])
|
110
118
|
end
|
111
119
|
|
@@ -152,6 +152,26 @@ module MailSlurpClient
|
|
152
152
|
# List of attributes with nullable: true
|
153
153
|
def self.openapi_nullable
|
154
154
|
Set.new([
|
155
|
+
:'to_contacts',
|
156
|
+
:'to_group',
|
157
|
+
:'to',
|
158
|
+
:'from',
|
159
|
+
:'cc',
|
160
|
+
:'bcc',
|
161
|
+
:'subject',
|
162
|
+
:'reply_to',
|
163
|
+
:'body',
|
164
|
+
:'html',
|
165
|
+
:'is_html',
|
166
|
+
:'charset',
|
167
|
+
:'attachments',
|
168
|
+
:'template_variables',
|
169
|
+
:'template',
|
170
|
+
:'send_strategy',
|
171
|
+
:'use_inbox_name',
|
172
|
+
:'add_tracking_pixel',
|
173
|
+
:'filter_bounced_recipients',
|
174
|
+
:'validate_email_addresses'
|
155
175
|
])
|
156
176
|
end
|
157
177
|
|