mailslurp_client 15.7.15 → 15.8.0

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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/attachment_controller_api.rb +9 -9
  3. data/lib/mailslurp_client/api/common_actions_controller_api.rb +6 -0
  4. data/lib/mailslurp_client/api/email_controller_api.rb +3 -0
  5. data/lib/mailslurp_client/api/inbox_controller_api.rb +5 -2
  6. data/lib/mailslurp_client/api/template_controller_api.rb +28 -16
  7. data/lib/mailslurp_client/api/webhook_controller_api.rb +68 -10
  8. data/lib/mailslurp_client/models/abstract_webhook_payload.rb +15 -15
  9. data/lib/mailslurp_client/models/alias_projection.rb +27 -27
  10. data/lib/mailslurp_client/models/attachment_projection.rb +22 -22
  11. data/lib/mailslurp_client/models/contact_projection.rb +14 -13
  12. data/lib/mailslurp_client/models/create_inbox_dto.rb +14 -4
  13. data/lib/mailslurp_client/models/create_template_options.rb +3 -1
  14. data/lib/mailslurp_client/models/email.rb +13 -4
  15. data/lib/mailslurp_client/models/email_projection.rb +35 -35
  16. data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +2 -0
  17. data/lib/mailslurp_client/models/group_dto.rb +1 -0
  18. data/lib/mailslurp_client/models/inbox_dto.rb +19 -4
  19. data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -0
  20. data/lib/mailslurp_client/models/inbox_preview.rb +11 -1
  21. data/lib/mailslurp_client/models/inline_object1.rb +270 -0
  22. data/lib/mailslurp_client/models/organization_inbox_projection.rb +14 -4
  23. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  24. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  25. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  26. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  27. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  28. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  29. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  31. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  33. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  34. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  35. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  36. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  37. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  38. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  39. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  40. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  41. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  42. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  43. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  44. data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +13 -4
  45. data/lib/mailslurp_client/models/reply_to_email_options.rb +13 -4
  46. data/lib/mailslurp_client/models/sent_email_dto.rb +22 -4
  47. data/lib/mailslurp_client/models/sent_email_projection.rb +41 -32
  48. data/lib/mailslurp_client/models/template_dto.rb +5 -0
  49. data/lib/mailslurp_client/models/template_projection.rb +18 -18
  50. data/lib/mailslurp_client/models/template_variable.rb +2 -0
  51. data/lib/mailslurp_client/models/thread_projection.rb +49 -38
  52. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  53. data/lib/mailslurp_client/models/validate_email_address_list_options.rb +1 -0
  54. data/lib/mailslurp_client/models/verify_webhook_signature_options.rb +225 -0
  55. data/lib/mailslurp_client/models/verify_webhook_signature_results.rb +211 -0
  56. data/lib/mailslurp_client/models/webhook_projection.rb +18 -18
  57. data/lib/mailslurp_client/version.rb +1 -1
  58. data/lib/mailslurp_client.rb +3 -0
  59. metadata +5 -2
@@ -23,19 +23,21 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :subject
25
25
 
26
+ attr_accessor :to
27
+
26
28
  attr_accessor :inbox_id
27
29
 
28
30
  attr_accessor :attachments
29
31
 
30
- attr_accessor :to
32
+ attr_accessor :body_md5_hash
33
+
34
+ attr_accessor :created_at
31
35
 
32
36
  attr_accessor :bcc
33
37
 
34
38
  attr_accessor :cc
35
39
 
36
- attr_accessor :created_at
37
-
38
- attr_accessor :body_md5_hash
40
+ attr_accessor :virtual_send
39
41
 
40
42
  # Attribute mapping from ruby-style variable name to JSON key.
41
43
  def self.attribute_map
@@ -44,13 +46,14 @@ module MailSlurpClient
44
46
  :'from' => :'from',
45
47
  :'user_id' => :'userId',
46
48
  :'subject' => :'subject',
49
+ :'to' => :'to',
47
50
  :'inbox_id' => :'inboxId',
48
51
  :'attachments' => :'attachments',
49
- :'to' => :'to',
52
+ :'body_md5_hash' => :'bodyMD5Hash',
53
+ :'created_at' => :'createdAt',
50
54
  :'bcc' => :'bcc',
51
55
  :'cc' => :'cc',
52
- :'created_at' => :'createdAt',
53
- :'body_md5_hash' => :'bodyMD5Hash'
56
+ :'virtual_send' => :'virtualSend'
54
57
  }
55
58
  end
56
59
 
@@ -61,13 +64,14 @@ module MailSlurpClient
61
64
  :'from' => :'String',
62
65
  :'user_id' => :'String',
63
66
  :'subject' => :'String',
67
+ :'to' => :'Array<String>',
64
68
  :'inbox_id' => :'String',
65
69
  :'attachments' => :'Array<String>',
66
- :'to' => :'Array<String>',
70
+ :'body_md5_hash' => :'String',
71
+ :'created_at' => :'DateTime',
67
72
  :'bcc' => :'Array<String>',
68
73
  :'cc' => :'Array<String>',
69
- :'created_at' => :'DateTime',
70
- :'body_md5_hash' => :'String'
74
+ :'virtual_send' => :'Boolean'
71
75
  }
72
76
  end
73
77
 
@@ -108,6 +112,12 @@ module MailSlurpClient
108
112
  self.subject = attributes[:'subject']
109
113
  end
110
114
 
115
+ if attributes.key?(:'to')
116
+ if (value = attributes[:'to']).is_a?(Array)
117
+ self.to = value
118
+ end
119
+ end
120
+
111
121
  if attributes.key?(:'inbox_id')
112
122
  self.inbox_id = attributes[:'inbox_id']
113
123
  end
@@ -118,10 +128,12 @@ module MailSlurpClient
118
128
  end
119
129
  end
120
130
 
121
- if attributes.key?(:'to')
122
- if (value = attributes[:'to']).is_a?(Array)
123
- self.to = value
124
- end
131
+ if attributes.key?(:'body_md5_hash')
132
+ self.body_md5_hash = attributes[:'body_md5_hash']
133
+ end
134
+
135
+ if attributes.key?(:'created_at')
136
+ self.created_at = attributes[:'created_at']
125
137
  end
126
138
 
127
139
  if attributes.key?(:'bcc')
@@ -136,12 +148,8 @@ module MailSlurpClient
136
148
  end
137
149
  end
138
150
 
139
- if attributes.key?(:'created_at')
140
- self.created_at = attributes[:'created_at']
141
- end
142
-
143
- if attributes.key?(:'body_md5_hash')
144
- self.body_md5_hash = attributes[:'body_md5_hash']
151
+ if attributes.key?(:'virtual_send')
152
+ self.virtual_send = attributes[:'virtual_send']
145
153
  end
146
154
  end
147
155
 
@@ -157,6 +165,10 @@ module MailSlurpClient
157
165
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
158
166
  end
159
167
 
168
+ if @to.nil?
169
+ invalid_properties.push('invalid value for "to", to cannot be nil.')
170
+ end
171
+
160
172
  if @inbox_id.nil?
161
173
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
162
174
  end
@@ -165,8 +177,8 @@ module MailSlurpClient
165
177
  invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
166
178
  end
167
179
 
168
- if @to.nil?
169
- invalid_properties.push('invalid value for "to", to cannot be nil.')
180
+ if @created_at.nil?
181
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
170
182
  end
171
183
 
172
184
  if @bcc.nil?
@@ -177,10 +189,6 @@ module MailSlurpClient
177
189
  invalid_properties.push('invalid value for "cc", cc cannot be nil.')
178
190
  end
179
191
 
180
- if @created_at.nil?
181
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
182
- end
183
-
184
192
  invalid_properties
185
193
  end
186
194
 
@@ -189,12 +197,12 @@ module MailSlurpClient
189
197
  def valid?
190
198
  return false if @id.nil?
191
199
  return false if @user_id.nil?
200
+ return false if @to.nil?
192
201
  return false if @inbox_id.nil?
193
202
  return false if @attachments.nil?
194
- return false if @to.nil?
203
+ return false if @created_at.nil?
195
204
  return false if @bcc.nil?
196
205
  return false if @cc.nil?
197
- return false if @created_at.nil?
198
206
  true
199
207
  end
200
208
 
@@ -207,13 +215,14 @@ module MailSlurpClient
207
215
  from == o.from &&
208
216
  user_id == o.user_id &&
209
217
  subject == o.subject &&
218
+ to == o.to &&
210
219
  inbox_id == o.inbox_id &&
211
220
  attachments == o.attachments &&
212
- to == o.to &&
221
+ body_md5_hash == o.body_md5_hash &&
222
+ created_at == o.created_at &&
213
223
  bcc == o.bcc &&
214
224
  cc == o.cc &&
215
- created_at == o.created_at &&
216
- body_md5_hash == o.body_md5_hash
225
+ virtual_send == o.virtual_send
217
226
  end
218
227
 
219
228
  # @see the `==` method
@@ -225,7 +234,7 @@ module MailSlurpClient
225
234
  # Calculates hash code according to all attributes.
226
235
  # @return [Integer] Hash code
227
236
  def hash
228
- [id, from, user_id, subject, inbox_id, attachments, to, bcc, cc, created_at, body_md5_hash].hash
237
+ [id, from, user_id, subject, to, inbox_id, attachments, body_md5_hash, created_at, bcc, cc, virtual_send].hash
229
238
  end
230
239
 
231
240
  # Builds the object from hash
@@ -15,14 +15,19 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Email template
17
17
  class TemplateDto
18
+ # ID of template
18
19
  attr_accessor :id
19
20
 
21
+ # Template name
20
22
  attr_accessor :name
21
23
 
24
+ # Variables available in template that can be replaced with values
22
25
  attr_accessor :variables
23
26
 
27
+ # Content of the template
24
28
  attr_accessor :content
25
29
 
30
+ # Created at time
26
31
  attr_accessor :created_at
27
32
 
28
33
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,20 +19,20 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :id
21
21
 
22
+ attr_accessor :updated_at
23
+
22
24
  attr_accessor :created_at
23
25
 
24
26
  attr_accessor :variables
25
27
 
26
- attr_accessor :updated_at
27
-
28
28
  # Attribute mapping from ruby-style variable name to JSON key.
29
29
  def self.attribute_map
30
30
  {
31
31
  :'name' => :'name',
32
32
  :'id' => :'id',
33
+ :'updated_at' => :'updatedAt',
33
34
  :'created_at' => :'createdAt',
34
- :'variables' => :'variables',
35
- :'updated_at' => :'updatedAt'
35
+ :'variables' => :'variables'
36
36
  }
37
37
  end
38
38
 
@@ -41,9 +41,9 @@ module MailSlurpClient
41
41
  {
42
42
  :'name' => :'String',
43
43
  :'id' => :'String',
44
+ :'updated_at' => :'DateTime',
44
45
  :'created_at' => :'DateTime',
45
- :'variables' => :'Array<String>',
46
- :'updated_at' => :'DateTime'
46
+ :'variables' => :'Array<String>'
47
47
  }
48
48
  end
49
49
 
@@ -76,6 +76,10 @@ module MailSlurpClient
76
76
  self.id = attributes[:'id']
77
77
  end
78
78
 
79
+ if attributes.key?(:'updated_at')
80
+ self.updated_at = attributes[:'updated_at']
81
+ end
82
+
79
83
  if attributes.key?(:'created_at')
80
84
  self.created_at = attributes[:'created_at']
81
85
  end
@@ -85,10 +89,6 @@ module MailSlurpClient
85
89
  self.variables = value
86
90
  end
87
91
  end
88
-
89
- if attributes.key?(:'updated_at')
90
- self.updated_at = attributes[:'updated_at']
91
- end
92
92
  end
93
93
 
94
94
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -103,6 +103,10 @@ module MailSlurpClient
103
103
  invalid_properties.push('invalid value for "id", id cannot be nil.')
104
104
  end
105
105
 
106
+ if @updated_at.nil?
107
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
108
+ end
109
+
106
110
  if @created_at.nil?
107
111
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
108
112
  end
@@ -111,10 +115,6 @@ module MailSlurpClient
111
115
  invalid_properties.push('invalid value for "variables", variables cannot be nil.')
112
116
  end
113
117
 
114
- if @updated_at.nil?
115
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
116
- end
117
-
118
118
  invalid_properties
119
119
  end
120
120
 
@@ -123,9 +123,9 @@ module MailSlurpClient
123
123
  def valid?
124
124
  return false if @name.nil?
125
125
  return false if @id.nil?
126
+ return false if @updated_at.nil?
126
127
  return false if @created_at.nil?
127
128
  return false if @variables.nil?
128
- return false if @updated_at.nil?
129
129
  true
130
130
  end
131
131
 
@@ -136,9 +136,9 @@ module MailSlurpClient
136
136
  self.class == o.class &&
137
137
  name == o.name &&
138
138
  id == o.id &&
139
+ updated_at == o.updated_at &&
139
140
  created_at == o.created_at &&
140
- variables == o.variables &&
141
- updated_at == o.updated_at
141
+ variables == o.variables
142
142
  end
143
143
 
144
144
  # @see the `==` method
@@ -150,7 +150,7 @@ module MailSlurpClient
150
150
  # Calculates hash code according to all attributes.
151
151
  # @return [Integer] Hash code
152
152
  def hash
153
- [name, id, created_at, variables, updated_at].hash
153
+ [name, id, updated_at, created_at, variables].hash
154
154
  end
155
155
 
156
156
  # Builds the object from hash
@@ -15,8 +15,10 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Variable for use with email template
17
17
  class TemplateVariable
18
+ # Name of variable. This can be used in a template as {{name}}
18
19
  attr_accessor :name
19
20
 
21
+ # The type of variable
20
22
  attr_accessor :variable_type
21
23
 
22
24
  class EnumAttributeValidator
@@ -15,26 +15,37 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # A thread is a message thread created for a message received by an alias
17
17
  class ThreadProjection
18
+ # Name of thread
18
19
  attr_accessor :name
19
20
 
21
+ # ID of email thread
20
22
  attr_accessor :id
21
23
 
24
+ # Thread subject
22
25
  attr_accessor :subject
23
26
 
24
- attr_accessor :user_id
25
-
27
+ # Inbox ID
26
28
  attr_accessor :inbox_id
27
29
 
28
- attr_accessor :to
30
+ # User ID
31
+ attr_accessor :user_id
29
32
 
30
- attr_accessor :bcc
33
+ # To recipients
34
+ attr_accessor :to
31
35
 
32
- attr_accessor :cc
36
+ # Updated at DateTime
37
+ attr_accessor :updated_at
33
38
 
39
+ # Created at DateTime
34
40
  attr_accessor :created_at
35
41
 
36
- attr_accessor :updated_at
42
+ # BCC recipients
43
+ attr_accessor :bcc
37
44
 
45
+ # CC recipients
46
+ attr_accessor :cc
47
+
48
+ # Alias ID
38
49
  attr_accessor :alias_id
39
50
 
40
51
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -43,13 +54,13 @@ module MailSlurpClient
43
54
  :'name' => :'name',
44
55
  :'id' => :'id',
45
56
  :'subject' => :'subject',
46
- :'user_id' => :'userId',
47
57
  :'inbox_id' => :'inboxId',
58
+ :'user_id' => :'userId',
48
59
  :'to' => :'to',
60
+ :'updated_at' => :'updatedAt',
61
+ :'created_at' => :'createdAt',
49
62
  :'bcc' => :'bcc',
50
63
  :'cc' => :'cc',
51
- :'created_at' => :'createdAt',
52
- :'updated_at' => :'updatedAt',
53
64
  :'alias_id' => :'aliasId'
54
65
  }
55
66
  end
@@ -60,13 +71,13 @@ module MailSlurpClient
60
71
  :'name' => :'String',
61
72
  :'id' => :'String',
62
73
  :'subject' => :'String',
63
- :'user_id' => :'String',
64
74
  :'inbox_id' => :'String',
75
+ :'user_id' => :'String',
65
76
  :'to' => :'Array<String>',
77
+ :'updated_at' => :'DateTime',
78
+ :'created_at' => :'DateTime',
66
79
  :'bcc' => :'Array<String>',
67
80
  :'cc' => :'Array<String>',
68
- :'created_at' => :'DateTime',
69
- :'updated_at' => :'DateTime',
70
81
  :'alias_id' => :'String'
71
82
  }
72
83
  end
@@ -104,20 +115,28 @@ module MailSlurpClient
104
115
  self.subject = attributes[:'subject']
105
116
  end
106
117
 
107
- if attributes.key?(:'user_id')
108
- self.user_id = attributes[:'user_id']
109
- end
110
-
111
118
  if attributes.key?(:'inbox_id')
112
119
  self.inbox_id = attributes[:'inbox_id']
113
120
  end
114
121
 
122
+ if attributes.key?(:'user_id')
123
+ self.user_id = attributes[:'user_id']
124
+ end
125
+
115
126
  if attributes.key?(:'to')
116
127
  if (value = attributes[:'to']).is_a?(Array)
117
128
  self.to = value
118
129
  end
119
130
  end
120
131
 
132
+ if attributes.key?(:'updated_at')
133
+ self.updated_at = attributes[:'updated_at']
134
+ end
135
+
136
+ if attributes.key?(:'created_at')
137
+ self.created_at = attributes[:'created_at']
138
+ end
139
+
121
140
  if attributes.key?(:'bcc')
122
141
  if (value = attributes[:'bcc']).is_a?(Array)
123
142
  self.bcc = value
@@ -130,14 +149,6 @@ module MailSlurpClient
130
149
  end
131
150
  end
132
151
 
133
- if attributes.key?(:'created_at')
134
- self.created_at = attributes[:'created_at']
135
- end
136
-
137
- if attributes.key?(:'updated_at')
138
- self.updated_at = attributes[:'updated_at']
139
- end
140
-
141
152
  if attributes.key?(:'alias_id')
142
153
  self.alias_id = attributes[:'alias_id']
143
154
  end
@@ -151,26 +162,26 @@ module MailSlurpClient
151
162
  invalid_properties.push('invalid value for "id", id cannot be nil.')
152
163
  end
153
164
 
154
- if @user_id.nil?
155
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
156
- end
157
-
158
165
  if @inbox_id.nil?
159
166
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
160
167
  end
161
168
 
162
- if @to.nil?
163
- invalid_properties.push('invalid value for "to", to cannot be nil.')
169
+ if @user_id.nil?
170
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
164
171
  end
165
172
 
166
- if @created_at.nil?
167
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
173
+ if @to.nil?
174
+ invalid_properties.push('invalid value for "to", to cannot be nil.')
168
175
  end
169
176
 
170
177
  if @updated_at.nil?
171
178
  invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
172
179
  end
173
180
 
181
+ if @created_at.nil?
182
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
183
+ end
184
+
174
185
  if @alias_id.nil?
175
186
  invalid_properties.push('invalid value for "alias_id", alias_id cannot be nil.')
176
187
  end
@@ -182,11 +193,11 @@ module MailSlurpClient
182
193
  # @return true if the model is valid
183
194
  def valid?
184
195
  return false if @id.nil?
185
- return false if @user_id.nil?
186
196
  return false if @inbox_id.nil?
197
+ return false if @user_id.nil?
187
198
  return false if @to.nil?
188
- return false if @created_at.nil?
189
199
  return false if @updated_at.nil?
200
+ return false if @created_at.nil?
190
201
  return false if @alias_id.nil?
191
202
  true
192
203
  end
@@ -199,13 +210,13 @@ module MailSlurpClient
199
210
  name == o.name &&
200
211
  id == o.id &&
201
212
  subject == o.subject &&
202
- user_id == o.user_id &&
203
213
  inbox_id == o.inbox_id &&
214
+ user_id == o.user_id &&
204
215
  to == o.to &&
216
+ updated_at == o.updated_at &&
217
+ created_at == o.created_at &&
205
218
  bcc == o.bcc &&
206
219
  cc == o.cc &&
207
- created_at == o.created_at &&
208
- updated_at == o.updated_at &&
209
220
  alias_id == o.alias_id
210
221
  end
211
222
 
@@ -218,7 +229,7 @@ module MailSlurpClient
218
229
  # Calculates hash code according to all attributes.
219
230
  # @return [Integer] Hash code
220
231
  def hash
221
- [name, id, subject, user_id, inbox_id, to, bcc, cc, created_at, updated_at, alias_id].hash
232
+ [name, id, subject, inbox_id, user_id, to, updated_at, created_at, bcc, cc, alias_id].hash
222
233
  end
223
234
 
224
235
  # Builds the object from hash
@@ -19,10 +19,10 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :id
21
21
 
22
- attr_accessor :user_id
23
-
24
22
  attr_accessor :inbox_id
25
23
 
24
+ attr_accessor :user_id
25
+
26
26
  attr_accessor :created_at
27
27
 
28
28
  attr_accessor :recipient
@@ -38,8 +38,8 @@ module MailSlurpClient
38
38
  {
39
39
  :'name' => :'name',
40
40
  :'id' => :'id',
41
- :'user_id' => :'userId',
42
41
  :'inbox_id' => :'inboxId',
42
+ :'user_id' => :'userId',
43
43
  :'created_at' => :'createdAt',
44
44
  :'recipient' => :'recipient',
45
45
  :'seen' => :'seen',
@@ -53,8 +53,8 @@ module MailSlurpClient
53
53
  {
54
54
  :'name' => :'String',
55
55
  :'id' => :'String',
56
- :'user_id' => :'String',
57
56
  :'inbox_id' => :'String',
57
+ :'user_id' => :'String',
58
58
  :'created_at' => :'DateTime',
59
59
  :'recipient' => :'String',
60
60
  :'seen' => :'Boolean',
@@ -92,14 +92,14 @@ module MailSlurpClient
92
92
  self.id = attributes[:'id']
93
93
  end
94
94
 
95
- if attributes.key?(:'user_id')
96
- self.user_id = attributes[:'user_id']
97
- end
98
-
99
95
  if attributes.key?(:'inbox_id')
100
96
  self.inbox_id = attributes[:'inbox_id']
101
97
  end
102
98
 
99
+ if attributes.key?(:'user_id')
100
+ self.user_id = attributes[:'user_id']
101
+ end
102
+
103
103
  if attributes.key?(:'created_at')
104
104
  self.created_at = attributes[:'created_at']
105
105
  end
@@ -161,8 +161,8 @@ module MailSlurpClient
161
161
  self.class == o.class &&
162
162
  name == o.name &&
163
163
  id == o.id &&
164
- user_id == o.user_id &&
165
164
  inbox_id == o.inbox_id &&
165
+ user_id == o.user_id &&
166
166
  created_at == o.created_at &&
167
167
  recipient == o.recipient &&
168
168
  seen == o.seen &&
@@ -179,7 +179,7 @@ module MailSlurpClient
179
179
  # Calculates hash code according to all attributes.
180
180
  # @return [Integer] Hash code
181
181
  def hash
182
- [name, id, user_id, inbox_id, created_at, recipient, seen, seen_at, sent_email_id].hash
182
+ [name, id, inbox_id, user_id, created_at, recipient, seen, seen_at, sent_email_id].hash
183
183
  end
184
184
 
185
185
  # Builds the object from hash
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Options for validating a list of email addresses
16
17
  class ValidateEmailAddressListOptions
17
18
  attr_accessor :email_address_list
18
19