mailslurp_client 15.13.29 → 15.13.31
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/api/inbox_controller_api.rb +233 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +98 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +13 -13
- data/lib/mailslurp_client/models/contact_projection.rb +18 -18
- data/lib/mailslurp_client/models/create_webhook_options.rb +16 -5
- 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_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_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_phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +308 -0
- 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/scheduled_job.rb +371 -0
- data/lib/mailslurp_client/models/sent_email_projection.rb +59 -59
- data/lib/mailslurp_client/models/template_projection.rb +15 -15
- data/lib/mailslurp_client/models/thread_projection.rb +26 -26
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_dto.rb +12 -1
- 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?
|
@@ -123,14 +123,14 @@ module MailSlurpClient
|
|
123
123
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
124
124
|
end
|
125
125
|
|
126
|
-
if @created_at.nil?
|
127
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
128
|
-
end
|
129
|
-
|
130
126
|
if @opt_out.nil?
|
131
127
|
invalid_properties.push('invalid value for "opt_out", opt_out cannot be nil.')
|
132
128
|
end
|
133
129
|
|
130
|
+
if @created_at.nil?
|
131
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
132
|
+
end
|
133
|
+
|
134
134
|
invalid_properties
|
135
135
|
end
|
136
136
|
|
@@ -138,8 +138,8 @@ module MailSlurpClient
|
|
138
138
|
# @return true if the model is valid
|
139
139
|
def valid?
|
140
140
|
return false if @id.nil?
|
141
|
-
return false if @created_at.nil?
|
142
141
|
return false if @opt_out.nil?
|
142
|
+
return false if @created_at.nil?
|
143
143
|
true
|
144
144
|
end
|
145
145
|
|
@@ -150,12 +150,12 @@ module MailSlurpClient
|
|
150
150
|
self.class == o.class &&
|
151
151
|
id == o.id &&
|
152
152
|
group_id == o.group_id &&
|
153
|
-
created_at == o.created_at &&
|
154
153
|
first_name == o.first_name &&
|
155
154
|
last_name == o.last_name &&
|
156
155
|
company == o.company &&
|
157
156
|
email_addresses == o.email_addresses &&
|
158
|
-
opt_out == o.opt_out
|
157
|
+
opt_out == o.opt_out &&
|
158
|
+
created_at == o.created_at
|
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
|
-
[id, group_id,
|
170
|
+
[id, group_id, first_name, last_name, company, email_addresses, opt_out, created_at].hash
|
171
171
|
end
|
172
172
|
|
173
173
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
-
# Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the webhook's event is triggered. Webhooks are great for processing many inbound emails and responding to other events at scale.
|
16
|
+
# Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the webhook's event is triggered. Webhooks are great for processing many inbound emails and responding to other events at scale. Customize the payload sent to your endpoint by setting the `requestBodyTemplate` property to a string with moustache style variables. Property names from the standard payload model for the given event are available as variables.
|
17
17
|
class CreateWebhookOptions
|
18
18
|
# Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received or an event is trigger. The payload of the submitted JSON is dependent on the webhook event type. See docs.mailslurp.com/webhooks for event payload documentation.
|
19
19
|
attr_accessor :url
|
@@ -28,6 +28,9 @@ module MailSlurpClient
|
|
28
28
|
|
29
29
|
attr_accessor :include_headers
|
30
30
|
|
31
|
+
# Template for the JSON body of the webhook request that will be sent to your server. Use Moustache style `{{variableName}}` templating to use parts of the standard webhook payload for the given event.
|
32
|
+
attr_accessor :request_body_template
|
33
|
+
|
31
34
|
class EnumAttributeValidator
|
32
35
|
attr_reader :datatype
|
33
36
|
attr_reader :allowable_values
|
@@ -57,7 +60,8 @@ module MailSlurpClient
|
|
57
60
|
:'basic_auth' => :'basicAuth',
|
58
61
|
:'name' => :'name',
|
59
62
|
:'event_name' => :'eventName',
|
60
|
-
:'include_headers' => :'includeHeaders'
|
63
|
+
:'include_headers' => :'includeHeaders',
|
64
|
+
:'request_body_template' => :'requestBodyTemplate'
|
61
65
|
}
|
62
66
|
end
|
63
67
|
|
@@ -68,7 +72,8 @@ module MailSlurpClient
|
|
68
72
|
:'basic_auth' => :'BasicAuthOptions',
|
69
73
|
:'name' => :'String',
|
70
74
|
:'event_name' => :'String',
|
71
|
-
:'include_headers' => :'WebhookHeaders'
|
75
|
+
:'include_headers' => :'WebhookHeaders',
|
76
|
+
:'request_body_template' => :'String'
|
72
77
|
}
|
73
78
|
end
|
74
79
|
|
@@ -76,6 +81,7 @@ module MailSlurpClient
|
|
76
81
|
def self.openapi_nullable
|
77
82
|
Set.new([
|
78
83
|
:'basic_auth',
|
84
|
+
:'request_body_template'
|
79
85
|
])
|
80
86
|
end
|
81
87
|
|
@@ -113,6 +119,10 @@ module MailSlurpClient
|
|
113
119
|
if attributes.key?(:'include_headers')
|
114
120
|
self.include_headers = attributes[:'include_headers']
|
115
121
|
end
|
122
|
+
|
123
|
+
if attributes.key?(:'request_body_template')
|
124
|
+
self.request_body_template = attributes[:'request_body_template']
|
125
|
+
end
|
116
126
|
end
|
117
127
|
|
118
128
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -154,7 +164,8 @@ module MailSlurpClient
|
|
154
164
|
basic_auth == o.basic_auth &&
|
155
165
|
name == o.name &&
|
156
166
|
event_name == o.event_name &&
|
157
|
-
include_headers == o.include_headers
|
167
|
+
include_headers == o.include_headers &&
|
168
|
+
request_body_template == o.request_body_template
|
158
169
|
end
|
159
170
|
|
160
171
|
# @see the `==` method
|
@@ -166,7 +177,7 @@ module MailSlurpClient
|
|
166
177
|
# Calculates hash code according to all attributes.
|
167
178
|
# @return [Integer] Hash code
|
168
179
|
def hash
|
169
|
-
[url, basic_auth, name, event_name, include_headers].hash
|
180
|
+
[url, basic_auth, name, event_name, include_headers, request_body_template].hash
|
170
181
|
end
|
171
182
|
|
172
183
|
# Builds the object from hash
|
@@ -27,12 +27,12 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :to
|
29
29
|
|
30
|
+
attr_accessor :created_at
|
31
|
+
|
30
32
|
attr_accessor :bcc
|
31
33
|
|
32
34
|
attr_accessor :cc
|
33
35
|
|
34
|
-
attr_accessor :created_at
|
35
|
-
|
36
36
|
attr_accessor :domain_id
|
37
37
|
|
38
38
|
attr_accessor :read
|
@@ -52,9 +52,9 @@ module MailSlurpClient
|
|
52
52
|
:'inbox_id' => :'inboxId',
|
53
53
|
:'attachments' => :'attachments',
|
54
54
|
:'to' => :'to',
|
55
|
+
:'created_at' => :'createdAt',
|
55
56
|
:'bcc' => :'bcc',
|
56
57
|
:'cc' => :'cc',
|
57
|
-
:'created_at' => :'createdAt',
|
58
58
|
:'domain_id' => :'domainId',
|
59
59
|
:'read' => :'read',
|
60
60
|
:'team_access' => :'teamAccess',
|
@@ -72,9 +72,9 @@ module MailSlurpClient
|
|
72
72
|
:'inbox_id' => :'String',
|
73
73
|
:'attachments' => :'Array<String>',
|
74
74
|
:'to' => :'Array<String>',
|
75
|
+
:'created_at' => :'DateTime',
|
75
76
|
:'bcc' => :'Array<String>',
|
76
77
|
:'cc' => :'Array<String>',
|
77
|
-
:'created_at' => :'DateTime',
|
78
78
|
:'domain_id' => :'String',
|
79
79
|
:'read' => :'Boolean',
|
80
80
|
:'team_access' => :'Boolean',
|
@@ -132,6 +132,10 @@ module MailSlurpClient
|
|
132
132
|
end
|
133
133
|
end
|
134
134
|
|
135
|
+
if attributes.key?(:'created_at')
|
136
|
+
self.created_at = attributes[:'created_at']
|
137
|
+
end
|
138
|
+
|
135
139
|
if attributes.key?(:'bcc')
|
136
140
|
if (value = attributes[:'bcc']).is_a?(Array)
|
137
141
|
self.bcc = value
|
@@ -144,10 +148,6 @@ module MailSlurpClient
|
|
144
148
|
end
|
145
149
|
end
|
146
150
|
|
147
|
-
if attributes.key?(:'created_at')
|
148
|
-
self.created_at = attributes[:'created_at']
|
149
|
-
end
|
150
|
-
|
151
151
|
if attributes.key?(:'domain_id')
|
152
152
|
self.domain_id = attributes[:'domain_id']
|
153
153
|
end
|
@@ -223,9 +223,9 @@ module MailSlurpClient
|
|
223
223
|
inbox_id == o.inbox_id &&
|
224
224
|
attachments == o.attachments &&
|
225
225
|
to == o.to &&
|
226
|
+
created_at == o.created_at &&
|
226
227
|
bcc == o.bcc &&
|
227
228
|
cc == o.cc &&
|
228
|
-
created_at == o.created_at &&
|
229
229
|
domain_id == o.domain_id &&
|
230
230
|
read == o.read &&
|
231
231
|
team_access == o.team_access &&
|
@@ -242,7 +242,7 @@ module MailSlurpClient
|
|
242
242
|
# Calculates hash code according to all attributes.
|
243
243
|
# @return [Integer] Hash code
|
244
244
|
def hash
|
245
|
-
[id, from, subject, inbox_id, attachments, to, bcc, cc,
|
245
|
+
[id, from, subject, inbox_id, attachments, to, created_at, bcc, cc, domain_id, read, team_access, body_md5_hash, body_excerpt].hash
|
246
246
|
end
|
247
247
|
|
248
248
|
# 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
|