mailslurp_client 15.12.12 → 15.12.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/api_user_controller_api.rb +104 -0
  3. data/lib/mailslurp_client/api/webhook_controller_api.rb +68 -0
  4. data/lib/mailslurp_client/models/alias_projection.rb +15 -15
  5. data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
  6. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +13 -13
  7. data/lib/mailslurp_client/models/create_contact_options.rb +7 -0
  8. data/lib/mailslurp_client/models/create_domain_options.rb +3 -0
  9. data/lib/mailslurp_client/models/create_inbox_dto.rb +10 -0
  10. data/lib/mailslurp_client/models/create_webhook_options.rb +22 -7
  11. data/lib/mailslurp_client/models/email.rb +15 -0
  12. data/lib/mailslurp_client/models/email_analysis.rb +5 -0
  13. data/lib/mailslurp_client/models/email_preview.rb +6 -5
  14. data/lib/mailslurp_client/models/email_projection.rb +10 -10
  15. data/lib/mailslurp_client/models/inbox_dto.rb +7 -0
  16. data/lib/mailslurp_client/models/inbox_preview.rb +5 -0
  17. data/lib/mailslurp_client/models/organization_inbox_projection.rb +4 -0
  18. data/lib/mailslurp_client/models/page_alias.rb +22 -22
  19. data/lib/mailslurp_client/models/page_attachment_entity.rb +22 -22
  20. data/lib/mailslurp_client/models/page_bounced_email.rb +22 -22
  21. data/lib/mailslurp_client/models/page_bounced_recipients.rb +22 -22
  22. data/lib/mailslurp_client/models/page_contact_projection.rb +22 -22
  23. data/lib/mailslurp_client/models/page_email_preview.rb +22 -22
  24. data/lib/mailslurp_client/models/page_email_projection.rb +22 -22
  25. data/lib/mailslurp_client/models/page_email_validation_request.rb +22 -22
  26. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +22 -22
  27. data/lib/mailslurp_client/models/page_group_projection.rb +22 -22
  28. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +22 -22
  29. data/lib/mailslurp_client/models/page_inbox_projection.rb +22 -22
  30. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +22 -22
  31. data/lib/mailslurp_client/models/page_missed_email_projection.rb +22 -22
  32. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +22 -22
  33. data/lib/mailslurp_client/models/page_phone_number_projection.rb +22 -22
  34. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  35. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
  36. data/lib/mailslurp_client/models/page_sms_projection.rb +22 -22
  37. data/lib/mailslurp_client/models/page_template_projection.rb +22 -22
  38. data/lib/mailslurp_client/models/page_thread_projection.rb +22 -22
  39. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +22 -22
  40. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +22 -22
  41. data/lib/mailslurp_client/models/page_webhook_projection.rb +22 -22
  42. data/lib/mailslurp_client/models/page_webhook_result.rb +22 -22
  43. data/lib/mailslurp_client/models/sent_email_dto.rb +52 -1
  44. data/lib/mailslurp_client/models/sent_email_projection.rb +67 -67
  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/update_inbox_options.rb +5 -0
  48. data/lib/mailslurp_client/models/upload_attachment_options.rb +2 -0
  49. data/lib/mailslurp_client/models/webhook_dto.rb +18 -9
  50. data/lib/mailslurp_client/models/webhook_header_name_value.rb +228 -0
  51. data/lib/mailslurp_client/models/webhook_headers.rb +215 -0
  52. data/lib/mailslurp_client/version.rb +1 -1
  53. data/lib/mailslurp_client.rb +2 -0
  54. metadata +4 -2
@@ -75,6 +75,12 @@ module MailSlurpClient
75
75
  # List of attributes with nullable: true
76
76
  def self.openapi_nullable
77
77
  Set.new([
78
+ :'subject',
79
+ :'to',
80
+ :'from',
81
+ :'bcc',
82
+ :'cc',
83
+ :'attachments'
78
84
  ])
79
85
  end
80
86
 
@@ -146,10 +152,6 @@ module MailSlurpClient
146
152
  invalid_properties.push('invalid value for "id", id cannot be nil.')
147
153
  end
148
154
 
149
- if @to.nil?
150
- invalid_properties.push('invalid value for "to", to cannot be nil.')
151
- end
152
-
153
155
  if @created_at.nil?
154
156
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
155
157
  end
@@ -165,7 +167,6 @@ module MailSlurpClient
165
167
  # @return true if the model is valid
166
168
  def valid?
167
169
  return false if @id.nil?
168
- return false if @to.nil?
169
170
  return false if @created_at.nil?
170
171
  return false if @read.nil?
171
172
  true
@@ -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 :to
29
29
 
30
30
  attr_accessor :created_at
@@ -47,8 +47,8 @@ module MailSlurpClient
47
47
  :'id' => :'id',
48
48
  :'from' => :'from',
49
49
  :'subject' => :'subject',
50
- :'attachments' => :'attachments',
51
50
  :'inbox_id' => :'inboxId',
51
+ :'attachments' => :'attachments',
52
52
  :'to' => :'to',
53
53
  :'created_at' => :'createdAt',
54
54
  :'bcc' => :'bcc',
@@ -66,8 +66,8 @@ module MailSlurpClient
66
66
  :'id' => :'String',
67
67
  :'from' => :'String',
68
68
  :'subject' => :'String',
69
- :'attachments' => :'Array<String>',
70
69
  :'inbox_id' => :'String',
70
+ :'attachments' => :'Array<String>',
71
71
  :'to' => :'Array<String>',
72
72
  :'created_at' => :'DateTime',
73
73
  :'bcc' => :'Array<String>',
@@ -112,16 +112,16 @@ module MailSlurpClient
112
112
  self.subject = attributes[:'subject']
113
113
  end
114
114
 
115
+ if attributes.key?(:'inbox_id')
116
+ self.inbox_id = attributes[:'inbox_id']
117
+ end
118
+
115
119
  if attributes.key?(:'attachments')
116
120
  if (value = attributes[:'attachments']).is_a?(Array)
117
121
  self.attachments = value
118
122
  end
119
123
  end
120
124
 
121
- if attributes.key?(:'inbox_id')
122
- self.inbox_id = attributes[:'inbox_id']
123
- end
124
-
125
125
  if attributes.key?(:'to')
126
126
  if (value = attributes[:'to']).is_a?(Array)
127
127
  self.to = value
@@ -212,8 +212,8 @@ module MailSlurpClient
212
212
  id == o.id &&
213
213
  from == o.from &&
214
214
  subject == o.subject &&
215
- attachments == o.attachments &&
216
215
  inbox_id == o.inbox_id &&
216
+ attachments == o.attachments &&
217
217
  to == o.to &&
218
218
  created_at == o.created_at &&
219
219
  bcc == o.bcc &&
@@ -233,7 +233,7 @@ module MailSlurpClient
233
233
  # Calculates hash code according to all attributes.
234
234
  # @return [Integer] Hash code
235
235
  def hash
236
- [id, from, subject, attachments, inbox_id, to, created_at, bcc, cc, team_access, read, body_md5_hash, body_excerpt].hash
236
+ [id, from, subject, inbox_id, attachments, to, created_at, bcc, cc, team_access, read, body_md5_hash, body_excerpt].hash
237
237
  end
238
238
 
239
239
  # Builds the object from hash
@@ -117,6 +117,13 @@ module MailSlurpClient
117
117
  # List of attributes with nullable: true
118
118
  def self.openapi_nullable
119
119
  Set.new([
120
+ :'user_id',
121
+ :'name',
122
+ :'domain_id',
123
+ :'description',
124
+ :'expires_at',
125
+ :'tags',
126
+ :'inbox_type',
120
127
  ])
121
128
  end
122
129
 
@@ -102,6 +102,11 @@ module MailSlurpClient
102
102
  # List of attributes with nullable: true
103
103
  def self.openapi_nullable
104
104
  Set.new([
105
+ :'email_address',
106
+ :'name',
107
+ :'tags',
108
+ :'inbox_type',
109
+ :'expires_at'
105
110
  ])
106
111
  end
107
112
 
@@ -102,6 +102,10 @@ module MailSlurpClient
102
102
  # List of attributes with nullable: true
103
103
  def self.openapi_nullable
104
104
  Set.new([
105
+ :'name',
106
+ :'email_address',
107
+ :'tags',
108
+ :'inbox_type',
105
109
  ])
106
110
  end
107
111
 
@@ -21,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
24
+ attr_accessor :total_elements
25
25
 
26
26
  attr_accessor :total_pages
27
27
 
28
- attr_accessor :total_elements
28
+ attr_accessor :last
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 :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
- :'total_pages' => :'totalPages',
50
48
  :'total_elements' => :'totalElements',
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
- :'total_pages' => :'Integer',
68
66
  :'total_elements' => :'Integer',
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,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
113
+ if attributes.key?(:'total_elements')
114
+ self.total_elements = attributes[:'total_elements']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_pages')
118
118
  self.total_pages = attributes[:'total_pages']
119
119
  end
120
120
 
121
- if attributes.key?(:'total_elements')
122
- self.total_elements = attributes[:'total_elements']
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
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?(:'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
- total_pages == o.total_pages &&
173
171
  total_elements == o.total_elements &&
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_pages, total_elements, 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,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
24
+ attr_accessor :total_elements
25
25
 
26
26
  attr_accessor :total_pages
27
27
 
28
- attr_accessor :total_elements
28
+ attr_accessor :last
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 :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
- :'total_pages' => :'totalPages',
50
48
  :'total_elements' => :'totalElements',
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
- :'total_pages' => :'Integer',
68
66
  :'total_elements' => :'Integer',
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,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
113
+ if attributes.key?(:'total_elements')
114
+ self.total_elements = attributes[:'total_elements']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_pages')
118
118
  self.total_pages = attributes[:'total_pages']
119
119
  end
120
120
 
121
- if attributes.key?(:'total_elements')
122
- self.total_elements = attributes[:'total_elements']
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
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?(:'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
- total_pages == o.total_pages &&
173
171
  total_elements == o.total_elements &&
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_pages, total_elements, 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,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
24
+ attr_accessor :total_elements
25
25
 
26
26
  attr_accessor :total_pages
27
27
 
28
- attr_accessor :total_elements
28
+ attr_accessor :last
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 :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
- :'total_pages' => :'totalPages',
50
48
  :'total_elements' => :'totalElements',
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
- :'total_pages' => :'Integer',
68
66
  :'total_elements' => :'Integer',
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,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
113
+ if attributes.key?(:'total_elements')
114
+ self.total_elements = attributes[:'total_elements']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_pages')
118
118
  self.total_pages = attributes[:'total_pages']
119
119
  end
120
120
 
121
- if attributes.key?(:'total_elements')
122
- self.total_elements = attributes[:'total_elements']
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
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?(:'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
- total_pages == o.total_pages &&
173
171
  total_elements == o.total_elements &&
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_pages, total_elements, 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,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
24
+ attr_accessor :total_elements
25
25
 
26
26
  attr_accessor :total_pages
27
27
 
28
- attr_accessor :total_elements
28
+ attr_accessor :last
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 :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
- :'total_pages' => :'totalPages',
50
48
  :'total_elements' => :'totalElements',
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<BounceRecipientProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'last' => :'Boolean',
67
- :'total_pages' => :'Integer',
68
66
  :'total_elements' => :'Integer',
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,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
113
+ if attributes.key?(:'total_elements')
114
+ self.total_elements = attributes[:'total_elements']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_pages')
118
118
  self.total_pages = attributes[:'total_pages']
119
119
  end
120
120
 
121
- if attributes.key?(:'total_elements')
122
- self.total_elements = attributes[:'total_elements']
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
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?(:'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
- total_pages == o.total_pages &&
173
171
  total_elements == o.total_elements &&
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_pages, total_elements, 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