mailslurp_client 15.12.12 → 15.12.13
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/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/bounce_projection.rb +13 -13
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/inbox_dto.rb +5 -0
- data/lib/mailslurp_client/models/page_alias.rb +10 -10
- data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
- data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
- data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
- data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
- 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 +10 -10
- data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
- data/lib/mailslurp_client/models/sent_email_projection.rb +24 -24
- 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 +1 -1
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,14 +23,14 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :subject
|
25
25
|
|
26
|
-
attr_accessor :
|
26
|
+
attr_accessor :inbox_id
|
27
27
|
|
28
28
|
attr_accessor :attachments
|
29
29
|
|
30
|
-
attr_accessor :inbox_id
|
31
|
-
|
32
30
|
attr_accessor :to
|
33
31
|
|
32
|
+
attr_accessor :created_at
|
33
|
+
|
34
34
|
attr_accessor :bcc
|
35
35
|
|
36
36
|
attr_accessor :cc
|
@@ -46,10 +46,10 @@ module MailSlurpClient
|
|
46
46
|
:'from' => :'from',
|
47
47
|
:'user_id' => :'userId',
|
48
48
|
:'subject' => :'subject',
|
49
|
-
:'created_at' => :'createdAt',
|
50
|
-
:'attachments' => :'attachments',
|
51
49
|
:'inbox_id' => :'inboxId',
|
50
|
+
:'attachments' => :'attachments',
|
52
51
|
:'to' => :'to',
|
52
|
+
:'created_at' => :'createdAt',
|
53
53
|
:'bcc' => :'bcc',
|
54
54
|
:'cc' => :'cc',
|
55
55
|
:'body_md5_hash' => :'bodyMD5Hash',
|
@@ -64,10 +64,10 @@ module MailSlurpClient
|
|
64
64
|
:'from' => :'String',
|
65
65
|
:'user_id' => :'String',
|
66
66
|
:'subject' => :'String',
|
67
|
-
:'created_at' => :'DateTime',
|
68
|
-
:'attachments' => :'Array<String>',
|
69
67
|
:'inbox_id' => :'String',
|
68
|
+
:'attachments' => :'Array<String>',
|
70
69
|
:'to' => :'Array<String>',
|
70
|
+
:'created_at' => :'DateTime',
|
71
71
|
:'bcc' => :'Array<String>',
|
72
72
|
:'cc' => :'Array<String>',
|
73
73
|
:'body_md5_hash' => :'String',
|
@@ -112,8 +112,8 @@ module MailSlurpClient
|
|
112
112
|
self.subject = attributes[:'subject']
|
113
113
|
end
|
114
114
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
115
|
+
if attributes.key?(:'inbox_id')
|
116
|
+
self.inbox_id = attributes[:'inbox_id']
|
117
117
|
end
|
118
118
|
|
119
119
|
if attributes.key?(:'attachments')
|
@@ -122,16 +122,16 @@ module MailSlurpClient
|
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
|
-
if attributes.key?(:'inbox_id')
|
126
|
-
self.inbox_id = attributes[:'inbox_id']
|
127
|
-
end
|
128
|
-
|
129
125
|
if attributes.key?(:'to')
|
130
126
|
if (value = attributes[:'to']).is_a?(Array)
|
131
127
|
self.to = value
|
132
128
|
end
|
133
129
|
end
|
134
130
|
|
131
|
+
if attributes.key?(:'created_at')
|
132
|
+
self.created_at = attributes[:'created_at']
|
133
|
+
end
|
134
|
+
|
135
135
|
if attributes.key?(:'bcc')
|
136
136
|
if (value = attributes[:'bcc']).is_a?(Array)
|
137
137
|
self.bcc = value
|
@@ -165,22 +165,22 @@ module MailSlurpClient
|
|
165
165
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
166
166
|
end
|
167
167
|
|
168
|
-
if @
|
169
|
-
invalid_properties.push('invalid value for "
|
168
|
+
if @inbox_id.nil?
|
169
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
170
170
|
end
|
171
171
|
|
172
172
|
if @attachments.nil?
|
173
173
|
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
174
174
|
end
|
175
175
|
|
176
|
-
if @inbox_id.nil?
|
177
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
178
|
-
end
|
179
|
-
|
180
176
|
if @to.nil?
|
181
177
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
182
178
|
end
|
183
179
|
|
180
|
+
if @created_at.nil?
|
181
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
182
|
+
end
|
183
|
+
|
184
184
|
if @bcc.nil?
|
185
185
|
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
186
186
|
end
|
@@ -201,10 +201,10 @@ module MailSlurpClient
|
|
201
201
|
def valid?
|
202
202
|
return false if @id.nil?
|
203
203
|
return false if @user_id.nil?
|
204
|
-
return false if @created_at.nil?
|
205
|
-
return false if @attachments.nil?
|
206
204
|
return false if @inbox_id.nil?
|
205
|
+
return false if @attachments.nil?
|
207
206
|
return false if @to.nil?
|
207
|
+
return false if @created_at.nil?
|
208
208
|
return false if @bcc.nil?
|
209
209
|
return false if @cc.nil?
|
210
210
|
return false if @virtual_send.nil?
|
@@ -220,10 +220,10 @@ module MailSlurpClient
|
|
220
220
|
from == o.from &&
|
221
221
|
user_id == o.user_id &&
|
222
222
|
subject == o.subject &&
|
223
|
-
created_at == o.created_at &&
|
224
|
-
attachments == o.attachments &&
|
225
223
|
inbox_id == o.inbox_id &&
|
224
|
+
attachments == o.attachments &&
|
226
225
|
to == o.to &&
|
226
|
+
created_at == o.created_at &&
|
227
227
|
bcc == o.bcc &&
|
228
228
|
cc == o.cc &&
|
229
229
|
body_md5_hash == o.body_md5_hash &&
|
@@ -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,
|
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
|
@@ -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
|
:'recipient' => :'recipient',
|
@@ -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
|
:'recipient' => :'String',
|
@@ -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
|
recipient == o.recipient &&
|
@@ -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, recipient, seen, seen_at].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|