mailslurp_client 15.17.0 → 15.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
  3. data/lib/mailslurp_client/models/create_webhook_options.rb +14 -1
  4. data/lib/mailslurp_client/models/email_projection.rb +10 -10
  5. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +23 -1
  6. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  7. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  8. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  9. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  10. data/lib/mailslurp_client/models/page_complaint.rb +19 -19
  11. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  12. data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
  13. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  14. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  15. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  16. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  17. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  18. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  19. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +19 -19
  20. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  21. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +19 -19
  22. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +19 -19
  23. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  24. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +19 -19
  25. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  26. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  27. data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
  28. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
  29. data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  31. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  33. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  34. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  35. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  36. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  37. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  38. data/lib/mailslurp_client/models/webhook_dto.rb +16 -5
  39. data/lib/mailslurp_client/version.rb +1 -1
  40. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 689a4b6259b23936d710609495553961a7575f8ff937b4479e5b8558ad938e7e
4
- data.tar.gz: c0085338d5181e0f5cac26b9dbdd740ee224238e95314eb05ac0f3eec37d019f
3
+ metadata.gz: 02f0fdd0f3b854bd93178c761c0425ad685d1f4ceea10206b564be259e4478af
4
+ data.tar.gz: b427d575711ab031b0f1f90268aa727e14dca8159e1e752e15b29f87a2726713
5
5
  SHA512:
6
- metadata.gz: d51df1c80f7c09a98cbece13f04586acabe94ab362d827afc202d3730c897110c009e153f880e8068c006687375cbd91ba60427ce270444adde2b751f90b2942
7
- data.tar.gz: 319f31dfe478092592c37399b966d02b4026c2679bb82847a2190dbf09e72d34ac7bd263823af8f0af566385c1f6d35f3a464ba98780d8ebdc5a4510c859aca4
6
+ metadata.gz: 2c91696d6102b43fe366158210718c084707e572036ab083844b01d28a0ccc65f4af8fdafa1d8e8eb4f4a5fb3c64441d1adeaf696134a29c6dcdab984eb03120
7
+ data.tar.gz: c9253590e01175e7178fe73dc1ebb1161373d5998a41ed3a884f51782c6407b06f08f41b5789222a741c63dcbf2d82cc05dc72a7b196fdbb3cc45be2f2cbbc77
@@ -20,6 +20,9 @@ module MailSlurpClient
20
20
  # Content length of attachment in bytes
21
21
  attr_accessor :content_length
22
22
 
23
+ # Content type of attachment.
24
+ attr_accessor :content_type
25
+
23
26
  attr_accessor :user_id
24
27
 
25
28
  attr_accessor :created_at
@@ -29,19 +32,16 @@ module MailSlurpClient
29
32
  # Attachment ID
30
33
  attr_accessor :attachment_id
31
34
 
32
- # Content type of attachment.
33
- attr_accessor :content_type
34
-
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
36
36
  def self.attribute_map
37
37
  {
38
38
  :'name' => :'name',
39
39
  :'content_length' => :'contentLength',
40
+ :'content_type' => :'contentType',
40
41
  :'user_id' => :'userId',
41
42
  :'created_at' => :'createdAt',
42
43
  :'updated_at' => :'updatedAt',
43
- :'attachment_id' => :'attachmentId',
44
- :'content_type' => :'contentType'
44
+ :'attachment_id' => :'attachmentId'
45
45
  }
46
46
  end
47
47
 
@@ -50,11 +50,11 @@ module MailSlurpClient
50
50
  {
51
51
  :'name' => :'String',
52
52
  :'content_length' => :'Integer',
53
+ :'content_type' => :'String',
53
54
  :'user_id' => :'String',
54
55
  :'created_at' => :'DateTime',
55
56
  :'updated_at' => :'DateTime',
56
- :'attachment_id' => :'String',
57
- :'content_type' => :'String'
57
+ :'attachment_id' => :'String'
58
58
  }
59
59
  end
60
60
 
@@ -63,7 +63,7 @@ module MailSlurpClient
63
63
  Set.new([
64
64
  :'name',
65
65
  :'content_length',
66
- :'content_type'
66
+ :'content_type',
67
67
  ])
68
68
  end
69
69
 
@@ -90,6 +90,10 @@ module MailSlurpClient
90
90
  self.content_length = attributes[:'content_length']
91
91
  end
92
92
 
93
+ if attributes.key?(:'content_type')
94
+ self.content_type = attributes[:'content_type']
95
+ end
96
+
93
97
  if attributes.key?(:'user_id')
94
98
  self.user_id = attributes[:'user_id']
95
99
  end
@@ -105,10 +109,6 @@ module MailSlurpClient
105
109
  if attributes.key?(:'attachment_id')
106
110
  self.attachment_id = attributes[:'attachment_id']
107
111
  end
108
-
109
- if attributes.key?(:'content_type')
110
- self.content_type = attributes[:'content_type']
111
- end
112
112
  end
113
113
 
114
114
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -151,11 +151,11 @@ module MailSlurpClient
151
151
  self.class == o.class &&
152
152
  name == o.name &&
153
153
  content_length == o.content_length &&
154
+ content_type == o.content_type &&
154
155
  user_id == o.user_id &&
155
156
  created_at == o.created_at &&
156
157
  updated_at == o.updated_at &&
157
- attachment_id == o.attachment_id &&
158
- content_type == o.content_type
158
+ attachment_id == o.attachment_id
159
159
  end
160
160
 
161
161
  # @see the `==` method
@@ -167,7 +167,7 @@ module MailSlurpClient
167
167
  # Calculates hash code according to all attributes.
168
168
  # @return [Integer] Hash code
169
169
  def hash
170
- [name, content_length, user_id, created_at, updated_at, attachment_id, content_type].hash
170
+ [name, content_length, content_type, user_id, created_at, updated_at, attachment_id].hash
171
171
  end
172
172
 
173
173
  # Builds the object from hash
@@ -31,6 +31,9 @@ module MailSlurpClient
31
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
32
  attr_accessor :request_body_template
33
33
 
34
+ # Use static IP range when calling webhook endpoint
35
+ attr_accessor :use_static_ip_range
36
+
34
37
  # Ignore insecure SSL certificates when sending request. Useful for self-signed certs.
35
38
  attr_accessor :ignore_insecure_ssl_certificates
36
39
 
@@ -65,6 +68,7 @@ module MailSlurpClient
65
68
  :'event_name' => :'eventName',
66
69
  :'include_headers' => :'includeHeaders',
67
70
  :'request_body_template' => :'requestBodyTemplate',
71
+ :'use_static_ip_range' => :'useStaticIpRange',
68
72
  :'ignore_insecure_ssl_certificates' => :'ignoreInsecureSslCertificates'
69
73
  }
70
74
  end
@@ -78,6 +82,7 @@ module MailSlurpClient
78
82
  :'event_name' => :'String',
79
83
  :'include_headers' => :'WebhookHeaders',
80
84
  :'request_body_template' => :'String',
85
+ :'use_static_ip_range' => :'Boolean',
81
86
  :'ignore_insecure_ssl_certificates' => :'Boolean'
82
87
  }
83
88
  end
@@ -89,6 +94,7 @@ module MailSlurpClient
89
94
  :'name',
90
95
  :'event_name',
91
96
  :'request_body_template',
97
+ :'use_static_ip_range',
92
98
  :'ignore_insecure_ssl_certificates'
93
99
  ])
94
100
  end
@@ -132,6 +138,12 @@ module MailSlurpClient
132
138
  self.request_body_template = attributes[:'request_body_template']
133
139
  end
134
140
 
141
+ if attributes.key?(:'use_static_ip_range')
142
+ self.use_static_ip_range = attributes[:'use_static_ip_range']
143
+ else
144
+ self.use_static_ip_range = false
145
+ end
146
+
135
147
  if attributes.key?(:'ignore_insecure_ssl_certificates')
136
148
  self.ignore_insecure_ssl_certificates = attributes[:'ignore_insecure_ssl_certificates']
137
149
  end
@@ -178,6 +190,7 @@ module MailSlurpClient
178
190
  event_name == o.event_name &&
179
191
  include_headers == o.include_headers &&
180
192
  request_body_template == o.request_body_template &&
193
+ use_static_ip_range == o.use_static_ip_range &&
181
194
  ignore_insecure_ssl_certificates == o.ignore_insecure_ssl_certificates
182
195
  end
183
196
 
@@ -190,7 +203,7 @@ module MailSlurpClient
190
203
  # Calculates hash code according to all attributes.
191
204
  # @return [Integer] Hash code
192
205
  def hash
193
- [url, basic_auth, name, event_name, include_headers, request_body_template, ignore_insecure_ssl_certificates].hash
206
+ [url, basic_auth, name, event_name, include_headers, request_body_template, use_static_ip_range, ignore_insecure_ssl_certificates].hash
194
207
  end
195
208
 
196
209
  # 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 :created_at
29
29
 
30
30
  attr_accessor :to
@@ -49,8 +49,8 @@ module MailSlurpClient
49
49
  :'id' => :'id',
50
50
  :'from' => :'from',
51
51
  :'subject' => :'subject',
52
- :'attachments' => :'attachments',
53
52
  :'inbox_id' => :'inboxId',
53
+ :'attachments' => :'attachments',
54
54
  :'created_at' => :'createdAt',
55
55
  :'to' => :'to',
56
56
  :'bcc' => :'bcc',
@@ -69,8 +69,8 @@ module MailSlurpClient
69
69
  :'id' => :'String',
70
70
  :'from' => :'String',
71
71
  :'subject' => :'String',
72
- :'attachments' => :'Array<String>',
73
72
  :'inbox_id' => :'String',
73
+ :'attachments' => :'Array<String>',
74
74
  :'created_at' => :'DateTime',
75
75
  :'to' => :'Array<String>',
76
76
  :'bcc' => :'Array<String>',
@@ -124,16 +124,16 @@ module MailSlurpClient
124
124
  self.subject = attributes[:'subject']
125
125
  end
126
126
 
127
+ if attributes.key?(:'inbox_id')
128
+ self.inbox_id = attributes[:'inbox_id']
129
+ end
130
+
127
131
  if attributes.key?(:'attachments')
128
132
  if (value = attributes[:'attachments']).is_a?(Array)
129
133
  self.attachments = value
130
134
  end
131
135
  end
132
136
 
133
- if attributes.key?(:'inbox_id')
134
- self.inbox_id = attributes[:'inbox_id']
135
- end
136
-
137
137
  if attributes.key?(:'created_at')
138
138
  self.created_at = attributes[:'created_at']
139
139
  end
@@ -228,8 +228,8 @@ module MailSlurpClient
228
228
  id == o.id &&
229
229
  from == o.from &&
230
230
  subject == o.subject &&
231
- attachments == o.attachments &&
232
231
  inbox_id == o.inbox_id &&
232
+ attachments == o.attachments &&
233
233
  created_at == o.created_at &&
234
234
  to == o.to &&
235
235
  bcc == o.bcc &&
@@ -250,7 +250,7 @@ module MailSlurpClient
250
250
  # Calculates hash code according to all attributes.
251
251
  # @return [Integer] Hash code
252
252
  def hash
253
- [id, from, subject, attachments, inbox_id, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
253
+ [id, from, subject, inbox_id, attachments, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
254
254
  end
255
255
 
256
256
  # Builds the object from hash
@@ -21,6 +21,8 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :status
23
23
 
24
+ attr_accessor :recipients
25
+
24
26
  attr_accessor :user_id
25
27
 
26
28
  attr_accessor :email_id
@@ -29,6 +31,8 @@ module MailSlurpClient
29
31
 
30
32
  attr_accessor :created_at
31
33
 
34
+ attr_accessor :sent_id
35
+
32
36
  attr_accessor :replier_id
33
37
 
34
38
  class EnumAttributeValidator
@@ -59,10 +63,12 @@ module MailSlurpClient
59
63
  :'message' => :'message',
60
64
  :'id' => :'id',
61
65
  :'status' => :'status',
66
+ :'recipients' => :'recipients',
62
67
  :'user_id' => :'userId',
63
68
  :'email_id' => :'emailId',
64
69
  :'inbox_id' => :'inboxId',
65
70
  :'created_at' => :'createdAt',
71
+ :'sent_id' => :'sentId',
66
72
  :'replier_id' => :'replierId'
67
73
  }
68
74
  end
@@ -73,10 +79,12 @@ module MailSlurpClient
73
79
  :'message' => :'String',
74
80
  :'id' => :'String',
75
81
  :'status' => :'String',
82
+ :'recipients' => :'Array<String>',
76
83
  :'user_id' => :'String',
77
84
  :'email_id' => :'String',
78
85
  :'inbox_id' => :'String',
79
86
  :'created_at' => :'DateTime',
87
+ :'sent_id' => :'String',
80
88
  :'replier_id' => :'String'
81
89
  }
82
90
  end
@@ -87,9 +95,11 @@ module MailSlurpClient
87
95
  :'message',
88
96
  :'id',
89
97
  :'status',
98
+ :'recipients',
90
99
  :'user_id',
91
100
  :'email_id',
92
101
  :'inbox_id',
102
+ :'sent_id',
93
103
  :'replier_id'
94
104
  ])
95
105
  end
@@ -121,6 +131,12 @@ module MailSlurpClient
121
131
  self.status = attributes[:'status']
122
132
  end
123
133
 
134
+ if attributes.key?(:'recipients')
135
+ if (value = attributes[:'recipients']).is_a?(Array)
136
+ self.recipients = value
137
+ end
138
+ end
139
+
124
140
  if attributes.key?(:'user_id')
125
141
  self.user_id = attributes[:'user_id']
126
142
  end
@@ -137,6 +153,10 @@ module MailSlurpClient
137
153
  self.created_at = attributes[:'created_at']
138
154
  end
139
155
 
156
+ if attributes.key?(:'sent_id')
157
+ self.sent_id = attributes[:'sent_id']
158
+ end
159
+
140
160
  if attributes.key?(:'replier_id')
141
161
  self.replier_id = attributes[:'replier_id']
142
162
  end
@@ -180,10 +200,12 @@ module MailSlurpClient
180
200
  message == o.message &&
181
201
  id == o.id &&
182
202
  status == o.status &&
203
+ recipients == o.recipients &&
183
204
  user_id == o.user_id &&
184
205
  email_id == o.email_id &&
185
206
  inbox_id == o.inbox_id &&
186
207
  created_at == o.created_at &&
208
+ sent_id == o.sent_id &&
187
209
  replier_id == o.replier_id
188
210
  end
189
211
 
@@ -196,7 +218,7 @@ module MailSlurpClient
196
218
  # Calculates hash code according to all attributes.
197
219
  # @return [Integer] Hash code
198
220
  def hash
199
- [message, id, status, user_id, email_id, inbox_id, created_at, replier_id].hash
221
+ [message, id, status, recipients, user_id, email_id, inbox_id, created_at, sent_id, replier_id].hash
200
222
  end
201
223
 
202
224
  # 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, last, size, number, sort, number_of_elements, first, empty].hash
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, last, size, number, sort, number_of_elements, first, empty].hash
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