mailslurp_client 15.7.0 → 15.7.5
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 +13 -13
- data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- 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/template_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: b8283b591ed91fc3475227da52eafcf39dfd0b832dc7b27fcd8a4ec912f58b56
|
4
|
+
data.tar.gz: d7a383a5d759e67df1389e0bd41c5c4fb4e424078cb9ba80ef5847735a140b46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc1e9deb7eaf94505c9408c2adc6a732cd302b604959d9cbfd997f633ebf908233e60762398b1f99b9bbf0719b2e92ac1ca6833ed4290101d3efeefff58363ab
|
7
|
+
data.tar.gz: '09b40d69ce05a40fc893b9ca2cc7c4bdf07f29d4404224791b09ec8a683498e5c81caedbe7e534d6395bd24e20eea01307149a842c9215f0578591fad9bbfb33'
|
@@ -27,10 +27,10 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
|
-
attr_accessor :updated_at
|
31
|
-
|
32
30
|
attr_accessor :use_threads
|
33
31
|
|
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
|
{
|
@@ -40,8 +40,8 @@ module MailSlurpClient
|
|
40
40
|
:'email_address' => :'emailAddress',
|
41
41
|
:'inbox_id' => :'inboxId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
|
-
:'
|
44
|
-
:'
|
43
|
+
:'use_threads' => :'useThreads',
|
44
|
+
:'updated_at' => :'updatedAt'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -54,8 +54,8 @@ module MailSlurpClient
|
|
54
54
|
:'email_address' => :'String',
|
55
55
|
:'inbox_id' => :'String',
|
56
56
|
:'created_at' => :'DateTime',
|
57
|
-
:'
|
58
|
-
:'
|
57
|
+
:'use_threads' => :'Boolean',
|
58
|
+
:'updated_at' => :'DateTime'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
@@ -104,13 +104,13 @@ module MailSlurpClient
|
|
104
104
|
self.created_at = attributes[:'created_at']
|
105
105
|
end
|
106
106
|
|
107
|
-
if attributes.key?(:'updated_at')
|
108
|
-
self.updated_at = attributes[:'updated_at']
|
109
|
-
end
|
110
|
-
|
111
107
|
if attributes.key?(:'use_threads')
|
112
108
|
self.use_threads = attributes[:'use_threads']
|
113
109
|
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?
|
@@ -167,8 +167,8 @@ module MailSlurpClient
|
|
167
167
|
email_address == o.email_address &&
|
168
168
|
inbox_id == o.inbox_id &&
|
169
169
|
created_at == o.created_at &&
|
170
|
-
|
171
|
-
|
170
|
+
use_threads == o.use_threads &&
|
171
|
+
updated_at == o.updated_at
|
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,
|
183
|
+
[name, id, user_id, email_address, inbox_id, created_at, use_threads, updated_at].hash
|
184
184
|
end
|
185
185
|
|
186
186
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ 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
|
+
|
22
25
|
attr_accessor :user_id
|
23
26
|
|
24
27
|
# Attachment ID
|
@@ -28,19 +31,16 @@ module MailSlurpClient
|
|
28
31
|
|
29
32
|
attr_accessor :updated_at
|
30
33
|
|
31
|
-
# Content type of attachment.
|
32
|
-
attr_accessor :content_type
|
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',
|
39
40
|
:'user_id' => :'userId',
|
40
41
|
:'attachment_id' => :'attachmentId',
|
41
42
|
:'created_at' => :'createdAt',
|
42
|
-
:'updated_at' => :'updatedAt'
|
43
|
-
:'content_type' => :'contentType'
|
43
|
+
:'updated_at' => :'updatedAt'
|
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',
|
52
53
|
:'user_id' => :'String',
|
53
54
|
:'attachment_id' => :'String',
|
54
55
|
:'created_at' => :'DateTime',
|
55
|
-
:'updated_at' => :'DateTime'
|
56
|
-
:'content_type' => :'String'
|
56
|
+
:'updated_at' => :'DateTime'
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
@@ -86,6 +86,10 @@ 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
|
+
|
89
93
|
if attributes.key?(:'user_id')
|
90
94
|
self.user_id = attributes[:'user_id']
|
91
95
|
end
|
@@ -101,10 +105,6 @@ module MailSlurpClient
|
|
101
105
|
if attributes.key?(:'updated_at')
|
102
106
|
self.updated_at = attributes[:'updated_at']
|
103
107
|
end
|
104
|
-
|
105
|
-
if attributes.key?(:'content_type')
|
106
|
-
self.content_type = attributes[:'content_type']
|
107
|
-
end
|
108
108
|
end
|
109
109
|
|
110
110
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -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 &&
|
150
151
|
user_id == o.user_id &&
|
151
152
|
attachment_id == o.attachment_id &&
|
152
153
|
created_at == o.created_at &&
|
153
|
-
updated_at == o.updated_at
|
154
|
-
content_type == o.content_type
|
154
|
+
updated_at == o.updated_at
|
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, user_id, attachment_id, created_at, updated_at
|
166
|
+
[name, content_length, content_type, user_id, attachment_id, created_at, updated_at].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 :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 :bcc
|
@@ -47,8 +47,8 @@ module MailSlurpClient
|
|
47
47
|
:'id' => :'id',
|
48
48
|
:'from' => :'from',
|
49
49
|
:'subject' => :'subject',
|
50
|
-
:'inbox_id' => :'inboxId',
|
51
50
|
:'attachments' => :'attachments',
|
51
|
+
:'inbox_id' => :'inboxId',
|
52
52
|
:'to' => :'to',
|
53
53
|
:'bcc' => :'bcc',
|
54
54
|
:'cc' => :'cc',
|
@@ -66,8 +66,8 @@ module MailSlurpClient
|
|
66
66
|
:'id' => :'String',
|
67
67
|
:'from' => :'String',
|
68
68
|
:'subject' => :'String',
|
69
|
-
:'inbox_id' => :'String',
|
70
69
|
:'attachments' => :'Array<String>',
|
70
|
+
:'inbox_id' => :'String',
|
71
71
|
:'to' => :'Array<String>',
|
72
72
|
:'bcc' => :'Array<String>',
|
73
73
|
:'cc' => :'Array<String>',
|
@@ -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
|
-
|
119
115
|
if attributes.key?(:'attachments')
|
120
116
|
if (value = attributes[:'attachments']).is_a?(Array)
|
121
117
|
self.attachments = value
|
122
118
|
end
|
123
119
|
end
|
124
120
|
|
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
|
@@ -202,8 +202,8 @@ module MailSlurpClient
|
|
202
202
|
id == o.id &&
|
203
203
|
from == o.from &&
|
204
204
|
subject == o.subject &&
|
205
|
-
inbox_id == o.inbox_id &&
|
206
205
|
attachments == o.attachments &&
|
206
|
+
inbox_id == o.inbox_id &&
|
207
207
|
to == o.to &&
|
208
208
|
bcc == o.bcc &&
|
209
209
|
cc == o.cc &&
|
@@ -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, attachments, inbox_id, 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
|
+
|
24
26
|
attr_accessor :total_elements
|
25
27
|
|
26
28
|
attr_accessor :total_pages
|
27
29
|
|
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 :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
|
+
:'last' => :'last',
|
48
49
|
:'total_elements' => :'totalElements',
|
49
50
|
:'total_pages' => :'totalPages',
|
50
|
-
:'last' => :'last',
|
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
|
+
:'last' => :'Boolean',
|
66
67
|
:'total_elements' => :'Integer',
|
67
68
|
:'total_pages' => :'Integer',
|
68
|
-
:'last' => :'Boolean',
|
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,6 +110,10 @@ 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
|
+
|
113
117
|
if attributes.key?(:'total_elements')
|
114
118
|
self.total_elements = attributes[:'total_elements']
|
115
119
|
end
|
@@ -118,10 +122,6 @@ module MailSlurpClient
|
|
118
122
|
self.total_pages = attributes[:'total_pages']
|
119
123
|
end
|
120
124
|
|
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?(:'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
|
+
last == o.last &&
|
171
172
|
total_elements == o.total_elements &&
|
172
173
|
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
|
-
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, total_elements, total_pages,
|
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,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
+
attr_accessor :last
|
25
|
+
|
24
26
|
attr_accessor :total_elements
|
25
27
|
|
26
28
|
attr_accessor :total_pages
|
27
29
|
|
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 :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
|
+
:'last' => :'last',
|
48
49
|
:'total_elements' => :'totalElements',
|
49
50
|
:'total_pages' => :'totalPages',
|
50
|
-
:'last' => :'last',
|
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
|
+
:'last' => :'Boolean',
|
66
67
|
:'total_elements' => :'Integer',
|
67
68
|
:'total_pages' => :'Integer',
|
68
|
-
:'last' => :'Boolean',
|
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,6 +110,10 @@ 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
|
+
|
113
117
|
if attributes.key?(:'total_elements')
|
114
118
|
self.total_elements = attributes[:'total_elements']
|
115
119
|
end
|
@@ -118,10 +122,6 @@ module MailSlurpClient
|
|
118
122
|
self.total_pages = attributes[:'total_pages']
|
119
123
|
end
|
120
124
|
|
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?(:'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
|
+
last == o.last &&
|
171
172
|
total_elements == o.total_elements &&
|
172
173
|
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
|
-
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, total_elements, total_pages,
|
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,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
+
attr_accessor :last
|
25
|
+
|
24
26
|
attr_accessor :total_elements
|
25
27
|
|
26
28
|
attr_accessor :total_pages
|
27
29
|
|
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 :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
|
+
:'last' => :'last',
|
48
49
|
:'total_elements' => :'totalElements',
|
49
50
|
:'total_pages' => :'totalPages',
|
50
|
-
:'last' => :'last',
|
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<BounceProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
+
:'last' => :'Boolean',
|
66
67
|
:'total_elements' => :'Integer',
|
67
68
|
:'total_pages' => :'Integer',
|
68
|
-
:'last' => :'Boolean',
|
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,6 +110,10 @@ 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
|
+
|
113
117
|
if attributes.key?(:'total_elements')
|
114
118
|
self.total_elements = attributes[:'total_elements']
|
115
119
|
end
|
@@ -118,10 +122,6 @@ module MailSlurpClient
|
|
118
122
|
self.total_pages = attributes[:'total_pages']
|
119
123
|
end
|
120
124
|
|
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?(:'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
|
+
last == o.last &&
|
171
172
|
total_elements == o.total_elements &&
|
172
173
|
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
|
-
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, total_elements, total_pages,
|
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
|