mailslurp_client 15.17.2 → 15.17.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46d1cbea480578896fe8ffc66f9d98779a3903420a52510196b37fa7eee68c8e
|
4
|
+
data.tar.gz: bfca1eff332e0d3dd1b59d1ec60b36104c6a12bcda48530f6d51b2dfd24553aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba759fa0df53e3330fb6463f0316f7ef59000906a46bd30aa520631392fc82bbc266ef758d90555f8d13650a2befda8bb7a1d3d713103b7920648b05e164a65a
|
7
|
+
data.tar.gz: 1dd8b11172530fe3681d0197ce28c03a9660dc043f2c4775c77e2629cd3efbdd4022aae1fd5391b97c13a5e5ba4ecb8f222457590578df8b8f7a7257957ac705
|
@@ -25,13 +25,13 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :user_id
|
27
27
|
|
28
|
+
# Attachment ID
|
29
|
+
attr_accessor :attachment_id
|
30
|
+
|
28
31
|
attr_accessor :created_at
|
29
32
|
|
30
33
|
attr_accessor :updated_at
|
31
34
|
|
32
|
-
# Attachment ID
|
33
|
-
attr_accessor :attachment_id
|
34
|
-
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
36
|
def self.attribute_map
|
37
37
|
{
|
@@ -39,9 +39,9 @@ module MailSlurpClient
|
|
39
39
|
:'content_length' => :'contentLength',
|
40
40
|
:'content_type' => :'contentType',
|
41
41
|
:'user_id' => :'userId',
|
42
|
+
:'attachment_id' => :'attachmentId',
|
42
43
|
:'created_at' => :'createdAt',
|
43
|
-
:'updated_at' => :'updatedAt'
|
44
|
-
:'attachment_id' => :'attachmentId'
|
44
|
+
:'updated_at' => :'updatedAt'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -52,9 +52,9 @@ module MailSlurpClient
|
|
52
52
|
:'content_length' => :'Integer',
|
53
53
|
:'content_type' => :'String',
|
54
54
|
:'user_id' => :'String',
|
55
|
+
:'attachment_id' => :'String',
|
55
56
|
:'created_at' => :'DateTime',
|
56
|
-
:'updated_at' => :'DateTime'
|
57
|
-
:'attachment_id' => :'String'
|
57
|
+
:'updated_at' => :'DateTime'
|
58
58
|
}
|
59
59
|
end
|
60
60
|
|
@@ -98,6 +98,10 @@ module MailSlurpClient
|
|
98
98
|
self.user_id = attributes[:'user_id']
|
99
99
|
end
|
100
100
|
|
101
|
+
if attributes.key?(:'attachment_id')
|
102
|
+
self.attachment_id = attributes[:'attachment_id']
|
103
|
+
end
|
104
|
+
|
101
105
|
if attributes.key?(:'created_at')
|
102
106
|
self.created_at = attributes[:'created_at']
|
103
107
|
end
|
@@ -105,10 +109,6 @@ module MailSlurpClient
|
|
105
109
|
if attributes.key?(:'updated_at')
|
106
110
|
self.updated_at = attributes[:'updated_at']
|
107
111
|
end
|
108
|
-
|
109
|
-
if attributes.key?(:'attachment_id')
|
110
|
-
self.attachment_id = attributes[:'attachment_id']
|
111
|
-
end
|
112
112
|
end
|
113
113
|
|
114
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -119,6 +119,10 @@ module MailSlurpClient
|
|
119
119
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
120
120
|
end
|
121
121
|
|
122
|
+
if @attachment_id.nil?
|
123
|
+
invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
|
124
|
+
end
|
125
|
+
|
122
126
|
if @created_at.nil?
|
123
127
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
124
128
|
end
|
@@ -127,10 +131,6 @@ module MailSlurpClient
|
|
127
131
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
128
132
|
end
|
129
133
|
|
130
|
-
if @attachment_id.nil?
|
131
|
-
invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
|
132
|
-
end
|
133
|
-
|
134
134
|
invalid_properties
|
135
135
|
end
|
136
136
|
|
@@ -138,9 +138,9 @@ module MailSlurpClient
|
|
138
138
|
# @return true if the model is valid
|
139
139
|
def valid?
|
140
140
|
return false if @user_id.nil?
|
141
|
+
return false if @attachment_id.nil?
|
141
142
|
return false if @created_at.nil?
|
142
143
|
return false if @updated_at.nil?
|
143
|
-
return false if @attachment_id.nil?
|
144
144
|
true
|
145
145
|
end
|
146
146
|
|
@@ -153,9 +153,9 @@ module MailSlurpClient
|
|
153
153
|
content_length == o.content_length &&
|
154
154
|
content_type == o.content_type &&
|
155
155
|
user_id == o.user_id &&
|
156
|
+
attachment_id == o.attachment_id &&
|
156
157
|
created_at == o.created_at &&
|
157
|
-
updated_at == o.updated_at
|
158
|
-
attachment_id == o.attachment_id
|
158
|
+
updated_at == o.updated_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
|
-
[name, content_length, content_type, user_id, created_at, updated_at
|
170
|
+
[name, content_length, content_type, user_id, attachment_id, created_at, updated_at].hash
|
171
171
|
end
|
172
172
|
|
173
173
|
# Builds the object from hash
|
@@ -29,12 +29,12 @@ module MailSlurpClient
|
|
29
29
|
|
30
30
|
attr_accessor :to
|
31
31
|
|
32
|
-
attr_accessor :domain_id
|
33
|
-
|
34
32
|
attr_accessor :bcc
|
35
33
|
|
36
34
|
attr_accessor :cc
|
37
35
|
|
36
|
+
attr_accessor :domain_id
|
37
|
+
|
38
38
|
attr_accessor :read
|
39
39
|
|
40
40
|
attr_accessor :body_excerpt
|
@@ -53,9 +53,9 @@ module MailSlurpClient
|
|
53
53
|
:'inbox_id' => :'inboxId',
|
54
54
|
:'created_at' => :'createdAt',
|
55
55
|
:'to' => :'to',
|
56
|
-
:'domain_id' => :'domainId',
|
57
56
|
:'bcc' => :'bcc',
|
58
57
|
:'cc' => :'cc',
|
58
|
+
:'domain_id' => :'domainId',
|
59
59
|
:'read' => :'read',
|
60
60
|
:'body_excerpt' => :'bodyExcerpt',
|
61
61
|
:'team_access' => :'teamAccess',
|
@@ -73,9 +73,9 @@ module MailSlurpClient
|
|
73
73
|
:'inbox_id' => :'String',
|
74
74
|
:'created_at' => :'DateTime',
|
75
75
|
:'to' => :'Array<String>',
|
76
|
-
:'domain_id' => :'String',
|
77
76
|
:'bcc' => :'Array<String>',
|
78
77
|
:'cc' => :'Array<String>',
|
78
|
+
:'domain_id' => :'String',
|
79
79
|
:'read' => :'Boolean',
|
80
80
|
:'body_excerpt' => :'String',
|
81
81
|
:'team_access' => :'Boolean',
|
@@ -89,9 +89,9 @@ module MailSlurpClient
|
|
89
89
|
:'from',
|
90
90
|
:'subject',
|
91
91
|
:'attachments',
|
92
|
-
:'domain_id',
|
93
92
|
:'bcc',
|
94
93
|
:'cc',
|
94
|
+
:'domain_id',
|
95
95
|
:'body_excerpt',
|
96
96
|
:'body_md5_hash'
|
97
97
|
])
|
@@ -144,10 +144,6 @@ module MailSlurpClient
|
|
144
144
|
end
|
145
145
|
end
|
146
146
|
|
147
|
-
if attributes.key?(:'domain_id')
|
148
|
-
self.domain_id = attributes[:'domain_id']
|
149
|
-
end
|
150
|
-
|
151
147
|
if attributes.key?(:'bcc')
|
152
148
|
if (value = attributes[:'bcc']).is_a?(Array)
|
153
149
|
self.bcc = value
|
@@ -160,6 +156,10 @@ module MailSlurpClient
|
|
160
156
|
end
|
161
157
|
end
|
162
158
|
|
159
|
+
if attributes.key?(:'domain_id')
|
160
|
+
self.domain_id = attributes[:'domain_id']
|
161
|
+
end
|
162
|
+
|
163
163
|
if attributes.key?(:'read')
|
164
164
|
self.read = attributes[:'read']
|
165
165
|
end
|
@@ -232,9 +232,9 @@ module MailSlurpClient
|
|
232
232
|
inbox_id == o.inbox_id &&
|
233
233
|
created_at == o.created_at &&
|
234
234
|
to == o.to &&
|
235
|
-
domain_id == o.domain_id &&
|
236
235
|
bcc == o.bcc &&
|
237
236
|
cc == o.cc &&
|
237
|
+
domain_id == o.domain_id &&
|
238
238
|
read == o.read &&
|
239
239
|
body_excerpt == o.body_excerpt &&
|
240
240
|
team_access == o.team_access &&
|
@@ -250,7 +250,7 @@ module MailSlurpClient
|
|
250
250
|
# Calculates hash code according to all attributes.
|
251
251
|
# @return [Integer] Hash code
|
252
252
|
def hash
|
253
|
-
[id, from, subject, attachments, inbox_id, created_at, to,
|
253
|
+
[id, from, subject, attachments, inbox_id, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
|
254
254
|
end
|
255
255
|
|
256
256
|
# 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 :sent_email_id
|
25
23
|
|
24
|
+
attr_accessor :user_id
|
25
|
+
|
26
26
|
attr_accessor :inbox_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
|
:'sent_email_id' => :'sentEmailId',
|
42
|
+
:'user_id' => :'userId',
|
43
43
|
:'inbox_id' => :'inboxId',
|
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
|
:'sent_email_id' => :'String',
|
57
|
+
:'user_id' => :'String',
|
58
58
|
:'inbox_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?(:'sent_email_id')
|
100
96
|
self.sent_email_id = attributes[:'sent_email_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?(:'inbox_id')
|
104
104
|
self.inbox_id = attributes[:'inbox_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
|
sent_email_id == o.sent_email_id &&
|
165
|
+
user_id == o.user_id &&
|
166
166
|
inbox_id == o.inbox_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, sent_email_id, user_id, inbox_id, created_at, recipient, seen, 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.17.
|
4
|
+
version: 15.17.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-26 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
|