mailslurp_client 15.13.31 → 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 +27 -27
- 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 +41 -36
- 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/inbox_preview.rb +2 -1
- 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 +15 -15
- 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 +18 -18
- data/lib/mailslurp_client/models/thread_projection.rb +36 -36
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +4 -0
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- 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
@@ -25,10 +25,10 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :attachments
|
27
27
|
|
28
|
-
attr_accessor :to
|
29
|
-
|
30
28
|
attr_accessor :created_at
|
31
29
|
|
30
|
+
attr_accessor :to
|
31
|
+
|
32
32
|
attr_accessor :bcc
|
33
33
|
|
34
34
|
attr_accessor :cc
|
@@ -37,12 +37,12 @@ module MailSlurpClient
|
|
37
37
|
|
38
38
|
attr_accessor :read
|
39
39
|
|
40
|
+
attr_accessor :body_excerpt
|
41
|
+
|
40
42
|
attr_accessor :team_access
|
41
43
|
|
42
44
|
attr_accessor :body_md5_hash
|
43
45
|
|
44
|
-
attr_accessor :body_excerpt
|
45
|
-
|
46
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
47
|
def self.attribute_map
|
48
48
|
{
|
@@ -51,15 +51,15 @@ module MailSlurpClient
|
|
51
51
|
:'subject' => :'subject',
|
52
52
|
:'inbox_id' => :'inboxId',
|
53
53
|
:'attachments' => :'attachments',
|
54
|
-
:'to' => :'to',
|
55
54
|
:'created_at' => :'createdAt',
|
55
|
+
:'to' => :'to',
|
56
56
|
:'bcc' => :'bcc',
|
57
57
|
:'cc' => :'cc',
|
58
58
|
:'domain_id' => :'domainId',
|
59
59
|
:'read' => :'read',
|
60
|
+
:'body_excerpt' => :'bodyExcerpt',
|
60
61
|
:'team_access' => :'teamAccess',
|
61
|
-
:'body_md5_hash' => :'bodyMD5Hash'
|
62
|
-
:'body_excerpt' => :'bodyExcerpt'
|
62
|
+
:'body_md5_hash' => :'bodyMD5Hash'
|
63
63
|
}
|
64
64
|
end
|
65
65
|
|
@@ -71,21 +71,29 @@ module MailSlurpClient
|
|
71
71
|
:'subject' => :'String',
|
72
72
|
:'inbox_id' => :'String',
|
73
73
|
:'attachments' => :'Array<String>',
|
74
|
-
:'to' => :'Array<String>',
|
75
74
|
:'created_at' => :'DateTime',
|
75
|
+
:'to' => :'Array<String>',
|
76
76
|
:'bcc' => :'Array<String>',
|
77
77
|
:'cc' => :'Array<String>',
|
78
78
|
:'domain_id' => :'String',
|
79
79
|
:'read' => :'Boolean',
|
80
|
+
:'body_excerpt' => :'String',
|
80
81
|
:'team_access' => :'Boolean',
|
81
|
-
:'body_md5_hash' => :'String'
|
82
|
-
:'body_excerpt' => :'String'
|
82
|
+
:'body_md5_hash' => :'String'
|
83
83
|
}
|
84
84
|
end
|
85
85
|
|
86
86
|
# List of attributes with nullable: true
|
87
87
|
def self.openapi_nullable
|
88
88
|
Set.new([
|
89
|
+
:'from',
|
90
|
+
:'subject',
|
91
|
+
:'attachments',
|
92
|
+
:'bcc',
|
93
|
+
:'cc',
|
94
|
+
:'domain_id',
|
95
|
+
:'body_excerpt',
|
96
|
+
:'body_md5_hash'
|
89
97
|
])
|
90
98
|
end
|
91
99
|
|
@@ -126,16 +134,16 @@ module MailSlurpClient
|
|
126
134
|
end
|
127
135
|
end
|
128
136
|
|
137
|
+
if attributes.key?(:'created_at')
|
138
|
+
self.created_at = attributes[:'created_at']
|
139
|
+
end
|
140
|
+
|
129
141
|
if attributes.key?(:'to')
|
130
142
|
if (value = attributes[:'to']).is_a?(Array)
|
131
143
|
self.to = value
|
132
144
|
end
|
133
145
|
end
|
134
146
|
|
135
|
-
if attributes.key?(:'created_at')
|
136
|
-
self.created_at = attributes[:'created_at']
|
137
|
-
end
|
138
|
-
|
139
147
|
if attributes.key?(:'bcc')
|
140
148
|
if (value = attributes[:'bcc']).is_a?(Array)
|
141
149
|
self.bcc = value
|
@@ -156,6 +164,10 @@ module MailSlurpClient
|
|
156
164
|
self.read = attributes[:'read']
|
157
165
|
end
|
158
166
|
|
167
|
+
if attributes.key?(:'body_excerpt')
|
168
|
+
self.body_excerpt = attributes[:'body_excerpt']
|
169
|
+
end
|
170
|
+
|
159
171
|
if attributes.key?(:'team_access')
|
160
172
|
self.team_access = attributes[:'team_access']
|
161
173
|
end
|
@@ -163,10 +175,6 @@ module MailSlurpClient
|
|
163
175
|
if attributes.key?(:'body_md5_hash')
|
164
176
|
self.body_md5_hash = attributes[:'body_md5_hash']
|
165
177
|
end
|
166
|
-
|
167
|
-
if attributes.key?(:'body_excerpt')
|
168
|
-
self.body_excerpt = attributes[:'body_excerpt']
|
169
|
-
end
|
170
178
|
end
|
171
179
|
|
172
180
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -181,14 +189,14 @@ module MailSlurpClient
|
|
181
189
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
182
190
|
end
|
183
191
|
|
184
|
-
if @to.nil?
|
185
|
-
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
186
|
-
end
|
187
|
-
|
188
192
|
if @created_at.nil?
|
189
193
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
190
194
|
end
|
191
195
|
|
196
|
+
if @to.nil?
|
197
|
+
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
198
|
+
end
|
199
|
+
|
192
200
|
if @read.nil?
|
193
201
|
invalid_properties.push('invalid value for "read", read cannot be nil.')
|
194
202
|
end
|
@@ -205,8 +213,8 @@ module MailSlurpClient
|
|
205
213
|
def valid?
|
206
214
|
return false if @id.nil?
|
207
215
|
return false if @inbox_id.nil?
|
208
|
-
return false if @to.nil?
|
209
216
|
return false if @created_at.nil?
|
217
|
+
return false if @to.nil?
|
210
218
|
return false if @read.nil?
|
211
219
|
return false if @team_access.nil?
|
212
220
|
true
|
@@ -222,15 +230,15 @@ module MailSlurpClient
|
|
222
230
|
subject == o.subject &&
|
223
231
|
inbox_id == o.inbox_id &&
|
224
232
|
attachments == o.attachments &&
|
225
|
-
to == o.to &&
|
226
233
|
created_at == o.created_at &&
|
234
|
+
to == o.to &&
|
227
235
|
bcc == o.bcc &&
|
228
236
|
cc == o.cc &&
|
229
237
|
domain_id == o.domain_id &&
|
230
238
|
read == o.read &&
|
239
|
+
body_excerpt == o.body_excerpt &&
|
231
240
|
team_access == o.team_access &&
|
232
|
-
body_md5_hash == o.body_md5_hash
|
233
|
-
body_excerpt == o.body_excerpt
|
241
|
+
body_md5_hash == o.body_md5_hash
|
234
242
|
end
|
235
243
|
|
236
244
|
# @see the `==` method
|
@@ -242,7 +250,7 @@ module MailSlurpClient
|
|
242
250
|
# Calculates hash code according to all attributes.
|
243
251
|
# @return [Integer] Hash code
|
244
252
|
def hash
|
245
|
-
[id, from, subject, inbox_id, attachments,
|
253
|
+
[id, from, subject, inbox_id, attachments, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
|
246
254
|
end
|
247
255
|
|
248
256
|
# Builds the object from hash
|
data/lib/mailslurp_client/models/{email_validation_request.rb → email_validation_request_dto.rb}
RENAMED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Email validation request
|
17
|
-
class
|
17
|
+
class EmailValidationRequestDto
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
20
|
attr_accessor :user_id
|
@@ -61,13 +61,13 @@ module MailSlurpClient
|
|
61
61
|
# @param [Hash] attributes Model attributes in the form of hash
|
62
62
|
def initialize(attributes = {})
|
63
63
|
if (!attributes.is_a?(Hash))
|
64
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::EmailValidationRequestDto` initialize method"
|
65
65
|
end
|
66
66
|
|
67
67
|
# check to see if the attribute exists and convert string to symbol for hash key
|
68
68
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
69
|
if (!self.class.attribute_map.key?(k.to_sym))
|
70
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::EmailValidationRequestDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
71
71
|
end
|
72
72
|
h[k.to_sym] = v
|
73
73
|
}
|
@@ -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
|
@@ -127,6 +131,7 @@ module MailSlurpClient
|
|
127
131
|
# Check to see if the all the properties in the model are valid
|
128
132
|
# @return true if the model is valid
|
129
133
|
def valid?
|
134
|
+
return false if @id.nil?
|
130
135
|
return false if @user_id.nil?
|
131
136
|
return false if @email_address.nil?
|
132
137
|
return false if @is_valid.nil?
|
@@ -76,6 +76,11 @@ module MailSlurpClient
|
|
76
76
|
# List of attributes with nullable: true
|
77
77
|
def self.openapi_nullable
|
78
78
|
Set.new([
|
79
|
+
:'exclude_previously_exported',
|
80
|
+
:'created_earliest_time',
|
81
|
+
:'created_oldest_time',
|
82
|
+
:'filter',
|
83
|
+
:'list_separator_token'
|
79
84
|
])
|
80
85
|
end
|
81
86
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
-
# Inbox data
|
16
|
+
# Inbox data preview element.
|
17
17
|
class InboxPreview
|
18
18
|
# ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.
|
19
19
|
attr_accessor :id
|
@@ -107,6 +107,7 @@ module MailSlurpClient
|
|
107
107
|
# List of attributes with nullable: true
|
108
108
|
def self.openapi_nullable
|
109
109
|
Set.new([
|
110
|
+
:'domain_id',
|
110
111
|
:'email_address',
|
111
112
|
:'name',
|
112
113
|
:'tags',
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Missed email
|
17
|
-
class
|
17
|
+
class MissedEmailDto
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
20
|
attr_accessor :user_id
|
@@ -94,6 +94,14 @@ module MailSlurpClient
|
|
94
94
|
# List of attributes with nullable: true
|
95
95
|
def self.openapi_nullable
|
96
96
|
Set.new([
|
97
|
+
:'user_id',
|
98
|
+
:'subject',
|
99
|
+
:'body_excerpt',
|
100
|
+
:'from',
|
101
|
+
:'raw_url',
|
102
|
+
:'raw_key',
|
103
|
+
:'raw_bucket',
|
104
|
+
:'can_restore',
|
97
105
|
])
|
98
106
|
end
|
99
107
|
|
@@ -101,13 +109,13 @@ module MailSlurpClient
|
|
101
109
|
# @param [Hash] attributes Model attributes in the form of hash
|
102
110
|
def initialize(attributes = {})
|
103
111
|
if (!attributes.is_a?(Hash))
|
104
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::
|
112
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::MissedEmailDto` initialize method"
|
105
113
|
end
|
106
114
|
|
107
115
|
# check to see if the attribute exists and convert string to symbol for hash key
|
108
116
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
109
117
|
if (!self.class.attribute_map.key?(k.to_sym))
|
110
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::
|
118
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::MissedEmailDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
111
119
|
end
|
112
120
|
h[k.to_sym] = v
|
113
121
|
}
|
@@ -189,6 +197,10 @@ module MailSlurpClient
|
|
189
197
|
# @return Array for valid properties with the reasons
|
190
198
|
def list_invalid_properties
|
191
199
|
invalid_properties = Array.new
|
200
|
+
if @id.nil?
|
201
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
202
|
+
end
|
203
|
+
|
192
204
|
if @attachment_count.nil?
|
193
205
|
invalid_properties.push('invalid value for "attachment_count", attachment_count cannot be nil.')
|
194
206
|
end
|
@@ -223,6 +235,7 @@ module MailSlurpClient
|
|
223
235
|
# Check to see if the all the properties in the model are valid
|
224
236
|
# @return true if the model is valid
|
225
237
|
def valid?
|
238
|
+
return false if @id.nil?
|
226
239
|
return false if @attachment_count.nil?
|
227
240
|
return false if @to.nil?
|
228
241
|
return false if @cc.nil?
|
@@ -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<AliasProjection>',
|
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<AttachmentProjection>',
|
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<BounceProjection>',
|
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
|