mailslurp_client 15.5.6 → 15.6.0
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/api/api_internal_controller_api.rb +89 -0
- data/lib/mailslurp_client/api/bounce_controller_api.rb +64 -0
- data/lib/mailslurp_client/api/email_verification_controller_api.rb +179 -0
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +2 -2
- data/lib/mailslurp_client/models/alias_projection.rb +13 -13
- data/lib/mailslurp_client/models/bounce_recipient.rb +0 -5
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +0 -5
- data/lib/mailslurp_client/models/email_projection.rb +12 -12
- data/lib/mailslurp_client/models/email_validation_request.rb +276 -0
- data/lib/mailslurp_client/models/filter_bounced_recipients_options.rb +213 -0
- data/lib/mailslurp_client/models/filter_bounced_recipients_result.rb +213 -0
- data/lib/mailslurp_client/models/get_or_create_saml_user_options.rb +234 -0
- data/lib/mailslurp_client/models/page_email_validation_request.rb +308 -0
- data/lib/mailslurp_client/models/send_email_options.rb +36 -4
- data/lib/mailslurp_client/models/sent_email_dto.rb +13 -4
- data/lib/mailslurp_client/models/sent_email_projection.rb +17 -17
- data/lib/mailslurp_client/models/template_projection.rb +18 -18
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/user_dto.rb +438 -0
- data/lib/mailslurp_client/models/validate_email_address_list_options.rb +213 -0
- data/lib/mailslurp_client/models/validate_email_address_list_result.rb +245 -0
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +10 -0
- metadata +12 -2
@@ -25,10 +25,10 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :inbox_id
|
27
27
|
|
28
|
-
attr_accessor :to
|
29
|
-
|
30
28
|
attr_accessor :attachments
|
31
29
|
|
30
|
+
attr_accessor :to
|
31
|
+
|
32
32
|
attr_accessor :bcc
|
33
33
|
|
34
34
|
attr_accessor :cc
|
@@ -45,8 +45,8 @@ module MailSlurpClient
|
|
45
45
|
:'user_id' => :'userId',
|
46
46
|
:'subject' => :'subject',
|
47
47
|
:'inbox_id' => :'inboxId',
|
48
|
-
:'to' => :'to',
|
49
48
|
:'attachments' => :'attachments',
|
49
|
+
:'to' => :'to',
|
50
50
|
:'bcc' => :'bcc',
|
51
51
|
:'cc' => :'cc',
|
52
52
|
:'created_at' => :'createdAt',
|
@@ -62,8 +62,8 @@ module MailSlurpClient
|
|
62
62
|
:'user_id' => :'String',
|
63
63
|
:'subject' => :'String',
|
64
64
|
:'inbox_id' => :'String',
|
65
|
-
:'to' => :'Array<String>',
|
66
65
|
:'attachments' => :'Array<String>',
|
66
|
+
:'to' => :'Array<String>',
|
67
67
|
:'bcc' => :'Array<String>',
|
68
68
|
:'cc' => :'Array<String>',
|
69
69
|
:'created_at' => :'DateTime',
|
@@ -112,18 +112,18 @@ module MailSlurpClient
|
|
112
112
|
self.inbox_id = attributes[:'inbox_id']
|
113
113
|
end
|
114
114
|
|
115
|
-
if attributes.key?(:'to')
|
116
|
-
if (value = attributes[:'to']).is_a?(Array)
|
117
|
-
self.to = value
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
115
|
if attributes.key?(:'attachments')
|
122
116
|
if (value = attributes[:'attachments']).is_a?(Array)
|
123
117
|
self.attachments = value
|
124
118
|
end
|
125
119
|
end
|
126
120
|
|
121
|
+
if attributes.key?(:'to')
|
122
|
+
if (value = attributes[:'to']).is_a?(Array)
|
123
|
+
self.to = value
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
127
|
if attributes.key?(:'bcc')
|
128
128
|
if (value = attributes[:'bcc']).is_a?(Array)
|
129
129
|
self.bcc = value
|
@@ -161,14 +161,14 @@ module MailSlurpClient
|
|
161
161
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
162
162
|
end
|
163
163
|
|
164
|
-
if @to.nil?
|
165
|
-
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
166
|
-
end
|
167
|
-
|
168
164
|
if @attachments.nil?
|
169
165
|
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
170
166
|
end
|
171
167
|
|
168
|
+
if @to.nil?
|
169
|
+
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
170
|
+
end
|
171
|
+
|
172
172
|
if @bcc.nil?
|
173
173
|
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
174
174
|
end
|
@@ -190,8 +190,8 @@ module MailSlurpClient
|
|
190
190
|
return false if @id.nil?
|
191
191
|
return false if @user_id.nil?
|
192
192
|
return false if @inbox_id.nil?
|
193
|
-
return false if @to.nil?
|
194
193
|
return false if @attachments.nil?
|
194
|
+
return false if @to.nil?
|
195
195
|
return false if @bcc.nil?
|
196
196
|
return false if @cc.nil?
|
197
197
|
return false if @created_at.nil?
|
@@ -208,8 +208,8 @@ module MailSlurpClient
|
|
208
208
|
user_id == o.user_id &&
|
209
209
|
subject == o.subject &&
|
210
210
|
inbox_id == o.inbox_id &&
|
211
|
-
to == o.to &&
|
212
211
|
attachments == o.attachments &&
|
212
|
+
to == o.to &&
|
213
213
|
bcc == o.bcc &&
|
214
214
|
cc == o.cc &&
|
215
215
|
created_at == o.created_at &&
|
@@ -225,7 +225,7 @@ module MailSlurpClient
|
|
225
225
|
# Calculates hash code according to all attributes.
|
226
226
|
# @return [Integer] Hash code
|
227
227
|
def hash
|
228
|
-
[id, from, user_id, subject, inbox_id,
|
228
|
+
[id, from, user_id, subject, inbox_id, attachments, to, bcc, cc, created_at, body_md5_hash].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -20,18 +20,18 @@ module MailSlurpClient
|
|
20
20
|
|
21
21
|
attr_accessor :created_at
|
22
22
|
|
23
|
-
attr_accessor :variables
|
24
|
-
|
25
23
|
attr_accessor :updated_at
|
26
24
|
|
25
|
+
attr_accessor :variables
|
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
32
|
:'created_at' => :'createdAt',
|
33
|
-
:'
|
34
|
-
:'
|
33
|
+
:'updated_at' => :'updatedAt',
|
34
|
+
:'variables' => :'variables'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -41,8 +41,8 @@ module MailSlurpClient
|
|
41
41
|
:'name' => :'String',
|
42
42
|
:'id' => :'String',
|
43
43
|
:'created_at' => :'DateTime',
|
44
|
-
:'
|
45
|
-
:'
|
44
|
+
:'updated_at' => :'DateTime',
|
45
|
+
:'variables' => :'Array<String>'
|
46
46
|
}
|
47
47
|
end
|
48
48
|
|
@@ -79,15 +79,15 @@ module MailSlurpClient
|
|
79
79
|
self.created_at = attributes[:'created_at']
|
80
80
|
end
|
81
81
|
|
82
|
+
if attributes.key?(:'updated_at')
|
83
|
+
self.updated_at = attributes[:'updated_at']
|
84
|
+
end
|
85
|
+
|
82
86
|
if attributes.key?(:'variables')
|
83
87
|
if (value = attributes[:'variables']).is_a?(Array)
|
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?
|
@@ -106,14 +106,14 @@ module MailSlurpClient
|
|
106
106
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
107
107
|
end
|
108
108
|
|
109
|
-
if @variables.nil?
|
110
|
-
invalid_properties.push('invalid value for "variables", variables cannot be nil.')
|
111
|
-
end
|
112
|
-
|
113
109
|
if @updated_at.nil?
|
114
110
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
115
111
|
end
|
116
112
|
|
113
|
+
if @variables.nil?
|
114
|
+
invalid_properties.push('invalid value for "variables", variables cannot be nil.')
|
115
|
+
end
|
116
|
+
|
117
117
|
invalid_properties
|
118
118
|
end
|
119
119
|
|
@@ -123,8 +123,8 @@ module MailSlurpClient
|
|
123
123
|
return false if @name.nil?
|
124
124
|
return false if @id.nil?
|
125
125
|
return false if @created_at.nil?
|
126
|
-
return false if @variables.nil?
|
127
126
|
return false if @updated_at.nil?
|
127
|
+
return false if @variables.nil?
|
128
128
|
true
|
129
129
|
end
|
130
130
|
|
@@ -136,8 +136,8 @@ module MailSlurpClient
|
|
136
136
|
name == o.name &&
|
137
137
|
id == o.id &&
|
138
138
|
created_at == o.created_at &&
|
139
|
-
|
140
|
-
|
139
|
+
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,
|
152
|
+
[name, id, created_at, updated_at, variables].hash
|
153
153
|
end
|
154
154
|
|
155
155
|
# Builds the object from hash
|
@@ -24,10 +24,10 @@ module MailSlurpClient
|
|
24
24
|
|
25
25
|
attr_accessor :created_at
|
26
26
|
|
27
|
-
attr_accessor :seen
|
28
|
-
|
29
27
|
attr_accessor :recipient
|
30
28
|
|
29
|
+
attr_accessor :seen
|
30
|
+
|
31
31
|
attr_accessor :seen_at
|
32
32
|
|
33
33
|
attr_accessor :sent_email_id
|
@@ -40,8 +40,8 @@ module MailSlurpClient
|
|
40
40
|
:'user_id' => :'userId',
|
41
41
|
:'inbox_id' => :'inboxId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
|
-
:'seen' => :'seen',
|
44
43
|
:'recipient' => :'recipient',
|
44
|
+
:'seen' => :'seen',
|
45
45
|
:'seen_at' => :'seenAt',
|
46
46
|
:'sent_email_id' => :'sentEmailId'
|
47
47
|
}
|
@@ -55,8 +55,8 @@ module MailSlurpClient
|
|
55
55
|
:'user_id' => :'String',
|
56
56
|
:'inbox_id' => :'String',
|
57
57
|
:'created_at' => :'DateTime',
|
58
|
-
:'seen' => :'Boolean',
|
59
58
|
:'recipient' => :'String',
|
59
|
+
:'seen' => :'Boolean',
|
60
60
|
:'seen_at' => :'DateTime',
|
61
61
|
:'sent_email_id' => :'String'
|
62
62
|
}
|
@@ -103,14 +103,14 @@ module MailSlurpClient
|
|
103
103
|
self.created_at = attributes[:'created_at']
|
104
104
|
end
|
105
105
|
|
106
|
-
if attributes.key?(:'seen')
|
107
|
-
self.seen = attributes[:'seen']
|
108
|
-
end
|
109
|
-
|
110
106
|
if attributes.key?(:'recipient')
|
111
107
|
self.recipient = attributes[:'recipient']
|
112
108
|
end
|
113
109
|
|
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
|
@@ -163,8 +163,8 @@ module MailSlurpClient
|
|
163
163
|
user_id == o.user_id &&
|
164
164
|
inbox_id == o.inbox_id &&
|
165
165
|
created_at == o.created_at &&
|
166
|
-
seen == o.seen &&
|
167
166
|
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,
|
181
|
+
[name, id, user_id, inbox_id, created_at, recipient, seen, seen_at, sent_email_id].hash
|
182
182
|
end
|
183
183
|
|
184
184
|
# Builds the object from hash
|