mailslurp_client 15.7.13 → 15.7.14
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 +18 -18
- data/lib/mailslurp_client/models/attachment_projection.rb +22 -22
- data/lib/mailslurp_client/models/email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_alias.rb +19 -19
- data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
- data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/template_projection.rb +18 -18
- data/lib/mailslurp_client/models/thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +15 -15
- data/lib/mailslurp_client/models/webhook_projection.rb +18 -18
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
@@ -18,20 +18,20 @@ module MailSlurpClient
|
|
18
18
|
|
19
19
|
attr_accessor :id
|
20
20
|
|
21
|
+
attr_accessor :updated_at
|
22
|
+
|
21
23
|
attr_accessor :created_at
|
22
24
|
|
23
25
|
attr_accessor :variables
|
24
26
|
|
25
|
-
attr_accessor :updated_at
|
26
|
-
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
28
|
def self.attribute_map
|
29
29
|
{
|
30
30
|
:'name' => :'name',
|
31
31
|
:'id' => :'id',
|
32
|
+
:'updated_at' => :'updatedAt',
|
32
33
|
:'created_at' => :'createdAt',
|
33
|
-
:'variables' => :'variables'
|
34
|
-
:'updated_at' => :'updatedAt'
|
34
|
+
:'variables' => :'variables'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -40,9 +40,9 @@ module MailSlurpClient
|
|
40
40
|
{
|
41
41
|
:'name' => :'String',
|
42
42
|
:'id' => :'String',
|
43
|
+
:'updated_at' => :'DateTime',
|
43
44
|
:'created_at' => :'DateTime',
|
44
|
-
:'variables' => :'Array<String>'
|
45
|
-
:'updated_at' => :'DateTime'
|
45
|
+
:'variables' => :'Array<String>'
|
46
46
|
}
|
47
47
|
end
|
48
48
|
|
@@ -75,6 +75,10 @@ module MailSlurpClient
|
|
75
75
|
self.id = attributes[:'id']
|
76
76
|
end
|
77
77
|
|
78
|
+
if attributes.key?(:'updated_at')
|
79
|
+
self.updated_at = attributes[:'updated_at']
|
80
|
+
end
|
81
|
+
|
78
82
|
if attributes.key?(:'created_at')
|
79
83
|
self.created_at = attributes[:'created_at']
|
80
84
|
end
|
@@ -84,10 +88,6 @@ module MailSlurpClient
|
|
84
88
|
self.variables = value
|
85
89
|
end
|
86
90
|
end
|
87
|
-
|
88
|
-
if attributes.key?(:'updated_at')
|
89
|
-
self.updated_at = attributes[:'updated_at']
|
90
|
-
end
|
91
91
|
end
|
92
92
|
|
93
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -102,6 +102,10 @@ module MailSlurpClient
|
|
102
102
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
103
103
|
end
|
104
104
|
|
105
|
+
if @updated_at.nil?
|
106
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
107
|
+
end
|
108
|
+
|
105
109
|
if @created_at.nil?
|
106
110
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
107
111
|
end
|
@@ -110,10 +114,6 @@ module MailSlurpClient
|
|
110
114
|
invalid_properties.push('invalid value for "variables", variables cannot be nil.')
|
111
115
|
end
|
112
116
|
|
113
|
-
if @updated_at.nil?
|
114
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
115
|
-
end
|
116
|
-
|
117
117
|
invalid_properties
|
118
118
|
end
|
119
119
|
|
@@ -122,9 +122,9 @@ module MailSlurpClient
|
|
122
122
|
def valid?
|
123
123
|
return false if @name.nil?
|
124
124
|
return false if @id.nil?
|
125
|
+
return false if @updated_at.nil?
|
125
126
|
return false if @created_at.nil?
|
126
127
|
return false if @variables.nil?
|
127
|
-
return false if @updated_at.nil?
|
128
128
|
true
|
129
129
|
end
|
130
130
|
|
@@ -135,9 +135,9 @@ module MailSlurpClient
|
|
135
135
|
self.class == o.class &&
|
136
136
|
name == o.name &&
|
137
137
|
id == o.id &&
|
138
|
+
updated_at == o.updated_at &&
|
138
139
|
created_at == o.created_at &&
|
139
|
-
variables == o.variables
|
140
|
-
updated_at == o.updated_at
|
140
|
+
variables == o.variables
|
141
141
|
end
|
142
142
|
|
143
143
|
# @see the `==` method
|
@@ -149,7 +149,7 @@ module MailSlurpClient
|
|
149
149
|
# Calculates hash code according to all attributes.
|
150
150
|
# @return [Integer] Hash code
|
151
151
|
def hash
|
152
|
-
[name, id, created_at, variables
|
152
|
+
[name, id, updated_at, created_at, variables].hash
|
153
153
|
end
|
154
154
|
|
155
155
|
# Builds the object from hash
|
@@ -27,14 +27,14 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :to
|
29
29
|
|
30
|
+
attr_accessor :updated_at
|
31
|
+
|
30
32
|
attr_accessor :bcc
|
31
33
|
|
32
34
|
attr_accessor :cc
|
33
35
|
|
34
36
|
attr_accessor :created_at
|
35
37
|
|
36
|
-
attr_accessor :updated_at
|
37
|
-
|
38
38
|
attr_accessor :alias_id
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,10 +46,10 @@ module MailSlurpClient
|
|
46
46
|
:'user_id' => :'userId',
|
47
47
|
:'inbox_id' => :'inboxId',
|
48
48
|
:'to' => :'to',
|
49
|
+
:'updated_at' => :'updatedAt',
|
49
50
|
:'bcc' => :'bcc',
|
50
51
|
:'cc' => :'cc',
|
51
52
|
:'created_at' => :'createdAt',
|
52
|
-
:'updated_at' => :'updatedAt',
|
53
53
|
:'alias_id' => :'aliasId'
|
54
54
|
}
|
55
55
|
end
|
@@ -63,10 +63,10 @@ module MailSlurpClient
|
|
63
63
|
:'user_id' => :'String',
|
64
64
|
:'inbox_id' => :'String',
|
65
65
|
:'to' => :'Array<String>',
|
66
|
+
:'updated_at' => :'DateTime',
|
66
67
|
:'bcc' => :'Array<String>',
|
67
68
|
:'cc' => :'Array<String>',
|
68
69
|
:'created_at' => :'DateTime',
|
69
|
-
:'updated_at' => :'DateTime',
|
70
70
|
:'alias_id' => :'String'
|
71
71
|
}
|
72
72
|
end
|
@@ -118,6 +118,10 @@ module MailSlurpClient
|
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
121
|
+
if attributes.key?(:'updated_at')
|
122
|
+
self.updated_at = attributes[:'updated_at']
|
123
|
+
end
|
124
|
+
|
121
125
|
if attributes.key?(:'bcc')
|
122
126
|
if (value = attributes[:'bcc']).is_a?(Array)
|
123
127
|
self.bcc = value
|
@@ -134,10 +138,6 @@ module MailSlurpClient
|
|
134
138
|
self.created_at = attributes[:'created_at']
|
135
139
|
end
|
136
140
|
|
137
|
-
if attributes.key?(:'updated_at')
|
138
|
-
self.updated_at = attributes[:'updated_at']
|
139
|
-
end
|
140
|
-
|
141
141
|
if attributes.key?(:'alias_id')
|
142
142
|
self.alias_id = attributes[:'alias_id']
|
143
143
|
end
|
@@ -163,14 +163,14 @@ module MailSlurpClient
|
|
163
163
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
164
164
|
end
|
165
165
|
|
166
|
-
if @created_at.nil?
|
167
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
168
|
-
end
|
169
|
-
|
170
166
|
if @updated_at.nil?
|
171
167
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
172
168
|
end
|
173
169
|
|
170
|
+
if @created_at.nil?
|
171
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
172
|
+
end
|
173
|
+
|
174
174
|
if @alias_id.nil?
|
175
175
|
invalid_properties.push('invalid value for "alias_id", alias_id cannot be nil.')
|
176
176
|
end
|
@@ -185,8 +185,8 @@ module MailSlurpClient
|
|
185
185
|
return false if @user_id.nil?
|
186
186
|
return false if @inbox_id.nil?
|
187
187
|
return false if @to.nil?
|
188
|
-
return false if @created_at.nil?
|
189
188
|
return false if @updated_at.nil?
|
189
|
+
return false if @created_at.nil?
|
190
190
|
return false if @alias_id.nil?
|
191
191
|
true
|
192
192
|
end
|
@@ -202,10 +202,10 @@ module MailSlurpClient
|
|
202
202
|
user_id == o.user_id &&
|
203
203
|
inbox_id == o.inbox_id &&
|
204
204
|
to == o.to &&
|
205
|
+
updated_at == o.updated_at &&
|
205
206
|
bcc == o.bcc &&
|
206
207
|
cc == o.cc &&
|
207
208
|
created_at == o.created_at &&
|
208
|
-
updated_at == o.updated_at &&
|
209
209
|
alias_id == o.alias_id
|
210
210
|
end
|
211
211
|
|
@@ -218,7 +218,7 @@ module MailSlurpClient
|
|
218
218
|
# Calculates hash code according to all attributes.
|
219
219
|
# @return [Integer] Hash code
|
220
220
|
def hash
|
221
|
-
[name, id, subject, user_id, inbox_id, to, bcc, cc, created_at,
|
221
|
+
[name, id, subject, user_id, inbox_id, to, updated_at, bcc, cc, created_at, alias_id].hash
|
222
222
|
end
|
223
223
|
|
224
224
|
# Builds the object from hash
|
@@ -22,12 +22,12 @@ module MailSlurpClient
|
|
22
22
|
|
23
23
|
attr_accessor :inbox_id
|
24
24
|
|
25
|
+
attr_accessor :seen
|
26
|
+
|
25
27
|
attr_accessor :created_at
|
26
28
|
|
27
29
|
attr_accessor :recipient
|
28
30
|
|
29
|
-
attr_accessor :seen
|
30
|
-
|
31
31
|
attr_accessor :seen_at
|
32
32
|
|
33
33
|
attr_accessor :sent_email_id
|
@@ -39,9 +39,9 @@ module MailSlurpClient
|
|
39
39
|
:'id' => :'id',
|
40
40
|
:'user_id' => :'userId',
|
41
41
|
:'inbox_id' => :'inboxId',
|
42
|
+
:'seen' => :'seen',
|
42
43
|
:'created_at' => :'createdAt',
|
43
44
|
:'recipient' => :'recipient',
|
44
|
-
:'seen' => :'seen',
|
45
45
|
:'seen_at' => :'seenAt',
|
46
46
|
:'sent_email_id' => :'sentEmailId'
|
47
47
|
}
|
@@ -54,9 +54,9 @@ module MailSlurpClient
|
|
54
54
|
:'id' => :'String',
|
55
55
|
:'user_id' => :'String',
|
56
56
|
:'inbox_id' => :'String',
|
57
|
+
:'seen' => :'Boolean',
|
57
58
|
:'created_at' => :'DateTime',
|
58
59
|
:'recipient' => :'String',
|
59
|
-
:'seen' => :'Boolean',
|
60
60
|
:'seen_at' => :'DateTime',
|
61
61
|
:'sent_email_id' => :'String'
|
62
62
|
}
|
@@ -99,6 +99,10 @@ module MailSlurpClient
|
|
99
99
|
self.inbox_id = attributes[:'inbox_id']
|
100
100
|
end
|
101
101
|
|
102
|
+
if attributes.key?(:'seen')
|
103
|
+
self.seen = attributes[:'seen']
|
104
|
+
end
|
105
|
+
|
102
106
|
if attributes.key?(:'created_at')
|
103
107
|
self.created_at = attributes[:'created_at']
|
104
108
|
end
|
@@ -107,10 +111,6 @@ module MailSlurpClient
|
|
107
111
|
self.recipient = attributes[:'recipient']
|
108
112
|
end
|
109
113
|
|
110
|
-
if attributes.key?(:'seen')
|
111
|
-
self.seen = attributes[:'seen']
|
112
|
-
end
|
113
|
-
|
114
114
|
if attributes.key?(:'seen_at')
|
115
115
|
self.seen_at = attributes[:'seen_at']
|
116
116
|
end
|
@@ -132,14 +132,14 @@ module MailSlurpClient
|
|
132
132
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
133
133
|
end
|
134
134
|
|
135
|
-
if @created_at.nil?
|
136
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
137
|
-
end
|
138
|
-
|
139
135
|
if @seen.nil?
|
140
136
|
invalid_properties.push('invalid value for "seen", seen cannot be nil.')
|
141
137
|
end
|
142
138
|
|
139
|
+
if @created_at.nil?
|
140
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
141
|
+
end
|
142
|
+
|
143
143
|
invalid_properties
|
144
144
|
end
|
145
145
|
|
@@ -148,8 +148,8 @@ module MailSlurpClient
|
|
148
148
|
def valid?
|
149
149
|
return false if @id.nil?
|
150
150
|
return false if @user_id.nil?
|
151
|
-
return false if @created_at.nil?
|
152
151
|
return false if @seen.nil?
|
152
|
+
return false if @created_at.nil?
|
153
153
|
true
|
154
154
|
end
|
155
155
|
|
@@ -162,9 +162,9 @@ module MailSlurpClient
|
|
162
162
|
id == o.id &&
|
163
163
|
user_id == o.user_id &&
|
164
164
|
inbox_id == o.inbox_id &&
|
165
|
+
seen == o.seen &&
|
165
166
|
created_at == o.created_at &&
|
166
167
|
recipient == o.recipient &&
|
167
|
-
seen == o.seen &&
|
168
168
|
seen_at == o.seen_at &&
|
169
169
|
sent_email_id == o.sent_email_id
|
170
170
|
end
|
@@ -178,7 +178,7 @@ module MailSlurpClient
|
|
178
178
|
# Calculates hash code according to all attributes.
|
179
179
|
# @return [Integer] Hash code
|
180
180
|
def hash
|
181
|
-
[name, id, user_id, inbox_id, created_at, recipient,
|
181
|
+
[name, id, user_id, inbox_id, seen, created_at, recipient, seen_at, sent_email_id].hash
|
182
182
|
end
|
183
183
|
|
184
184
|
# Builds the object from hash
|
@@ -25,10 +25,10 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :event_name
|
27
27
|
|
28
|
-
attr_accessor :created_at
|
29
|
-
|
30
28
|
attr_accessor :updated_at
|
31
29
|
|
30
|
+
attr_accessor :created_at
|
31
|
+
|
32
32
|
class EnumAttributeValidator
|
33
33
|
attr_reader :datatype
|
34
34
|
attr_reader :allowable_values
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
:'url' => :'url',
|
60
60
|
:'inbox_id' => :'inboxId',
|
61
61
|
:'event_name' => :'eventName',
|
62
|
-
:'
|
63
|
-
:'
|
62
|
+
:'updated_at' => :'updatedAt',
|
63
|
+
:'created_at' => :'createdAt'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -72,8 +72,8 @@ module MailSlurpClient
|
|
72
72
|
:'url' => :'String',
|
73
73
|
:'inbox_id' => :'String',
|
74
74
|
:'event_name' => :'String',
|
75
|
-
:'
|
76
|
-
:'
|
75
|
+
:'updated_at' => :'DateTime',
|
76
|
+
:'created_at' => :'DateTime'
|
77
77
|
}
|
78
78
|
end
|
79
79
|
|
@@ -118,13 +118,13 @@ module MailSlurpClient
|
|
118
118
|
self.event_name = attributes[:'event_name']
|
119
119
|
end
|
120
120
|
|
121
|
-
if attributes.key?(:'created_at')
|
122
|
-
self.created_at = attributes[:'created_at']
|
123
|
-
end
|
124
|
-
|
125
121
|
if attributes.key?(:'updated_at')
|
126
122
|
self.updated_at = attributes[:'updated_at']
|
127
123
|
end
|
124
|
+
|
125
|
+
if attributes.key?(:'created_at')
|
126
|
+
self.created_at = attributes[:'created_at']
|
127
|
+
end
|
128
128
|
end
|
129
129
|
|
130
130
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -139,14 +139,14 @@ module MailSlurpClient
|
|
139
139
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
140
140
|
end
|
141
141
|
|
142
|
-
if @created_at.nil?
|
143
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
144
|
-
end
|
145
|
-
|
146
142
|
if @updated_at.nil?
|
147
143
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
148
144
|
end
|
149
145
|
|
146
|
+
if @created_at.nil?
|
147
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
148
|
+
end
|
149
|
+
|
150
150
|
invalid_properties
|
151
151
|
end
|
152
152
|
|
@@ -157,8 +157,8 @@ module MailSlurpClient
|
|
157
157
|
return false if @url.nil?
|
158
158
|
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
159
159
|
return false unless event_name_validator.valid?(@event_name)
|
160
|
-
return false if @created_at.nil?
|
161
160
|
return false if @updated_at.nil?
|
161
|
+
return false if @created_at.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -182,8 +182,8 @@ module MailSlurpClient
|
|
182
182
|
url == o.url &&
|
183
183
|
inbox_id == o.inbox_id &&
|
184
184
|
event_name == o.event_name &&
|
185
|
-
|
186
|
-
|
185
|
+
updated_at == o.updated_at &&
|
186
|
+
created_at == o.created_at
|
187
187
|
end
|
188
188
|
|
189
189
|
# @see the `==` method
|
@@ -195,7 +195,7 @@ module MailSlurpClient
|
|
195
195
|
# Calculates hash code according to all attributes.
|
196
196
|
# @return [Integer] Hash code
|
197
197
|
def hash
|
198
|
-
[name, id, url, inbox_id, event_name,
|
198
|
+
[name, id, url, inbox_id, event_name, updated_at, created_at].hash
|
199
199
|
end
|
200
200
|
|
201
201
|
# 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.7.
|
4
|
+
version: 15.7.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-28 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/docs/ruby/ for full Ruby documentation.
|