mailslurp_client 15.13.1 → 15.13.2
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/phone_controller_api.rb +10 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
- 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 +10 -10
- 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_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/sent_email_projection.rb +26 -26
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e9e7c3b829136e1149ac729f28d0bd3a7393d19b8dc9b3d3fd60bfa7cbfd16c
|
4
|
+
data.tar.gz: f541eb30817057627e722184398f6de3c7e2ef144a8126ef3127219254ba489d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c41db2889b40b655a7790a6983034c2d3dd83052f54276b4d78946a26c1213c8fd1c029d5d32189f14b37db920ce8d32aa75c1ae06bd25d49c17233534979e5c
|
7
|
+
data.tar.gz: 2c1e4a2bb84475959cf60214a155121cfe70057357b0b1924dbdd8d487cf49e57c118e9a0d819b21ff44a174ba7d15a266d147085aed3c1a6af571b05f1c3fdc
|
@@ -362,6 +362,7 @@ module MailSlurpClient
|
|
362
362
|
end
|
363
363
|
|
364
364
|
# @param [Hash] opts the optional parameters
|
365
|
+
# @option opts [String] :phone_country Optional phone country
|
365
366
|
# @option opts [Integer] :page Optional page index for list pagination (default to 0)
|
366
367
|
# @option opts [Integer] :size Optional page size for list pagination (default to 20)
|
367
368
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
@@ -374,6 +375,7 @@ module MailSlurpClient
|
|
374
375
|
end
|
375
376
|
|
376
377
|
# @param [Hash] opts the optional parameters
|
378
|
+
# @option opts [String] :phone_country Optional phone country
|
377
379
|
# @option opts [Integer] :page Optional page index for list pagination
|
378
380
|
# @option opts [Integer] :size Optional page size for list pagination
|
379
381
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
@@ -384,6 +386,10 @@ module MailSlurpClient
|
|
384
386
|
if @api_client.config.debugging
|
385
387
|
@api_client.config.logger.debug 'Calling API: PhoneControllerApi.get_phone_numbers ...'
|
386
388
|
end
|
389
|
+
allowable_values = ["US", "GB"]
|
390
|
+
if @api_client.config.client_side_validation && opts[:'phone_country'] && !allowable_values.include?(opts[:'phone_country'])
|
391
|
+
fail ArgumentError, "invalid value for \"phone_country\", must be one of #{allowable_values}"
|
392
|
+
end
|
387
393
|
allowable_values = ["ASC", "DESC"]
|
388
394
|
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
389
395
|
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
@@ -393,6 +399,7 @@ module MailSlurpClient
|
|
393
399
|
|
394
400
|
# query parameters
|
395
401
|
query_params = opts[:query_params] || {}
|
402
|
+
query_params[:'phoneCountry'] = opts[:'phone_country'] if !opts[:'phone_country'].nil?
|
396
403
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
397
404
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
398
405
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
@@ -487,6 +494,7 @@ module MailSlurpClient
|
|
487
494
|
# @param phone_number_id [String]
|
488
495
|
# @param test_phone_number_options [TestPhoneNumberOptions]
|
489
496
|
# @param [Hash] opts the optional parameters
|
497
|
+
# @option opts [String] :x_test_id
|
490
498
|
# @return [nil]
|
491
499
|
def test_phone_number_send_sms(phone_number_id, test_phone_number_options, opts = {})
|
492
500
|
test_phone_number_send_sms_with_http_info(phone_number_id, test_phone_number_options, opts)
|
@@ -496,6 +504,7 @@ module MailSlurpClient
|
|
496
504
|
# @param phone_number_id [String]
|
497
505
|
# @param test_phone_number_options [TestPhoneNumberOptions]
|
498
506
|
# @param [Hash] opts the optional parameters
|
507
|
+
# @option opts [String] :x_test_id
|
499
508
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
500
509
|
def test_phone_number_send_sms_with_http_info(phone_number_id, test_phone_number_options, opts = {})
|
501
510
|
if @api_client.config.debugging
|
@@ -519,6 +528,7 @@ module MailSlurpClient
|
|
519
528
|
header_params = opts[:header_params] || {}
|
520
529
|
# HTTP header 'Content-Type'
|
521
530
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
531
|
+
header_params[:'x-test-id'] = opts[:'x_test_id'] if !opts[:'x_test_id'].nil?
|
522
532
|
|
523
533
|
# form parameters
|
524
534
|
form_params = opts[:form_params] || {}
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :inbox_id
|
23
23
|
|
24
|
-
attr_accessor :email_address
|
25
|
-
|
26
24
|
attr_accessor :user_id
|
27
25
|
|
26
|
+
attr_accessor :email_address
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :updated_at
|
@@ -37,8 +37,8 @@ module MailSlurpClient
|
|
37
37
|
:'name' => :'name',
|
38
38
|
:'id' => :'id',
|
39
39
|
:'inbox_id' => :'inboxId',
|
40
|
-
:'email_address' => :'emailAddress',
|
41
40
|
:'user_id' => :'userId',
|
41
|
+
:'email_address' => :'emailAddress',
|
42
42
|
:'created_at' => :'createdAt',
|
43
43
|
:'updated_at' => :'updatedAt',
|
44
44
|
:'use_threads' => :'useThreads'
|
@@ -51,8 +51,8 @@ module MailSlurpClient
|
|
51
51
|
:'name' => :'String',
|
52
52
|
:'id' => :'String',
|
53
53
|
:'inbox_id' => :'String',
|
54
|
-
:'email_address' => :'String',
|
55
54
|
:'user_id' => :'String',
|
55
|
+
:'email_address' => :'String',
|
56
56
|
:'created_at' => :'DateTime',
|
57
57
|
:'updated_at' => :'DateTime',
|
58
58
|
:'use_threads' => :'Boolean'
|
@@ -92,14 +92,14 @@ module MailSlurpClient
|
|
92
92
|
self.inbox_id = attributes[:'inbox_id']
|
93
93
|
end
|
94
94
|
|
95
|
-
if attributes.key?(:'email_address')
|
96
|
-
self.email_address = attributes[:'email_address']
|
97
|
-
end
|
98
|
-
|
99
95
|
if attributes.key?(:'user_id')
|
100
96
|
self.user_id = attributes[:'user_id']
|
101
97
|
end
|
102
98
|
|
99
|
+
if attributes.key?(:'email_address')
|
100
|
+
self.email_address = attributes[:'email_address']
|
101
|
+
end
|
102
|
+
|
103
103
|
if attributes.key?(:'created_at')
|
104
104
|
self.created_at = attributes[:'created_at']
|
105
105
|
end
|
@@ -125,14 +125,14 @@ module MailSlurpClient
|
|
125
125
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
126
126
|
end
|
127
127
|
|
128
|
-
if @email_address.nil?
|
129
|
-
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
130
|
-
end
|
131
|
-
|
132
128
|
if @user_id.nil?
|
133
129
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
134
130
|
end
|
135
131
|
|
132
|
+
if @email_address.nil?
|
133
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
134
|
+
end
|
135
|
+
|
136
136
|
if @created_at.nil?
|
137
137
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
138
138
|
end
|
@@ -149,8 +149,8 @@ module MailSlurpClient
|
|
149
149
|
def valid?
|
150
150
|
return false if @id.nil?
|
151
151
|
return false if @inbox_id.nil?
|
152
|
-
return false if @email_address.nil?
|
153
152
|
return false if @user_id.nil?
|
153
|
+
return false if @email_address.nil?
|
154
154
|
return false if @created_at.nil?
|
155
155
|
return false if @updated_at.nil?
|
156
156
|
true
|
@@ -164,8 +164,8 @@ module MailSlurpClient
|
|
164
164
|
name == o.name &&
|
165
165
|
id == o.id &&
|
166
166
|
inbox_id == o.inbox_id &&
|
167
|
-
email_address == o.email_address &&
|
168
167
|
user_id == o.user_id &&
|
168
|
+
email_address == o.email_address &&
|
169
169
|
created_at == o.created_at &&
|
170
170
|
updated_at == o.updated_at &&
|
171
171
|
use_threads == o.use_threads
|
@@ -180,7 +180,7 @@ module MailSlurpClient
|
|
180
180
|
# Calculates hash code according to all attributes.
|
181
181
|
# @return [Integer] Hash code
|
182
182
|
def hash
|
183
|
-
[name, id, inbox_id,
|
183
|
+
[name, id, inbox_id, user_id, email_address, created_at, updated_at, use_threads].hash
|
184
184
|
end
|
185
185
|
|
186
186
|
# Builds the object from hash
|
@@ -17,25 +17,25 @@ module MailSlurpClient
|
|
17
17
|
class BounceProjection
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
|
-
attr_accessor :subject
|
21
|
-
|
22
20
|
attr_accessor :sender
|
23
21
|
|
24
|
-
attr_accessor :
|
22
|
+
attr_accessor :subject
|
25
23
|
|
26
|
-
attr_accessor :
|
24
|
+
attr_accessor :created_at
|
27
25
|
|
28
26
|
attr_accessor :bounce_mta
|
29
27
|
|
28
|
+
attr_accessor :bounce_type
|
29
|
+
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
33
33
|
:'id' => :'id',
|
34
|
-
:'subject' => :'subject',
|
35
34
|
:'sender' => :'sender',
|
35
|
+
:'subject' => :'subject',
|
36
36
|
:'created_at' => :'createdAt',
|
37
|
-
:'
|
38
|
-
:'
|
37
|
+
:'bounce_mta' => :'bounceMta',
|
38
|
+
:'bounce_type' => :'bounceType'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -43,11 +43,11 @@ module MailSlurpClient
|
|
43
43
|
def self.openapi_types
|
44
44
|
{
|
45
45
|
:'id' => :'String',
|
46
|
-
:'subject' => :'String',
|
47
46
|
:'sender' => :'String',
|
47
|
+
:'subject' => :'String',
|
48
48
|
:'created_at' => :'DateTime',
|
49
|
-
:'
|
50
|
-
:'
|
49
|
+
:'bounce_mta' => :'String',
|
50
|
+
:'bounce_type' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -76,25 +76,25 @@ module MailSlurpClient
|
|
76
76
|
self.id = attributes[:'id']
|
77
77
|
end
|
78
78
|
|
79
|
-
if attributes.key?(:'subject')
|
80
|
-
self.subject = attributes[:'subject']
|
81
|
-
end
|
82
|
-
|
83
79
|
if attributes.key?(:'sender')
|
84
80
|
self.sender = attributes[:'sender']
|
85
81
|
end
|
86
82
|
|
87
|
-
if attributes.key?(:'
|
88
|
-
self.
|
83
|
+
if attributes.key?(:'subject')
|
84
|
+
self.subject = attributes[:'subject']
|
89
85
|
end
|
90
86
|
|
91
|
-
if attributes.key?(:'
|
92
|
-
self.
|
87
|
+
if attributes.key?(:'created_at')
|
88
|
+
self.created_at = attributes[:'created_at']
|
93
89
|
end
|
94
90
|
|
95
91
|
if attributes.key?(:'bounce_mta')
|
96
92
|
self.bounce_mta = attributes[:'bounce_mta']
|
97
93
|
end
|
94
|
+
|
95
|
+
if attributes.key?(:'bounce_type')
|
96
|
+
self.bounce_type = attributes[:'bounce_type']
|
97
|
+
end
|
98
98
|
end
|
99
99
|
|
100
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -126,11 +126,11 @@ module MailSlurpClient
|
|
126
126
|
return true if self.equal?(o)
|
127
127
|
self.class == o.class &&
|
128
128
|
id == o.id &&
|
129
|
-
subject == o.subject &&
|
130
129
|
sender == o.sender &&
|
130
|
+
subject == o.subject &&
|
131
131
|
created_at == o.created_at &&
|
132
|
-
|
133
|
-
|
132
|
+
bounce_mta == o.bounce_mta &&
|
133
|
+
bounce_type == o.bounce_type
|
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, sender, subject, created_at, bounce_mta, bounce_type].hash
|
146
146
|
end
|
147
147
|
|
148
148
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :subject
|
23
23
|
|
24
|
-
attr_accessor :inbox_id
|
25
|
-
|
26
24
|
attr_accessor :attachments
|
27
25
|
|
26
|
+
attr_accessor :inbox_id
|
27
|
+
|
28
28
|
attr_accessor :to
|
29
29
|
|
30
30
|
attr_accessor :created_at
|
@@ -49,8 +49,8 @@ module MailSlurpClient
|
|
49
49
|
:'id' => :'id',
|
50
50
|
:'from' => :'from',
|
51
51
|
:'subject' => :'subject',
|
52
|
-
:'inbox_id' => :'inboxId',
|
53
52
|
:'attachments' => :'attachments',
|
53
|
+
:'inbox_id' => :'inboxId',
|
54
54
|
:'to' => :'to',
|
55
55
|
:'created_at' => :'createdAt',
|
56
56
|
:'bcc' => :'bcc',
|
@@ -69,8 +69,8 @@ module MailSlurpClient
|
|
69
69
|
:'id' => :'String',
|
70
70
|
:'from' => :'String',
|
71
71
|
:'subject' => :'String',
|
72
|
-
:'inbox_id' => :'String',
|
73
72
|
:'attachments' => :'Array<String>',
|
73
|
+
:'inbox_id' => :'String',
|
74
74
|
:'to' => :'Array<String>',
|
75
75
|
:'created_at' => :'DateTime',
|
76
76
|
:'bcc' => :'Array<String>',
|
@@ -116,16 +116,16 @@ module MailSlurpClient
|
|
116
116
|
self.subject = attributes[:'subject']
|
117
117
|
end
|
118
118
|
|
119
|
-
if attributes.key?(:'inbox_id')
|
120
|
-
self.inbox_id = attributes[:'inbox_id']
|
121
|
-
end
|
122
|
-
|
123
119
|
if attributes.key?(:'attachments')
|
124
120
|
if (value = attributes[:'attachments']).is_a?(Array)
|
125
121
|
self.attachments = value
|
126
122
|
end
|
127
123
|
end
|
128
124
|
|
125
|
+
if attributes.key?(:'inbox_id')
|
126
|
+
self.inbox_id = attributes[:'inbox_id']
|
127
|
+
end
|
128
|
+
|
129
129
|
if attributes.key?(:'to')
|
130
130
|
if (value = attributes[:'to']).is_a?(Array)
|
131
131
|
self.to = value
|
@@ -220,8 +220,8 @@ module MailSlurpClient
|
|
220
220
|
id == o.id &&
|
221
221
|
from == o.from &&
|
222
222
|
subject == o.subject &&
|
223
|
-
inbox_id == o.inbox_id &&
|
224
223
|
attachments == o.attachments &&
|
224
|
+
inbox_id == o.inbox_id &&
|
225
225
|
to == o.to &&
|
226
226
|
created_at == o.created_at &&
|
227
227
|
bcc == o.bcc &&
|
@@ -242,7 +242,7 @@ module MailSlurpClient
|
|
242
242
|
# Calculates hash code according to all attributes.
|
243
243
|
# @return [Integer] Hash code
|
244
244
|
def hash
|
245
|
-
[id, from, subject,
|
245
|
+
[id, from, subject, attachments, inbox_id, to, created_at, bcc, cc, domain_id, body_md5_hash, body_excerpt, read, team_access].hash
|
246
246
|
end
|
247
247
|
|
248
248
|
# Builds the object from hash
|
@@ -17,18 +17,18 @@ module MailSlurpClient
|
|
17
17
|
class ExpiredInboxRecordProjection
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
|
-
attr_accessor :email_address
|
21
|
-
|
22
20
|
attr_accessor :user_id
|
23
21
|
|
22
|
+
attr_accessor :email_address
|
23
|
+
|
24
24
|
attr_accessor :created_at
|
25
25
|
|
26
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
27
|
def self.attribute_map
|
28
28
|
{
|
29
29
|
:'id' => :'id',
|
30
|
-
:'email_address' => :'emailAddress',
|
31
30
|
:'user_id' => :'userId',
|
31
|
+
:'email_address' => :'emailAddress',
|
32
32
|
:'created_at' => :'createdAt'
|
33
33
|
}
|
34
34
|
end
|
@@ -37,8 +37,8 @@ module MailSlurpClient
|
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
39
|
:'id' => :'String',
|
40
|
-
:'email_address' => :'String',
|
41
40
|
:'user_id' => :'String',
|
41
|
+
:'email_address' => :'String',
|
42
42
|
:'created_at' => :'DateTime'
|
43
43
|
}
|
44
44
|
end
|
@@ -68,14 +68,14 @@ module MailSlurpClient
|
|
68
68
|
self.id = attributes[:'id']
|
69
69
|
end
|
70
70
|
|
71
|
-
if attributes.key?(:'email_address')
|
72
|
-
self.email_address = attributes[:'email_address']
|
73
|
-
end
|
74
|
-
|
75
71
|
if attributes.key?(:'user_id')
|
76
72
|
self.user_id = attributes[:'user_id']
|
77
73
|
end
|
78
74
|
|
75
|
+
if attributes.key?(:'email_address')
|
76
|
+
self.email_address = attributes[:'email_address']
|
77
|
+
end
|
78
|
+
|
79
79
|
if attributes.key?(:'created_at')
|
80
80
|
self.created_at = attributes[:'created_at']
|
81
81
|
end
|
@@ -89,14 +89,14 @@ module MailSlurpClient
|
|
89
89
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
90
90
|
end
|
91
91
|
|
92
|
-
if @email_address.nil?
|
93
|
-
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
94
|
-
end
|
95
|
-
|
96
92
|
if @user_id.nil?
|
97
93
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
98
94
|
end
|
99
95
|
|
96
|
+
if @email_address.nil?
|
97
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
98
|
+
end
|
99
|
+
|
100
100
|
if @created_at.nil?
|
101
101
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
102
102
|
end
|
@@ -108,8 +108,8 @@ module MailSlurpClient
|
|
108
108
|
# @return true if the model is valid
|
109
109
|
def valid?
|
110
110
|
return false if @id.nil?
|
111
|
-
return false if @email_address.nil?
|
112
111
|
return false if @user_id.nil?
|
112
|
+
return false if @email_address.nil?
|
113
113
|
return false if @created_at.nil?
|
114
114
|
true
|
115
115
|
end
|
@@ -120,8 +120,8 @@ module MailSlurpClient
|
|
120
120
|
return true if self.equal?(o)
|
121
121
|
self.class == o.class &&
|
122
122
|
id == o.id &&
|
123
|
-
email_address == o.email_address &&
|
124
123
|
user_id == o.user_id &&
|
124
|
+
email_address == o.email_address &&
|
125
125
|
created_at == o.created_at
|
126
126
|
end
|
127
127
|
|
@@ -134,7 +134,7 @@ module MailSlurpClient
|
|
134
134
|
# Calculates hash code according to all attributes.
|
135
135
|
# @return [Integer] Hash code
|
136
136
|
def hash
|
137
|
-
[id,
|
137
|
+
[id, user_id, email_address, created_at].hash
|
138
138
|
end
|
139
139
|
|
140
140
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|