mailslurp_client 15.13.3 → 15.13.6
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 +13 -13
- data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
- data/lib/mailslurp_client/models/contact_projection.rb +13 -13
- data/lib/mailslurp_client/models/email_projection.rb +40 -40
- 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_complaint.rb +10 -10
- data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_delivery_status.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/phone_number_projection.rb +15 -15
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/models/template_projection.rb +20 -20
- data/lib/mailslurp_client/models/thread_projection.rb +21 -21
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_dto.rb +13 -2
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
@@ -25,12 +25,12 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :attachments
|
27
27
|
|
28
|
+
attr_accessor :created_at
|
29
|
+
|
28
30
|
attr_accessor :inbox_id
|
29
31
|
|
30
32
|
attr_accessor :to
|
31
33
|
|
32
|
-
attr_accessor :created_at
|
33
|
-
|
34
34
|
attr_accessor :bcc
|
35
35
|
|
36
36
|
attr_accessor :cc
|
@@ -47,9 +47,9 @@ module MailSlurpClient
|
|
47
47
|
:'user_id' => :'userId',
|
48
48
|
:'subject' => :'subject',
|
49
49
|
:'attachments' => :'attachments',
|
50
|
+
:'created_at' => :'createdAt',
|
50
51
|
:'inbox_id' => :'inboxId',
|
51
52
|
:'to' => :'to',
|
52
|
-
:'created_at' => :'createdAt',
|
53
53
|
:'bcc' => :'bcc',
|
54
54
|
:'cc' => :'cc',
|
55
55
|
:'body_md5_hash' => :'bodyMD5Hash',
|
@@ -65,9 +65,9 @@ module MailSlurpClient
|
|
65
65
|
:'user_id' => :'String',
|
66
66
|
:'subject' => :'String',
|
67
67
|
:'attachments' => :'Array<String>',
|
68
|
+
:'created_at' => :'DateTime',
|
68
69
|
:'inbox_id' => :'String',
|
69
70
|
:'to' => :'Array<String>',
|
70
|
-
:'created_at' => :'DateTime',
|
71
71
|
:'bcc' => :'Array<String>',
|
72
72
|
:'cc' => :'Array<String>',
|
73
73
|
:'body_md5_hash' => :'String',
|
@@ -118,6 +118,10 @@ module MailSlurpClient
|
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
121
|
+
if attributes.key?(:'created_at')
|
122
|
+
self.created_at = attributes[:'created_at']
|
123
|
+
end
|
124
|
+
|
121
125
|
if attributes.key?(:'inbox_id')
|
122
126
|
self.inbox_id = attributes[:'inbox_id']
|
123
127
|
end
|
@@ -128,10 +132,6 @@ module MailSlurpClient
|
|
128
132
|
end
|
129
133
|
end
|
130
134
|
|
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
|
@@ -169,6 +169,10 @@ module MailSlurpClient
|
|
169
169
|
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
170
170
|
end
|
171
171
|
|
172
|
+
if @created_at.nil?
|
173
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
174
|
+
end
|
175
|
+
|
172
176
|
if @inbox_id.nil?
|
173
177
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
174
178
|
end
|
@@ -177,10 +181,6 @@ module MailSlurpClient
|
|
177
181
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
178
182
|
end
|
179
183
|
|
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
|
@@ -202,9 +202,9 @@ module MailSlurpClient
|
|
202
202
|
return false if @id.nil?
|
203
203
|
return false if @user_id.nil?
|
204
204
|
return false if @attachments.nil?
|
205
|
+
return false if @created_at.nil?
|
205
206
|
return false if @inbox_id.nil?
|
206
207
|
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?
|
@@ -221,9 +221,9 @@ module MailSlurpClient
|
|
221
221
|
user_id == o.user_id &&
|
222
222
|
subject == o.subject &&
|
223
223
|
attachments == o.attachments &&
|
224
|
+
created_at == o.created_at &&
|
224
225
|
inbox_id == o.inbox_id &&
|
225
226
|
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, attachments, inbox_id, to,
|
242
|
+
[id, from, user_id, subject, attachments, created_at, inbox_id, to, 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 :sorted
|
20
|
-
|
21
19
|
attr_accessor :unsorted
|
22
20
|
|
21
|
+
attr_accessor :sorted
|
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
|
+
:'unsorted' => :'unsorted',
|
28
|
+
:'sorted' => :'sorted'
|
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
|
+
:'unsorted' => :'Boolean',
|
37
|
+
:'sorted' => :'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?(:'sorted')
|
67
|
-
self.sorted = attributes[:'sorted']
|
68
|
-
end
|
69
|
-
|
70
66
|
if attributes.key?(:'unsorted')
|
71
67
|
self.unsorted = attributes[:'unsorted']
|
72
68
|
end
|
69
|
+
|
70
|
+
if attributes.key?(:'sorted')
|
71
|
+
self.sorted = attributes[:'sorted']
|
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
|
+
unsorted == o.unsorted &&
|
95
|
+
sorted == o.sorted
|
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, unsorted, sorted].hash
|
108
108
|
end
|
109
109
|
|
110
110
|
# Builds the object from hash
|
@@ -19,20 +19,20 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
+
attr_accessor :variables
|
23
|
+
|
22
24
|
attr_accessor :created_at
|
23
25
|
|
24
26
|
attr_accessor :updated_at
|
25
27
|
|
26
|
-
attr_accessor :variables
|
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
|
+
:'variables' => :'variables',
|
33
34
|
:'created_at' => :'createdAt',
|
34
|
-
:'updated_at' => :'updatedAt'
|
35
|
-
:'variables' => :'variables'
|
35
|
+
:'updated_at' => :'updatedAt'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -41,9 +41,9 @@ module MailSlurpClient
|
|
41
41
|
{
|
42
42
|
:'name' => :'String',
|
43
43
|
:'id' => :'String',
|
44
|
+
:'variables' => :'Array<String>',
|
44
45
|
:'created_at' => :'DateTime',
|
45
|
-
:'updated_at' => :'DateTime'
|
46
|
-
:'variables' => :'Array<String>'
|
46
|
+
:'updated_at' => :'DateTime'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -76,6 +76,12 @@ module MailSlurpClient
|
|
76
76
|
self.id = attributes[:'id']
|
77
77
|
end
|
78
78
|
|
79
|
+
if attributes.key?(:'variables')
|
80
|
+
if (value = attributes[:'variables']).is_a?(Array)
|
81
|
+
self.variables = value
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
79
85
|
if attributes.key?(:'created_at')
|
80
86
|
self.created_at = attributes[:'created_at']
|
81
87
|
end
|
@@ -83,12 +89,6 @@ module MailSlurpClient
|
|
83
89
|
if attributes.key?(:'updated_at')
|
84
90
|
self.updated_at = attributes[:'updated_at']
|
85
91
|
end
|
86
|
-
|
87
|
-
if attributes.key?(:'variables')
|
88
|
-
if (value = attributes[:'variables']).is_a?(Array)
|
89
|
-
self.variables = value
|
90
|
-
end
|
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 @variables.nil?
|
107
|
+
invalid_properties.push('invalid value for "variables", variables 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 "updated_at", updated_at cannot be nil.')
|
112
116
|
end
|
113
117
|
|
114
|
-
if @variables.nil?
|
115
|
-
invalid_properties.push('invalid value for "variables", variables 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 @variables.nil?
|
126
127
|
return false if @created_at.nil?
|
127
128
|
return false if @updated_at.nil?
|
128
|
-
return false if @variables.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
|
+
variables == o.variables &&
|
139
140
|
created_at == o.created_at &&
|
140
|
-
updated_at == o.updated_at
|
141
|
-
variables == o.variables
|
141
|
+
updated_at == o.updated_at
|
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, updated_at
|
153
|
+
[name, id, variables, created_at, updated_at].hash
|
154
154
|
end
|
155
155
|
|
156
156
|
# Builds the object from hash
|
@@ -33,18 +33,18 @@ module MailSlurpClient
|
|
33
33
|
# To recipients
|
34
34
|
attr_accessor :to
|
35
35
|
|
36
|
-
# Created at DateTime
|
37
|
-
attr_accessor :created_at
|
38
|
-
|
39
|
-
# Updated at DateTime
|
40
|
-
attr_accessor :updated_at
|
41
|
-
|
42
36
|
# BCC recipients
|
43
37
|
attr_accessor :bcc
|
44
38
|
|
45
39
|
# CC recipients
|
46
40
|
attr_accessor :cc
|
47
41
|
|
42
|
+
# Created at DateTime
|
43
|
+
attr_accessor :created_at
|
44
|
+
|
45
|
+
# Updated at DateTime
|
46
|
+
attr_accessor :updated_at
|
47
|
+
|
48
48
|
# Alias ID
|
49
49
|
attr_accessor :alias_id
|
50
50
|
|
@@ -57,10 +57,10 @@ module MailSlurpClient
|
|
57
57
|
:'inbox_id' => :'inboxId',
|
58
58
|
:'user_id' => :'userId',
|
59
59
|
:'to' => :'to',
|
60
|
-
:'created_at' => :'createdAt',
|
61
|
-
:'updated_at' => :'updatedAt',
|
62
60
|
:'bcc' => :'bcc',
|
63
61
|
:'cc' => :'cc',
|
62
|
+
:'created_at' => :'createdAt',
|
63
|
+
:'updated_at' => :'updatedAt',
|
64
64
|
:'alias_id' => :'aliasId'
|
65
65
|
}
|
66
66
|
end
|
@@ -74,10 +74,10 @@ module MailSlurpClient
|
|
74
74
|
:'inbox_id' => :'String',
|
75
75
|
:'user_id' => :'String',
|
76
76
|
:'to' => :'Array<String>',
|
77
|
-
:'created_at' => :'DateTime',
|
78
|
-
:'updated_at' => :'DateTime',
|
79
77
|
:'bcc' => :'Array<String>',
|
80
78
|
:'cc' => :'Array<String>',
|
79
|
+
:'created_at' => :'DateTime',
|
80
|
+
:'updated_at' => :'DateTime',
|
81
81
|
:'alias_id' => :'String'
|
82
82
|
}
|
83
83
|
end
|
@@ -129,14 +129,6 @@ module MailSlurpClient
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
-
if attributes.key?(:'created_at')
|
133
|
-
self.created_at = attributes[:'created_at']
|
134
|
-
end
|
135
|
-
|
136
|
-
if attributes.key?(:'updated_at')
|
137
|
-
self.updated_at = attributes[:'updated_at']
|
138
|
-
end
|
139
|
-
|
140
132
|
if attributes.key?(:'bcc')
|
141
133
|
if (value = attributes[:'bcc']).is_a?(Array)
|
142
134
|
self.bcc = value
|
@@ -149,6 +141,14 @@ module MailSlurpClient
|
|
149
141
|
end
|
150
142
|
end
|
151
143
|
|
144
|
+
if attributes.key?(:'created_at')
|
145
|
+
self.created_at = attributes[:'created_at']
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'updated_at')
|
149
|
+
self.updated_at = attributes[:'updated_at']
|
150
|
+
end
|
151
|
+
|
152
152
|
if attributes.key?(:'alias_id')
|
153
153
|
self.alias_id = attributes[:'alias_id']
|
154
154
|
end
|
@@ -213,10 +213,10 @@ module MailSlurpClient
|
|
213
213
|
inbox_id == o.inbox_id &&
|
214
214
|
user_id == o.user_id &&
|
215
215
|
to == o.to &&
|
216
|
-
created_at == o.created_at &&
|
217
|
-
updated_at == o.updated_at &&
|
218
216
|
bcc == o.bcc &&
|
219
217
|
cc == o.cc &&
|
218
|
+
created_at == o.created_at &&
|
219
|
+
updated_at == o.updated_at &&
|
220
220
|
alias_id == o.alias_id
|
221
221
|
end
|
222
222
|
|
@@ -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, inbox_id, user_id, to,
|
232
|
+
[name, id, subject, inbox_id, user_id, to, bcc, cc, created_at, updated_at, alias_id].hash
|
233
233
|
end
|
234
234
|
|
235
235
|
# Builds the object from hash
|
@@ -27,10 +27,10 @@ module MailSlurpClient
|
|
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.
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
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
|
@@ -57,8 +57,8 @@ module MailSlurpClient
|
|
57
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
|
@@ -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
|
@@ -165,8 +165,8 @@ module MailSlurpClient
|
|
165
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, inbox_id, user_id, sent_email_id, created_at,
|
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
|
@@ -27,7 +27,10 @@ module MailSlurpClient
|
|
27
27
|
# Name of the webhook
|
28
28
|
attr_accessor :name
|
29
29
|
|
30
|
-
# The
|
30
|
+
# The phoneNumberId that the Webhook will be triggered by. If null then webhook triggered at account level or inbox level if inboxId set
|
31
|
+
attr_accessor :phone_id
|
32
|
+
|
33
|
+
# The inbox that the Webhook will be triggered by. If null then webhook triggered at account level or phone level if phoneId set
|
31
34
|
attr_accessor :inbox_id
|
32
35
|
|
33
36
|
# URL of your server that the webhook will be sent to. The schema of the JSON that is sent is described by the payloadJsonSchema.
|
@@ -78,6 +81,7 @@ module MailSlurpClient
|
|
78
81
|
:'user_id' => :'userId',
|
79
82
|
:'basic_auth' => :'basicAuth',
|
80
83
|
:'name' => :'name',
|
84
|
+
:'phone_id' => :'phoneId',
|
81
85
|
:'inbox_id' => :'inboxId',
|
82
86
|
:'url' => :'url',
|
83
87
|
:'method' => :'method',
|
@@ -96,6 +100,7 @@ module MailSlurpClient
|
|
96
100
|
:'user_id' => :'String',
|
97
101
|
:'basic_auth' => :'Boolean',
|
98
102
|
:'name' => :'String',
|
103
|
+
:'phone_id' => :'String',
|
99
104
|
:'inbox_id' => :'String',
|
100
105
|
:'url' => :'String',
|
101
106
|
:'method' => :'String',
|
@@ -111,6 +116,7 @@ module MailSlurpClient
|
|
111
116
|
def self.openapi_nullable
|
112
117
|
Set.new([
|
113
118
|
:'name',
|
119
|
+
:'phone_id',
|
114
120
|
:'inbox_id',
|
115
121
|
:'created_at',
|
116
122
|
:'event_name',
|
@@ -148,6 +154,10 @@ module MailSlurpClient
|
|
148
154
|
self.name = attributes[:'name']
|
149
155
|
end
|
150
156
|
|
157
|
+
if attributes.key?(:'phone_id')
|
158
|
+
self.phone_id = attributes[:'phone_id']
|
159
|
+
end
|
160
|
+
|
151
161
|
if attributes.key?(:'inbox_id')
|
152
162
|
self.inbox_id = attributes[:'inbox_id']
|
153
163
|
end
|
@@ -262,6 +272,7 @@ module MailSlurpClient
|
|
262
272
|
user_id == o.user_id &&
|
263
273
|
basic_auth == o.basic_auth &&
|
264
274
|
name == o.name &&
|
275
|
+
phone_id == o.phone_id &&
|
265
276
|
inbox_id == o.inbox_id &&
|
266
277
|
url == o.url &&
|
267
278
|
method == o.method &&
|
@@ -281,7 +292,7 @@ module MailSlurpClient
|
|
281
292
|
# Calculates hash code according to all attributes.
|
282
293
|
# @return [Integer] Hash code
|
283
294
|
def hash
|
284
|
-
[id, user_id, basic_auth, name, inbox_id, url, method, payload_json_schema, created_at, updated_at, event_name, request_headers].hash
|
295
|
+
[id, user_id, basic_auth, name, phone_id, inbox_id, url, method, payload_json_schema, created_at, updated_at, event_name, request_headers].hash
|
285
296
|
end
|
286
297
|
|
287
298
|
# 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.13.
|
4
|
+
version: 15.13.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-05 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
|