mailslurp_client 15.13.30 → 15.13.31
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/bounce_projection.rb +22 -22
- data/lib/mailslurp_client/models/contact_projection.rb +18 -18
- data/lib/mailslurp_client/models/create_webhook_options.rb +16 -5
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/pageable_object.rb +22 -22
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/thread_projection.rb +26 -26
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/webhook_dto.rb +12 -1
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8d9485140934e8f5dcc63561e7e29d70192dbd4ddf93d6eee2e2bcf0625416d
|
4
|
+
data.tar.gz: 4b4cb368bc22a27c5f3b19ff3d23d3120d7266b27387261ebede0456eec8ce06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59defe612532ceccd56b2580a61eb288d786a9e8ec751056f3e20ff87231ba5eb079d896e9dd5f053c6712c59990f98ed388fbcd859031becbf736fea5e58acb
|
7
|
+
data.tar.gz: dc46fa89f082172d0f0c319e980fc90d7bbcb24d170f866ea808aad104465af44eae713da611a4831ee8b061c286586df0804221a84a70b3e8dd7aab7f0b6423
|
@@ -19,12 +19,12 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
attr_accessor :inbox_id
|
23
|
-
|
24
22
|
attr_accessor :user_id
|
25
23
|
|
26
24
|
attr_accessor :email_address
|
27
25
|
|
26
|
+
attr_accessor :inbox_id
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :use_threads
|
@@ -36,9 +36,9 @@ module MailSlurpClient
|
|
36
36
|
{
|
37
37
|
:'name' => :'name',
|
38
38
|
:'id' => :'id',
|
39
|
-
:'inbox_id' => :'inboxId',
|
40
39
|
:'user_id' => :'userId',
|
41
40
|
:'email_address' => :'emailAddress',
|
41
|
+
:'inbox_id' => :'inboxId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
43
|
:'use_threads' => :'useThreads',
|
44
44
|
:'updated_at' => :'updatedAt'
|
@@ -50,9 +50,9 @@ module MailSlurpClient
|
|
50
50
|
{
|
51
51
|
:'name' => :'String',
|
52
52
|
:'id' => :'String',
|
53
|
-
:'inbox_id' => :'String',
|
54
53
|
:'user_id' => :'String',
|
55
54
|
:'email_address' => :'String',
|
55
|
+
:'inbox_id' => :'String',
|
56
56
|
:'created_at' => :'DateTime',
|
57
57
|
:'use_threads' => :'Boolean',
|
58
58
|
:'updated_at' => :'DateTime'
|
@@ -88,10 +88,6 @@ module MailSlurpClient
|
|
88
88
|
self.id = attributes[:'id']
|
89
89
|
end
|
90
90
|
|
91
|
-
if attributes.key?(:'inbox_id')
|
92
|
-
self.inbox_id = attributes[:'inbox_id']
|
93
|
-
end
|
94
|
-
|
95
91
|
if attributes.key?(:'user_id')
|
96
92
|
self.user_id = attributes[:'user_id']
|
97
93
|
end
|
@@ -100,6 +96,10 @@ module MailSlurpClient
|
|
100
96
|
self.email_address = attributes[:'email_address']
|
101
97
|
end
|
102
98
|
|
99
|
+
if attributes.key?(:'inbox_id')
|
100
|
+
self.inbox_id = attributes[:'inbox_id']
|
101
|
+
end
|
102
|
+
|
103
103
|
if attributes.key?(:'created_at')
|
104
104
|
self.created_at = attributes[:'created_at']
|
105
105
|
end
|
@@ -121,10 +121,6 @@ module MailSlurpClient
|
|
121
121
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
122
122
|
end
|
123
123
|
|
124
|
-
if @inbox_id.nil?
|
125
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
126
|
-
end
|
127
|
-
|
128
124
|
if @user_id.nil?
|
129
125
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
130
126
|
end
|
@@ -133,6 +129,10 @@ module MailSlurpClient
|
|
133
129
|
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
134
130
|
end
|
135
131
|
|
132
|
+
if @inbox_id.nil?
|
133
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
134
|
+
end
|
135
|
+
|
136
136
|
if @created_at.nil?
|
137
137
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
138
138
|
end
|
@@ -148,9 +148,9 @@ module MailSlurpClient
|
|
148
148
|
# @return true if the model is valid
|
149
149
|
def valid?
|
150
150
|
return false if @id.nil?
|
151
|
-
return false if @inbox_id.nil?
|
152
151
|
return false if @user_id.nil?
|
153
152
|
return false if @email_address.nil?
|
153
|
+
return false if @inbox_id.nil?
|
154
154
|
return false if @created_at.nil?
|
155
155
|
return false if @updated_at.nil?
|
156
156
|
true
|
@@ -163,9 +163,9 @@ module MailSlurpClient
|
|
163
163
|
self.class == o.class &&
|
164
164
|
name == o.name &&
|
165
165
|
id == o.id &&
|
166
|
-
inbox_id == o.inbox_id &&
|
167
166
|
user_id == o.user_id &&
|
168
167
|
email_address == o.email_address &&
|
168
|
+
inbox_id == o.inbox_id &&
|
169
169
|
created_at == o.created_at &&
|
170
170
|
use_threads == o.use_threads &&
|
171
171
|
updated_at == o.updated_at
|
@@ -180,7 +180,7 @@ module MailSlurpClient
|
|
180
180
|
# Calculates hash code according to all attributes.
|
181
181
|
# @return [Integer] Hash code
|
182
182
|
def hash
|
183
|
-
[name, id,
|
183
|
+
[name, id, user_id, email_address, inbox_id, created_at, use_threads, updated_at].hash
|
184
184
|
end
|
185
185
|
|
186
186
|
# Builds the object from hash
|
@@ -17,25 +17,25 @@ module MailSlurpClient
|
|
17
17
|
class BounceProjection
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
|
-
attr_accessor :subject
|
21
|
-
|
22
20
|
attr_accessor :sender
|
23
21
|
|
24
|
-
attr_accessor :
|
22
|
+
attr_accessor :subject
|
25
23
|
|
26
|
-
attr_accessor :
|
24
|
+
attr_accessor :created_at
|
27
25
|
|
28
26
|
attr_accessor :bounce_mta
|
29
27
|
|
28
|
+
attr_accessor :bounce_type
|
29
|
+
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
33
33
|
:'id' => :'id',
|
34
|
-
:'subject' => :'subject',
|
35
34
|
:'sender' => :'sender',
|
35
|
+
:'subject' => :'subject',
|
36
36
|
:'created_at' => :'createdAt',
|
37
|
-
:'
|
38
|
-
:'
|
37
|
+
:'bounce_mta' => :'bounceMta',
|
38
|
+
:'bounce_type' => :'bounceType'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -43,11 +43,11 @@ module MailSlurpClient
|
|
43
43
|
def self.openapi_types
|
44
44
|
{
|
45
45
|
:'id' => :'String',
|
46
|
-
:'subject' => :'String',
|
47
46
|
:'sender' => :'String',
|
47
|
+
:'subject' => :'String',
|
48
48
|
:'created_at' => :'DateTime',
|
49
|
-
:'
|
50
|
-
:'
|
49
|
+
:'bounce_mta' => :'String',
|
50
|
+
:'bounce_type' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -76,25 +76,25 @@ module MailSlurpClient
|
|
76
76
|
self.id = attributes[:'id']
|
77
77
|
end
|
78
78
|
|
79
|
-
if attributes.key?(:'subject')
|
80
|
-
self.subject = attributes[:'subject']
|
81
|
-
end
|
82
|
-
|
83
79
|
if attributes.key?(:'sender')
|
84
80
|
self.sender = attributes[:'sender']
|
85
81
|
end
|
86
82
|
|
87
|
-
if attributes.key?(:'
|
88
|
-
self.
|
83
|
+
if attributes.key?(:'subject')
|
84
|
+
self.subject = attributes[:'subject']
|
89
85
|
end
|
90
86
|
|
91
|
-
if attributes.key?(:'
|
92
|
-
self.
|
87
|
+
if attributes.key?(:'created_at')
|
88
|
+
self.created_at = attributes[:'created_at']
|
93
89
|
end
|
94
90
|
|
95
91
|
if attributes.key?(:'bounce_mta')
|
96
92
|
self.bounce_mta = attributes[:'bounce_mta']
|
97
93
|
end
|
94
|
+
|
95
|
+
if attributes.key?(:'bounce_type')
|
96
|
+
self.bounce_type = attributes[:'bounce_type']
|
97
|
+
end
|
98
98
|
end
|
99
99
|
|
100
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -126,11 +126,11 @@ module MailSlurpClient
|
|
126
126
|
return true if self.equal?(o)
|
127
127
|
self.class == o.class &&
|
128
128
|
id == o.id &&
|
129
|
-
subject == o.subject &&
|
130
129
|
sender == o.sender &&
|
130
|
+
subject == o.subject &&
|
131
131
|
created_at == o.created_at &&
|
132
|
-
|
133
|
-
|
132
|
+
bounce_mta == o.bounce_mta &&
|
133
|
+
bounce_type == o.bounce_type
|
134
134
|
end
|
135
135
|
|
136
136
|
# @see the `==` method
|
@@ -142,7 +142,7 @@ module MailSlurpClient
|
|
142
142
|
# Calculates hash code according to all attributes.
|
143
143
|
# @return [Integer] Hash code
|
144
144
|
def hash
|
145
|
-
[id,
|
145
|
+
[id, sender, subject, created_at, bounce_mta, bounce_type].hash
|
146
146
|
end
|
147
147
|
|
148
148
|
# Builds the object from hash
|
@@ -19,8 +19,6 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :group_id
|
21
21
|
|
22
|
-
attr_accessor :created_at
|
23
|
-
|
24
22
|
attr_accessor :first_name
|
25
23
|
|
26
24
|
attr_accessor :last_name
|
@@ -31,17 +29,19 @@ module MailSlurpClient
|
|
31
29
|
|
32
30
|
attr_accessor :opt_out
|
33
31
|
|
32
|
+
attr_accessor :created_at
|
33
|
+
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
37
37
|
:'id' => :'id',
|
38
38
|
:'group_id' => :'groupId',
|
39
|
-
:'created_at' => :'createdAt',
|
40
39
|
:'first_name' => :'firstName',
|
41
40
|
:'last_name' => :'lastName',
|
42
41
|
:'company' => :'company',
|
43
42
|
:'email_addresses' => :'emailAddresses',
|
44
|
-
:'opt_out' => :'optOut'
|
43
|
+
:'opt_out' => :'optOut',
|
44
|
+
:'created_at' => :'createdAt'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -50,12 +50,12 @@ module MailSlurpClient
|
|
50
50
|
{
|
51
51
|
:'id' => :'String',
|
52
52
|
:'group_id' => :'String',
|
53
|
-
:'created_at' => :'DateTime',
|
54
53
|
:'first_name' => :'String',
|
55
54
|
:'last_name' => :'String',
|
56
55
|
:'company' => :'String',
|
57
56
|
:'email_addresses' => :'Array<String>',
|
58
|
-
:'opt_out' => :'Boolean'
|
57
|
+
:'opt_out' => :'Boolean',
|
58
|
+
:'created_at' => :'DateTime'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
@@ -88,10 +88,6 @@ module MailSlurpClient
|
|
88
88
|
self.group_id = attributes[:'group_id']
|
89
89
|
end
|
90
90
|
|
91
|
-
if attributes.key?(:'created_at')
|
92
|
-
self.created_at = attributes[:'created_at']
|
93
|
-
end
|
94
|
-
|
95
91
|
if attributes.key?(:'first_name')
|
96
92
|
self.first_name = attributes[:'first_name']
|
97
93
|
end
|
@@ -113,6 +109,10 @@ module MailSlurpClient
|
|
113
109
|
if attributes.key?(:'opt_out')
|
114
110
|
self.opt_out = attributes[:'opt_out']
|
115
111
|
end
|
112
|
+
|
113
|
+
if attributes.key?(:'created_at')
|
114
|
+
self.created_at = attributes[:'created_at']
|
115
|
+
end
|
116
116
|
end
|
117
117
|
|
118
118
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -123,14 +123,14 @@ module MailSlurpClient
|
|
123
123
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
124
124
|
end
|
125
125
|
|
126
|
-
if @created_at.nil?
|
127
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
128
|
-
end
|
129
|
-
|
130
126
|
if @opt_out.nil?
|
131
127
|
invalid_properties.push('invalid value for "opt_out", opt_out cannot be nil.')
|
132
128
|
end
|
133
129
|
|
130
|
+
if @created_at.nil?
|
131
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
132
|
+
end
|
133
|
+
|
134
134
|
invalid_properties
|
135
135
|
end
|
136
136
|
|
@@ -138,8 +138,8 @@ module MailSlurpClient
|
|
138
138
|
# @return true if the model is valid
|
139
139
|
def valid?
|
140
140
|
return false if @id.nil?
|
141
|
-
return false if @created_at.nil?
|
142
141
|
return false if @opt_out.nil?
|
142
|
+
return false if @created_at.nil?
|
143
143
|
true
|
144
144
|
end
|
145
145
|
|
@@ -150,12 +150,12 @@ module MailSlurpClient
|
|
150
150
|
self.class == o.class &&
|
151
151
|
id == o.id &&
|
152
152
|
group_id == o.group_id &&
|
153
|
-
created_at == o.created_at &&
|
154
153
|
first_name == o.first_name &&
|
155
154
|
last_name == o.last_name &&
|
156
155
|
company == o.company &&
|
157
156
|
email_addresses == o.email_addresses &&
|
158
|
-
opt_out == o.opt_out
|
157
|
+
opt_out == o.opt_out &&
|
158
|
+
created_at == o.created_at
|
159
159
|
end
|
160
160
|
|
161
161
|
# @see the `==` method
|
@@ -167,7 +167,7 @@ module MailSlurpClient
|
|
167
167
|
# Calculates hash code according to all attributes.
|
168
168
|
# @return [Integer] Hash code
|
169
169
|
def hash
|
170
|
-
[id, group_id,
|
170
|
+
[id, group_id, first_name, last_name, company, email_addresses, opt_out, created_at].hash
|
171
171
|
end
|
172
172
|
|
173
173
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
-
# Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the webhook's event is triggered. Webhooks are great for processing many inbound emails and responding to other events at scale.
|
16
|
+
# Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the webhook's event is triggered. Webhooks are great for processing many inbound emails and responding to other events at scale. Customize the payload sent to your endpoint by setting the `requestBodyTemplate` property to a string with moustache style variables. Property names from the standard payload model for the given event are available as variables.
|
17
17
|
class CreateWebhookOptions
|
18
18
|
# Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received or an event is trigger. The payload of the submitted JSON is dependent on the webhook event type. See docs.mailslurp.com/webhooks for event payload documentation.
|
19
19
|
attr_accessor :url
|
@@ -28,6 +28,9 @@ module MailSlurpClient
|
|
28
28
|
|
29
29
|
attr_accessor :include_headers
|
30
30
|
|
31
|
+
# Template for the JSON body of the webhook request that will be sent to your server. Use Moustache style `{{variableName}}` templating to use parts of the standard webhook payload for the given event.
|
32
|
+
attr_accessor :request_body_template
|
33
|
+
|
31
34
|
class EnumAttributeValidator
|
32
35
|
attr_reader :datatype
|
33
36
|
attr_reader :allowable_values
|
@@ -57,7 +60,8 @@ module MailSlurpClient
|
|
57
60
|
:'basic_auth' => :'basicAuth',
|
58
61
|
:'name' => :'name',
|
59
62
|
:'event_name' => :'eventName',
|
60
|
-
:'include_headers' => :'includeHeaders'
|
63
|
+
:'include_headers' => :'includeHeaders',
|
64
|
+
:'request_body_template' => :'requestBodyTemplate'
|
61
65
|
}
|
62
66
|
end
|
63
67
|
|
@@ -68,7 +72,8 @@ module MailSlurpClient
|
|
68
72
|
:'basic_auth' => :'BasicAuthOptions',
|
69
73
|
:'name' => :'String',
|
70
74
|
:'event_name' => :'String',
|
71
|
-
:'include_headers' => :'WebhookHeaders'
|
75
|
+
:'include_headers' => :'WebhookHeaders',
|
76
|
+
:'request_body_template' => :'String'
|
72
77
|
}
|
73
78
|
end
|
74
79
|
|
@@ -76,6 +81,7 @@ module MailSlurpClient
|
|
76
81
|
def self.openapi_nullable
|
77
82
|
Set.new([
|
78
83
|
:'basic_auth',
|
84
|
+
:'request_body_template'
|
79
85
|
])
|
80
86
|
end
|
81
87
|
|
@@ -113,6 +119,10 @@ module MailSlurpClient
|
|
113
119
|
if attributes.key?(:'include_headers')
|
114
120
|
self.include_headers = attributes[:'include_headers']
|
115
121
|
end
|
122
|
+
|
123
|
+
if attributes.key?(:'request_body_template')
|
124
|
+
self.request_body_template = attributes[:'request_body_template']
|
125
|
+
end
|
116
126
|
end
|
117
127
|
|
118
128
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -154,7 +164,8 @@ module MailSlurpClient
|
|
154
164
|
basic_auth == o.basic_auth &&
|
155
165
|
name == o.name &&
|
156
166
|
event_name == o.event_name &&
|
157
|
-
include_headers == o.include_headers
|
167
|
+
include_headers == o.include_headers &&
|
168
|
+
request_body_template == o.request_body_template
|
158
169
|
end
|
159
170
|
|
160
171
|
# @see the `==` method
|
@@ -166,7 +177,7 @@ module MailSlurpClient
|
|
166
177
|
# Calculates hash code according to all attributes.
|
167
178
|
# @return [Integer] Hash code
|
168
179
|
def hash
|
169
|
-
[url, basic_auth, name, event_name, include_headers].hash
|
180
|
+
[url, basic_auth, name, event_name, include_headers, request_body_template].hash
|
170
181
|
end
|
171
182
|
|
172
183
|
# Builds the object from hash
|
@@ -27,12 +27,12 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :to
|
29
29
|
|
30
|
+
attr_accessor :created_at
|
31
|
+
|
30
32
|
attr_accessor :bcc
|
31
33
|
|
32
34
|
attr_accessor :cc
|
33
35
|
|
34
|
-
attr_accessor :created_at
|
35
|
-
|
36
36
|
attr_accessor :domain_id
|
37
37
|
|
38
38
|
attr_accessor :read
|
@@ -52,9 +52,9 @@ module MailSlurpClient
|
|
52
52
|
:'inbox_id' => :'inboxId',
|
53
53
|
:'attachments' => :'attachments',
|
54
54
|
:'to' => :'to',
|
55
|
+
:'created_at' => :'createdAt',
|
55
56
|
:'bcc' => :'bcc',
|
56
57
|
:'cc' => :'cc',
|
57
|
-
:'created_at' => :'createdAt',
|
58
58
|
:'domain_id' => :'domainId',
|
59
59
|
:'read' => :'read',
|
60
60
|
:'team_access' => :'teamAccess',
|
@@ -72,9 +72,9 @@ module MailSlurpClient
|
|
72
72
|
:'inbox_id' => :'String',
|
73
73
|
:'attachments' => :'Array<String>',
|
74
74
|
:'to' => :'Array<String>',
|
75
|
+
:'created_at' => :'DateTime',
|
75
76
|
:'bcc' => :'Array<String>',
|
76
77
|
:'cc' => :'Array<String>',
|
77
|
-
:'created_at' => :'DateTime',
|
78
78
|
:'domain_id' => :'String',
|
79
79
|
:'read' => :'Boolean',
|
80
80
|
:'team_access' => :'Boolean',
|
@@ -132,6 +132,10 @@ module MailSlurpClient
|
|
132
132
|
end
|
133
133
|
end
|
134
134
|
|
135
|
+
if attributes.key?(:'created_at')
|
136
|
+
self.created_at = attributes[:'created_at']
|
137
|
+
end
|
138
|
+
|
135
139
|
if attributes.key?(:'bcc')
|
136
140
|
if (value = attributes[:'bcc']).is_a?(Array)
|
137
141
|
self.bcc = value
|
@@ -144,10 +148,6 @@ module MailSlurpClient
|
|
144
148
|
end
|
145
149
|
end
|
146
150
|
|
147
|
-
if attributes.key?(:'created_at')
|
148
|
-
self.created_at = attributes[:'created_at']
|
149
|
-
end
|
150
|
-
|
151
151
|
if attributes.key?(:'domain_id')
|
152
152
|
self.domain_id = attributes[:'domain_id']
|
153
153
|
end
|
@@ -223,9 +223,9 @@ module MailSlurpClient
|
|
223
223
|
inbox_id == o.inbox_id &&
|
224
224
|
attachments == o.attachments &&
|
225
225
|
to == o.to &&
|
226
|
+
created_at == o.created_at &&
|
226
227
|
bcc == o.bcc &&
|
227
228
|
cc == o.cc &&
|
228
|
-
created_at == o.created_at &&
|
229
229
|
domain_id == o.domain_id &&
|
230
230
|
read == o.read &&
|
231
231
|
team_access == o.team_access &&
|
@@ -242,7 +242,7 @@ module MailSlurpClient
|
|
242
242
|
# Calculates hash code according to all attributes.
|
243
243
|
# @return [Integer] Hash code
|
244
244
|
def hash
|
245
|
-
[id, from, subject, inbox_id, attachments, to, bcc, cc,
|
245
|
+
[id, from, subject, inbox_id, attachments, to, created_at, bcc, cc, domain_id, read, team_access, body_md5_hash, body_excerpt].hash
|
246
246
|
end
|
247
247
|
|
248
248
|
# Builds the object from hash
|
@@ -18,23 +18,23 @@ module MailSlurpClient
|
|
18
18
|
|
19
19
|
attr_accessor :sort
|
20
20
|
|
21
|
-
attr_accessor :paged
|
22
|
-
|
23
|
-
attr_accessor :unpaged
|
24
|
-
|
25
21
|
attr_accessor :page_number
|
26
22
|
|
27
23
|
attr_accessor :page_size
|
28
24
|
|
25
|
+
attr_accessor :paged
|
26
|
+
|
27
|
+
attr_accessor :unpaged
|
28
|
+
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
32
|
:'offset' => :'offset',
|
33
33
|
:'sort' => :'sort',
|
34
|
-
:'paged' => :'paged',
|
35
|
-
:'unpaged' => :'unpaged',
|
36
34
|
:'page_number' => :'pageNumber',
|
37
|
-
:'page_size' => :'pageSize'
|
35
|
+
:'page_size' => :'pageSize',
|
36
|
+
:'paged' => :'paged',
|
37
|
+
:'unpaged' => :'unpaged'
|
38
38
|
}
|
39
39
|
end
|
40
40
|
|
@@ -43,10 +43,10 @@ module MailSlurpClient
|
|
43
43
|
{
|
44
44
|
:'offset' => :'Integer',
|
45
45
|
:'sort' => :'Sort',
|
46
|
-
:'paged' => :'Boolean',
|
47
|
-
:'unpaged' => :'Boolean',
|
48
46
|
:'page_number' => :'Integer',
|
49
|
-
:'page_size' => :'Integer'
|
47
|
+
:'page_size' => :'Integer',
|
48
|
+
:'paged' => :'Boolean',
|
49
|
+
:'unpaged' => :'Boolean'
|
50
50
|
}
|
51
51
|
end
|
52
52
|
|
@@ -79,14 +79,6 @@ module MailSlurpClient
|
|
79
79
|
self.sort = attributes[:'sort']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'paged')
|
83
|
-
self.paged = attributes[:'paged']
|
84
|
-
end
|
85
|
-
|
86
|
-
if attributes.key?(:'unpaged')
|
87
|
-
self.unpaged = attributes[:'unpaged']
|
88
|
-
end
|
89
|
-
|
90
82
|
if attributes.key?(:'page_number')
|
91
83
|
self.page_number = attributes[:'page_number']
|
92
84
|
end
|
@@ -94,6 +86,14 @@ module MailSlurpClient
|
|
94
86
|
if attributes.key?(:'page_size')
|
95
87
|
self.page_size = attributes[:'page_size']
|
96
88
|
end
|
89
|
+
|
90
|
+
if attributes.key?(:'paged')
|
91
|
+
self.paged = attributes[:'paged']
|
92
|
+
end
|
93
|
+
|
94
|
+
if attributes.key?(:'unpaged')
|
95
|
+
self.unpaged = attributes[:'unpaged']
|
96
|
+
end
|
97
97
|
end
|
98
98
|
|
99
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -116,10 +116,10 @@ module MailSlurpClient
|
|
116
116
|
self.class == o.class &&
|
117
117
|
offset == o.offset &&
|
118
118
|
sort == o.sort &&
|
119
|
-
paged == o.paged &&
|
120
|
-
unpaged == o.unpaged &&
|
121
119
|
page_number == o.page_number &&
|
122
|
-
page_size == o.page_size
|
120
|
+
page_size == o.page_size &&
|
121
|
+
paged == o.paged &&
|
122
|
+
unpaged == o.unpaged
|
123
123
|
end
|
124
124
|
|
125
125
|
# @see the `==` method
|
@@ -131,7 +131,7 @@ module MailSlurpClient
|
|
131
131
|
# Calculates hash code according to all attributes.
|
132
132
|
# @return [Integer] Hash code
|
133
133
|
def hash
|
134
|
-
[offset, sort,
|
134
|
+
[offset, sort, page_number, page_size, paged, unpaged].hash
|
135
135
|
end
|
136
136
|
|
137
137
|
# Builds the object from hash
|
@@ -29,12 +29,12 @@ module MailSlurpClient
|
|
29
29
|
|
30
30
|
attr_accessor :to
|
31
31
|
|
32
|
+
attr_accessor :created_at
|
33
|
+
|
32
34
|
attr_accessor :bcc
|
33
35
|
|
34
36
|
attr_accessor :cc
|
35
37
|
|
36
|
-
attr_accessor :created_at
|
37
|
-
|
38
38
|
attr_accessor :body_md5_hash
|
39
39
|
|
40
40
|
attr_accessor :virtual_send
|
@@ -49,9 +49,9 @@ module MailSlurpClient
|
|
49
49
|
:'inbox_id' => :'inboxId',
|
50
50
|
:'attachments' => :'attachments',
|
51
51
|
:'to' => :'to',
|
52
|
+
:'created_at' => :'createdAt',
|
52
53
|
:'bcc' => :'bcc',
|
53
54
|
:'cc' => :'cc',
|
54
|
-
:'created_at' => :'createdAt',
|
55
55
|
:'body_md5_hash' => :'bodyMD5Hash',
|
56
56
|
:'virtual_send' => :'virtualSend'
|
57
57
|
}
|
@@ -67,9 +67,9 @@ module MailSlurpClient
|
|
67
67
|
:'inbox_id' => :'String',
|
68
68
|
:'attachments' => :'Array<String>',
|
69
69
|
:'to' => :'Array<String>',
|
70
|
+
:'created_at' => :'DateTime',
|
70
71
|
:'bcc' => :'Array<String>',
|
71
72
|
:'cc' => :'Array<String>',
|
72
|
-
:'created_at' => :'DateTime',
|
73
73
|
:'body_md5_hash' => :'String',
|
74
74
|
:'virtual_send' => :'Boolean'
|
75
75
|
}
|
@@ -128,6 +128,10 @@ module MailSlurpClient
|
|
128
128
|
end
|
129
129
|
end
|
130
130
|
|
131
|
+
if attributes.key?(:'created_at')
|
132
|
+
self.created_at = attributes[:'created_at']
|
133
|
+
end
|
134
|
+
|
131
135
|
if attributes.key?(:'bcc')
|
132
136
|
if (value = attributes[:'bcc']).is_a?(Array)
|
133
137
|
self.bcc = value
|
@@ -140,10 +144,6 @@ module MailSlurpClient
|
|
140
144
|
end
|
141
145
|
end
|
142
146
|
|
143
|
-
if attributes.key?(:'created_at')
|
144
|
-
self.created_at = attributes[:'created_at']
|
145
|
-
end
|
146
|
-
|
147
147
|
if attributes.key?(:'body_md5_hash')
|
148
148
|
self.body_md5_hash = attributes[:'body_md5_hash']
|
149
149
|
end
|
@@ -177,6 +177,10 @@ module MailSlurpClient
|
|
177
177
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
178
178
|
end
|
179
179
|
|
180
|
+
if @created_at.nil?
|
181
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
182
|
+
end
|
183
|
+
|
180
184
|
if @bcc.nil?
|
181
185
|
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
182
186
|
end
|
@@ -185,10 +189,6 @@ module MailSlurpClient
|
|
185
189
|
invalid_properties.push('invalid value for "cc", cc cannot be nil.')
|
186
190
|
end
|
187
191
|
|
188
|
-
if @created_at.nil?
|
189
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
190
|
-
end
|
191
|
-
|
192
192
|
if @virtual_send.nil?
|
193
193
|
invalid_properties.push('invalid value for "virtual_send", virtual_send cannot be nil.')
|
194
194
|
end
|
@@ -204,9 +204,9 @@ module MailSlurpClient
|
|
204
204
|
return false if @inbox_id.nil?
|
205
205
|
return false if @attachments.nil?
|
206
206
|
return false if @to.nil?
|
207
|
+
return false if @created_at.nil?
|
207
208
|
return false if @bcc.nil?
|
208
209
|
return false if @cc.nil?
|
209
|
-
return false if @created_at.nil?
|
210
210
|
return false if @virtual_send.nil?
|
211
211
|
true
|
212
212
|
end
|
@@ -223,9 +223,9 @@ module MailSlurpClient
|
|
223
223
|
inbox_id == o.inbox_id &&
|
224
224
|
attachments == o.attachments &&
|
225
225
|
to == o.to &&
|
226
|
+
created_at == o.created_at &&
|
226
227
|
bcc == o.bcc &&
|
227
228
|
cc == o.cc &&
|
228
|
-
created_at == o.created_at &&
|
229
229
|
body_md5_hash == o.body_md5_hash &&
|
230
230
|
virtual_send == o.virtual_send
|
231
231
|
end
|
@@ -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, attachments, to, bcc, cc,
|
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,24 +24,24 @@ module MailSlurpClient
|
|
24
24
|
# Thread subject
|
25
25
|
attr_accessor :subject
|
26
26
|
|
27
|
-
# Inbox ID
|
28
|
-
attr_accessor :inbox_id
|
29
|
-
|
30
27
|
# User ID
|
31
28
|
attr_accessor :user_id
|
32
29
|
|
30
|
+
# Inbox ID
|
31
|
+
attr_accessor :inbox_id
|
32
|
+
|
33
33
|
# To recipients
|
34
34
|
attr_accessor :to
|
35
35
|
|
36
|
+
# Created at DateTime
|
37
|
+
attr_accessor :created_at
|
38
|
+
|
36
39
|
# BCC recipients
|
37
40
|
attr_accessor :bcc
|
38
41
|
|
39
42
|
# CC recipients
|
40
43
|
attr_accessor :cc
|
41
44
|
|
42
|
-
# Created at DateTime
|
43
|
-
attr_accessor :created_at
|
44
|
-
|
45
45
|
# Updated at DateTime
|
46
46
|
attr_accessor :updated_at
|
47
47
|
|
@@ -54,12 +54,12 @@ module MailSlurpClient
|
|
54
54
|
:'name' => :'name',
|
55
55
|
:'id' => :'id',
|
56
56
|
:'subject' => :'subject',
|
57
|
-
:'inbox_id' => :'inboxId',
|
58
57
|
:'user_id' => :'userId',
|
58
|
+
:'inbox_id' => :'inboxId',
|
59
59
|
:'to' => :'to',
|
60
|
+
:'created_at' => :'createdAt',
|
60
61
|
:'bcc' => :'bcc',
|
61
62
|
:'cc' => :'cc',
|
62
|
-
:'created_at' => :'createdAt',
|
63
63
|
:'updated_at' => :'updatedAt',
|
64
64
|
:'alias_id' => :'aliasId'
|
65
65
|
}
|
@@ -71,12 +71,12 @@ module MailSlurpClient
|
|
71
71
|
:'name' => :'String',
|
72
72
|
:'id' => :'String',
|
73
73
|
:'subject' => :'String',
|
74
|
-
:'inbox_id' => :'String',
|
75
74
|
:'user_id' => :'String',
|
75
|
+
:'inbox_id' => :'String',
|
76
76
|
:'to' => :'Array<String>',
|
77
|
+
:'created_at' => :'DateTime',
|
77
78
|
:'bcc' => :'Array<String>',
|
78
79
|
:'cc' => :'Array<String>',
|
79
|
-
:'created_at' => :'DateTime',
|
80
80
|
:'updated_at' => :'DateTime',
|
81
81
|
:'alias_id' => :'String'
|
82
82
|
}
|
@@ -115,20 +115,24 @@ module MailSlurpClient
|
|
115
115
|
self.subject = attributes[:'subject']
|
116
116
|
end
|
117
117
|
|
118
|
-
if attributes.key?(:'inbox_id')
|
119
|
-
self.inbox_id = attributes[:'inbox_id']
|
120
|
-
end
|
121
|
-
|
122
118
|
if attributes.key?(:'user_id')
|
123
119
|
self.user_id = attributes[:'user_id']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes.key?(:'inbox_id')
|
123
|
+
self.inbox_id = attributes[:'inbox_id']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes.key?(:'to')
|
127
127
|
if (value = attributes[:'to']).is_a?(Array)
|
128
128
|
self.to = value
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
+
if attributes.key?(:'created_at')
|
133
|
+
self.created_at = attributes[:'created_at']
|
134
|
+
end
|
135
|
+
|
132
136
|
if attributes.key?(:'bcc')
|
133
137
|
if (value = attributes[:'bcc']).is_a?(Array)
|
134
138
|
self.bcc = value
|
@@ -141,10 +145,6 @@ module MailSlurpClient
|
|
141
145
|
end
|
142
146
|
end
|
143
147
|
|
144
|
-
if attributes.key?(:'created_at')
|
145
|
-
self.created_at = attributes[:'created_at']
|
146
|
-
end
|
147
|
-
|
148
148
|
if attributes.key?(:'updated_at')
|
149
149
|
self.updated_at = attributes[:'updated_at']
|
150
150
|
end
|
@@ -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 @inbox_id.nil?
|
166
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
167
|
-
end
|
168
|
-
|
169
165
|
if @user_id.nil?
|
170
166
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
171
167
|
end
|
172
168
|
|
169
|
+
if @inbox_id.nil?
|
170
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_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 @inbox_id.nil?
|
197
196
|
return false if @user_id.nil?
|
197
|
+
return false if @inbox_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,12 +210,12 @@ module MailSlurpClient
|
|
210
210
|
name == o.name &&
|
211
211
|
id == o.id &&
|
212
212
|
subject == o.subject &&
|
213
|
-
inbox_id == o.inbox_id &&
|
214
213
|
user_id == o.user_id &&
|
214
|
+
inbox_id == o.inbox_id &&
|
215
215
|
to == o.to &&
|
216
|
+
created_at == o.created_at &&
|
216
217
|
bcc == o.bcc &&
|
217
218
|
cc == o.cc &&
|
218
|
-
created_at == o.created_at &&
|
219
219
|
updated_at == o.updated_at &&
|
220
220
|
alias_id == o.alias_id
|
221
221
|
end
|
@@ -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, user_id, inbox_id, to, created_at, bcc, cc, updated_at, 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 :inbox_id
|
23
|
-
|
24
22
|
attr_accessor :user_id
|
25
23
|
|
24
|
+
attr_accessor :inbox_id
|
25
|
+
|
26
26
|
attr_accessor :sent_email_id
|
27
27
|
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
|
-
attr_accessor :seen
|
31
|
-
|
32
30
|
attr_accessor :recipient
|
33
31
|
|
32
|
+
attr_accessor :seen
|
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
|
-
:'inbox_id' => :'inboxId',
|
42
41
|
:'user_id' => :'userId',
|
42
|
+
:'inbox_id' => :'inboxId',
|
43
43
|
:'sent_email_id' => :'sentEmailId',
|
44
44
|
:'created_at' => :'createdAt',
|
45
|
-
:'seen' => :'seen',
|
46
45
|
:'recipient' => :'recipient',
|
46
|
+
:'seen' => :'seen',
|
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
|
-
:'inbox_id' => :'String',
|
57
56
|
:'user_id' => :'String',
|
57
|
+
:'inbox_id' => :'String',
|
58
58
|
:'sent_email_id' => :'String',
|
59
59
|
:'created_at' => :'DateTime',
|
60
|
-
:'seen' => :'Boolean',
|
61
60
|
:'recipient' => :'String',
|
61
|
+
:'seen' => :'Boolean',
|
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?(:'inbox_id')
|
96
|
-
self.inbox_id = attributes[:'inbox_id']
|
97
|
-
end
|
98
|
-
|
99
95
|
if attributes.key?(:'user_id')
|
100
96
|
self.user_id = attributes[:'user_id']
|
101
97
|
end
|
102
98
|
|
99
|
+
if attributes.key?(:'inbox_id')
|
100
|
+
self.inbox_id = attributes[:'inbox_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?(:'seen')
|
112
|
-
self.seen = attributes[:'seen']
|
113
|
-
end
|
114
|
-
|
115
111
|
if attributes.key?(:'recipient')
|
116
112
|
self.recipient = attributes[:'recipient']
|
117
113
|
end
|
118
114
|
|
115
|
+
if attributes.key?(:'seen')
|
116
|
+
self.seen = attributes[:'seen']
|
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
|
-
inbox_id == o.inbox_id &&
|
165
164
|
user_id == o.user_id &&
|
165
|
+
inbox_id == o.inbox_id &&
|
166
166
|
sent_email_id == o.sent_email_id &&
|
167
167
|
created_at == o.created_at &&
|
168
|
-
seen == o.seen &&
|
169
168
|
recipient == o.recipient &&
|
169
|
+
seen == o.seen &&
|
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, user_id, inbox_id, sent_email_id, created_at, recipient, seen, seen_at].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|
@@ -33,6 +33,9 @@ module MailSlurpClient
|
|
33
33
|
# The inbox that the Webhook will be triggered by. If null then webhook triggered at account level or phone level if phoneId set
|
34
34
|
attr_accessor :inbox_id
|
35
35
|
|
36
|
+
# Request body template for HTTP request that will be sent for the webhook. Use Moustache style template variables to insert values from the original event payload.
|
37
|
+
attr_accessor :request_body_template
|
38
|
+
|
36
39
|
# URL of your server that the webhook will be sent to. The schema of the JSON that is sent is described by the payloadJsonSchema.
|
37
40
|
attr_accessor :url
|
38
41
|
|
@@ -83,6 +86,7 @@ module MailSlurpClient
|
|
83
86
|
:'name' => :'name',
|
84
87
|
:'phone_id' => :'phoneId',
|
85
88
|
:'inbox_id' => :'inboxId',
|
89
|
+
:'request_body_template' => :'requestBodyTemplate',
|
86
90
|
:'url' => :'url',
|
87
91
|
:'method' => :'method',
|
88
92
|
:'payload_json_schema' => :'payloadJsonSchema',
|
@@ -102,6 +106,7 @@ module MailSlurpClient
|
|
102
106
|
:'name' => :'String',
|
103
107
|
:'phone_id' => :'String',
|
104
108
|
:'inbox_id' => :'String',
|
109
|
+
:'request_body_template' => :'String',
|
105
110
|
:'url' => :'String',
|
106
111
|
:'method' => :'String',
|
107
112
|
:'payload_json_schema' => :'String',
|
@@ -118,6 +123,7 @@ module MailSlurpClient
|
|
118
123
|
:'name',
|
119
124
|
:'phone_id',
|
120
125
|
:'inbox_id',
|
126
|
+
:'request_body_template',
|
121
127
|
:'created_at',
|
122
128
|
:'event_name',
|
123
129
|
])
|
@@ -162,6 +168,10 @@ module MailSlurpClient
|
|
162
168
|
self.inbox_id = attributes[:'inbox_id']
|
163
169
|
end
|
164
170
|
|
171
|
+
if attributes.key?(:'request_body_template')
|
172
|
+
self.request_body_template = attributes[:'request_body_template']
|
173
|
+
end
|
174
|
+
|
165
175
|
if attributes.key?(:'url')
|
166
176
|
self.url = attributes[:'url']
|
167
177
|
end
|
@@ -274,6 +284,7 @@ module MailSlurpClient
|
|
274
284
|
name == o.name &&
|
275
285
|
phone_id == o.phone_id &&
|
276
286
|
inbox_id == o.inbox_id &&
|
287
|
+
request_body_template == o.request_body_template &&
|
277
288
|
url == o.url &&
|
278
289
|
method == o.method &&
|
279
290
|
payload_json_schema == o.payload_json_schema &&
|
@@ -292,7 +303,7 @@ module MailSlurpClient
|
|
292
303
|
# Calculates hash code according to all attributes.
|
293
304
|
# @return [Integer] Hash code
|
294
305
|
def 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
|
306
|
+
[id, user_id, basic_auth, name, phone_id, inbox_id, request_body_template, url, method, payload_json_schema, created_at, updated_at, event_name, request_headers].hash
|
296
307
|
end
|
297
308
|
|
298
309
|
# 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.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-15 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
|