mailslurp_client 15.17.4 → 15.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -13
  3. data/lib/mailslurp_client/api/domain_controller_api.rb +59 -0
  4. data/lib/mailslurp_client/api/phone_controller_api.rb +1 -1
  5. data/lib/mailslurp_client/models/attachment_projection.rb +30 -30
  6. data/lib/mailslurp_client/models/create_emergency_address_options.rb +2 -2
  7. data/lib/mailslurp_client/models/domain_dto.rb +27 -1
  8. data/lib/mailslurp_client/models/domain_issues_dto.rb +211 -0
  9. data/lib/mailslurp_client/models/domain_preview.rb +18 -4
  10. data/lib/mailslurp_client/models/email_projection.rb +10 -10
  11. data/lib/mailslurp_client/models/emergency_address.rb +2 -2
  12. data/lib/mailslurp_client/models/emergency_address_dto.rb +2 -2
  13. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +11 -11
  14. data/lib/mailslurp_client/models/missed_email_projection.rb +11 -11
  15. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  16. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  17. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  18. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  19. data/lib/mailslurp_client/models/page_complaint.rb +19 -19
  20. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  21. data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
  22. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  23. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  24. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  25. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  26. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  27. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  28. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +19 -19
  29. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +19 -19
  31. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +19 -19
  32. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  33. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +19 -19
  34. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  35. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  36. data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
  37. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
  38. data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
  39. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  40. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  41. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  42. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  43. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  44. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  45. data/lib/mailslurp_client/models/phone_number_dto.rb +2 -2
  46. data/lib/mailslurp_client/models/phone_number_projection.rb +21 -21
  47. data/lib/mailslurp_client/models/phone_plan_dto.rb +2 -2
  48. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  49. data/lib/mailslurp_client/models/thread_projection.rb +11 -11
  50. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  51. data/lib/mailslurp_client/version.rb +1 -1
  52. data/lib/mailslurp_client.rb +1 -0
  53. metadata +3 -2
@@ -28,6 +28,8 @@ module MailSlurpClient
28
28
 
29
29
  attr_accessor :is_verified
30
30
 
31
+ attr_accessor :has_missing_records
32
+
31
33
  class EnumAttributeValidator
32
34
  attr_reader :datatype
33
35
  attr_reader :allowable_values
@@ -58,7 +60,8 @@ module MailSlurpClient
58
60
  :'catch_all_inbox_id' => :'catchAllInboxId',
59
61
  :'created_at' => :'createdAt',
60
62
  :'domain_type' => :'domainType',
61
- :'is_verified' => :'isVerified'
63
+ :'is_verified' => :'isVerified',
64
+ :'has_missing_records' => :'hasMissingRecords'
62
65
  }
63
66
  end
64
67
 
@@ -70,7 +73,8 @@ module MailSlurpClient
70
73
  :'catch_all_inbox_id' => :'String',
71
74
  :'created_at' => :'DateTime',
72
75
  :'domain_type' => :'String',
73
- :'is_verified' => :'Boolean'
76
+ :'is_verified' => :'Boolean',
77
+ :'has_missing_records' => :'Boolean'
74
78
  }
75
79
  end
76
80
 
@@ -119,6 +123,10 @@ module MailSlurpClient
119
123
  if attributes.key?(:'is_verified')
120
124
  self.is_verified = attributes[:'is_verified']
121
125
  end
126
+
127
+ if attributes.key?(:'has_missing_records')
128
+ self.has_missing_records = attributes[:'has_missing_records']
129
+ end
122
130
  end
123
131
 
124
132
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -145,6 +153,10 @@ module MailSlurpClient
145
153
  invalid_properties.push('invalid value for "is_verified", is_verified cannot be nil.')
146
154
  end
147
155
 
156
+ if @has_missing_records.nil?
157
+ invalid_properties.push('invalid value for "has_missing_records", has_missing_records cannot be nil.')
158
+ end
159
+
148
160
  invalid_properties
149
161
  end
150
162
 
@@ -158,6 +170,7 @@ module MailSlurpClient
158
170
  domain_type_validator = EnumAttributeValidator.new('String', ["HTTP_INBOX", "SMTP_DOMAIN"])
159
171
  return false unless domain_type_validator.valid?(@domain_type)
160
172
  return false if @is_verified.nil?
173
+ return false if @has_missing_records.nil?
161
174
  true
162
175
  end
163
176
 
@@ -181,7 +194,8 @@ module MailSlurpClient
181
194
  catch_all_inbox_id == o.catch_all_inbox_id &&
182
195
  created_at == o.created_at &&
183
196
  domain_type == o.domain_type &&
184
- is_verified == o.is_verified
197
+ is_verified == o.is_verified &&
198
+ has_missing_records == o.has_missing_records
185
199
  end
186
200
 
187
201
  # @see the `==` method
@@ -193,7 +207,7 @@ module MailSlurpClient
193
207
  # Calculates hash code according to all attributes.
194
208
  # @return [Integer] Hash code
195
209
  def hash
196
- [id, domain, catch_all_inbox_id, created_at, domain_type, is_verified].hash
210
+ [id, domain, catch_all_inbox_id, created_at, domain_type, is_verified, has_missing_records].hash
197
211
  end
198
212
 
199
213
  # 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
@@ -241,7 +241,7 @@ module MailSlurpClient
241
241
  return false if @region.nil?
242
242
  return false if @postal_code.nil?
243
243
  return false if @phone_country.nil?
244
- phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
244
+ phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
245
245
  return false unless phone_country_validator.valid?(@phone_country)
246
246
  return false if @account_sid.nil?
247
247
  return false if @created_at.nil?
@@ -252,7 +252,7 @@ module MailSlurpClient
252
252
  # Custom attribute writer method checking allowed values (enum).
253
253
  # @param [Object] phone_country Object to be assigned
254
254
  def phone_country=(phone_country)
255
- validator = EnumAttributeValidator.new('String', ["US", "GB"])
255
+ validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
256
256
  unless validator.valid?(phone_country)
257
257
  fail ArgumentError, "invalid value for \"phone_country\", must be one of #{validator.allowable_values}."
258
258
  end
@@ -119,7 +119,7 @@ module MailSlurpClient
119
119
  return false if @id.nil?
120
120
  return false if @address1.nil?
121
121
  return false if @phone_country.nil?
122
- phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
122
+ phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
123
123
  return false unless phone_country_validator.valid?(@phone_country)
124
124
  true
125
125
  end
@@ -127,7 +127,7 @@ module MailSlurpClient
127
127
  # Custom attribute writer method checking allowed values (enum).
128
128
  # @param [Object] phone_country Object to be assigned
129
129
  def phone_country=(phone_country)
130
- validator = EnumAttributeValidator.new('String', ["US", "GB"])
130
+ validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
131
131
  unless validator.valid?(phone_country)
132
132
  fail ArgumentError, "invalid value for \"phone_country\", must be one of #{validator.allowable_values}."
133
133
  end
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :status
23
23
 
24
- attr_accessor :recipients
25
-
26
24
  attr_accessor :user_id
27
25
 
26
+ attr_accessor :recipients
27
+
28
28
  attr_accessor :email_id
29
29
 
30
30
  attr_accessor :inbox_id
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'message' => :'message',
64
64
  :'id' => :'id',
65
65
  :'status' => :'status',
66
- :'recipients' => :'recipients',
67
66
  :'user_id' => :'userId',
67
+ :'recipients' => :'recipients',
68
68
  :'email_id' => :'emailId',
69
69
  :'inbox_id' => :'inboxId',
70
70
  :'created_at' => :'createdAt',
@@ -79,8 +79,8 @@ module MailSlurpClient
79
79
  :'message' => :'String',
80
80
  :'id' => :'String',
81
81
  :'status' => :'String',
82
- :'recipients' => :'Array<String>',
83
82
  :'user_id' => :'String',
83
+ :'recipients' => :'Array<String>',
84
84
  :'email_id' => :'String',
85
85
  :'inbox_id' => :'String',
86
86
  :'created_at' => :'DateTime',
@@ -95,8 +95,8 @@ module MailSlurpClient
95
95
  :'message',
96
96
  :'id',
97
97
  :'status',
98
- :'recipients',
99
98
  :'user_id',
99
+ :'recipients',
100
100
  :'email_id',
101
101
  :'inbox_id',
102
102
  :'sent_id',
@@ -131,16 +131,16 @@ module MailSlurpClient
131
131
  self.status = attributes[:'status']
132
132
  end
133
133
 
134
+ if attributes.key?(:'user_id')
135
+ self.user_id = attributes[:'user_id']
136
+ end
137
+
134
138
  if attributes.key?(:'recipients')
135
139
  if (value = attributes[:'recipients']).is_a?(Array)
136
140
  self.recipients = value
137
141
  end
138
142
  end
139
143
 
140
- if attributes.key?(:'user_id')
141
- self.user_id = attributes[:'user_id']
142
- end
143
-
144
144
  if attributes.key?(:'email_id')
145
145
  self.email_id = attributes[:'email_id']
146
146
  end
@@ -200,8 +200,8 @@ module MailSlurpClient
200
200
  message == o.message &&
201
201
  id == o.id &&
202
202
  status == o.status &&
203
- recipients == o.recipients &&
204
203
  user_id == o.user_id &&
204
+ recipients == o.recipients &&
205
205
  email_id == o.email_id &&
206
206
  inbox_id == o.inbox_id &&
207
207
  created_at == o.created_at &&
@@ -218,7 +218,7 @@ module MailSlurpClient
218
218
  # Calculates hash code according to all attributes.
219
219
  # @return [Integer] Hash code
220
220
  def hash
221
- [message, id, status, recipients, user_id, email_id, inbox_id, created_at, sent_id, replier_id].hash
221
+ [message, id, status, user_id, recipients, email_id, inbox_id, created_at, sent_id, replier_id].hash
222
222
  end
223
223
 
224
224
  # Builds the object from hash
@@ -19,10 +19,10 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :from
21
21
 
22
- attr_accessor :subject
23
-
24
22
  attr_accessor :user_id
25
23
 
24
+ attr_accessor :subject
25
+
26
26
  attr_accessor :created_at
27
27
 
28
28
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -30,8 +30,8 @@ module MailSlurpClient
30
30
  {
31
31
  :'id' => :'id',
32
32
  :'from' => :'from',
33
- :'subject' => :'subject',
34
33
  :'user_id' => :'userId',
34
+ :'subject' => :'subject',
35
35
  :'created_at' => :'createdAt'
36
36
  }
37
37
  end
@@ -41,8 +41,8 @@ module MailSlurpClient
41
41
  {
42
42
  :'id' => :'String',
43
43
  :'from' => :'String',
44
- :'subject' => :'String',
45
44
  :'user_id' => :'String',
45
+ :'subject' => :'String',
46
46
  :'created_at' => :'DateTime'
47
47
  }
48
48
  end
@@ -51,8 +51,8 @@ module MailSlurpClient
51
51
  def self.openapi_nullable
52
52
  Set.new([
53
53
  :'from',
54
- :'subject',
55
54
  :'user_id',
55
+ :'subject',
56
56
  ])
57
57
  end
58
58
 
@@ -79,14 +79,14 @@ module MailSlurpClient
79
79
  self.from = attributes[:'from']
80
80
  end
81
81
 
82
- if attributes.key?(:'subject')
83
- self.subject = attributes[:'subject']
84
- end
85
-
86
82
  if attributes.key?(:'user_id')
87
83
  self.user_id = attributes[:'user_id']
88
84
  end
89
85
 
86
+ if attributes.key?(:'subject')
87
+ self.subject = attributes[:'subject']
88
+ end
89
+
90
90
  if attributes.key?(:'created_at')
91
91
  self.created_at = attributes[:'created_at']
92
92
  end
@@ -122,8 +122,8 @@ module MailSlurpClient
122
122
  self.class == o.class &&
123
123
  id == o.id &&
124
124
  from == o.from &&
125
- subject == o.subject &&
126
125
  user_id == o.user_id &&
126
+ subject == o.subject &&
127
127
  created_at == o.created_at
128
128
  end
129
129
 
@@ -136,7 +136,7 @@ module MailSlurpClient
136
136
  # Calculates hash code according to all attributes.
137
137
  # @return [Integer] Hash code
138
138
  def hash
139
- [id, from, subject, user_id, created_at].hash
139
+ [id, from, user_id, subject, created_at].hash
140
140
  end
141
141
 
142
142
  # 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, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
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, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
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