mailslurp_client 15.7.13 → 15.7.14
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 +18 -18
- data/lib/mailslurp_client/models/attachment_projection.rb +22 -22
- data/lib/mailslurp_client/models/email_projection.rb +22 -22
- 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_contact_projection.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_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.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_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/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/template_projection.rb +18 -18
- data/lib/mailslurp_client/models/thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +15 -15
- data/lib/mailslurp_client/models/webhook_projection.rb +18 -18
- 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: 7c182b68b3bba23c4483eeb6b44a0c34e86a19d3666473bcf39ac792f16c84a8
|
4
|
+
data.tar.gz: dc45e76d757c20e7ff35adea98d7bc3b52364e2216c6d8790b97a771be726f1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc0919967bfe3e9b7a9e3f575847cae0d986698b280e1465aa251a57e016c4dcba6002dfb137a8aa23dadce057f266f8afd00bc236401485b081fb0722740b80
|
7
|
+
data.tar.gz: 59ff97db6977d9aa096e2a215ce0590bf0e918f415638df1cd321fdea6f7de46488bed2f237f56c91a6baf0f88093e8140840170b7eed9ee85498aecce986a68
|
@@ -25,12 +25,12 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :inbox_id
|
27
27
|
|
28
|
+
attr_accessor :updated_at
|
29
|
+
|
28
30
|
attr_accessor :created_at
|
29
31
|
|
30
32
|
attr_accessor :use_threads
|
31
33
|
|
32
|
-
attr_accessor :updated_at
|
33
|
-
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
@@ -39,9 +39,9 @@ module MailSlurpClient
|
|
39
39
|
:'user_id' => :'userId',
|
40
40
|
:'email_address' => :'emailAddress',
|
41
41
|
:'inbox_id' => :'inboxId',
|
42
|
+
:'updated_at' => :'updatedAt',
|
42
43
|
:'created_at' => :'createdAt',
|
43
|
-
:'use_threads' => :'useThreads'
|
44
|
-
:'updated_at' => :'updatedAt'
|
44
|
+
:'use_threads' => :'useThreads'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -53,9 +53,9 @@ module MailSlurpClient
|
|
53
53
|
:'user_id' => :'String',
|
54
54
|
:'email_address' => :'String',
|
55
55
|
:'inbox_id' => :'String',
|
56
|
+
:'updated_at' => :'DateTime',
|
56
57
|
:'created_at' => :'DateTime',
|
57
|
-
:'use_threads' => :'Boolean'
|
58
|
-
:'updated_at' => :'DateTime'
|
58
|
+
:'use_threads' => :'Boolean'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
@@ -100,6 +100,10 @@ module MailSlurpClient
|
|
100
100
|
self.inbox_id = attributes[:'inbox_id']
|
101
101
|
end
|
102
102
|
|
103
|
+
if attributes.key?(:'updated_at')
|
104
|
+
self.updated_at = attributes[:'updated_at']
|
105
|
+
end
|
106
|
+
|
103
107
|
if attributes.key?(:'created_at')
|
104
108
|
self.created_at = attributes[:'created_at']
|
105
109
|
end
|
@@ -107,10 +111,6 @@ module MailSlurpClient
|
|
107
111
|
if attributes.key?(:'use_threads')
|
108
112
|
self.use_threads = attributes[:'use_threads']
|
109
113
|
end
|
110
|
-
|
111
|
-
if attributes.key?(:'updated_at')
|
112
|
-
self.updated_at = attributes[:'updated_at']
|
113
|
-
end
|
114
114
|
end
|
115
115
|
|
116
116
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -133,14 +133,14 @@ module MailSlurpClient
|
|
133
133
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
134
134
|
end
|
135
135
|
|
136
|
-
if @created_at.nil?
|
137
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
138
|
-
end
|
139
|
-
|
140
136
|
if @updated_at.nil?
|
141
137
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
142
138
|
end
|
143
139
|
|
140
|
+
if @created_at.nil?
|
141
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
142
|
+
end
|
143
|
+
|
144
144
|
invalid_properties
|
145
145
|
end
|
146
146
|
|
@@ -151,8 +151,8 @@ module MailSlurpClient
|
|
151
151
|
return false if @user_id.nil?
|
152
152
|
return false if @email_address.nil?
|
153
153
|
return false if @inbox_id.nil?
|
154
|
-
return false if @created_at.nil?
|
155
154
|
return false if @updated_at.nil?
|
155
|
+
return false if @created_at.nil?
|
156
156
|
true
|
157
157
|
end
|
158
158
|
|
@@ -166,9 +166,9 @@ module MailSlurpClient
|
|
166
166
|
user_id == o.user_id &&
|
167
167
|
email_address == o.email_address &&
|
168
168
|
inbox_id == o.inbox_id &&
|
169
|
+
updated_at == o.updated_at &&
|
169
170
|
created_at == o.created_at &&
|
170
|
-
use_threads == o.use_threads
|
171
|
-
updated_at == o.updated_at
|
171
|
+
use_threads == o.use_threads
|
172
172
|
end
|
173
173
|
|
174
174
|
# @see the `==` method
|
@@ -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, user_id, email_address, inbox_id, created_at, use_threads
|
183
|
+
[name, id, user_id, email_address, inbox_id, updated_at, created_at, use_threads].hash
|
184
184
|
end
|
185
185
|
|
186
186
|
# Builds the object from hash
|
@@ -19,28 +19,28 @@ module MailSlurpClient
|
|
19
19
|
# Content length of attachment in bytes
|
20
20
|
attr_accessor :content_length
|
21
21
|
|
22
|
-
# Content type of attachment.
|
23
|
-
attr_accessor :content_type
|
24
|
-
|
25
22
|
attr_accessor :user_id
|
26
23
|
|
24
|
+
attr_accessor :updated_at
|
25
|
+
|
27
26
|
# Attachment ID
|
28
27
|
attr_accessor :attachment_id
|
29
28
|
|
30
29
|
attr_accessor :created_at
|
31
30
|
|
32
|
-
|
31
|
+
# Content type of attachment.
|
32
|
+
attr_accessor :content_type
|
33
33
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
37
37
|
:'name' => :'name',
|
38
38
|
:'content_length' => :'contentLength',
|
39
|
-
:'content_type' => :'contentType',
|
40
39
|
:'user_id' => :'userId',
|
40
|
+
:'updated_at' => :'updatedAt',
|
41
41
|
:'attachment_id' => :'attachmentId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
|
-
:'
|
43
|
+
:'content_type' => :'contentType'
|
44
44
|
}
|
45
45
|
end
|
46
46
|
|
@@ -49,11 +49,11 @@ module MailSlurpClient
|
|
49
49
|
{
|
50
50
|
:'name' => :'String',
|
51
51
|
:'content_length' => :'Integer',
|
52
|
-
:'content_type' => :'String',
|
53
52
|
:'user_id' => :'String',
|
53
|
+
:'updated_at' => :'DateTime',
|
54
54
|
:'attachment_id' => :'String',
|
55
55
|
:'created_at' => :'DateTime',
|
56
|
-
:'
|
56
|
+
:'content_type' => :'String'
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
@@ -86,14 +86,14 @@ module MailSlurpClient
|
|
86
86
|
self.content_length = attributes[:'content_length']
|
87
87
|
end
|
88
88
|
|
89
|
-
if attributes.key?(:'content_type')
|
90
|
-
self.content_type = attributes[:'content_type']
|
91
|
-
end
|
92
|
-
|
93
89
|
if attributes.key?(:'user_id')
|
94
90
|
self.user_id = attributes[:'user_id']
|
95
91
|
end
|
96
92
|
|
93
|
+
if attributes.key?(:'updated_at')
|
94
|
+
self.updated_at = attributes[:'updated_at']
|
95
|
+
end
|
96
|
+
|
97
97
|
if attributes.key?(:'attachment_id')
|
98
98
|
self.attachment_id = attributes[:'attachment_id']
|
99
99
|
end
|
@@ -102,8 +102,8 @@ module MailSlurpClient
|
|
102
102
|
self.created_at = attributes[:'created_at']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'content_type')
|
106
|
+
self.content_type = attributes[:'content_type']
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
@@ -115,6 +115,10 @@ module MailSlurpClient
|
|
115
115
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
116
116
|
end
|
117
117
|
|
118
|
+
if @updated_at.nil?
|
119
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
120
|
+
end
|
121
|
+
|
118
122
|
if @attachment_id.nil?
|
119
123
|
invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
|
120
124
|
end
|
@@ -123,10 +127,6 @@ module MailSlurpClient
|
|
123
127
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
124
128
|
end
|
125
129
|
|
126
|
-
if @updated_at.nil?
|
127
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
128
|
-
end
|
129
|
-
|
130
130
|
invalid_properties
|
131
131
|
end
|
132
132
|
|
@@ -134,9 +134,9 @@ module MailSlurpClient
|
|
134
134
|
# @return true if the model is valid
|
135
135
|
def valid?
|
136
136
|
return false if @user_id.nil?
|
137
|
+
return false if @updated_at.nil?
|
137
138
|
return false if @attachment_id.nil?
|
138
139
|
return false if @created_at.nil?
|
139
|
-
return false if @updated_at.nil?
|
140
140
|
true
|
141
141
|
end
|
142
142
|
|
@@ -147,11 +147,11 @@ module MailSlurpClient
|
|
147
147
|
self.class == o.class &&
|
148
148
|
name == o.name &&
|
149
149
|
content_length == o.content_length &&
|
150
|
-
content_type == o.content_type &&
|
151
150
|
user_id == o.user_id &&
|
151
|
+
updated_at == o.updated_at &&
|
152
152
|
attachment_id == o.attachment_id &&
|
153
153
|
created_at == o.created_at &&
|
154
|
-
|
154
|
+
content_type == o.content_type
|
155
155
|
end
|
156
156
|
|
157
157
|
# @see the `==` method
|
@@ -163,7 +163,7 @@ module MailSlurpClient
|
|
163
163
|
# Calculates hash code according to all attributes.
|
164
164
|
# @return [Integer] Hash code
|
165
165
|
def hash
|
166
|
-
[name, content_length,
|
166
|
+
[name, content_length, user_id, updated_at, attachment_id, created_at, content_type].hash
|
167
167
|
end
|
168
168
|
|
169
169
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ 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 :to
|
29
29
|
|
30
30
|
attr_accessor :bcc
|
@@ -33,30 +33,30 @@ module MailSlurpClient
|
|
33
33
|
|
34
34
|
attr_accessor :created_at
|
35
35
|
|
36
|
+
attr_accessor :team_access
|
37
|
+
|
36
38
|
attr_accessor :read
|
37
39
|
|
38
40
|
attr_accessor :body_md5_hash
|
39
41
|
|
40
42
|
attr_accessor :body_excerpt
|
41
43
|
|
42
|
-
attr_accessor :team_access
|
43
|
-
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
47
|
:'id' => :'id',
|
48
48
|
:'from' => :'from',
|
49
49
|
:'subject' => :'subject',
|
50
|
-
:'attachments' => :'attachments',
|
51
50
|
:'inbox_id' => :'inboxId',
|
51
|
+
:'attachments' => :'attachments',
|
52
52
|
:'to' => :'to',
|
53
53
|
:'bcc' => :'bcc',
|
54
54
|
:'cc' => :'cc',
|
55
55
|
:'created_at' => :'createdAt',
|
56
|
+
:'team_access' => :'teamAccess',
|
56
57
|
:'read' => :'read',
|
57
58
|
:'body_md5_hash' => :'bodyMD5Hash',
|
58
|
-
:'body_excerpt' => :'bodyExcerpt'
|
59
|
-
:'team_access' => :'teamAccess'
|
59
|
+
:'body_excerpt' => :'bodyExcerpt'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -66,16 +66,16 @@ module MailSlurpClient
|
|
66
66
|
:'id' => :'String',
|
67
67
|
:'from' => :'String',
|
68
68
|
:'subject' => :'String',
|
69
|
-
:'attachments' => :'Array<String>',
|
70
69
|
:'inbox_id' => :'String',
|
70
|
+
:'attachments' => :'Array<String>',
|
71
71
|
:'to' => :'Array<String>',
|
72
72
|
:'bcc' => :'Array<String>',
|
73
73
|
:'cc' => :'Array<String>',
|
74
74
|
:'created_at' => :'DateTime',
|
75
|
+
:'team_access' => :'Boolean',
|
75
76
|
:'read' => :'Boolean',
|
76
77
|
:'body_md5_hash' => :'String',
|
77
|
-
:'body_excerpt' => :'String'
|
78
|
-
:'team_access' => :'Boolean'
|
78
|
+
:'body_excerpt' => :'String'
|
79
79
|
}
|
80
80
|
end
|
81
81
|
|
@@ -112,16 +112,16 @@ module MailSlurpClient
|
|
112
112
|
self.subject = attributes[:'subject']
|
113
113
|
end
|
114
114
|
|
115
|
+
if attributes.key?(:'inbox_id')
|
116
|
+
self.inbox_id = attributes[:'inbox_id']
|
117
|
+
end
|
118
|
+
|
115
119
|
if attributes.key?(:'attachments')
|
116
120
|
if (value = attributes[:'attachments']).is_a?(Array)
|
117
121
|
self.attachments = value
|
118
122
|
end
|
119
123
|
end
|
120
124
|
|
121
|
-
if attributes.key?(:'inbox_id')
|
122
|
-
self.inbox_id = attributes[:'inbox_id']
|
123
|
-
end
|
124
|
-
|
125
125
|
if attributes.key?(:'to')
|
126
126
|
if (value = attributes[:'to']).is_a?(Array)
|
127
127
|
self.to = value
|
@@ -144,6 +144,10 @@ module MailSlurpClient
|
|
144
144
|
self.created_at = attributes[:'created_at']
|
145
145
|
end
|
146
146
|
|
147
|
+
if attributes.key?(:'team_access')
|
148
|
+
self.team_access = attributes[:'team_access']
|
149
|
+
end
|
150
|
+
|
147
151
|
if attributes.key?(:'read')
|
148
152
|
self.read = attributes[:'read']
|
149
153
|
end
|
@@ -155,10 +159,6 @@ module MailSlurpClient
|
|
155
159
|
if attributes.key?(:'body_excerpt')
|
156
160
|
self.body_excerpt = attributes[:'body_excerpt']
|
157
161
|
end
|
158
|
-
|
159
|
-
if attributes.key?(:'team_access')
|
160
|
-
self.team_access = attributes[:'team_access']
|
161
|
-
end
|
162
162
|
end
|
163
163
|
|
164
164
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -202,16 +202,16 @@ module MailSlurpClient
|
|
202
202
|
id == o.id &&
|
203
203
|
from == o.from &&
|
204
204
|
subject == o.subject &&
|
205
|
-
attachments == o.attachments &&
|
206
205
|
inbox_id == o.inbox_id &&
|
206
|
+
attachments == o.attachments &&
|
207
207
|
to == o.to &&
|
208
208
|
bcc == o.bcc &&
|
209
209
|
cc == o.cc &&
|
210
210
|
created_at == o.created_at &&
|
211
|
+
team_access == o.team_access &&
|
211
212
|
read == o.read &&
|
212
213
|
body_md5_hash == o.body_md5_hash &&
|
213
|
-
body_excerpt == o.body_excerpt
|
214
|
-
team_access == o.team_access
|
214
|
+
body_excerpt == o.body_excerpt
|
215
215
|
end
|
216
216
|
|
217
217
|
# @see the `==` method
|
@@ -223,7 +223,7 @@ module MailSlurpClient
|
|
223
223
|
# Calculates hash code according to all attributes.
|
224
224
|
# @return [Integer] Hash code
|
225
225
|
def hash
|
226
|
-
[id, from, subject,
|
226
|
+
[id, from, subject, inbox_id, attachments, to, bcc, cc, created_at, team_access, read, body_md5_hash, body_excerpt].hash
|
227
227
|
end
|
228
228
|
|
229
229
|
# 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
|