mailslurp_client 15.17.2 → 15.17.3
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/attachment_projection.rb +24 -24
- data/lib/mailslurp_client/models/email_projection.rb +20 -20
- data/lib/mailslurp_client/models/page_alias.rb +19 -19
- data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_complaint.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
- data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
- data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
- data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
- data/lib/mailslurp_client/models/phone_number_projection.rb +18 -18
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- 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: 7508ce747e86c857f1e91faa2ac1e439031769c2df3ac2ae6282ec6ac104f2a4
|
4
|
+
data.tar.gz: 0475b19ad6408a48321104838ac34ba86c2b83186933deec7f3a6616b3663032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29b9af656e437264648f0c5a6e2ccc5c5b4a9e2a7a458c22a09c1624f9180ec3e5f5a7270f42149d64f763c19ed0c2be1f3709d026158389f2f6bb7303a3770a
|
7
|
+
data.tar.gz: 7bd629603685dbf72519077741a6c461a421bb739668caa17b0f7d5dd224579953a0246674bb97ff115e797a830f981d6d30114a6126d1491f2619de46e46456
|
@@ -20,28 +20,28 @@ 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
|
-
|
26
23
|
attr_accessor :user_id
|
27
24
|
|
25
|
+
# Attachment ID
|
26
|
+
attr_accessor :attachment_id
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :updated_at
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# Content type of attachment.
|
33
|
+
attr_accessor :content_type
|
34
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',
|
41
40
|
:'user_id' => :'userId',
|
41
|
+
:'attachment_id' => :'attachmentId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
43
|
:'updated_at' => :'updatedAt',
|
44
|
-
:'
|
44
|
+
:'content_type' => :'contentType'
|
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',
|
54
53
|
:'user_id' => :'String',
|
54
|
+
:'attachment_id' => :'String',
|
55
55
|
:'created_at' => :'DateTime',
|
56
56
|
:'updated_at' => :'DateTime',
|
57
|
-
:'
|
57
|
+
:'content_type' => :'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,14 +90,14 @@ 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
|
-
|
97
93
|
if attributes.key?(:'user_id')
|
98
94
|
self.user_id = attributes[:'user_id']
|
99
95
|
end
|
100
96
|
|
97
|
+
if attributes.key?(:'attachment_id')
|
98
|
+
self.attachment_id = attributes[:'attachment_id']
|
99
|
+
end
|
100
|
+
|
101
101
|
if attributes.key?(:'created_at')
|
102
102
|
self.created_at = attributes[:'created_at']
|
103
103
|
end
|
@@ -106,8 +106,8 @@ module MailSlurpClient
|
|
106
106
|
self.updated_at = attributes[:'updated_at']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
109
|
+
if attributes.key?(:'content_type')
|
110
|
+
self.content_type = attributes[:'content_type']
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
@@ -119,6 +119,10 @@ module MailSlurpClient
|
|
119
119
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
120
120
|
end
|
121
121
|
|
122
|
+
if @attachment_id.nil?
|
123
|
+
invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
|
124
|
+
end
|
125
|
+
|
122
126
|
if @created_at.nil?
|
123
127
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
124
128
|
end
|
@@ -127,10 +131,6 @@ module MailSlurpClient
|
|
127
131
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
128
132
|
end
|
129
133
|
|
130
|
-
if @attachment_id.nil?
|
131
|
-
invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
|
132
|
-
end
|
133
|
-
|
134
134
|
invalid_properties
|
135
135
|
end
|
136
136
|
|
@@ -138,9 +138,9 @@ module MailSlurpClient
|
|
138
138
|
# @return true if the model is valid
|
139
139
|
def valid?
|
140
140
|
return false if @user_id.nil?
|
141
|
+
return false if @attachment_id.nil?
|
141
142
|
return false if @created_at.nil?
|
142
143
|
return false if @updated_at.nil?
|
143
|
-
return false if @attachment_id.nil?
|
144
144
|
true
|
145
145
|
end
|
146
146
|
|
@@ -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 &&
|
155
154
|
user_id == o.user_id &&
|
155
|
+
attachment_id == o.attachment_id &&
|
156
156
|
created_at == o.created_at &&
|
157
157
|
updated_at == o.updated_at &&
|
158
|
-
|
158
|
+
content_type == o.content_type
|
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,
|
170
|
+
[name, content_length, user_id, attachment_id, created_at, updated_at, content_type].hash
|
171
171
|
end
|
172
172
|
|
173
173
|
# Builds the object from hash
|
@@ -21,20 +21,20 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :subject
|
23
23
|
|
24
|
-
attr_accessor :attachments
|
25
|
-
|
26
24
|
attr_accessor :inbox_id
|
27
25
|
|
26
|
+
attr_accessor :attachments
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :to
|
31
31
|
|
32
|
-
attr_accessor :domain_id
|
33
|
-
|
34
32
|
attr_accessor :bcc
|
35
33
|
|
36
34
|
attr_accessor :cc
|
37
35
|
|
36
|
+
attr_accessor :domain_id
|
37
|
+
|
38
38
|
attr_accessor :read
|
39
39
|
|
40
40
|
attr_accessor :body_excerpt
|
@@ -49,13 +49,13 @@ module MailSlurpClient
|
|
49
49
|
:'id' => :'id',
|
50
50
|
:'from' => :'from',
|
51
51
|
:'subject' => :'subject',
|
52
|
-
:'attachments' => :'attachments',
|
53
52
|
:'inbox_id' => :'inboxId',
|
53
|
+
:'attachments' => :'attachments',
|
54
54
|
:'created_at' => :'createdAt',
|
55
55
|
:'to' => :'to',
|
56
|
-
:'domain_id' => :'domainId',
|
57
56
|
:'bcc' => :'bcc',
|
58
57
|
:'cc' => :'cc',
|
58
|
+
:'domain_id' => :'domainId',
|
59
59
|
:'read' => :'read',
|
60
60
|
:'body_excerpt' => :'bodyExcerpt',
|
61
61
|
:'team_access' => :'teamAccess',
|
@@ -69,13 +69,13 @@ module MailSlurpClient
|
|
69
69
|
:'id' => :'String',
|
70
70
|
:'from' => :'String',
|
71
71
|
:'subject' => :'String',
|
72
|
-
:'attachments' => :'Array<String>',
|
73
72
|
:'inbox_id' => :'String',
|
73
|
+
:'attachments' => :'Array<String>',
|
74
74
|
:'created_at' => :'DateTime',
|
75
75
|
:'to' => :'Array<String>',
|
76
|
-
:'domain_id' => :'String',
|
77
76
|
:'bcc' => :'Array<String>',
|
78
77
|
:'cc' => :'Array<String>',
|
78
|
+
:'domain_id' => :'String',
|
79
79
|
:'read' => :'Boolean',
|
80
80
|
:'body_excerpt' => :'String',
|
81
81
|
:'team_access' => :'Boolean',
|
@@ -89,9 +89,9 @@ module MailSlurpClient
|
|
89
89
|
:'from',
|
90
90
|
:'subject',
|
91
91
|
:'attachments',
|
92
|
-
:'domain_id',
|
93
92
|
:'bcc',
|
94
93
|
:'cc',
|
94
|
+
:'domain_id',
|
95
95
|
:'body_excerpt',
|
96
96
|
:'body_md5_hash'
|
97
97
|
])
|
@@ -124,16 +124,16 @@ module MailSlurpClient
|
|
124
124
|
self.subject = attributes[:'subject']
|
125
125
|
end
|
126
126
|
|
127
|
+
if attributes.key?(:'inbox_id')
|
128
|
+
self.inbox_id = attributes[:'inbox_id']
|
129
|
+
end
|
130
|
+
|
127
131
|
if attributes.key?(:'attachments')
|
128
132
|
if (value = attributes[:'attachments']).is_a?(Array)
|
129
133
|
self.attachments = value
|
130
134
|
end
|
131
135
|
end
|
132
136
|
|
133
|
-
if attributes.key?(:'inbox_id')
|
134
|
-
self.inbox_id = attributes[:'inbox_id']
|
135
|
-
end
|
136
|
-
|
137
137
|
if attributes.key?(:'created_at')
|
138
138
|
self.created_at = attributes[:'created_at']
|
139
139
|
end
|
@@ -144,10 +144,6 @@ module MailSlurpClient
|
|
144
144
|
end
|
145
145
|
end
|
146
146
|
|
147
|
-
if attributes.key?(:'domain_id')
|
148
|
-
self.domain_id = attributes[:'domain_id']
|
149
|
-
end
|
150
|
-
|
151
147
|
if attributes.key?(:'bcc')
|
152
148
|
if (value = attributes[:'bcc']).is_a?(Array)
|
153
149
|
self.bcc = value
|
@@ -160,6 +156,10 @@ module MailSlurpClient
|
|
160
156
|
end
|
161
157
|
end
|
162
158
|
|
159
|
+
if attributes.key?(:'domain_id')
|
160
|
+
self.domain_id = attributes[:'domain_id']
|
161
|
+
end
|
162
|
+
|
163
163
|
if attributes.key?(:'read')
|
164
164
|
self.read = attributes[:'read']
|
165
165
|
end
|
@@ -228,13 +228,13 @@ module MailSlurpClient
|
|
228
228
|
id == o.id &&
|
229
229
|
from == o.from &&
|
230
230
|
subject == o.subject &&
|
231
|
-
attachments == o.attachments &&
|
232
231
|
inbox_id == o.inbox_id &&
|
232
|
+
attachments == o.attachments &&
|
233
233
|
created_at == o.created_at &&
|
234
234
|
to == o.to &&
|
235
|
-
domain_id == o.domain_id &&
|
236
235
|
bcc == o.bcc &&
|
237
236
|
cc == o.cc &&
|
237
|
+
domain_id == o.domain_id &&
|
238
238
|
read == o.read &&
|
239
239
|
body_excerpt == o.body_excerpt &&
|
240
240
|
team_access == o.team_access &&
|
@@ -250,7 +250,7 @@ module MailSlurpClient
|
|
250
250
|
# Calculates hash code according to all attributes.
|
251
251
|
# @return [Integer] Hash code
|
252
252
|
def hash
|
253
|
-
[id, from, subject,
|
253
|
+
[id, from, subject, inbox_id, attachments, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
|
254
254
|
end
|
255
255
|
|
256
256
|
# Builds the object from hash
|
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :last
|
25
|
-
|
26
24
|
attr_accessor :total_elements
|
27
25
|
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :last
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :first
|
37
|
-
|
38
36
|
attr_accessor :number_of_elements
|
39
37
|
|
38
|
+
attr_accessor :first
|
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
|
-
:'last' => :'last',
|
49
48
|
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'first' => :'first',
|
55
54
|
:'number_of_elements' => :'numberOfElements',
|
55
|
+
:'first' => :'first',
|
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
|
-
:'last' => :'Boolean',
|
67
66
|
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'first' => :'Boolean',
|
73
72
|
:'number_of_elements' => :'Integer',
|
73
|
+
:'first' => :'Boolean',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,10 +110,6 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'last')
|
114
|
-
self.last = attributes[:'last']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_elements')
|
118
114
|
self.total_elements = attributes[:'total_elements']
|
119
115
|
end
|
@@ -122,6 +118,10 @@ module MailSlurpClient
|
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'last')
|
122
|
+
self.last = attributes[:'last']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'first')
|
138
|
-
self.first = attributes[:'first']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'number_of_elements')
|
142
138
|
self.number_of_elements = attributes[:'number_of_elements']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'first')
|
142
|
+
self.first = attributes[:'first']
|
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
|
-
last == o.last &&
|
172
171
|
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
177
|
-
first == o.first &&
|
178
177
|
number_of_elements == o.number_of_elements &&
|
178
|
+
first == o.first &&
|
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, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :last
|
25
|
-
|
26
24
|
attr_accessor :total_elements
|
27
25
|
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :last
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :first
|
37
|
-
|
38
36
|
attr_accessor :number_of_elements
|
39
37
|
|
38
|
+
attr_accessor :first
|
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
|
-
:'last' => :'last',
|
49
48
|
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'first' => :'first',
|
55
54
|
:'number_of_elements' => :'numberOfElements',
|
55
|
+
:'first' => :'first',
|
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
|
-
:'last' => :'Boolean',
|
67
66
|
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'first' => :'Boolean',
|
73
72
|
:'number_of_elements' => :'Integer',
|
73
|
+
:'first' => :'Boolean',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,10 +110,6 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'last')
|
114
|
-
self.last = attributes[:'last']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_elements')
|
118
114
|
self.total_elements = attributes[:'total_elements']
|
119
115
|
end
|
@@ -122,6 +118,10 @@ module MailSlurpClient
|
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'last')
|
122
|
+
self.last = attributes[:'last']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'first')
|
138
|
-
self.first = attributes[:'first']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'number_of_elements')
|
142
138
|
self.number_of_elements = attributes[:'number_of_elements']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'first')
|
142
|
+
self.first = attributes[:'first']
|
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
|
-
last == o.last &&
|
172
171
|
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
177
|
-
first == o.first &&
|
178
177
|
number_of_elements == o.number_of_elements &&
|
178
|
+
first == o.first &&
|
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, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :last
|
25
|
-
|
26
24
|
attr_accessor :total_elements
|
27
25
|
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :last
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :first
|
37
|
-
|
38
36
|
attr_accessor :number_of_elements
|
39
37
|
|
38
|
+
attr_accessor :first
|
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
|
-
:'last' => :'last',
|
49
48
|
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'first' => :'first',
|
55
54
|
:'number_of_elements' => :'numberOfElements',
|
55
|
+
:'first' => :'first',
|
56
56
|
:'empty' => :'empty'
|
57
57
|
}
|
58
58
|
end
|
@@ -63,14 +63,14 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<BounceProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'last' => :'Boolean',
|
67
66
|
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'first' => :'Boolean',
|
73
72
|
:'number_of_elements' => :'Integer',
|
73
|
+
:'first' => :'Boolean',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,10 +110,6 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'last')
|
114
|
-
self.last = attributes[:'last']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_elements')
|
118
114
|
self.total_elements = attributes[:'total_elements']
|
119
115
|
end
|
@@ -122,6 +118,10 @@ module MailSlurpClient
|
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'last')
|
122
|
+
self.last = attributes[:'last']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'first')
|
138
|
-
self.first = attributes[:'first']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'number_of_elements')
|
142
138
|
self.number_of_elements = attributes[:'number_of_elements']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'first')
|
142
|
+
self.first = attributes[:'first']
|
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
|
-
last == o.last &&
|
172
171
|
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
177
|
-
first == o.first &&
|
178
177
|
number_of_elements == o.number_of_elements &&
|
178
|
+
first == o.first &&
|
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, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|