mailslurp_client 15.16.8 → 15.16.10
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/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
- data/lib/mailslurp_client/models/bounce_projection.rb +15 -15
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +21 -21
- data/lib/mailslurp_client/models/page_alias.rb +22 -22
- data/lib/mailslurp_client/models/page_attachment_entity.rb +22 -22
- data/lib/mailslurp_client/models/page_bounced_email.rb +22 -22
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +22 -22
- data/lib/mailslurp_client/models/page_complaint.rb +22 -22
- data/lib/mailslurp_client/models/page_contact_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_delivery_status.rb +22 -22
- data/lib/mailslurp_client/models/page_email_preview.rb +22 -22
- data/lib/mailslurp_client/models/page_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_email_validation_request.rb +22 -22
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_group_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +22 -22
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +22 -22
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +22 -22
- 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 +22 -22
- data/lib/mailslurp_client/models/page_template_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_thread_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_webhook_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_webhook_result.rb +22 -22
- data/lib/mailslurp_client/models/phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/models/thread_projection.rb +16 -16
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_projection.rb +12 -12
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1497a88e2b3e1308c9f6bb378fef31fd45572430163b76478fe8e4486503c0dd
|
4
|
+
data.tar.gz: 24cb2b2f13e049e36e08baf2da519eaad7ade0b6293bdbf4df89f4e8c9539344
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bed860eb7bb2d19529192c8f785fadbf692ccde8a1ce3ba1e1d20ebb18375b00bc5200e4da3c4e5367b27cc0faf6f1aca989ef9cc77035b029ba221888f7fd79
|
7
|
+
data.tar.gz: bcd032fd9334766185d7ac8f33c0550f061dbfd50414a95a9a98afd1096c9ccbd54eb1901f4ee4b01e0d0774f72a18d3d6b6b7b485ee44a233440915c30f21a9
|
@@ -19,12 +19,12 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
attr_accessor :inbox_id
|
23
|
-
|
24
22
|
attr_accessor :user_id
|
25
23
|
|
26
24
|
attr_accessor :email_address
|
27
25
|
|
26
|
+
attr_accessor :inbox_id
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :updated_at
|
@@ -36,9 +36,9 @@ module MailSlurpClient
|
|
36
36
|
{
|
37
37
|
:'name' => :'name',
|
38
38
|
:'id' => :'id',
|
39
|
-
:'inbox_id' => :'inboxId',
|
40
39
|
:'user_id' => :'userId',
|
41
40
|
:'email_address' => :'emailAddress',
|
41
|
+
:'inbox_id' => :'inboxId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
43
|
:'updated_at' => :'updatedAt',
|
44
44
|
:'use_threads' => :'useThreads'
|
@@ -50,9 +50,9 @@ module MailSlurpClient
|
|
50
50
|
{
|
51
51
|
:'name' => :'String',
|
52
52
|
:'id' => :'String',
|
53
|
-
:'inbox_id' => :'String',
|
54
53
|
:'user_id' => :'String',
|
55
54
|
:'email_address' => :'String',
|
55
|
+
:'inbox_id' => :'String',
|
56
56
|
:'created_at' => :'DateTime',
|
57
57
|
:'updated_at' => :'DateTime',
|
58
58
|
:'use_threads' => :'Boolean'
|
@@ -88,10 +88,6 @@ module MailSlurpClient
|
|
88
88
|
self.id = attributes[:'id']
|
89
89
|
end
|
90
90
|
|
91
|
-
if attributes.key?(:'inbox_id')
|
92
|
-
self.inbox_id = attributes[:'inbox_id']
|
93
|
-
end
|
94
|
-
|
95
91
|
if attributes.key?(:'user_id')
|
96
92
|
self.user_id = attributes[:'user_id']
|
97
93
|
end
|
@@ -100,6 +96,10 @@ module MailSlurpClient
|
|
100
96
|
self.email_address = attributes[:'email_address']
|
101
97
|
end
|
102
98
|
|
99
|
+
if attributes.key?(:'inbox_id')
|
100
|
+
self.inbox_id = attributes[:'inbox_id']
|
101
|
+
end
|
102
|
+
|
103
103
|
if attributes.key?(:'created_at')
|
104
104
|
self.created_at = attributes[:'created_at']
|
105
105
|
end
|
@@ -121,10 +121,6 @@ module MailSlurpClient
|
|
121
121
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
122
122
|
end
|
123
123
|
|
124
|
-
if @inbox_id.nil?
|
125
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
126
|
-
end
|
127
|
-
|
128
124
|
if @user_id.nil?
|
129
125
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
130
126
|
end
|
@@ -133,6 +129,10 @@ module MailSlurpClient
|
|
133
129
|
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
134
130
|
end
|
135
131
|
|
132
|
+
if @inbox_id.nil?
|
133
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id 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
|
@@ -148,9 +148,9 @@ module MailSlurpClient
|
|
148
148
|
# @return true if the model is valid
|
149
149
|
def valid?
|
150
150
|
return false if @id.nil?
|
151
|
-
return false if @inbox_id.nil?
|
152
151
|
return false if @user_id.nil?
|
153
152
|
return false if @email_address.nil?
|
153
|
+
return false if @inbox_id.nil?
|
154
154
|
return false if @created_at.nil?
|
155
155
|
return false if @updated_at.nil?
|
156
156
|
true
|
@@ -163,9 +163,9 @@ module MailSlurpClient
|
|
163
163
|
self.class == o.class &&
|
164
164
|
name == o.name &&
|
165
165
|
id == o.id &&
|
166
|
-
inbox_id == o.inbox_id &&
|
167
166
|
user_id == o.user_id &&
|
168
167
|
email_address == o.email_address &&
|
168
|
+
inbox_id == o.inbox_id &&
|
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,
|
183
|
+
[name, id, user_id, email_address, inbox_id, created_at, updated_at, use_threads].hash
|
184
184
|
end
|
185
185
|
|
186
186
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module MailSlurpClient
|
|
20
20
|
# Content length of attachment in bytes
|
21
21
|
attr_accessor :content_length
|
22
22
|
|
23
|
+
# Content type of attachment.
|
24
|
+
attr_accessor :content_type
|
25
|
+
|
23
26
|
attr_accessor :user_id
|
24
27
|
|
25
28
|
attr_accessor :created_at
|
@@ -29,19 +32,16 @@ module MailSlurpClient
|
|
29
32
|
# Attachment ID
|
30
33
|
attr_accessor :attachment_id
|
31
34
|
|
32
|
-
# Content type of attachment.
|
33
|
-
attr_accessor :content_type
|
34
|
-
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
36
|
def self.attribute_map
|
37
37
|
{
|
38
38
|
:'name' => :'name',
|
39
39
|
:'content_length' => :'contentLength',
|
40
|
+
:'content_type' => :'contentType',
|
40
41
|
:'user_id' => :'userId',
|
41
42
|
:'created_at' => :'createdAt',
|
42
43
|
:'updated_at' => :'updatedAt',
|
43
|
-
:'attachment_id' => :'attachmentId'
|
44
|
-
:'content_type' => :'contentType'
|
44
|
+
:'attachment_id' => :'attachmentId'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -50,11 +50,11 @@ module MailSlurpClient
|
|
50
50
|
{
|
51
51
|
:'name' => :'String',
|
52
52
|
:'content_length' => :'Integer',
|
53
|
+
:'content_type' => :'String',
|
53
54
|
:'user_id' => :'String',
|
54
55
|
:'created_at' => :'DateTime',
|
55
56
|
:'updated_at' => :'DateTime',
|
56
|
-
:'attachment_id' => :'String'
|
57
|
-
:'content_type' => :'String'
|
57
|
+
:'attachment_id' => :'String'
|
58
58
|
}
|
59
59
|
end
|
60
60
|
|
@@ -63,7 +63,7 @@ module MailSlurpClient
|
|
63
63
|
Set.new([
|
64
64
|
:'name',
|
65
65
|
:'content_length',
|
66
|
-
:'content_type'
|
66
|
+
:'content_type',
|
67
67
|
])
|
68
68
|
end
|
69
69
|
|
@@ -90,6 +90,10 @@ module MailSlurpClient
|
|
90
90
|
self.content_length = attributes[:'content_length']
|
91
91
|
end
|
92
92
|
|
93
|
+
if attributes.key?(:'content_type')
|
94
|
+
self.content_type = attributes[:'content_type']
|
95
|
+
end
|
96
|
+
|
93
97
|
if attributes.key?(:'user_id')
|
94
98
|
self.user_id = attributes[:'user_id']
|
95
99
|
end
|
@@ -105,10 +109,6 @@ module MailSlurpClient
|
|
105
109
|
if attributes.key?(:'attachment_id')
|
106
110
|
self.attachment_id = attributes[:'attachment_id']
|
107
111
|
end
|
108
|
-
|
109
|
-
if attributes.key?(:'content_type')
|
110
|
-
self.content_type = attributes[:'content_type']
|
111
|
-
end
|
112
112
|
end
|
113
113
|
|
114
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -151,11 +151,11 @@ module MailSlurpClient
|
|
151
151
|
self.class == o.class &&
|
152
152
|
name == o.name &&
|
153
153
|
content_length == o.content_length &&
|
154
|
+
content_type == o.content_type &&
|
154
155
|
user_id == o.user_id &&
|
155
156
|
created_at == o.created_at &&
|
156
157
|
updated_at == o.updated_at &&
|
157
|
-
attachment_id == o.attachment_id
|
158
|
-
content_type == o.content_type
|
158
|
+
attachment_id == o.attachment_id
|
159
159
|
end
|
160
160
|
|
161
161
|
# @see the `==` method
|
@@ -167,7 +167,7 @@ module MailSlurpClient
|
|
167
167
|
# Calculates hash code according to all attributes.
|
168
168
|
# @return [Integer] Hash code
|
169
169
|
def hash
|
170
|
-
[name, content_length, user_id, created_at, updated_at, attachment_id
|
170
|
+
[name, content_length, content_type, user_id, created_at, updated_at, attachment_id].hash
|
171
171
|
end
|
172
172
|
|
173
173
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :created_at
|
25
25
|
|
26
|
-
attr_accessor :bounce_mta
|
27
|
-
|
28
26
|
attr_accessor :bounce_type
|
29
27
|
|
28
|
+
attr_accessor :bounce_mta
|
29
|
+
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
@@ -34,8 +34,8 @@ module MailSlurpClient
|
|
34
34
|
:'sender' => :'sender',
|
35
35
|
:'subject' => :'subject',
|
36
36
|
:'created_at' => :'createdAt',
|
37
|
-
:'
|
38
|
-
:'
|
37
|
+
:'bounce_type' => :'bounceType',
|
38
|
+
:'bounce_mta' => :'bounceMta'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'sender' => :'String',
|
47
47
|
:'subject' => :'String',
|
48
48
|
:'created_at' => :'DateTime',
|
49
|
-
:'
|
50
|
-
:'
|
49
|
+
:'bounce_type' => :'String',
|
50
|
+
:'bounce_mta' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -55,8 +55,8 @@ module MailSlurpClient
|
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
57
|
:'subject',
|
58
|
-
:'
|
59
|
-
:'
|
58
|
+
:'bounce_type',
|
59
|
+
:'bounce_mta'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -91,13 +91,13 @@ module MailSlurpClient
|
|
91
91
|
self.created_at = attributes[:'created_at']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'bounce_mta')
|
95
|
-
self.bounce_mta = attributes[:'bounce_mta']
|
96
|
-
end
|
97
|
-
|
98
94
|
if attributes.key?(:'bounce_type')
|
99
95
|
self.bounce_type = attributes[:'bounce_type']
|
100
96
|
end
|
97
|
+
|
98
|
+
if attributes.key?(:'bounce_mta')
|
99
|
+
self.bounce_mta = attributes[:'bounce_mta']
|
100
|
+
end
|
101
101
|
end
|
102
102
|
|
103
103
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -132,8 +132,8 @@ module MailSlurpClient
|
|
132
132
|
sender == o.sender &&
|
133
133
|
subject == o.subject &&
|
134
134
|
created_at == o.created_at &&
|
135
|
-
|
136
|
-
|
135
|
+
bounce_type == o.bounce_type &&
|
136
|
+
bounce_mta == o.bounce_mta
|
137
137
|
end
|
138
138
|
|
139
139
|
# @see the `==` method
|
@@ -145,7 +145,7 @@ module MailSlurpClient
|
|
145
145
|
# Calculates hash code according to all attributes.
|
146
146
|
# @return [Integer] Hash code
|
147
147
|
def hash
|
148
|
-
[id, sender, subject, created_at,
|
148
|
+
[id, sender, subject, created_at, bounce_type, bounce_mta].hash
|
149
149
|
end
|
150
150
|
|
151
151
|
# Builds the object from hash
|
@@ -21,16 +21,16 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :status
|
23
23
|
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :user_id
|
25
25
|
|
26
26
|
attr_accessor :email_id
|
27
27
|
|
28
28
|
attr_accessor :inbox_id
|
29
29
|
|
30
|
-
attr_accessor :user_id
|
31
|
-
|
32
30
|
attr_accessor :created_at
|
33
31
|
|
32
|
+
attr_accessor :forwarder_id
|
33
|
+
|
34
34
|
class EnumAttributeValidator
|
35
35
|
attr_reader :datatype
|
36
36
|
attr_reader :allowable_values
|
@@ -59,11 +59,11 @@ module MailSlurpClient
|
|
59
59
|
:'message' => :'message',
|
60
60
|
:'id' => :'id',
|
61
61
|
:'status' => :'status',
|
62
|
-
:'
|
62
|
+
:'user_id' => :'userId',
|
63
63
|
:'email_id' => :'emailId',
|
64
64
|
:'inbox_id' => :'inboxId',
|
65
|
-
:'
|
66
|
-
:'
|
65
|
+
:'created_at' => :'createdAt',
|
66
|
+
:'forwarder_id' => :'forwarderId'
|
67
67
|
}
|
68
68
|
end
|
69
69
|
|
@@ -73,11 +73,11 @@ module MailSlurpClient
|
|
73
73
|
:'message' => :'String',
|
74
74
|
:'id' => :'String',
|
75
75
|
:'status' => :'String',
|
76
|
-
:'
|
76
|
+
:'user_id' => :'String',
|
77
77
|
:'email_id' => :'String',
|
78
78
|
:'inbox_id' => :'String',
|
79
|
-
:'
|
80
|
-
:'
|
79
|
+
:'created_at' => :'DateTime',
|
80
|
+
:'forwarder_id' => :'String'
|
81
81
|
}
|
82
82
|
end
|
83
83
|
|
@@ -87,10 +87,10 @@ module MailSlurpClient
|
|
87
87
|
:'message',
|
88
88
|
:'id',
|
89
89
|
:'status',
|
90
|
-
:'
|
90
|
+
:'user_id',
|
91
91
|
:'email_id',
|
92
92
|
:'inbox_id',
|
93
|
-
:'
|
93
|
+
:'forwarder_id'
|
94
94
|
])
|
95
95
|
end
|
96
96
|
|
@@ -121,8 +121,8 @@ module MailSlurpClient
|
|
121
121
|
self.status = attributes[:'status']
|
122
122
|
end
|
123
123
|
|
124
|
-
if attributes.key?(:'
|
125
|
-
self.
|
124
|
+
if attributes.key?(:'user_id')
|
125
|
+
self.user_id = attributes[:'user_id']
|
126
126
|
end
|
127
127
|
|
128
128
|
if attributes.key?(:'email_id')
|
@@ -133,13 +133,13 @@ module MailSlurpClient
|
|
133
133
|
self.inbox_id = attributes[:'inbox_id']
|
134
134
|
end
|
135
135
|
|
136
|
-
if attributes.key?(:'user_id')
|
137
|
-
self.user_id = attributes[:'user_id']
|
138
|
-
end
|
139
|
-
|
140
136
|
if attributes.key?(:'created_at')
|
141
137
|
self.created_at = attributes[:'created_at']
|
142
138
|
end
|
139
|
+
|
140
|
+
if attributes.key?(:'forwarder_id')
|
141
|
+
self.forwarder_id = attributes[:'forwarder_id']
|
142
|
+
end
|
143
143
|
end
|
144
144
|
|
145
145
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -180,11 +180,11 @@ module MailSlurpClient
|
|
180
180
|
message == o.message &&
|
181
181
|
id == o.id &&
|
182
182
|
status == o.status &&
|
183
|
-
|
183
|
+
user_id == o.user_id &&
|
184
184
|
email_id == o.email_id &&
|
185
185
|
inbox_id == o.inbox_id &&
|
186
|
-
|
187
|
-
|
186
|
+
created_at == o.created_at &&
|
187
|
+
forwarder_id == o.forwarder_id
|
188
188
|
end
|
189
189
|
|
190
190
|
# @see the `==` method
|
@@ -196,7 +196,7 @@ module MailSlurpClient
|
|
196
196
|
# Calculates hash code according to all attributes.
|
197
197
|
# @return [Integer] Hash code
|
198
198
|
def hash
|
199
|
-
[message, id, status,
|
199
|
+
[message, id, status, user_id, email_id, inbox_id, created_at, forwarder_id].hash
|
200
200
|
end
|
201
201
|
|
202
202
|
# Builds the object from hash
|
@@ -21,11 +21,11 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :last
|
25
25
|
|
26
26
|
attr_accessor :total_elements
|
27
27
|
|
28
|
-
attr_accessor :
|
28
|
+
attr_accessor :total_pages
|
29
29
|
|
30
30
|
attr_accessor :size
|
31
31
|
|
@@ -33,10 +33,10 @@ module MailSlurpClient
|
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :number_of_elements
|
37
|
-
|
38
36
|
attr_accessor :first
|
39
37
|
|
38
|
+
attr_accessor :number_of_elements
|
39
|
+
|
40
40
|
attr_accessor :empty
|
41
41
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,14 +45,14 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_pages' => :'totalPages',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
48
|
:'last' => :'last',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'number_of_elements' => :'numberOfElements',
|
55
54
|
:'first' => :'first',
|
55
|
+
:'number_of_elements' => :'numberOfElements',
|
56
56
|
:'empty' => :'empty'
|
57
57
|
}
|
58
58
|
end
|
@@ -63,14 +63,14 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<AliasProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_pages' => :'Integer',
|
67
|
-
:'total_elements' => :'Integer',
|
68
66
|
:'last' => :'Boolean',
|
67
|
+
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'number_of_elements' => :'Integer',
|
73
72
|
:'first' => :'Boolean',
|
73
|
+
:'number_of_elements' => :'Integer',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,16 +110,16 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'last')
|
114
|
+
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'total_elements')
|
118
118
|
self.total_elements = attributes[:'total_elements']
|
119
119
|
end
|
120
120
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
123
|
end
|
124
124
|
|
125
125
|
if attributes.key?(:'size')
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'number_of_elements')
|
138
|
-
self.number_of_elements = attributes[:'number_of_elements']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'first')
|
142
138
|
self.first = attributes[:'first']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'number_of_elements')
|
142
|
+
self.number_of_elements = attributes[:'number_of_elements']
|
143
|
+
end
|
144
|
+
|
145
145
|
if attributes.key?(:'empty')
|
146
146
|
self.empty = attributes[:'empty']
|
147
147
|
end
|
@@ -168,14 +168,14 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_pages == o.total_pages &&
|
172
|
-
total_elements == o.total_elements &&
|
173
171
|
last == o.last &&
|
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 &&
|
177
|
-
number_of_elements == o.number_of_elements &&
|
178
177
|
first == o.first &&
|
178
|
+
number_of_elements == o.number_of_elements &&
|
179
179
|
empty == o.empty
|
180
180
|
end
|
181
181
|
|
@@ -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, 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
|
@@ -21,11 +21,11 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :last
|
25
25
|
|
26
26
|
attr_accessor :total_elements
|
27
27
|
|
28
|
-
attr_accessor :
|
28
|
+
attr_accessor :total_pages
|
29
29
|
|
30
30
|
attr_accessor :size
|
31
31
|
|
@@ -33,10 +33,10 @@ module MailSlurpClient
|
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :number_of_elements
|
37
|
-
|
38
36
|
attr_accessor :first
|
39
37
|
|
38
|
+
attr_accessor :number_of_elements
|
39
|
+
|
40
40
|
attr_accessor :empty
|
41
41
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,14 +45,14 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'total_pages' => :'totalPages',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
48
|
:'last' => :'last',
|
49
|
+
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'number_of_elements' => :'numberOfElements',
|
55
54
|
:'first' => :'first',
|
55
|
+
:'number_of_elements' => :'numberOfElements',
|
56
56
|
:'empty' => :'empty'
|
57
57
|
}
|
58
58
|
end
|
@@ -63,14 +63,14 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<AttachmentProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'total_pages' => :'Integer',
|
67
|
-
:'total_elements' => :'Integer',
|
68
66
|
:'last' => :'Boolean',
|
67
|
+
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'number_of_elements' => :'Integer',
|
73
72
|
:'first' => :'Boolean',
|
73
|
+
:'number_of_elements' => :'Integer',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,16 +110,16 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'last')
|
114
|
+
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'total_elements')
|
118
118
|
self.total_elements = attributes[:'total_elements']
|
119
119
|
end
|
120
120
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
123
|
end
|
124
124
|
|
125
125
|
if attributes.key?(:'size')
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'number_of_elements')
|
138
|
-
self.number_of_elements = attributes[:'number_of_elements']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'first')
|
142
138
|
self.first = attributes[:'first']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'number_of_elements')
|
142
|
+
self.number_of_elements = attributes[:'number_of_elements']
|
143
|
+
end
|
144
|
+
|
145
145
|
if attributes.key?(:'empty')
|
146
146
|
self.empty = attributes[:'empty']
|
147
147
|
end
|
@@ -168,14 +168,14 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
total_pages == o.total_pages &&
|
172
|
-
total_elements == o.total_elements &&
|
173
171
|
last == o.last &&
|
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 &&
|
177
|
-
number_of_elements == o.number_of_elements &&
|
178
177
|
first == o.first &&
|
178
|
+
number_of_elements == o.number_of_elements &&
|
179
179
|
empty == o.empty
|
180
180
|
end
|
181
181
|
|
@@ -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, 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
|