mailslurp_client 15.12.17 → 15.13.2

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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/phone_controller_api.rb +74 -0
  3. data/lib/mailslurp_client/api/sms_controller_api.rb +3 -3
  4. data/lib/mailslurp_client/api/wait_for_controller_api.rb +64 -0
  5. data/lib/mailslurp_client/api/webhook_controller_api.rb +70 -0
  6. data/lib/mailslurp_client/models/alias_projection.rb +15 -15
  7. data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
  8. data/lib/mailslurp_client/models/bounce_projection.rb +13 -13
  9. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +13 -13
  10. data/lib/mailslurp_client/models/contact_projection.rb +13 -13
  11. data/lib/mailslurp_client/models/email_projection.rb +39 -39
  12. data/lib/mailslurp_client/models/page_alias.rb +22 -22
  13. data/lib/mailslurp_client/models/page_attachment_entity.rb +22 -22
  14. data/lib/mailslurp_client/models/page_bounced_email.rb +22 -22
  15. data/lib/mailslurp_client/models/page_bounced_recipients.rb +22 -22
  16. data/lib/mailslurp_client/models/page_complaint.rb +22 -22
  17. data/lib/mailslurp_client/models/page_contact_projection.rb +22 -22
  18. data/lib/mailslurp_client/models/page_delivery_status.rb +22 -22
  19. data/lib/mailslurp_client/models/page_email_preview.rb +22 -22
  20. data/lib/mailslurp_client/models/page_email_projection.rb +22 -22
  21. data/lib/mailslurp_client/models/page_email_validation_request.rb +22 -22
  22. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +22 -22
  23. data/lib/mailslurp_client/models/page_group_projection.rb +22 -22
  24. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +22 -22
  25. data/lib/mailslurp_client/models/page_inbox_projection.rb +22 -22
  26. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +22 -22
  27. data/lib/mailslurp_client/models/page_missed_email_projection.rb +22 -22
  28. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +22 -22
  29. data/lib/mailslurp_client/models/page_phone_number_projection.rb +22 -22
  30. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  31. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
  32. data/lib/mailslurp_client/models/page_sms_projection.rb +22 -22
  33. data/lib/mailslurp_client/models/page_template_projection.rb +22 -22
  34. data/lib/mailslurp_client/models/page_thread_projection.rb +22 -22
  35. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +22 -22
  36. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +22 -22
  37. data/lib/mailslurp_client/models/page_webhook_projection.rb +22 -22
  38. data/lib/mailslurp_client/models/page_webhook_result.rb +22 -22
  39. data/lib/mailslurp_client/models/sent_email_projection.rb +56 -56
  40. data/lib/mailslurp_client/models/{sms_message.rb → sms_dto.rb} +9 -18
  41. data/lib/mailslurp_client/models/sms_preview.rb +15 -1
  42. data/lib/mailslurp_client/models/sms_projection.rb +32 -18
  43. data/lib/mailslurp_client/models/sort.rb +13 -13
  44. data/lib/mailslurp_client/models/test_phone_number_options.rb +211 -0
  45. data/lib/mailslurp_client/models/thread_projection.rb +16 -16
  46. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +19 -19
  47. data/lib/mailslurp_client/models/wait_for_single_sms_options.rb +304 -0
  48. data/lib/mailslurp_client/version.rb +1 -1
  49. data/lib/mailslurp_client.rb +3 -1
  50. metadata +5 -3
@@ -21,8 +21,6 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :created_at
23
23
 
24
- attr_accessor :first_name
25
-
26
24
  attr_accessor :last_name
27
25
 
28
26
  attr_accessor :company
@@ -31,17 +29,19 @@ module MailSlurpClient
31
29
 
32
30
  attr_accessor :opt_out
33
31
 
32
+ attr_accessor :first_name
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
39
  :'created_at' => :'createdAt',
40
- :'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
+ :'first_name' => :'firstName'
45
45
  }
46
46
  end
47
47
 
@@ -51,11 +51,11 @@ module MailSlurpClient
51
51
  :'id' => :'String',
52
52
  :'group_id' => :'String',
53
53
  :'created_at' => :'DateTime',
54
- :'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
+ :'first_name' => :'String'
59
59
  }
60
60
  end
61
61
 
@@ -92,10 +92,6 @@ module MailSlurpClient
92
92
  self.created_at = attributes[:'created_at']
93
93
  end
94
94
 
95
- if attributes.key?(:'first_name')
96
- self.first_name = attributes[:'first_name']
97
- end
98
-
99
95
  if attributes.key?(:'last_name')
100
96
  self.last_name = attributes[:'last_name']
101
97
  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?(:'first_name')
114
+ self.first_name = attributes[:'first_name']
115
+ end
116
116
  end
117
117
 
118
118
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -151,11 +151,11 @@ module MailSlurpClient
151
151
  id == o.id &&
152
152
  group_id == o.group_id &&
153
153
  created_at == o.created_at &&
154
- 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
+ first_name == o.first_name
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, created_at, first_name, last_name, company, email_addresses, opt_out].hash
170
+ [id, group_id, created_at, last_name, company, email_addresses, opt_out, first_name].hash
171
171
  end
172
172
 
173
173
  # Builds the object from hash
@@ -21,13 +21,9 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :subject
23
23
 
24
- attr_accessor :inbox_id
25
-
26
24
  attr_accessor :attachments
27
25
 
28
- attr_accessor :body_md5_hash
29
-
30
- attr_accessor :body_excerpt
26
+ attr_accessor :inbox_id
31
27
 
32
28
  attr_accessor :to
33
29
 
@@ -39,27 +35,31 @@ module MailSlurpClient
39
35
 
40
36
  attr_accessor :domain_id
41
37
 
42
- attr_accessor :team_access
38
+ attr_accessor :body_md5_hash
39
+
40
+ attr_accessor :body_excerpt
43
41
 
44
42
  attr_accessor :read
45
43
 
44
+ attr_accessor :team_access
45
+
46
46
  # Attribute mapping from ruby-style variable name to JSON key.
47
47
  def self.attribute_map
48
48
  {
49
49
  :'id' => :'id',
50
50
  :'from' => :'from',
51
51
  :'subject' => :'subject',
52
- :'inbox_id' => :'inboxId',
53
52
  :'attachments' => :'attachments',
54
- :'body_md5_hash' => :'bodyMD5Hash',
55
- :'body_excerpt' => :'bodyExcerpt',
53
+ :'inbox_id' => :'inboxId',
56
54
  :'to' => :'to',
57
55
  :'created_at' => :'createdAt',
58
56
  :'bcc' => :'bcc',
59
57
  :'cc' => :'cc',
60
58
  :'domain_id' => :'domainId',
61
- :'team_access' => :'teamAccess',
62
- :'read' => :'read'
59
+ :'body_md5_hash' => :'bodyMD5Hash',
60
+ :'body_excerpt' => :'bodyExcerpt',
61
+ :'read' => :'read',
62
+ :'team_access' => :'teamAccess'
63
63
  }
64
64
  end
65
65
 
@@ -69,17 +69,17 @@ module MailSlurpClient
69
69
  :'id' => :'String',
70
70
  :'from' => :'String',
71
71
  :'subject' => :'String',
72
- :'inbox_id' => :'String',
73
72
  :'attachments' => :'Array<String>',
74
- :'body_md5_hash' => :'String',
75
- :'body_excerpt' => :'String',
73
+ :'inbox_id' => :'String',
76
74
  :'to' => :'Array<String>',
77
75
  :'created_at' => :'DateTime',
78
76
  :'bcc' => :'Array<String>',
79
77
  :'cc' => :'Array<String>',
80
78
  :'domain_id' => :'String',
81
- :'team_access' => :'Boolean',
82
- :'read' => :'Boolean'
79
+ :'body_md5_hash' => :'String',
80
+ :'body_excerpt' => :'String',
81
+ :'read' => :'Boolean',
82
+ :'team_access' => :'Boolean'
83
83
  }
84
84
  end
85
85
 
@@ -116,22 +116,14 @@ module MailSlurpClient
116
116
  self.subject = attributes[:'subject']
117
117
  end
118
118
 
119
- if attributes.key?(:'inbox_id')
120
- self.inbox_id = attributes[:'inbox_id']
121
- end
122
-
123
119
  if attributes.key?(:'attachments')
124
120
  if (value = attributes[:'attachments']).is_a?(Array)
125
121
  self.attachments = value
126
122
  end
127
123
  end
128
124
 
129
- if attributes.key?(:'body_md5_hash')
130
- self.body_md5_hash = attributes[:'body_md5_hash']
131
- end
132
-
133
- if attributes.key?(:'body_excerpt')
134
- self.body_excerpt = attributes[:'body_excerpt']
125
+ if attributes.key?(:'inbox_id')
126
+ self.inbox_id = attributes[:'inbox_id']
135
127
  end
136
128
 
137
129
  if attributes.key?(:'to')
@@ -160,13 +152,21 @@ module MailSlurpClient
160
152
  self.domain_id = attributes[:'domain_id']
161
153
  end
162
154
 
163
- if attributes.key?(:'team_access')
164
- self.team_access = attributes[:'team_access']
155
+ if attributes.key?(:'body_md5_hash')
156
+ self.body_md5_hash = attributes[:'body_md5_hash']
157
+ end
158
+
159
+ if attributes.key?(:'body_excerpt')
160
+ self.body_excerpt = attributes[:'body_excerpt']
165
161
  end
166
162
 
167
163
  if attributes.key?(:'read')
168
164
  self.read = attributes[:'read']
169
165
  end
166
+
167
+ if attributes.key?(:'team_access')
168
+ self.team_access = attributes[:'team_access']
169
+ end
170
170
  end
171
171
 
172
172
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -189,14 +189,14 @@ module MailSlurpClient
189
189
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
190
190
  end
191
191
 
192
- if @team_access.nil?
193
- invalid_properties.push('invalid value for "team_access", team_access cannot be nil.')
194
- end
195
-
196
192
  if @read.nil?
197
193
  invalid_properties.push('invalid value for "read", read cannot be nil.')
198
194
  end
199
195
 
196
+ if @team_access.nil?
197
+ invalid_properties.push('invalid value for "team_access", team_access cannot be nil.')
198
+ end
199
+
200
200
  invalid_properties
201
201
  end
202
202
 
@@ -207,8 +207,8 @@ module MailSlurpClient
207
207
  return false if @inbox_id.nil?
208
208
  return false if @to.nil?
209
209
  return false if @created_at.nil?
210
- return false if @team_access.nil?
211
210
  return false if @read.nil?
211
+ return false if @team_access.nil?
212
212
  true
213
213
  end
214
214
 
@@ -220,17 +220,17 @@ module MailSlurpClient
220
220
  id == o.id &&
221
221
  from == o.from &&
222
222
  subject == o.subject &&
223
- inbox_id == o.inbox_id &&
224
223
  attachments == o.attachments &&
225
- body_md5_hash == o.body_md5_hash &&
226
- body_excerpt == o.body_excerpt &&
224
+ inbox_id == o.inbox_id &&
227
225
  to == o.to &&
228
226
  created_at == o.created_at &&
229
227
  bcc == o.bcc &&
230
228
  cc == o.cc &&
231
229
  domain_id == o.domain_id &&
232
- team_access == o.team_access &&
233
- read == o.read
230
+ body_md5_hash == o.body_md5_hash &&
231
+ body_excerpt == o.body_excerpt &&
232
+ read == o.read &&
233
+ team_access == o.team_access
234
234
  end
235
235
 
236
236
  # @see the `==` method
@@ -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, body_md5_hash, body_excerpt, to, created_at, bcc, cc, domain_id, team_access, read].hash
245
+ [id, from, subject, attachments, inbox_id, to, created_at, bcc, cc, domain_id, body_md5_hash, body_excerpt, read, team_access].hash
246
246
  end
247
247
 
248
248
  # Builds the object from hash
@@ -21,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
24
+ attr_accessor :last
25
25
 
26
26
  attr_accessor :total_elements
27
27
 
28
- attr_accessor :last
28
+ attr_accessor :total_pages
29
29
 
30
30
  attr_accessor :size
31
31
 
@@ -33,10 +33,10 @@ module MailSlurpClient
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
- :'total_pages' => :'totalPages',
49
- :'total_elements' => :'totalElements',
50
48
  :'last' => :'last',
49
+ :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
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
- :'total_pages' => :'Integer',
67
- :'total_elements' => :'Integer',
68
66
  :'last' => :'Boolean',
67
+ :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
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,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_elements')
118
118
  self.total_elements = attributes[:'total_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'size')
@@ -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
- total_pages == o.total_pages &&
172
- total_elements == o.total_elements &&
173
171
  last == o.last &&
172
+ total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
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_pages, total_elements, 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,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
24
+ attr_accessor :last
25
25
 
26
26
  attr_accessor :total_elements
27
27
 
28
- attr_accessor :last
28
+ attr_accessor :total_pages
29
29
 
30
30
  attr_accessor :size
31
31
 
@@ -33,10 +33,10 @@ module MailSlurpClient
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
- :'total_pages' => :'totalPages',
49
- :'total_elements' => :'totalElements',
50
48
  :'last' => :'last',
49
+ :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
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
- :'total_pages' => :'Integer',
67
- :'total_elements' => :'Integer',
68
66
  :'last' => :'Boolean',
67
+ :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
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,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_elements')
118
118
  self.total_elements = attributes[:'total_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'size')
@@ -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
- total_pages == o.total_pages &&
172
- total_elements == o.total_elements &&
173
171
  last == o.last &&
172
+ total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
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_pages, total_elements, 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,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
24
+ attr_accessor :last
25
25
 
26
26
  attr_accessor :total_elements
27
27
 
28
- attr_accessor :last
28
+ attr_accessor :total_pages
29
29
 
30
30
  attr_accessor :size
31
31
 
@@ -33,10 +33,10 @@ module MailSlurpClient
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
- :'total_pages' => :'totalPages',
49
- :'total_elements' => :'totalElements',
50
48
  :'last' => :'last',
49
+ :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<BounceProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
- :'total_elements' => :'Integer',
68
66
  :'last' => :'Boolean',
67
+ :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
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,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_elements')
118
118
  self.total_elements = attributes[:'total_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'size')
@@ -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
- total_pages == o.total_pages &&
172
- total_elements == o.total_elements &&
173
171
  last == o.last &&
172
+ total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
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_pages, total_elements, 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