mailslurp_client 15.12.17 → 15.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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_recipient_projection.rb +13 -13
- data/lib/mailslurp_client/models/email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_alias.rb +22 -22
- data/lib/mailslurp_client/models/page_attachment_entity.rb +22 -22
- data/lib/mailslurp_client/models/page_bounced_email.rb +22 -22
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +22 -22
- data/lib/mailslurp_client/models/page_complaint.rb +22 -22
- data/lib/mailslurp_client/models/page_contact_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_delivery_status.rb +22 -22
- data/lib/mailslurp_client/models/page_email_preview.rb +22 -22
- data/lib/mailslurp_client/models/page_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_email_validation_request.rb +22 -22
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_group_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +22 -22
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sms_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_template_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_thread_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_webhook_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_webhook_result.rb +22 -22
- data/lib/mailslurp_client/models/sent_email_projection.rb +56 -56
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/models/thread_projection.rb +16 -16
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
@@ -25,19 +25,19 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :inbox_id
|
27
27
|
|
28
|
-
attr_accessor :
|
28
|
+
attr_accessor :attachments
|
29
29
|
|
30
|
-
attr_accessor :
|
30
|
+
attr_accessor :to
|
31
31
|
|
32
|
-
attr_accessor :
|
32
|
+
attr_accessor :created_at
|
33
33
|
|
34
|
-
attr_accessor :
|
34
|
+
attr_accessor :bcc
|
35
35
|
|
36
|
-
attr_accessor :
|
36
|
+
attr_accessor :cc
|
37
37
|
|
38
|
-
attr_accessor :
|
38
|
+
attr_accessor :body_md5_hash
|
39
39
|
|
40
|
-
attr_accessor :
|
40
|
+
attr_accessor :virtual_send
|
41
41
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
43
|
def self.attribute_map
|
@@ -47,13 +47,13 @@ module MailSlurpClient
|
|
47
47
|
:'user_id' => :'userId',
|
48
48
|
:'subject' => :'subject',
|
49
49
|
:'inbox_id' => :'inboxId',
|
50
|
-
:'body_md5_hash' => :'bodyMD5Hash',
|
51
|
-
:'bcc' => :'bcc',
|
52
|
-
:'cc' => :'cc',
|
53
|
-
:'virtual_send' => :'virtualSend',
|
54
50
|
:'attachments' => :'attachments',
|
55
51
|
:'to' => :'to',
|
56
|
-
:'created_at' => :'createdAt'
|
52
|
+
:'created_at' => :'createdAt',
|
53
|
+
:'bcc' => :'bcc',
|
54
|
+
:'cc' => :'cc',
|
55
|
+
:'body_md5_hash' => :'bodyMD5Hash',
|
56
|
+
:'virtual_send' => :'virtualSend'
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
@@ -65,13 +65,13 @@ module MailSlurpClient
|
|
65
65
|
:'user_id' => :'String',
|
66
66
|
:'subject' => :'String',
|
67
67
|
:'inbox_id' => :'String',
|
68
|
-
:'body_md5_hash' => :'String',
|
69
|
-
:'bcc' => :'Array<String>',
|
70
|
-
:'cc' => :'Array<String>',
|
71
|
-
:'virtual_send' => :'Boolean',
|
72
68
|
:'attachments' => :'Array<String>',
|
73
69
|
:'to' => :'Array<String>',
|
74
|
-
:'created_at' => :'DateTime'
|
70
|
+
:'created_at' => :'DateTime',
|
71
|
+
:'bcc' => :'Array<String>',
|
72
|
+
:'cc' => :'Array<String>',
|
73
|
+
:'body_md5_hash' => :'String',
|
74
|
+
:'virtual_send' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
77
77
|
|
@@ -116,8 +116,20 @@ module MailSlurpClient
|
|
116
116
|
self.inbox_id = attributes[:'inbox_id']
|
117
117
|
end
|
118
118
|
|
119
|
-
if attributes.key?(:'
|
120
|
-
|
119
|
+
if attributes.key?(:'attachments')
|
120
|
+
if (value = attributes[:'attachments']).is_a?(Array)
|
121
|
+
self.attachments = value
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
if attributes.key?(:'to')
|
126
|
+
if (value = attributes[:'to']).is_a?(Array)
|
127
|
+
self.to = value
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
if attributes.key?(:'created_at')
|
132
|
+
self.created_at = attributes[:'created_at']
|
121
133
|
end
|
122
134
|
|
123
135
|
if attributes.key?(:'bcc')
|
@@ -132,24 +144,12 @@ module MailSlurpClient
|
|
132
144
|
end
|
133
145
|
end
|
134
146
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
137
|
-
end
|
138
|
-
|
139
|
-
if attributes.key?(:'attachments')
|
140
|
-
if (value = attributes[:'attachments']).is_a?(Array)
|
141
|
-
self.attachments = value
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
if attributes.key?(:'to')
|
146
|
-
if (value = attributes[:'to']).is_a?(Array)
|
147
|
-
self.to = value
|
148
|
-
end
|
147
|
+
if attributes.key?(:'body_md5_hash')
|
148
|
+
self.body_md5_hash = attributes[:'body_md5_hash']
|
149
149
|
end
|
150
150
|
|
151
|
-
if attributes.key?(:'
|
152
|
-
self.
|
151
|
+
if attributes.key?(:'virtual_send')
|
152
|
+
self.virtual_send = attributes[:'virtual_send']
|
153
153
|
end
|
154
154
|
end
|
155
155
|
|
@@ -169,18 +169,6 @@ module MailSlurpClient
|
|
169
169
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
170
170
|
end
|
171
171
|
|
172
|
-
if @bcc.nil?
|
173
|
-
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
174
|
-
end
|
175
|
-
|
176
|
-
if @cc.nil?
|
177
|
-
invalid_properties.push('invalid value for "cc", cc cannot be nil.')
|
178
|
-
end
|
179
|
-
|
180
|
-
if @virtual_send.nil?
|
181
|
-
invalid_properties.push('invalid value for "virtual_send", virtual_send cannot be nil.')
|
182
|
-
end
|
183
|
-
|
184
172
|
if @attachments.nil?
|
185
173
|
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
186
174
|
end
|
@@ -193,6 +181,18 @@ module MailSlurpClient
|
|
193
181
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
194
182
|
end
|
195
183
|
|
184
|
+
if @bcc.nil?
|
185
|
+
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
186
|
+
end
|
187
|
+
|
188
|
+
if @cc.nil?
|
189
|
+
invalid_properties.push('invalid value for "cc", cc cannot be nil.')
|
190
|
+
end
|
191
|
+
|
192
|
+
if @virtual_send.nil?
|
193
|
+
invalid_properties.push('invalid value for "virtual_send", virtual_send cannot be nil.')
|
194
|
+
end
|
195
|
+
|
196
196
|
invalid_properties
|
197
197
|
end
|
198
198
|
|
@@ -202,12 +202,12 @@ module MailSlurpClient
|
|
202
202
|
return false if @id.nil?
|
203
203
|
return false if @user_id.nil?
|
204
204
|
return false if @inbox_id.nil?
|
205
|
-
return false if @bcc.nil?
|
206
|
-
return false if @cc.nil?
|
207
|
-
return false if @virtual_send.nil?
|
208
205
|
return false if @attachments.nil?
|
209
206
|
return false if @to.nil?
|
210
207
|
return false if @created_at.nil?
|
208
|
+
return false if @bcc.nil?
|
209
|
+
return false if @cc.nil?
|
210
|
+
return false if @virtual_send.nil?
|
211
211
|
true
|
212
212
|
end
|
213
213
|
|
@@ -221,13 +221,13 @@ module MailSlurpClient
|
|
221
221
|
user_id == o.user_id &&
|
222
222
|
subject == o.subject &&
|
223
223
|
inbox_id == o.inbox_id &&
|
224
|
-
body_md5_hash == o.body_md5_hash &&
|
225
|
-
bcc == o.bcc &&
|
226
|
-
cc == o.cc &&
|
227
|
-
virtual_send == o.virtual_send &&
|
228
224
|
attachments == o.attachments &&
|
229
225
|
to == o.to &&
|
230
|
-
created_at == o.created_at
|
226
|
+
created_at == o.created_at &&
|
227
|
+
bcc == o.bcc &&
|
228
|
+
cc == o.cc &&
|
229
|
+
body_md5_hash == o.body_md5_hash &&
|
230
|
+
virtual_send == o.virtual_send
|
231
231
|
end
|
232
232
|
|
233
233
|
# @see the `==` method
|
@@ -239,7 +239,7 @@ module MailSlurpClient
|
|
239
239
|
# Calculates hash code according to all attributes.
|
240
240
|
# @return [Integer] Hash code
|
241
241
|
def hash
|
242
|
-
[id, from, user_id, subject, inbox_id,
|
242
|
+
[id, from, user_id, subject, inbox_id, attachments, to, created_at, bcc, cc, body_md5_hash, virtual_send].hash
|
243
243
|
end
|
244
244
|
|
245
245
|
# Builds the object from hash
|
@@ -16,16 +16,16 @@ module MailSlurpClient
|
|
16
16
|
class Sort
|
17
17
|
attr_accessor :empty
|
18
18
|
|
19
|
-
attr_accessor :unsorted
|
20
|
-
|
21
19
|
attr_accessor :sorted
|
22
20
|
|
21
|
+
attr_accessor :unsorted
|
22
|
+
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
24
|
def self.attribute_map
|
25
25
|
{
|
26
26
|
:'empty' => :'empty',
|
27
|
-
:'
|
28
|
-
:'
|
27
|
+
:'sorted' => :'sorted',
|
28
|
+
:'unsorted' => :'unsorted'
|
29
29
|
}
|
30
30
|
end
|
31
31
|
|
@@ -33,8 +33,8 @@ module MailSlurpClient
|
|
33
33
|
def self.openapi_types
|
34
34
|
{
|
35
35
|
:'empty' => :'Boolean',
|
36
|
-
:'
|
37
|
-
:'
|
36
|
+
:'sorted' => :'Boolean',
|
37
|
+
:'unsorted' => :'Boolean'
|
38
38
|
}
|
39
39
|
end
|
40
40
|
|
@@ -63,13 +63,13 @@ module MailSlurpClient
|
|
63
63
|
self.empty = attributes[:'empty']
|
64
64
|
end
|
65
65
|
|
66
|
-
if attributes.key?(:'unsorted')
|
67
|
-
self.unsorted = attributes[:'unsorted']
|
68
|
-
end
|
69
|
-
|
70
66
|
if attributes.key?(:'sorted')
|
71
67
|
self.sorted = attributes[:'sorted']
|
72
68
|
end
|
69
|
+
|
70
|
+
if attributes.key?(:'unsorted')
|
71
|
+
self.unsorted = attributes[:'unsorted']
|
72
|
+
end
|
73
73
|
end
|
74
74
|
|
75
75
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -91,8 +91,8 @@ module MailSlurpClient
|
|
91
91
|
return true if self.equal?(o)
|
92
92
|
self.class == o.class &&
|
93
93
|
empty == o.empty &&
|
94
|
-
|
95
|
-
|
94
|
+
sorted == o.sorted &&
|
95
|
+
unsorted == o.unsorted
|
96
96
|
end
|
97
97
|
|
98
98
|
# @see the `==` method
|
@@ -104,7 +104,7 @@ module MailSlurpClient
|
|
104
104
|
# Calculates hash code according to all attributes.
|
105
105
|
# @return [Integer] Hash code
|
106
106
|
def hash
|
107
|
-
[empty,
|
107
|
+
[empty, sorted, unsorted].hash
|
108
108
|
end
|
109
109
|
|
110
110
|
# 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,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 :sent_email_id
|
27
27
|
|
28
28
|
attr_accessor :created_at
|
@@ -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
|
:'sent_email_id' => :'sentEmailId',
|
44
44
|
:'created_at' => :'createdAt',
|
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
|
:'sent_email_id' => :'String',
|
59
59
|
:'created_at' => :'DateTime',
|
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?(:'sent_email_id')
|
104
104
|
self.sent_email_id = attributes[:'sent_email_id']
|
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
|
sent_email_id == o.sent_email_id &&
|
167
167
|
created_at == o.created_at &&
|
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,
|
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.
|
4
|
+
version: 15.13.0
|
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-23 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/ruby/ for full Ruby documentation. Get
|