mailslurp_client 15.13.32 → 15.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/api_user_controller_api.rb +0 -4
  3. data/lib/mailslurp_client/api/missed_email_controller_api.rb +6 -6
  4. data/lib/mailslurp_client/models/alias_dto.rb +5 -0
  5. data/lib/mailslurp_client/models/alias_projection.rb +13 -13
  6. data/lib/mailslurp_client/models/attachment_entity.rb +0 -1
  7. data/lib/mailslurp_client/models/attachment_projection.rb +3 -0
  8. data/lib/mailslurp_client/models/bounce_projection.rb +3 -0
  9. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +3 -0
  10. data/lib/mailslurp_client/models/bounced_email_dto.rb +12 -0
  11. data/lib/mailslurp_client/models/bounced_recipient_dto.rb +10 -0
  12. data/lib/mailslurp_client/models/contact_dto.rb +7 -0
  13. data/lib/mailslurp_client/models/contact_projection.rb +29 -24
  14. data/lib/mailslurp_client/models/create_alias_options.rb +2 -0
  15. data/lib/mailslurp_client/models/create_contact_options.rb +1 -0
  16. data/lib/mailslurp_client/models/create_group_options.rb +1 -0
  17. data/lib/mailslurp_client/models/create_inbox_dto.rb +1 -0
  18. data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +2 -0
  19. data/lib/mailslurp_client/models/create_webhook_options.rb +2 -0
  20. data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +1 -0
  21. data/lib/mailslurp_client/models/domain_dto.rb +1 -0
  22. data/lib/mailslurp_client/models/domain_preview.rb +1 -0
  23. data/lib/mailslurp_client/models/email.rb +1 -0
  24. data/lib/mailslurp_client/models/email_preview.rb +1 -0
  25. data/lib/mailslurp_client/models/email_projection.rb +35 -27
  26. data/lib/mailslurp_client/models/{email_validation_request.rb → email_validation_request_dto.rb} +8 -3
  27. data/lib/mailslurp_client/models/email_verification_result.rb +1 -0
  28. data/lib/mailslurp_client/models/expiration_defaults.rb +3 -0
  29. data/lib/mailslurp_client/models/export_options.rb +5 -0
  30. data/lib/mailslurp_client/models/forward_email_options.rb +5 -0
  31. data/lib/mailslurp_client/models/group_dto.rb +1 -0
  32. data/lib/mailslurp_client/models/group_projection.rb +1 -0
  33. data/lib/mailslurp_client/models/inbox_by_email_address_result.rb +1 -0
  34. data/lib/mailslurp_client/models/inbox_by_name_result.rb +1 -0
  35. data/lib/mailslurp_client/models/match_options.rb +2 -0
  36. data/lib/mailslurp_client/models/{missed_email.rb → missed_email_dto.rb} +16 -3
  37. data/lib/mailslurp_client/models/missed_email_projection.rb +3 -0
  38. data/lib/mailslurp_client/models/organization_inbox_projection.rb +1 -0
  39. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  40. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  41. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  42. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  43. data/lib/mailslurp_client/models/page_complaint.rb +10 -10
  44. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  45. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  46. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  47. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  48. data/lib/mailslurp_client/models/page_email_validation_request.rb +11 -11
  49. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  50. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  51. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  52. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  53. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  54. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  55. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  56. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  57. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
  58. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  59. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
  60. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  61. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  62. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  63. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  64. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  65. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  66. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  67. data/lib/mailslurp_client/models/phone_number_projection.rb +19 -19
  68. data/lib/mailslurp_client/models/recipient.rb +1 -0
  69. data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +6 -0
  70. data/lib/mailslurp_client/models/reply_to_email_options.rb +8 -0
  71. data/lib/mailslurp_client/models/send_email_options.rb +20 -0
  72. data/lib/mailslurp_client/models/sent_email_dto.rb +22 -0
  73. data/lib/mailslurp_client/models/sent_email_projection.rb +24 -24
  74. data/lib/mailslurp_client/models/simple_send_email_options.rb +3 -0
  75. data/lib/mailslurp_client/models/sms_projection.rb +15 -15
  76. data/lib/mailslurp_client/models/sort.rb +13 -13
  77. data/lib/mailslurp_client/models/template_projection.rb +20 -20
  78. data/lib/mailslurp_client/models/thread_projection.rb +26 -26
  79. data/lib/mailslurp_client/models/tracking_pixel_dto.rb +4 -0
  80. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +13 -13
  81. data/lib/mailslurp_client/models/update_alias_options.rb +1 -0
  82. data/lib/mailslurp_client/models/update_domain_options.rb +1 -0
  83. data/lib/mailslurp_client/models/verify_email_address_options.rb +3 -0
  84. data/lib/mailslurp_client/models/wait_for_conditions.rb +8 -0
  85. data/lib/mailslurp_client/models/wait_for_sms_conditions.rb +8 -0
  86. data/lib/mailslurp_client/models/webhook_bounce_payload.rb +3 -0
  87. data/lib/mailslurp_client/models/webhook_bounce_recipient_payload.rb +1 -0
  88. data/lib/mailslurp_client/models/webhook_delivery_status_payload.rb +1 -0
  89. data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +1 -0
  90. data/lib/mailslurp_client/models/webhook_email_read_payload.rb +1 -0
  91. data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +1 -0
  92. data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +2 -0
  93. data/lib/mailslurp_client/models/webhook_new_email_payload.rb +3 -0
  94. data/lib/mailslurp_client/models/webhook_projection.rb +13 -13
  95. data/lib/mailslurp_client/models/webhook_redrive_result.rb +1 -0
  96. data/lib/mailslurp_client/models/webhook_result_dto.rb +6 -0
  97. data/lib/mailslurp_client/models/webhook_test_request.rb +1 -0
  98. data/lib/mailslurp_client/models/webhook_test_response.rb +2 -0
  99. data/lib/mailslurp_client/models/webhook_test_result.rb +1 -0
  100. data/lib/mailslurp_client/version.rb +1 -1
  101. data/lib/mailslurp_client.rb +2 -2
  102. metadata +4 -4
@@ -25,24 +25,24 @@ module MailSlurpClient
25
25
 
26
26
  attr_accessor :attachments
27
27
 
28
+ attr_accessor :created_at
29
+
28
30
  attr_accessor :to
29
31
 
30
32
  attr_accessor :bcc
31
33
 
32
34
  attr_accessor :cc
33
35
 
34
- attr_accessor :created_at
35
-
36
36
  attr_accessor :domain_id
37
37
 
38
38
  attr_accessor :read
39
39
 
40
+ attr_accessor :body_excerpt
41
+
40
42
  attr_accessor :team_access
41
43
 
42
44
  attr_accessor :body_md5_hash
43
45
 
44
- attr_accessor :body_excerpt
45
-
46
46
  # Attribute mapping from ruby-style variable name to JSON key.
47
47
  def self.attribute_map
48
48
  {
@@ -51,15 +51,15 @@ module MailSlurpClient
51
51
  :'subject' => :'subject',
52
52
  :'inbox_id' => :'inboxId',
53
53
  :'attachments' => :'attachments',
54
+ :'created_at' => :'createdAt',
54
55
  :'to' => :'to',
55
56
  :'bcc' => :'bcc',
56
57
  :'cc' => :'cc',
57
- :'created_at' => :'createdAt',
58
58
  :'domain_id' => :'domainId',
59
59
  :'read' => :'read',
60
+ :'body_excerpt' => :'bodyExcerpt',
60
61
  :'team_access' => :'teamAccess',
61
- :'body_md5_hash' => :'bodyMD5Hash',
62
- :'body_excerpt' => :'bodyExcerpt'
62
+ :'body_md5_hash' => :'bodyMD5Hash'
63
63
  }
64
64
  end
65
65
 
@@ -71,21 +71,29 @@ module MailSlurpClient
71
71
  :'subject' => :'String',
72
72
  :'inbox_id' => :'String',
73
73
  :'attachments' => :'Array<String>',
74
+ :'created_at' => :'DateTime',
74
75
  :'to' => :'Array<String>',
75
76
  :'bcc' => :'Array<String>',
76
77
  :'cc' => :'Array<String>',
77
- :'created_at' => :'DateTime',
78
78
  :'domain_id' => :'String',
79
79
  :'read' => :'Boolean',
80
+ :'body_excerpt' => :'String',
80
81
  :'team_access' => :'Boolean',
81
- :'body_md5_hash' => :'String',
82
- :'body_excerpt' => :'String'
82
+ :'body_md5_hash' => :'String'
83
83
  }
84
84
  end
85
85
 
86
86
  # List of attributes with nullable: true
87
87
  def self.openapi_nullable
88
88
  Set.new([
89
+ :'from',
90
+ :'subject',
91
+ :'attachments',
92
+ :'bcc',
93
+ :'cc',
94
+ :'domain_id',
95
+ :'body_excerpt',
96
+ :'body_md5_hash'
89
97
  ])
90
98
  end
91
99
 
@@ -126,6 +134,10 @@ module MailSlurpClient
126
134
  end
127
135
  end
128
136
 
137
+ if attributes.key?(:'created_at')
138
+ self.created_at = attributes[:'created_at']
139
+ end
140
+
129
141
  if attributes.key?(:'to')
130
142
  if (value = attributes[:'to']).is_a?(Array)
131
143
  self.to = value
@@ -144,10 +156,6 @@ module MailSlurpClient
144
156
  end
145
157
  end
146
158
 
147
- if attributes.key?(:'created_at')
148
- self.created_at = attributes[:'created_at']
149
- end
150
-
151
159
  if attributes.key?(:'domain_id')
152
160
  self.domain_id = attributes[:'domain_id']
153
161
  end
@@ -156,6 +164,10 @@ module MailSlurpClient
156
164
  self.read = attributes[:'read']
157
165
  end
158
166
 
167
+ if attributes.key?(:'body_excerpt')
168
+ self.body_excerpt = attributes[:'body_excerpt']
169
+ end
170
+
159
171
  if attributes.key?(:'team_access')
160
172
  self.team_access = attributes[:'team_access']
161
173
  end
@@ -163,10 +175,6 @@ module MailSlurpClient
163
175
  if attributes.key?(:'body_md5_hash')
164
176
  self.body_md5_hash = attributes[:'body_md5_hash']
165
177
  end
166
-
167
- if attributes.key?(:'body_excerpt')
168
- self.body_excerpt = attributes[:'body_excerpt']
169
- end
170
178
  end
171
179
 
172
180
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -181,14 +189,14 @@ module MailSlurpClient
181
189
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
182
190
  end
183
191
 
184
- if @to.nil?
185
- invalid_properties.push('invalid value for "to", to cannot be nil.')
186
- end
187
-
188
192
  if @created_at.nil?
189
193
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
190
194
  end
191
195
 
196
+ if @to.nil?
197
+ invalid_properties.push('invalid value for "to", to cannot be nil.')
198
+ end
199
+
192
200
  if @read.nil?
193
201
  invalid_properties.push('invalid value for "read", read cannot be nil.')
194
202
  end
@@ -205,8 +213,8 @@ module MailSlurpClient
205
213
  def valid?
206
214
  return false if @id.nil?
207
215
  return false if @inbox_id.nil?
208
- return false if @to.nil?
209
216
  return false if @created_at.nil?
217
+ return false if @to.nil?
210
218
  return false if @read.nil?
211
219
  return false if @team_access.nil?
212
220
  true
@@ -222,15 +230,15 @@ module MailSlurpClient
222
230
  subject == o.subject &&
223
231
  inbox_id == o.inbox_id &&
224
232
  attachments == o.attachments &&
233
+ created_at == o.created_at &&
225
234
  to == o.to &&
226
235
  bcc == o.bcc &&
227
236
  cc == o.cc &&
228
- created_at == o.created_at &&
229
237
  domain_id == o.domain_id &&
230
238
  read == o.read &&
239
+ body_excerpt == o.body_excerpt &&
231
240
  team_access == o.team_access &&
232
- body_md5_hash == o.body_md5_hash &&
233
- body_excerpt == o.body_excerpt
241
+ body_md5_hash == o.body_md5_hash
234
242
  end
235
243
 
236
244
  # @see the `==` method
@@ -242,7 +250,7 @@ module MailSlurpClient
242
250
  # Calculates hash code according to all attributes.
243
251
  # @return [Integer] Hash code
244
252
  def hash
245
- [id, from, subject, inbox_id, attachments, to, bcc, cc, created_at, domain_id, read, team_access, body_md5_hash, body_excerpt].hash
253
+ [id, from, subject, inbox_id, attachments, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
246
254
  end
247
255
 
248
256
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module MailSlurpClient
16
16
  # Email validation request
17
- class EmailValidationRequest
17
+ class EmailValidationRequestDto
18
18
  attr_accessor :id
19
19
 
20
20
  attr_accessor :user_id
@@ -61,13 +61,13 @@ module MailSlurpClient
61
61
  # @param [Hash] attributes Model attributes in the form of hash
62
62
  def initialize(attributes = {})
63
63
  if (!attributes.is_a?(Hash))
64
- fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::EmailValidationRequest` initialize method"
64
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::EmailValidationRequestDto` initialize method"
65
65
  end
66
66
 
67
67
  # check to see if the attribute exists and convert string to symbol for hash key
68
68
  attributes = attributes.each_with_object({}) { |(k, v), h|
69
69
  if (!self.class.attribute_map.key?(k.to_sym))
70
- fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::EmailValidationRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
70
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::EmailValidationRequestDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
71
71
  end
72
72
  h[k.to_sym] = v
73
73
  }
@@ -101,6 +101,10 @@ module MailSlurpClient
101
101
  # @return Array for valid properties with the reasons
102
102
  def list_invalid_properties
103
103
  invalid_properties = Array.new
104
+ if @id.nil?
105
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
106
+ end
107
+
104
108
  if @user_id.nil?
105
109
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
106
110
  end
@@ -127,6 +131,7 @@ module MailSlurpClient
127
131
  # Check to see if the all the properties in the model are valid
128
132
  # @return true if the model is valid
129
133
  def valid?
134
+ return false if @id.nil?
130
135
  return false if @user_id.nil?
131
136
  return false if @email_address.nil?
132
137
  return false if @is_valid.nil?
@@ -50,6 +50,7 @@ module MailSlurpClient
50
50
  # List of attributes with nullable: true
51
51
  def self.openapi_nullable
52
52
  Set.new([
53
+ :'error'
53
54
  ])
54
55
  end
55
56
 
@@ -50,6 +50,9 @@ module MailSlurpClient
50
50
  # List of attributes with nullable: true
51
51
  def self.openapi_nullable
52
52
  Set.new([
53
+ :'default_expiration_millis',
54
+ :'max_expiration_millis',
55
+ :'default_expires_at',
53
56
  ])
54
57
  end
55
58
 
@@ -76,6 +76,11 @@ module MailSlurpClient
76
76
  # List of attributes with nullable: true
77
77
  def self.openapi_nullable
78
78
  Set.new([
79
+ :'exclude_previously_exported',
80
+ :'created_earliest_time',
81
+ :'created_oldest_time',
82
+ :'filter',
83
+ :'list_separator_token'
79
84
  ])
80
85
  end
81
86
 
@@ -60,6 +60,11 @@ module MailSlurpClient
60
60
  # List of attributes with nullable: true
61
61
  def self.openapi_nullable
62
62
  Set.new([
63
+ :'subject',
64
+ :'cc',
65
+ :'bcc',
66
+ :'from',
67
+ :'use_inbox_name'
63
68
  ])
64
69
  end
65
70
 
@@ -46,6 +46,7 @@ module MailSlurpClient
46
46
  # List of attributes with nullable: true
47
47
  def self.openapi_nullable
48
48
  Set.new([
49
+ :'description',
49
50
  ])
50
51
  end
51
52
 
@@ -46,6 +46,7 @@ module MailSlurpClient
46
46
  # List of attributes with nullable: true
47
47
  def self.openapi_nullable
48
48
  Set.new([
49
+ :'description',
49
50
  ])
50
51
  end
51
52
 
@@ -38,6 +38,7 @@ module MailSlurpClient
38
38
  # List of attributes with nullable: true
39
39
  def self.openapi_nullable
40
40
  Set.new([
41
+ :'inbox_id',
41
42
  ])
42
43
  end
43
44
 
@@ -38,6 +38,7 @@ module MailSlurpClient
38
38
  # List of attributes with nullable: true
39
39
  def self.openapi_nullable
40
40
  Set.new([
41
+ :'inbox_id',
41
42
  ])
42
43
  end
43
44
 
@@ -40,6 +40,8 @@ module MailSlurpClient
40
40
  # List of attributes with nullable: true
41
41
  def self.openapi_nullable
42
42
  Set.new([
43
+ :'matches',
44
+ :'conditions'
43
45
  ])
44
46
  end
45
47
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module MailSlurpClient
16
16
  # Missed email
17
- class MissedEmail
17
+ class MissedEmailDto
18
18
  attr_accessor :id
19
19
 
20
20
  attr_accessor :user_id
@@ -94,6 +94,14 @@ module MailSlurpClient
94
94
  # List of attributes with nullable: true
95
95
  def self.openapi_nullable
96
96
  Set.new([
97
+ :'user_id',
98
+ :'subject',
99
+ :'body_excerpt',
100
+ :'from',
101
+ :'raw_url',
102
+ :'raw_key',
103
+ :'raw_bucket',
104
+ :'can_restore',
97
105
  ])
98
106
  end
99
107
 
@@ -101,13 +109,13 @@ module MailSlurpClient
101
109
  # @param [Hash] attributes Model attributes in the form of hash
102
110
  def initialize(attributes = {})
103
111
  if (!attributes.is_a?(Hash))
104
- fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::MissedEmail` initialize method"
112
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::MissedEmailDto` initialize method"
105
113
  end
106
114
 
107
115
  # check to see if the attribute exists and convert string to symbol for hash key
108
116
  attributes = attributes.each_with_object({}) { |(k, v), h|
109
117
  if (!self.class.attribute_map.key?(k.to_sym))
110
- fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::MissedEmail`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
118
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::MissedEmailDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
111
119
  end
112
120
  h[k.to_sym] = v
113
121
  }
@@ -189,6 +197,10 @@ module MailSlurpClient
189
197
  # @return Array for valid properties with the reasons
190
198
  def list_invalid_properties
191
199
  invalid_properties = Array.new
200
+ if @id.nil?
201
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
202
+ end
203
+
192
204
  if @attachment_count.nil?
193
205
  invalid_properties.push('invalid value for "attachment_count", attachment_count cannot be nil.')
194
206
  end
@@ -223,6 +235,7 @@ module MailSlurpClient
223
235
  # Check to see if the all the properties in the model are valid
224
236
  # @return true if the model is valid
225
237
  def valid?
238
+ return false if @id.nil?
226
239
  return false if @attachment_count.nil?
227
240
  return false if @to.nil?
228
241
  return false if @cc.nil?
@@ -50,6 +50,9 @@ module MailSlurpClient
50
50
  # List of attributes with nullable: true
51
51
  def self.openapi_nullable
52
52
  Set.new([
53
+ :'from',
54
+ :'subject',
55
+ :'user_id',
53
56
  ])
54
57
  end
55
58
 
@@ -107,6 +107,7 @@ module MailSlurpClient
107
107
  # List of attributes with nullable: true
108
108
  def self.openapi_nullable
109
109
  Set.new([
110
+ :'domain_id',
110
111
  :'name',
111
112
  :'email_address',
112
113
  :'tags',
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_elements
25
-
26
24
  attr_accessor :total_pages
27
25
 
26
+ attr_accessor :total_elements
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_elements' => :'totalElements',
49
48
  :'total_pages' => :'totalPages',
49
+ :'total_elements' => :'totalElements',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<AliasProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_elements' => :'Integer',
67
66
  :'total_pages' => :'Integer',
67
+ :'total_elements' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_elements')
114
- self.total_elements = attributes[:'total_elements']
115
- end
116
-
117
113
  if attributes.key?(:'total_pages')
118
114
  self.total_pages = attributes[:'total_pages']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_elements')
118
+ self.total_elements = attributes[:'total_elements']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_elements == o.total_elements &&
172
171
  total_pages == o.total_pages &&
172
+ total_elements == o.total_elements &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_elements
25
-
26
24
  attr_accessor :total_pages
27
25
 
26
+ attr_accessor :total_elements
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_elements' => :'totalElements',
49
48
  :'total_pages' => :'totalPages',
49
+ :'total_elements' => :'totalElements',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<AttachmentProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_elements' => :'Integer',
67
66
  :'total_pages' => :'Integer',
67
+ :'total_elements' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_elements')
114
- self.total_elements = attributes[:'total_elements']
115
- end
116
-
117
113
  if attributes.key?(:'total_pages')
118
114
  self.total_pages = attributes[:'total_pages']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_elements')
118
+ self.total_elements = attributes[:'total_elements']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_elements == o.total_elements &&
172
171
  total_pages == o.total_pages &&
172
+ total_elements == o.total_elements &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_elements
25
-
26
24
  attr_accessor :total_pages
27
25
 
26
+ attr_accessor :total_elements
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_elements' => :'totalElements',
49
48
  :'total_pages' => :'totalPages',
49
+ :'total_elements' => :'totalElements',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<BounceProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_elements' => :'Integer',
67
66
  :'total_pages' => :'Integer',
67
+ :'total_elements' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_elements')
114
- self.total_elements = attributes[:'total_elements']
115
- end
116
-
117
113
  if attributes.key?(:'total_pages')
118
114
  self.total_pages = attributes[:'total_pages']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_elements')
118
+ self.total_elements = attributes[:'total_elements']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_elements == o.total_elements &&
172
171
  total_pages == o.total_pages &&
172
+ total_elements == o.total_elements &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_elements
25
-
26
24
  attr_accessor :total_pages
27
25
 
26
+ attr_accessor :total_elements
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_elements' => :'totalElements',
49
48
  :'total_pages' => :'totalPages',
49
+ :'total_elements' => :'totalElements',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<BounceRecipientProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_elements' => :'Integer',
67
66
  :'total_pages' => :'Integer',
67
+ :'total_elements' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_elements')
114
- self.total_elements = attributes[:'total_elements']
115
- end
116
-
117
113
  if attributes.key?(:'total_pages')
118
114
  self.total_pages = attributes[:'total_pages']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_elements')
118
+ self.total_elements = attributes[:'total_elements']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_elements == o.total_elements &&
172
171
  total_pages == o.total_pages &&
172
+ total_elements == o.total_elements &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash