mailslurp_client 15.12.14 → 15.12.15
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_user_controller_api.rb +104 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
- data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +13 -13
- data/lib/mailslurp_client/models/create_webhook_options.rb +8 -4
- 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 +19 -19
- 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_phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_sms_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/sent_email_dto.rb +52 -1
- data/lib/mailslurp_client/models/thread_projection.rb +16 -16
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :last
|
25
|
-
|
26
24
|
attr_accessor :total_elements
|
27
25
|
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :last
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
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
48
|
:'total_elements' => :'totalElements',
|
50
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<WebhookProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'last' => :'Boolean',
|
67
66
|
:'total_elements' => :'Integer',
|
68
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,10 +110,6 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'last')
|
114
|
-
self.last = attributes[:'last']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_elements')
|
118
114
|
self.total_elements = attributes[:'total_elements']
|
119
115
|
end
|
@@ -122,6 +118,10 @@ module MailSlurpClient
|
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'last')
|
122
|
+
self.last = attributes[:'last']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -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
171
|
total_elements == o.total_elements &&
|
173
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,
|
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,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :last
|
25
|
-
|
26
24
|
attr_accessor :total_elements
|
27
25
|
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :last
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
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
48
|
:'total_elements' => :'totalElements',
|
50
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<WebhookResultDto>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'last' => :'Boolean',
|
67
66
|
:'total_elements' => :'Integer',
|
68
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,10 +110,6 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'last')
|
114
|
-
self.last = attributes[:'last']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_elements')
|
118
114
|
self.total_elements = attributes[:'total_elements']
|
119
115
|
end
|
@@ -122,6 +118,10 @@ module MailSlurpClient
|
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'last')
|
122
|
+
self.last = attributes[:'last']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -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
171
|
total_elements == o.total_elements &&
|
173
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,
|
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
|
@@ -45,6 +45,10 @@ module MailSlurpClient
|
|
45
45
|
|
46
46
|
attr_accessor :body
|
47
47
|
|
48
|
+
attr_accessor :to_contacts
|
49
|
+
|
50
|
+
attr_accessor :to_group
|
51
|
+
|
48
52
|
attr_accessor :charset
|
49
53
|
|
50
54
|
attr_accessor :is_html
|
@@ -55,8 +59,14 @@ module MailSlurpClient
|
|
55
59
|
|
56
60
|
attr_accessor :message_id
|
57
61
|
|
62
|
+
attr_accessor :message_ids
|
63
|
+
|
58
64
|
attr_accessor :virtual_send
|
59
65
|
|
66
|
+
attr_accessor :template_id
|
67
|
+
|
68
|
+
attr_accessor :template_variables
|
69
|
+
|
60
70
|
attr_accessor :html
|
61
71
|
|
62
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -74,12 +84,17 @@ module MailSlurpClient
|
|
74
84
|
:'subject' => :'subject',
|
75
85
|
:'body_md5_hash' => :'bodyMD5Hash',
|
76
86
|
:'body' => :'body',
|
87
|
+
:'to_contacts' => :'toContacts',
|
88
|
+
:'to_group' => :'toGroup',
|
77
89
|
:'charset' => :'charset',
|
78
90
|
:'is_html' => :'isHTML',
|
79
91
|
:'sent_at' => :'sentAt',
|
80
92
|
:'pixel_ids' => :'pixelIds',
|
81
93
|
:'message_id' => :'messageId',
|
94
|
+
:'message_ids' => :'messageIds',
|
82
95
|
:'virtual_send' => :'virtualSend',
|
96
|
+
:'template_id' => :'templateId',
|
97
|
+
:'template_variables' => :'templateVariables',
|
83
98
|
:'html' => :'html'
|
84
99
|
}
|
85
100
|
end
|
@@ -99,12 +114,17 @@ module MailSlurpClient
|
|
99
114
|
:'subject' => :'String',
|
100
115
|
:'body_md5_hash' => :'String',
|
101
116
|
:'body' => :'String',
|
117
|
+
:'to_contacts' => :'Array<String>',
|
118
|
+
:'to_group' => :'String',
|
102
119
|
:'charset' => :'String',
|
103
120
|
:'is_html' => :'Boolean',
|
104
121
|
:'sent_at' => :'DateTime',
|
105
122
|
:'pixel_ids' => :'Array<String>',
|
106
123
|
:'message_id' => :'String',
|
124
|
+
:'message_ids' => :'Array<String>',
|
107
125
|
:'virtual_send' => :'Boolean',
|
126
|
+
:'template_id' => :'String',
|
127
|
+
:'template_variables' => :'Hash<String, Object>',
|
108
128
|
:'html' => :'Boolean'
|
109
129
|
}
|
110
130
|
end
|
@@ -186,6 +206,16 @@ module MailSlurpClient
|
|
186
206
|
self.body = attributes[:'body']
|
187
207
|
end
|
188
208
|
|
209
|
+
if attributes.key?(:'to_contacts')
|
210
|
+
if (value = attributes[:'to_contacts']).is_a?(Array)
|
211
|
+
self.to_contacts = value
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
if attributes.key?(:'to_group')
|
216
|
+
self.to_group = attributes[:'to_group']
|
217
|
+
end
|
218
|
+
|
189
219
|
if attributes.key?(:'charset')
|
190
220
|
self.charset = attributes[:'charset']
|
191
221
|
end
|
@@ -208,10 +238,26 @@ module MailSlurpClient
|
|
208
238
|
self.message_id = attributes[:'message_id']
|
209
239
|
end
|
210
240
|
|
241
|
+
if attributes.key?(:'message_ids')
|
242
|
+
if (value = attributes[:'message_ids']).is_a?(Array)
|
243
|
+
self.message_ids = value
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
211
247
|
if attributes.key?(:'virtual_send')
|
212
248
|
self.virtual_send = attributes[:'virtual_send']
|
213
249
|
end
|
214
250
|
|
251
|
+
if attributes.key?(:'template_id')
|
252
|
+
self.template_id = attributes[:'template_id']
|
253
|
+
end
|
254
|
+
|
255
|
+
if attributes.key?(:'template_variables')
|
256
|
+
if (value = attributes[:'template_variables']).is_a?(Hash)
|
257
|
+
self.template_variables = value
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
215
261
|
if attributes.key?(:'html')
|
216
262
|
self.html = attributes[:'html']
|
217
263
|
end
|
@@ -267,12 +313,17 @@ module MailSlurpClient
|
|
267
313
|
subject == o.subject &&
|
268
314
|
body_md5_hash == o.body_md5_hash &&
|
269
315
|
body == o.body &&
|
316
|
+
to_contacts == o.to_contacts &&
|
317
|
+
to_group == o.to_group &&
|
270
318
|
charset == o.charset &&
|
271
319
|
is_html == o.is_html &&
|
272
320
|
sent_at == o.sent_at &&
|
273
321
|
pixel_ids == o.pixel_ids &&
|
274
322
|
message_id == o.message_id &&
|
323
|
+
message_ids == o.message_ids &&
|
275
324
|
virtual_send == o.virtual_send &&
|
325
|
+
template_id == o.template_id &&
|
326
|
+
template_variables == o.template_variables &&
|
276
327
|
html == o.html
|
277
328
|
end
|
278
329
|
|
@@ -285,7 +336,7 @@ module MailSlurpClient
|
|
285
336
|
# Calculates hash code according to all attributes.
|
286
337
|
# @return [Integer] Hash code
|
287
338
|
def hash
|
288
|
-
[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, virtual_send, html].hash
|
339
|
+
[id, user_id, inbox_id, to, from, reply_to, cc, bcc, attachments, subject, body_md5_hash, body, to_contacts, to_group, charset, is_html, sent_at, pixel_ids, message_id, message_ids, virtual_send, template_id, template_variables, html].hash
|
289
340
|
end
|
290
341
|
|
291
342
|
# Builds the object from hash
|
@@ -24,12 +24,12 @@ module MailSlurpClient
|
|
24
24
|
# Thread subject
|
25
25
|
attr_accessor :subject
|
26
26
|
|
27
|
-
# User ID
|
28
|
-
attr_accessor :user_id
|
29
|
-
|
30
27
|
# Inbox ID
|
31
28
|
attr_accessor :inbox_id
|
32
29
|
|
30
|
+
# User ID
|
31
|
+
attr_accessor :user_id
|
32
|
+
|
33
33
|
# To recipients
|
34
34
|
attr_accessor :to
|
35
35
|
|
@@ -54,8 +54,8 @@ module MailSlurpClient
|
|
54
54
|
:'name' => :'name',
|
55
55
|
:'id' => :'id',
|
56
56
|
:'subject' => :'subject',
|
57
|
-
:'user_id' => :'userId',
|
58
57
|
:'inbox_id' => :'inboxId',
|
58
|
+
:'user_id' => :'userId',
|
59
59
|
:'to' => :'to',
|
60
60
|
:'created_at' => :'createdAt',
|
61
61
|
:'updated_at' => :'updatedAt',
|
@@ -71,8 +71,8 @@ module MailSlurpClient
|
|
71
71
|
:'name' => :'String',
|
72
72
|
:'id' => :'String',
|
73
73
|
:'subject' => :'String',
|
74
|
-
:'user_id' => :'String',
|
75
74
|
:'inbox_id' => :'String',
|
75
|
+
:'user_id' => :'String',
|
76
76
|
:'to' => :'Array<String>',
|
77
77
|
:'created_at' => :'DateTime',
|
78
78
|
:'updated_at' => :'DateTime',
|
@@ -115,14 +115,14 @@ module MailSlurpClient
|
|
115
115
|
self.subject = attributes[:'subject']
|
116
116
|
end
|
117
117
|
|
118
|
-
if attributes.key?(:'user_id')
|
119
|
-
self.user_id = attributes[:'user_id']
|
120
|
-
end
|
121
|
-
|
122
118
|
if attributes.key?(:'inbox_id')
|
123
119
|
self.inbox_id = attributes[:'inbox_id']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes.key?(:'user_id')
|
123
|
+
self.user_id = attributes[:'user_id']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes.key?(:'to')
|
127
127
|
if (value = attributes[:'to']).is_a?(Array)
|
128
128
|
self.to = value
|
@@ -162,14 +162,14 @@ module MailSlurpClient
|
|
162
162
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
163
163
|
end
|
164
164
|
|
165
|
-
if @user_id.nil?
|
166
|
-
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
167
|
-
end
|
168
|
-
|
169
165
|
if @inbox_id.nil?
|
170
166
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
171
167
|
end
|
172
168
|
|
169
|
+
if @user_id.nil?
|
170
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
171
|
+
end
|
172
|
+
|
173
173
|
if @to.nil?
|
174
174
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
175
175
|
end
|
@@ -193,8 +193,8 @@ module MailSlurpClient
|
|
193
193
|
# @return true if the model is valid
|
194
194
|
def valid?
|
195
195
|
return false if @id.nil?
|
196
|
-
return false if @user_id.nil?
|
197
196
|
return false if @inbox_id.nil?
|
197
|
+
return false if @user_id.nil?
|
198
198
|
return false if @to.nil?
|
199
199
|
return false if @created_at.nil?
|
200
200
|
return false if @updated_at.nil?
|
@@ -210,8 +210,8 @@ module MailSlurpClient
|
|
210
210
|
name == o.name &&
|
211
211
|
id == o.id &&
|
212
212
|
subject == o.subject &&
|
213
|
-
user_id == o.user_id &&
|
214
213
|
inbox_id == o.inbox_id &&
|
214
|
+
user_id == o.user_id &&
|
215
215
|
to == o.to &&
|
216
216
|
created_at == o.created_at &&
|
217
217
|
updated_at == o.updated_at &&
|
@@ -229,7 +229,7 @@ module MailSlurpClient
|
|
229
229
|
# Calculates hash code according to all attributes.
|
230
230
|
# @return [Integer] Hash code
|
231
231
|
def hash
|
232
|
-
[name, id, subject,
|
232
|
+
[name, id, subject, inbox_id, user_id, to, created_at, updated_at, bcc, cc, alias_id].hash
|
233
233
|
end
|
234
234
|
|
235
235
|
# Builds the object from hash
|
@@ -19,18 +19,18 @@ 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 :sent_email_id
|
27
27
|
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
|
-
attr_accessor :recipient
|
31
|
-
|
32
30
|
attr_accessor :seen
|
33
31
|
|
32
|
+
attr_accessor :recipient
|
33
|
+
|
34
34
|
attr_accessor :seen_at
|
35
35
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -38,12 +38,12 @@ 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
|
:'sent_email_id' => :'sentEmailId',
|
44
44
|
:'created_at' => :'createdAt',
|
45
|
-
:'recipient' => :'recipient',
|
46
45
|
:'seen' => :'seen',
|
46
|
+
:'recipient' => :'recipient',
|
47
47
|
:'seen_at' => :'seenAt'
|
48
48
|
}
|
49
49
|
end
|
@@ -53,12 +53,12 @@ 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
|
:'sent_email_id' => :'String',
|
59
59
|
:'created_at' => :'DateTime',
|
60
|
-
:'recipient' => :'String',
|
61
60
|
:'seen' => :'Boolean',
|
61
|
+
:'recipient' => :'String',
|
62
62
|
:'seen_at' => :'DateTime'
|
63
63
|
}
|
64
64
|
end
|
@@ -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?(:'sent_email_id')
|
104
104
|
self.sent_email_id = attributes[:'sent_email_id']
|
105
105
|
end
|
@@ -108,14 +108,14 @@ module MailSlurpClient
|
|
108
108
|
self.created_at = attributes[:'created_at']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.key?(:'recipient')
|
112
|
-
self.recipient = attributes[:'recipient']
|
113
|
-
end
|
114
|
-
|
115
111
|
if attributes.key?(:'seen')
|
116
112
|
self.seen = attributes[:'seen']
|
117
113
|
end
|
118
114
|
|
115
|
+
if attributes.key?(:'recipient')
|
116
|
+
self.recipient = attributes[:'recipient']
|
117
|
+
end
|
118
|
+
|
119
119
|
if attributes.key?(:'seen_at')
|
120
120
|
self.seen_at = attributes[:'seen_at']
|
121
121
|
end
|
@@ -161,12 +161,12 @@ 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
|
sent_email_id == o.sent_email_id &&
|
167
167
|
created_at == o.created_at &&
|
168
|
-
recipient == o.recipient &&
|
169
168
|
seen == o.seen &&
|
169
|
+
recipient == o.recipient &&
|
170
170
|
seen_at == o.seen_at
|
171
171
|
end
|
172
172
|
|
@@ -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,
|
182
|
+
[name, id, inbox_id, user_id, sent_email_id, created_at, seen, recipient, seen_at].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailslurp_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.12.
|
4
|
+
version: 15.12.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Create emails addresses in Ruby then send and receive real emails and
|
14
14
|
attachments. See https://www.mailslurp.com/docs/ruby/ for full Ruby documentation.
|