mailslurp_client 15.5.5 → 15.7.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.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/api_internal_controller_api.rb +89 -0
- data/lib/mailslurp_client/api/bounce_controller_api.rb +64 -0
- data/lib/mailslurp_client/api/email_verification_controller_api.rb +179 -0
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +2 -2
- data/lib/mailslurp_client/models/alias_projection.rb +13 -13
- data/lib/mailslurp_client/models/attachment_projection.rb +25 -25
- data/lib/mailslurp_client/models/bounce_recipient.rb +0 -5
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +0 -5
- data/lib/mailslurp_client/models/email_projection.rb +12 -12
- data/lib/mailslurp_client/models/email_validation_request.rb +276 -0
- data/lib/mailslurp_client/models/filter_bounced_recipients_options.rb +213 -0
- data/lib/mailslurp_client/models/filter_bounced_recipients_result.rb +213 -0
- data/lib/mailslurp_client/models/get_or_create_saml_user_options.rb +234 -0
- data/lib/mailslurp_client/models/page_alias.rb +19 -19
- data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
- data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_validation_request.rb +308 -0
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
- data/lib/mailslurp_client/models/send_email_options.rb +36 -4
- data/lib/mailslurp_client/models/sent_email_dto.rb +13 -4
- data/lib/mailslurp_client/models/sent_email_projection.rb +17 -17
- data/lib/mailslurp_client/models/template_projection.rb +18 -18
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/user_dto.rb +438 -0
- data/lib/mailslurp_client/models/validate_email_address_list_options.rb +213 -0
- data/lib/mailslurp_client/models/validate_email_address_list_result.rb +245 -0
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +10 -0
- metadata +12 -2
@@ -69,6 +69,12 @@ module MailSlurpClient
|
|
69
69
|
# Add tracking pixel to email
|
70
70
|
attr_accessor :add_tracking_pixel
|
71
71
|
|
72
|
+
# Filter recipients to remove any bounced recipients from to, bcc, and cc before sending
|
73
|
+
attr_accessor :filter_bounced_recipients
|
74
|
+
|
75
|
+
# Validate recipient email addresses before sending
|
76
|
+
attr_accessor :validate_email_addresses
|
77
|
+
|
72
78
|
class EnumAttributeValidator
|
73
79
|
attr_reader :datatype
|
74
80
|
attr_reader :allowable_values
|
@@ -111,7 +117,9 @@ module MailSlurpClient
|
|
111
117
|
:'template' => :'template',
|
112
118
|
:'send_strategy' => :'sendStrategy',
|
113
119
|
:'use_inbox_name' => :'useInboxName',
|
114
|
-
:'add_tracking_pixel' => :'addTrackingPixel'
|
120
|
+
:'add_tracking_pixel' => :'addTrackingPixel',
|
121
|
+
:'filter_bounced_recipients' => :'filterBouncedRecipients',
|
122
|
+
:'validate_email_addresses' => :'validateEmailAddresses'
|
115
123
|
}
|
116
124
|
end
|
117
125
|
|
@@ -135,7 +143,9 @@ module MailSlurpClient
|
|
135
143
|
:'template' => :'String',
|
136
144
|
:'send_strategy' => :'String',
|
137
145
|
:'use_inbox_name' => :'Boolean',
|
138
|
-
:'add_tracking_pixel' => :'Boolean'
|
146
|
+
:'add_tracking_pixel' => :'Boolean',
|
147
|
+
:'filter_bounced_recipients' => :'Boolean',
|
148
|
+
:'validate_email_addresses' => :'String'
|
139
149
|
}
|
140
150
|
end
|
141
151
|
|
@@ -243,6 +253,14 @@ module MailSlurpClient
|
|
243
253
|
if attributes.key?(:'add_tracking_pixel')
|
244
254
|
self.add_tracking_pixel = attributes[:'add_tracking_pixel']
|
245
255
|
end
|
256
|
+
|
257
|
+
if attributes.key?(:'filter_bounced_recipients')
|
258
|
+
self.filter_bounced_recipients = attributes[:'filter_bounced_recipients']
|
259
|
+
end
|
260
|
+
|
261
|
+
if attributes.key?(:'validate_email_addresses')
|
262
|
+
self.validate_email_addresses = attributes[:'validate_email_addresses']
|
263
|
+
end
|
246
264
|
end
|
247
265
|
|
248
266
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -257,6 +275,8 @@ module MailSlurpClient
|
|
257
275
|
def valid?
|
258
276
|
send_strategy_validator = EnumAttributeValidator.new('String', ["SINGLE_MESSAGE"])
|
259
277
|
return false unless send_strategy_validator.valid?(@send_strategy)
|
278
|
+
validate_email_addresses_validator = EnumAttributeValidator.new('String', ["VALIDATE_FILTER_REMOVE_INVALID", "VALIDATE_ERROR_IF_INVALID", "NO_VALIDATION"])
|
279
|
+
return false unless validate_email_addresses_validator.valid?(@validate_email_addresses)
|
260
280
|
true
|
261
281
|
end
|
262
282
|
|
@@ -270,6 +290,16 @@ module MailSlurpClient
|
|
270
290
|
@send_strategy = send_strategy
|
271
291
|
end
|
272
292
|
|
293
|
+
# Custom attribute writer method checking allowed values (enum).
|
294
|
+
# @param [Object] validate_email_addresses Object to be assigned
|
295
|
+
def validate_email_addresses=(validate_email_addresses)
|
296
|
+
validator = EnumAttributeValidator.new('String', ["VALIDATE_FILTER_REMOVE_INVALID", "VALIDATE_ERROR_IF_INVALID", "NO_VALIDATION"])
|
297
|
+
unless validator.valid?(validate_email_addresses)
|
298
|
+
fail ArgumentError, "invalid value for \"validate_email_addresses\", must be one of #{validator.allowable_values}."
|
299
|
+
end
|
300
|
+
@validate_email_addresses = validate_email_addresses
|
301
|
+
end
|
302
|
+
|
273
303
|
# Checks equality by comparing each attribute.
|
274
304
|
# @param [Object] Object to be compared
|
275
305
|
def ==(o)
|
@@ -292,7 +322,9 @@ module MailSlurpClient
|
|
292
322
|
template == o.template &&
|
293
323
|
send_strategy == o.send_strategy &&
|
294
324
|
use_inbox_name == o.use_inbox_name &&
|
295
|
-
add_tracking_pixel == o.add_tracking_pixel
|
325
|
+
add_tracking_pixel == o.add_tracking_pixel &&
|
326
|
+
filter_bounced_recipients == o.filter_bounced_recipients &&
|
327
|
+
validate_email_addresses == o.validate_email_addresses
|
296
328
|
end
|
297
329
|
|
298
330
|
# @see the `==` method
|
@@ -304,7 +336,7 @@ module MailSlurpClient
|
|
304
336
|
# Calculates hash code according to all attributes.
|
305
337
|
# @return [Integer] Hash code
|
306
338
|
def hash
|
307
|
-
[to_contacts, to_group, to, from, cc, bcc, subject, reply_to, body, html, is_html, charset, attachments, template_variables, template, send_strategy, use_inbox_name, add_tracking_pixel].hash
|
339
|
+
[to_contacts, to_group, to, from, cc, bcc, subject, reply_to, body, html, is_html, charset, attachments, template_variables, template, send_strategy, use_inbox_name, add_tracking_pixel, filter_bounced_recipients, validate_email_addresses].hash
|
308
340
|
end
|
309
341
|
|
310
342
|
# Builds the object from hash
|
@@ -53,6 +53,8 @@ module MailSlurpClient
|
|
53
53
|
|
54
54
|
attr_accessor :pixel_ids
|
55
55
|
|
56
|
+
attr_accessor :message_id
|
57
|
+
|
56
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
59
|
def self.attribute_map
|
58
60
|
{
|
@@ -71,7 +73,8 @@ module MailSlurpClient
|
|
71
73
|
:'charset' => :'charset',
|
72
74
|
:'is_html' => :'isHTML',
|
73
75
|
:'sent_at' => :'sentAt',
|
74
|
-
:'pixel_ids' => :'pixelIds'
|
76
|
+
:'pixel_ids' => :'pixelIds',
|
77
|
+
:'message_id' => :'messageId'
|
75
78
|
}
|
76
79
|
end
|
77
80
|
|
@@ -93,7 +96,8 @@ module MailSlurpClient
|
|
93
96
|
:'charset' => :'String',
|
94
97
|
:'is_html' => :'Boolean',
|
95
98
|
:'sent_at' => :'DateTime',
|
96
|
-
:'pixel_ids' => :'Array<String>'
|
99
|
+
:'pixel_ids' => :'Array<String>',
|
100
|
+
:'message_id' => :'String'
|
97
101
|
}
|
98
102
|
end
|
99
103
|
|
@@ -191,6 +195,10 @@ module MailSlurpClient
|
|
191
195
|
self.pixel_ids = value
|
192
196
|
end
|
193
197
|
end
|
198
|
+
|
199
|
+
if attributes.key?(:'message_id')
|
200
|
+
self.message_id = attributes[:'message_id']
|
201
|
+
end
|
194
202
|
end
|
195
203
|
|
196
204
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -246,7 +254,8 @@ module MailSlurpClient
|
|
246
254
|
charset == o.charset &&
|
247
255
|
is_html == o.is_html &&
|
248
256
|
sent_at == o.sent_at &&
|
249
|
-
pixel_ids == o.pixel_ids
|
257
|
+
pixel_ids == o.pixel_ids &&
|
258
|
+
message_id == o.message_id
|
250
259
|
end
|
251
260
|
|
252
261
|
# @see the `==` method
|
@@ -258,7 +267,7 @@ module MailSlurpClient
|
|
258
267
|
# Calculates hash code according to all attributes.
|
259
268
|
# @return [Integer] Hash code
|
260
269
|
def hash
|
261
|
-
[id, user_id, inbox_id, to, from, reply_to, cc, bcc, attachments, subject, body_md5_hash, body, charset, is_html, sent_at, pixel_ids].hash
|
270
|
+
[id, user_id, inbox_id, to, from, reply_to, cc, bcc, attachments, subject, body_md5_hash, body, charset, is_html, sent_at, pixel_ids, message_id].hash
|
262
271
|
end
|
263
272
|
|
264
273
|
# Builds the object from hash
|
@@ -25,10 +25,10 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :inbox_id
|
27
27
|
|
28
|
-
attr_accessor :to
|
29
|
-
|
30
28
|
attr_accessor :attachments
|
31
29
|
|
30
|
+
attr_accessor :to
|
31
|
+
|
32
32
|
attr_accessor :bcc
|
33
33
|
|
34
34
|
attr_accessor :cc
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'user_id' => :'userId',
|
46
46
|
:'subject' => :'subject',
|
47
47
|
:'inbox_id' => :'inboxId',
|
48
|
-
:'to' => :'to',
|
49
48
|
:'attachments' => :'attachments',
|
49
|
+
:'to' => :'to',
|
50
50
|
:'bcc' => :'bcc',
|
51
51
|
:'cc' => :'cc',
|
52
52
|
:'created_at' => :'createdAt',
|
@@ -62,8 +62,8 @@ module MailSlurpClient
|
|
62
62
|
:'user_id' => :'String',
|
63
63
|
:'subject' => :'String',
|
64
64
|
:'inbox_id' => :'String',
|
65
|
-
:'to' => :'Array<String>',
|
66
65
|
:'attachments' => :'Array<String>',
|
66
|
+
:'to' => :'Array<String>',
|
67
67
|
:'bcc' => :'Array<String>',
|
68
68
|
:'cc' => :'Array<String>',
|
69
69
|
:'created_at' => :'DateTime',
|
@@ -112,18 +112,18 @@ module MailSlurpClient
|
|
112
112
|
self.inbox_id = attributes[:'inbox_id']
|
113
113
|
end
|
114
114
|
|
115
|
-
if attributes.key?(:'to')
|
116
|
-
if (value = attributes[:'to']).is_a?(Array)
|
117
|
-
self.to = value
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
115
|
if attributes.key?(:'attachments')
|
122
116
|
if (value = attributes[:'attachments']).is_a?(Array)
|
123
117
|
self.attachments = value
|
124
118
|
end
|
125
119
|
end
|
126
120
|
|
121
|
+
if attributes.key?(:'to')
|
122
|
+
if (value = attributes[:'to']).is_a?(Array)
|
123
|
+
self.to = value
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
127
|
if attributes.key?(:'bcc')
|
128
128
|
if (value = attributes[:'bcc']).is_a?(Array)
|
129
129
|
self.bcc = value
|
@@ -161,14 +161,14 @@ module MailSlurpClient
|
|
161
161
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
162
162
|
end
|
163
163
|
|
164
|
-
if @to.nil?
|
165
|
-
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
166
|
-
end
|
167
|
-
|
168
164
|
if @attachments.nil?
|
169
165
|
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
170
166
|
end
|
171
167
|
|
168
|
+
if @to.nil?
|
169
|
+
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
170
|
+
end
|
171
|
+
|
172
172
|
if @bcc.nil?
|
173
173
|
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
174
174
|
end
|
@@ -190,8 +190,8 @@ module MailSlurpClient
|
|
190
190
|
return false if @id.nil?
|
191
191
|
return false if @user_id.nil?
|
192
192
|
return false if @inbox_id.nil?
|
193
|
-
return false if @to.nil?
|
194
193
|
return false if @attachments.nil?
|
194
|
+
return false if @to.nil?
|
195
195
|
return false if @bcc.nil?
|
196
196
|
return false if @cc.nil?
|
197
197
|
return false if @created_at.nil?
|
@@ -208,8 +208,8 @@ module MailSlurpClient
|
|
208
208
|
user_id == o.user_id &&
|
209
209
|
subject == o.subject &&
|
210
210
|
inbox_id == o.inbox_id &&
|
211
|
-
to == o.to &&
|
212
211
|
attachments == o.attachments &&
|
212
|
+
to == o.to &&
|
213
213
|
bcc == o.bcc &&
|
214
214
|
cc == o.cc &&
|
215
215
|
created_at == o.created_at &&
|
@@ -225,7 +225,7 @@ module MailSlurpClient
|
|
225
225
|
# Calculates hash code according to all attributes.
|
226
226
|
# @return [Integer] Hash code
|
227
227
|
def hash
|
228
|
-
[id, from, user_id, subject, inbox_id,
|
228
|
+
[id, from, user_id, subject, inbox_id, attachments, to, bcc, cc, created_at, body_md5_hash].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -20,18 +20,18 @@ module MailSlurpClient
|
|
20
20
|
|
21
21
|
attr_accessor :created_at
|
22
22
|
|
23
|
-
attr_accessor :variables
|
24
|
-
|
25
23
|
attr_accessor :updated_at
|
26
24
|
|
25
|
+
attr_accessor :variables
|
26
|
+
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
28
|
def self.attribute_map
|
29
29
|
{
|
30
30
|
:'name' => :'name',
|
31
31
|
:'id' => :'id',
|
32
32
|
:'created_at' => :'createdAt',
|
33
|
-
:'
|
34
|
-
:'
|
33
|
+
:'updated_at' => :'updatedAt',
|
34
|
+
:'variables' => :'variables'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -41,8 +41,8 @@ module MailSlurpClient
|
|
41
41
|
:'name' => :'String',
|
42
42
|
:'id' => :'String',
|
43
43
|
:'created_at' => :'DateTime',
|
44
|
-
:'
|
45
|
-
:'
|
44
|
+
:'updated_at' => :'DateTime',
|
45
|
+
:'variables' => :'Array<String>'
|
46
46
|
}
|
47
47
|
end
|
48
48
|
|
@@ -79,15 +79,15 @@ module MailSlurpClient
|
|
79
79
|
self.created_at = attributes[:'created_at']
|
80
80
|
end
|
81
81
|
|
82
|
+
if attributes.key?(:'updated_at')
|
83
|
+
self.updated_at = attributes[:'updated_at']
|
84
|
+
end
|
85
|
+
|
82
86
|
if attributes.key?(:'variables')
|
83
87
|
if (value = attributes[:'variables']).is_a?(Array)
|
84
88
|
self.variables = value
|
85
89
|
end
|
86
90
|
end
|
87
|
-
|
88
|
-
if attributes.key?(:'updated_at')
|
89
|
-
self.updated_at = attributes[:'updated_at']
|
90
|
-
end
|
91
91
|
end
|
92
92
|
|
93
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -106,14 +106,14 @@ module MailSlurpClient
|
|
106
106
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
107
107
|
end
|
108
108
|
|
109
|
-
if @variables.nil?
|
110
|
-
invalid_properties.push('invalid value for "variables", variables cannot be nil.')
|
111
|
-
end
|
112
|
-
|
113
109
|
if @updated_at.nil?
|
114
110
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
115
111
|
end
|
116
112
|
|
113
|
+
if @variables.nil?
|
114
|
+
invalid_properties.push('invalid value for "variables", variables cannot be nil.')
|
115
|
+
end
|
116
|
+
|
117
117
|
invalid_properties
|
118
118
|
end
|
119
119
|
|
@@ -123,8 +123,8 @@ module MailSlurpClient
|
|
123
123
|
return false if @name.nil?
|
124
124
|
return false if @id.nil?
|
125
125
|
return false if @created_at.nil?
|
126
|
-
return false if @variables.nil?
|
127
126
|
return false if @updated_at.nil?
|
127
|
+
return false if @variables.nil?
|
128
128
|
true
|
129
129
|
end
|
130
130
|
|
@@ -136,8 +136,8 @@ module MailSlurpClient
|
|
136
136
|
name == o.name &&
|
137
137
|
id == o.id &&
|
138
138
|
created_at == o.created_at &&
|
139
|
-
|
140
|
-
|
139
|
+
updated_at == o.updated_at &&
|
140
|
+
variables == o.variables
|
141
141
|
end
|
142
142
|
|
143
143
|
# @see the `==` method
|
@@ -149,7 +149,7 @@ module MailSlurpClient
|
|
149
149
|
# Calculates hash code according to all attributes.
|
150
150
|
# @return [Integer] Hash code
|
151
151
|
def hash
|
152
|
-
[name, id, created_at,
|
152
|
+
[name, id, created_at, updated_at, variables].hash
|
153
153
|
end
|
154
154
|
|
155
155
|
# Builds the object from hash
|
@@ -24,10 +24,10 @@ module MailSlurpClient
|
|
24
24
|
|
25
25
|
attr_accessor :created_at
|
26
26
|
|
27
|
-
attr_accessor :seen
|
28
|
-
|
29
27
|
attr_accessor :recipient
|
30
28
|
|
29
|
+
attr_accessor :seen
|
30
|
+
|
31
31
|
attr_accessor :seen_at
|
32
32
|
|
33
33
|
attr_accessor :sent_email_id
|
@@ -40,8 +40,8 @@ module MailSlurpClient
|
|
40
40
|
:'user_id' => :'userId',
|
41
41
|
:'inbox_id' => :'inboxId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
|
-
:'seen' => :'seen',
|
44
43
|
:'recipient' => :'recipient',
|
44
|
+
:'seen' => :'seen',
|
45
45
|
:'seen_at' => :'seenAt',
|
46
46
|
:'sent_email_id' => :'sentEmailId'
|
47
47
|
}
|
@@ -55,8 +55,8 @@ module MailSlurpClient
|
|
55
55
|
:'user_id' => :'String',
|
56
56
|
:'inbox_id' => :'String',
|
57
57
|
:'created_at' => :'DateTime',
|
58
|
-
:'seen' => :'Boolean',
|
59
58
|
:'recipient' => :'String',
|
59
|
+
:'seen' => :'Boolean',
|
60
60
|
:'seen_at' => :'DateTime',
|
61
61
|
:'sent_email_id' => :'String'
|
62
62
|
}
|
@@ -103,14 +103,14 @@ module MailSlurpClient
|
|
103
103
|
self.created_at = attributes[:'created_at']
|
104
104
|
end
|
105
105
|
|
106
|
-
if attributes.key?(:'seen')
|
107
|
-
self.seen = attributes[:'seen']
|
108
|
-
end
|
109
|
-
|
110
106
|
if attributes.key?(:'recipient')
|
111
107
|
self.recipient = attributes[:'recipient']
|
112
108
|
end
|
113
109
|
|
110
|
+
if attributes.key?(:'seen')
|
111
|
+
self.seen = attributes[:'seen']
|
112
|
+
end
|
113
|
+
|
114
114
|
if attributes.key?(:'seen_at')
|
115
115
|
self.seen_at = attributes[:'seen_at']
|
116
116
|
end
|
@@ -163,8 +163,8 @@ module MailSlurpClient
|
|
163
163
|
user_id == o.user_id &&
|
164
164
|
inbox_id == o.inbox_id &&
|
165
165
|
created_at == o.created_at &&
|
166
|
-
seen == o.seen &&
|
167
166
|
recipient == o.recipient &&
|
167
|
+
seen == o.seen &&
|
168
168
|
seen_at == o.seen_at &&
|
169
169
|
sent_email_id == o.sent_email_id
|
170
170
|
end
|
@@ -178,7 +178,7 @@ module MailSlurpClient
|
|
178
178
|
# Calculates hash code according to all attributes.
|
179
179
|
# @return [Integer] Hash code
|
180
180
|
def hash
|
181
|
-
[name, id, user_id, inbox_id, created_at,
|
181
|
+
[name, id, user_id, inbox_id, created_at, recipient, seen, seen_at, sent_email_id].hash
|
182
182
|
end
|
183
183
|
|
184
184
|
# Builds the object from hash
|