mailslurp_client 15.7.16 → 15.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/inbox_controller_api.rb +2 -2
- data/lib/mailslurp_client/api/template_controller_api.rb +28 -16
- data/lib/mailslurp_client/api/webhook_controller_api.rb +68 -10
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +15 -15
- data/lib/mailslurp_client/models/alias_projection.rb +33 -33
- data/lib/mailslurp_client/models/attachment_projection.rb +28 -28
- data/lib/mailslurp_client/models/contact_projection.rb +13 -13
- data/lib/mailslurp_client/models/create_template_options.rb +3 -1
- data/lib/mailslurp_client/models/email_projection.rb +15 -15
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +2 -0
- data/lib/mailslurp_client/models/missed_email_projection.rb +13 -13
- 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 +26 -26
- data/lib/mailslurp_client/models/template_dto.rb +5 -0
- data/lib/mailslurp_client/models/template_variable.rb +2 -0
- data/lib/mailslurp_client/models/thread_projection.rb +35 -24
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +18 -18
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +13 -13
- data/lib/mailslurp_client/models/verify_webhook_signature_options.rb +225 -0
- data/lib/mailslurp_client/models/verify_webhook_signature_results.rb +211 -0
- data/lib/mailslurp_client/models/webhook_projection.rb +11 -11
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +2 -0
- metadata +4 -2
@@ -19,8 +19,6 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :group_id
|
21
21
|
|
22
|
-
attr_accessor :created_at
|
23
|
-
|
24
22
|
attr_accessor :first_name
|
25
23
|
|
26
24
|
attr_accessor :last_name
|
@@ -31,17 +29,19 @@ module MailSlurpClient
|
|
31
29
|
|
32
30
|
attr_accessor :opt_out
|
33
31
|
|
32
|
+
attr_accessor :created_at
|
33
|
+
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
37
37
|
:'id' => :'id',
|
38
38
|
:'group_id' => :'groupId',
|
39
|
-
:'created_at' => :'createdAt',
|
40
39
|
:'first_name' => :'firstName',
|
41
40
|
:'last_name' => :'lastName',
|
42
41
|
:'company' => :'company',
|
43
42
|
:'email_addresses' => :'emailAddresses',
|
44
|
-
:'opt_out' => :'optOut'
|
43
|
+
:'opt_out' => :'optOut',
|
44
|
+
:'created_at' => :'createdAt'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -50,12 +50,12 @@ module MailSlurpClient
|
|
50
50
|
{
|
51
51
|
:'id' => :'String',
|
52
52
|
:'group_id' => :'String',
|
53
|
-
:'created_at' => :'DateTime',
|
54
53
|
:'first_name' => :'String',
|
55
54
|
:'last_name' => :'String',
|
56
55
|
:'company' => :'String',
|
57
56
|
:'email_addresses' => :'Array<String>',
|
58
|
-
:'opt_out' => :'Boolean'
|
57
|
+
:'opt_out' => :'Boolean',
|
58
|
+
:'created_at' => :'DateTime'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
@@ -88,10 +88,6 @@ module MailSlurpClient
|
|
88
88
|
self.group_id = attributes[:'group_id']
|
89
89
|
end
|
90
90
|
|
91
|
-
if attributes.key?(:'created_at')
|
92
|
-
self.created_at = attributes[:'created_at']
|
93
|
-
end
|
94
|
-
|
95
91
|
if attributes.key?(:'first_name')
|
96
92
|
self.first_name = attributes[:'first_name']
|
97
93
|
end
|
@@ -113,6 +109,10 @@ module MailSlurpClient
|
|
113
109
|
if attributes.key?(:'opt_out')
|
114
110
|
self.opt_out = attributes[:'opt_out']
|
115
111
|
end
|
112
|
+
|
113
|
+
if attributes.key?(:'created_at')
|
114
|
+
self.created_at = attributes[:'created_at']
|
115
|
+
end
|
116
116
|
end
|
117
117
|
|
118
118
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -145,12 +145,12 @@ module MailSlurpClient
|
|
145
145
|
self.class == o.class &&
|
146
146
|
id == o.id &&
|
147
147
|
group_id == o.group_id &&
|
148
|
-
created_at == o.created_at &&
|
149
148
|
first_name == o.first_name &&
|
150
149
|
last_name == o.last_name &&
|
151
150
|
company == o.company &&
|
152
151
|
email_addresses == o.email_addresses &&
|
153
|
-
opt_out == o.opt_out
|
152
|
+
opt_out == o.opt_out &&
|
153
|
+
created_at == o.created_at
|
154
154
|
end
|
155
155
|
|
156
156
|
# @see the `==` method
|
@@ -162,7 +162,7 @@ module MailSlurpClient
|
|
162
162
|
# Calculates hash code according to all attributes.
|
163
163
|
# @return [Integer] Hash code
|
164
164
|
def hash
|
165
|
-
[id, group_id,
|
165
|
+
[id, group_id, first_name, last_name, company, email_addresses, opt_out, created_at].hash
|
166
166
|
end
|
167
167
|
|
168
168
|
# Builds the object from hash
|
@@ -13,10 +13,12 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
-
#
|
16
|
+
# Create template options
|
17
17
|
class CreateTemplateOptions
|
18
|
+
# Name of template
|
18
19
|
attr_accessor :name
|
19
20
|
|
21
|
+
# Template content. Can include moustache style variables such as {{var_name}}
|
20
22
|
attr_accessor :content
|
21
23
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -21,8 +21,6 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :subject
|
23
23
|
|
24
|
-
attr_accessor :created_at
|
25
|
-
|
26
24
|
attr_accessor :inbox_id
|
27
25
|
|
28
26
|
attr_accessor :attachments
|
@@ -33,6 +31,8 @@ module MailSlurpClient
|
|
33
31
|
|
34
32
|
attr_accessor :cc
|
35
33
|
|
34
|
+
attr_accessor :created_at
|
35
|
+
|
36
36
|
attr_accessor :team_access
|
37
37
|
|
38
38
|
attr_accessor :read
|
@@ -47,12 +47,12 @@ module MailSlurpClient
|
|
47
47
|
:'id' => :'id',
|
48
48
|
:'from' => :'from',
|
49
49
|
:'subject' => :'subject',
|
50
|
-
:'created_at' => :'createdAt',
|
51
50
|
:'inbox_id' => :'inboxId',
|
52
51
|
:'attachments' => :'attachments',
|
53
52
|
:'to' => :'to',
|
54
53
|
:'bcc' => :'bcc',
|
55
54
|
:'cc' => :'cc',
|
55
|
+
:'created_at' => :'createdAt',
|
56
56
|
:'team_access' => :'teamAccess',
|
57
57
|
:'read' => :'read',
|
58
58
|
:'body_md5_hash' => :'bodyMD5Hash',
|
@@ -66,12 +66,12 @@ module MailSlurpClient
|
|
66
66
|
:'id' => :'String',
|
67
67
|
:'from' => :'String',
|
68
68
|
:'subject' => :'String',
|
69
|
-
:'created_at' => :'DateTime',
|
70
69
|
:'inbox_id' => :'String',
|
71
70
|
:'attachments' => :'Array<String>',
|
72
71
|
:'to' => :'Array<String>',
|
73
72
|
:'bcc' => :'Array<String>',
|
74
73
|
:'cc' => :'Array<String>',
|
74
|
+
:'created_at' => :'DateTime',
|
75
75
|
:'team_access' => :'Boolean',
|
76
76
|
:'read' => :'Boolean',
|
77
77
|
:'body_md5_hash' => :'String',
|
@@ -112,10 +112,6 @@ module MailSlurpClient
|
|
112
112
|
self.subject = attributes[:'subject']
|
113
113
|
end
|
114
114
|
|
115
|
-
if attributes.key?(:'created_at')
|
116
|
-
self.created_at = attributes[:'created_at']
|
117
|
-
end
|
118
|
-
|
119
115
|
if attributes.key?(:'inbox_id')
|
120
116
|
self.inbox_id = attributes[:'inbox_id']
|
121
117
|
end
|
@@ -144,6 +140,10 @@ module MailSlurpClient
|
|
144
140
|
end
|
145
141
|
end
|
146
142
|
|
143
|
+
if attributes.key?(:'created_at')
|
144
|
+
self.created_at = attributes[:'created_at']
|
145
|
+
end
|
146
|
+
|
147
147
|
if attributes.key?(:'team_access')
|
148
148
|
self.team_access = attributes[:'team_access']
|
149
149
|
end
|
@@ -169,10 +169,6 @@ module MailSlurpClient
|
|
169
169
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
170
170
|
end
|
171
171
|
|
172
|
-
if @created_at.nil?
|
173
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
174
|
-
end
|
175
|
-
|
176
172
|
if @inbox_id.nil?
|
177
173
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
178
174
|
end
|
@@ -181,6 +177,10 @@ module MailSlurpClient
|
|
181
177
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
182
178
|
end
|
183
179
|
|
180
|
+
if @created_at.nil?
|
181
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
182
|
+
end
|
183
|
+
|
184
184
|
invalid_properties
|
185
185
|
end
|
186
186
|
|
@@ -188,9 +188,9 @@ module MailSlurpClient
|
|
188
188
|
# @return true if the model is valid
|
189
189
|
def valid?
|
190
190
|
return false if @id.nil?
|
191
|
-
return false if @created_at.nil?
|
192
191
|
return false if @inbox_id.nil?
|
193
192
|
return false if @to.nil?
|
193
|
+
return false if @created_at.nil?
|
194
194
|
true
|
195
195
|
end
|
196
196
|
|
@@ -202,12 +202,12 @@ module MailSlurpClient
|
|
202
202
|
id == o.id &&
|
203
203
|
from == o.from &&
|
204
204
|
subject == o.subject &&
|
205
|
-
created_at == o.created_at &&
|
206
205
|
inbox_id == o.inbox_id &&
|
207
206
|
attachments == o.attachments &&
|
208
207
|
to == o.to &&
|
209
208
|
bcc == o.bcc &&
|
210
209
|
cc == o.cc &&
|
210
|
+
created_at == o.created_at &&
|
211
211
|
team_access == o.team_access &&
|
212
212
|
read == o.read &&
|
213
213
|
body_md5_hash == o.body_md5_hash &&
|
@@ -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
|
@@ -17,19 +17,19 @@ module MailSlurpClient
|
|
17
17
|
class ExpiredInboxRecordProjection
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :email_address
|
21
21
|
|
22
22
|
attr_accessor :user_id
|
23
23
|
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :created_at
|
25
25
|
|
26
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
27
|
def self.attribute_map
|
28
28
|
{
|
29
29
|
:'id' => :'id',
|
30
|
-
:'
|
30
|
+
:'email_address' => :'emailAddress',
|
31
31
|
:'user_id' => :'userId',
|
32
|
-
:'
|
32
|
+
:'created_at' => :'createdAt'
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
@@ -37,9 +37,9 @@ module MailSlurpClient
|
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
39
|
:'id' => :'String',
|
40
|
-
:'
|
40
|
+
:'email_address' => :'String',
|
41
41
|
:'user_id' => :'String',
|
42
|
-
:'
|
42
|
+
:'created_at' => :'DateTime'
|
43
43
|
}
|
44
44
|
end
|
45
45
|
|
@@ -68,16 +68,16 @@ module MailSlurpClient
|
|
68
68
|
self.id = attributes[:'id']
|
69
69
|
end
|
70
70
|
|
71
|
-
if attributes.key?(:'
|
72
|
-
self.
|
71
|
+
if attributes.key?(:'email_address')
|
72
|
+
self.email_address = attributes[:'email_address']
|
73
73
|
end
|
74
74
|
|
75
75
|
if attributes.key?(:'user_id')
|
76
76
|
self.user_id = attributes[:'user_id']
|
77
77
|
end
|
78
78
|
|
79
|
-
if attributes.key?(:'
|
80
|
-
self.
|
79
|
+
if attributes.key?(:'created_at')
|
80
|
+
self.created_at = attributes[:'created_at']
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
@@ -89,16 +89,16 @@ module MailSlurpClient
|
|
89
89
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
90
90
|
end
|
91
91
|
|
92
|
-
if @
|
93
|
-
invalid_properties.push('invalid value for "
|
92
|
+
if @email_address.nil?
|
93
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
94
94
|
end
|
95
95
|
|
96
96
|
if @user_id.nil?
|
97
97
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
98
98
|
end
|
99
99
|
|
100
|
-
if @
|
101
|
-
invalid_properties.push('invalid value for "
|
100
|
+
if @created_at.nil?
|
101
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
102
102
|
end
|
103
103
|
|
104
104
|
invalid_properties
|
@@ -108,9 +108,9 @@ module MailSlurpClient
|
|
108
108
|
# @return true if the model is valid
|
109
109
|
def valid?
|
110
110
|
return false if @id.nil?
|
111
|
-
return false if @created_at.nil?
|
112
|
-
return false if @user_id.nil?
|
113
111
|
return false if @email_address.nil?
|
112
|
+
return false if @user_id.nil?
|
113
|
+
return false if @created_at.nil?
|
114
114
|
true
|
115
115
|
end
|
116
116
|
|
@@ -120,9 +120,9 @@ module MailSlurpClient
|
|
120
120
|
return true if self.equal?(o)
|
121
121
|
self.class == o.class &&
|
122
122
|
id == o.id &&
|
123
|
-
|
123
|
+
email_address == o.email_address &&
|
124
124
|
user_id == o.user_id &&
|
125
|
-
|
125
|
+
created_at == o.created_at
|
126
126
|
end
|
127
127
|
|
128
128
|
# @see the `==` method
|
@@ -134,7 +134,7 @@ module MailSlurpClient
|
|
134
134
|
# Calculates hash code according to all attributes.
|
135
135
|
# @return [Integer] Hash code
|
136
136
|
def hash
|
137
|
-
[id,
|
137
|
+
[id, email_address, user_id, created_at].hash
|
138
138
|
end
|
139
139
|
|
140
140
|
# Builds the object from hash
|
@@ -15,8 +15,10 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Result from calling expire on any inboxes that have applicable expiration dates given current time.
|
17
17
|
class FlushExpiredInboxesResult
|
18
|
+
# Inbox IDs affected by expiration
|
18
19
|
attr_accessor :inbox_ids
|
19
20
|
|
21
|
+
# DateTime to filter inboxes so that those expiring before this time are expired
|
20
22
|
attr_accessor :expire_before
|
21
23
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -21,18 +21,18 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :subject
|
23
23
|
|
24
|
-
attr_accessor :created_at
|
25
|
-
|
26
24
|
attr_accessor :user_id
|
27
25
|
|
26
|
+
attr_accessor :created_at
|
27
|
+
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
29
|
def self.attribute_map
|
30
30
|
{
|
31
31
|
:'id' => :'id',
|
32
32
|
:'from' => :'from',
|
33
33
|
:'subject' => :'subject',
|
34
|
-
:'
|
35
|
-
:'
|
34
|
+
:'user_id' => :'userId',
|
35
|
+
:'created_at' => :'createdAt'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
:'id' => :'String',
|
43
43
|
:'from' => :'String',
|
44
44
|
:'subject' => :'String',
|
45
|
-
:'
|
46
|
-
:'
|
45
|
+
:'user_id' => :'String',
|
46
|
+
:'created_at' => :'DateTime'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -80,13 +80,13 @@ module MailSlurpClient
|
|
80
80
|
self.subject = attributes[:'subject']
|
81
81
|
end
|
82
82
|
|
83
|
-
if attributes.key?(:'created_at')
|
84
|
-
self.created_at = attributes[:'created_at']
|
85
|
-
end
|
86
|
-
|
87
83
|
if attributes.key?(:'user_id')
|
88
84
|
self.user_id = attributes[:'user_id']
|
89
85
|
end
|
86
|
+
|
87
|
+
if attributes.key?(:'created_at')
|
88
|
+
self.created_at = attributes[:'created_at']
|
89
|
+
end
|
90
90
|
end
|
91
91
|
|
92
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -120,8 +120,8 @@ module MailSlurpClient
|
|
120
120
|
id == o.id &&
|
121
121
|
from == o.from &&
|
122
122
|
subject == o.subject &&
|
123
|
-
|
124
|
-
|
123
|
+
user_id == o.user_id &&
|
124
|
+
created_at == o.created_at
|
125
125
|
end
|
126
126
|
|
127
127
|
# @see the `==` method
|
@@ -133,7 +133,7 @@ module MailSlurpClient
|
|
133
133
|
# Calculates hash code according to all attributes.
|
134
134
|
# @return [Integer] Hash code
|
135
135
|
def hash
|
136
|
-
[id, from, subject,
|
136
|
+
[id, from, subject, user_id, created_at].hash
|
137
137
|
end
|
138
138
|
|
139
139
|
# 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
|