mailslurp_client 15.4.0 → 15.5.1
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/email_controller_api.rb +70 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +127 -0
- data/lib/mailslurp_client/models/alias_projection.rb +27 -27
- data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
- data/lib/mailslurp_client/models/create_inbox_dto.rb +1 -1
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/imap_flag_operation_options.rb +261 -0
- data/lib/mailslurp_client/models/imap_smtp_access_details.rb +309 -0
- 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_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/send_smtp_envelope_options.rb +242 -0
- data/lib/mailslurp_client/models/template_projection.rb +15 -15
- data/lib/mailslurp_client/models/thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +3 -0
- metadata +5 -2
@@ -0,0 +1,242 @@
|
|
1
|
+
=begin
|
2
|
+
#MailSlurp API
|
3
|
+
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 6.5.2
|
7
|
+
Contact: contact@mailslurp.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module MailSlurpClient
|
16
|
+
# Options for the email envelope
|
17
|
+
class SendSMTPEnvelopeOptions
|
18
|
+
attr_accessor :rcpt_to
|
19
|
+
|
20
|
+
attr_accessor :mail_from
|
21
|
+
|
22
|
+
attr_accessor :data
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
:'rcpt_to' => :'rcptTo',
|
28
|
+
:'mail_from' => :'mailFrom',
|
29
|
+
:'data' => :'data'
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Attribute type mapping.
|
34
|
+
def self.openapi_types
|
35
|
+
{
|
36
|
+
:'rcpt_to' => :'Array<String>',
|
37
|
+
:'mail_from' => :'String',
|
38
|
+
:'data' => :'String'
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# List of attributes with nullable: true
|
43
|
+
def self.openapi_nullable
|
44
|
+
Set.new([
|
45
|
+
])
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
+
def initialize(attributes = {})
|
51
|
+
if (!attributes.is_a?(Hash))
|
52
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::SendSMTPEnvelopeOptions` initialize method"
|
53
|
+
end
|
54
|
+
|
55
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
56
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
57
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
58
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::SendSMTPEnvelopeOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
59
|
+
end
|
60
|
+
h[k.to_sym] = v
|
61
|
+
}
|
62
|
+
|
63
|
+
if attributes.key?(:'rcpt_to')
|
64
|
+
if (value = attributes[:'rcpt_to']).is_a?(Array)
|
65
|
+
self.rcpt_to = value
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.key?(:'mail_from')
|
70
|
+
self.mail_from = attributes[:'mail_from']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.key?(:'data')
|
74
|
+
self.data = attributes[:'data']
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
79
|
+
# @return Array for valid properties with the reasons
|
80
|
+
def list_invalid_properties
|
81
|
+
invalid_properties = Array.new
|
82
|
+
if @rcpt_to.nil?
|
83
|
+
invalid_properties.push('invalid value for "rcpt_to", rcpt_to cannot be nil.')
|
84
|
+
end
|
85
|
+
|
86
|
+
if @mail_from.nil?
|
87
|
+
invalid_properties.push('invalid value for "mail_from", mail_from cannot be nil.')
|
88
|
+
end
|
89
|
+
|
90
|
+
if @data.nil?
|
91
|
+
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
92
|
+
end
|
93
|
+
|
94
|
+
invalid_properties
|
95
|
+
end
|
96
|
+
|
97
|
+
# Check to see if the all the properties in the model are valid
|
98
|
+
# @return true if the model is valid
|
99
|
+
def valid?
|
100
|
+
return false if @rcpt_to.nil?
|
101
|
+
return false if @mail_from.nil?
|
102
|
+
return false if @data.nil?
|
103
|
+
true
|
104
|
+
end
|
105
|
+
|
106
|
+
# Checks equality by comparing each attribute.
|
107
|
+
# @param [Object] Object to be compared
|
108
|
+
def ==(o)
|
109
|
+
return true if self.equal?(o)
|
110
|
+
self.class == o.class &&
|
111
|
+
rcpt_to == o.rcpt_to &&
|
112
|
+
mail_from == o.mail_from &&
|
113
|
+
data == o.data
|
114
|
+
end
|
115
|
+
|
116
|
+
# @see the `==` method
|
117
|
+
# @param [Object] Object to be compared
|
118
|
+
def eql?(o)
|
119
|
+
self == o
|
120
|
+
end
|
121
|
+
|
122
|
+
# Calculates hash code according to all attributes.
|
123
|
+
# @return [Integer] Hash code
|
124
|
+
def hash
|
125
|
+
[rcpt_to, mail_from, data].hash
|
126
|
+
end
|
127
|
+
|
128
|
+
# Builds the object from hash
|
129
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
+
# @return [Object] Returns the model itself
|
131
|
+
def self.build_from_hash(attributes)
|
132
|
+
new.build_from_hash(attributes)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Builds the object from hash
|
136
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
137
|
+
# @return [Object] Returns the model itself
|
138
|
+
def build_from_hash(attributes)
|
139
|
+
return nil unless attributes.is_a?(Hash)
|
140
|
+
self.class.openapi_types.each_pair do |key, type|
|
141
|
+
if type =~ /\AArray<(.*)>/i
|
142
|
+
# check to ensure the input is an array given that the attribute
|
143
|
+
# is documented as an array but the input is not
|
144
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
145
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
146
|
+
end
|
147
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
148
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
149
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
150
|
+
end
|
151
|
+
|
152
|
+
self
|
153
|
+
end
|
154
|
+
|
155
|
+
# Deserializes the data based on type
|
156
|
+
# @param string type Data type
|
157
|
+
# @param string value Value to be deserialized
|
158
|
+
# @return [Object] Deserialized data
|
159
|
+
def _deserialize(type, value)
|
160
|
+
case type.to_sym
|
161
|
+
when :DateTime
|
162
|
+
DateTime.parse(value)
|
163
|
+
when :Date
|
164
|
+
Date.parse(value)
|
165
|
+
when :String
|
166
|
+
value.to_s
|
167
|
+
when :Integer
|
168
|
+
value.to_i
|
169
|
+
when :Float
|
170
|
+
value.to_f
|
171
|
+
when :Boolean
|
172
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
173
|
+
true
|
174
|
+
else
|
175
|
+
false
|
176
|
+
end
|
177
|
+
when :Object
|
178
|
+
# generic object (usually a Hash), return directly
|
179
|
+
value
|
180
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
181
|
+
inner_type = Regexp.last_match[:inner_type]
|
182
|
+
value.map { |v| _deserialize(inner_type, v) }
|
183
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
184
|
+
k_type = Regexp.last_match[:k_type]
|
185
|
+
v_type = Regexp.last_match[:v_type]
|
186
|
+
{}.tap do |hash|
|
187
|
+
value.each do |k, v|
|
188
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
else # model
|
192
|
+
MailSlurpClient.const_get(type).build_from_hash(value)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# Returns the string representation of the object
|
197
|
+
# @return [String] String presentation of the object
|
198
|
+
def to_s
|
199
|
+
to_hash.to_s
|
200
|
+
end
|
201
|
+
|
202
|
+
# to_body is an alias to to_hash (backward compatibility)
|
203
|
+
# @return [Hash] Returns the object in the form of hash
|
204
|
+
def to_body
|
205
|
+
to_hash
|
206
|
+
end
|
207
|
+
|
208
|
+
# Returns the object in the form of hash
|
209
|
+
# @return [Hash] Returns the object in the form of hash
|
210
|
+
def to_hash
|
211
|
+
hash = {}
|
212
|
+
self.class.attribute_map.each_pair do |attr, param|
|
213
|
+
value = self.send(attr)
|
214
|
+
if value.nil?
|
215
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
216
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
217
|
+
end
|
218
|
+
|
219
|
+
hash[param] = _to_hash(value)
|
220
|
+
end
|
221
|
+
hash
|
222
|
+
end
|
223
|
+
|
224
|
+
# Outputs non-array value in the form of hash
|
225
|
+
# For object, use to_hash. Otherwise, just return the value
|
226
|
+
# @param [Object] value Any valid value
|
227
|
+
# @return [Hash] Returns the value in the form of hash
|
228
|
+
def _to_hash(value)
|
229
|
+
if value.is_a?(Array)
|
230
|
+
value.compact.map { |v| _to_hash(v) }
|
231
|
+
elsif value.is_a?(Hash)
|
232
|
+
{}.tap do |hash|
|
233
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
234
|
+
end
|
235
|
+
elsif value.respond_to? :to_hash
|
236
|
+
value.to_hash
|
237
|
+
else
|
238
|
+
value
|
239
|
+
end
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|
@@ -18,10 +18,10 @@ module MailSlurpClient
|
|
18
18
|
|
19
19
|
attr_accessor :id
|
20
20
|
|
21
|
-
attr_accessor :created_at
|
22
|
-
|
23
21
|
attr_accessor :variables
|
24
22
|
|
23
|
+
attr_accessor :created_at
|
24
|
+
|
25
25
|
attr_accessor :updated_at
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -29,8 +29,8 @@ module MailSlurpClient
|
|
29
29
|
{
|
30
30
|
:'name' => :'name',
|
31
31
|
:'id' => :'id',
|
32
|
-
:'created_at' => :'createdAt',
|
33
32
|
:'variables' => :'variables',
|
33
|
+
:'created_at' => :'createdAt',
|
34
34
|
:'updated_at' => :'updatedAt'
|
35
35
|
}
|
36
36
|
end
|
@@ -40,8 +40,8 @@ module MailSlurpClient
|
|
40
40
|
{
|
41
41
|
:'name' => :'String',
|
42
42
|
:'id' => :'String',
|
43
|
-
:'created_at' => :'DateTime',
|
44
43
|
:'variables' => :'Array<String>',
|
44
|
+
:'created_at' => :'DateTime',
|
45
45
|
:'updated_at' => :'DateTime'
|
46
46
|
}
|
47
47
|
end
|
@@ -75,16 +75,16 @@ module MailSlurpClient
|
|
75
75
|
self.id = attributes[:'id']
|
76
76
|
end
|
77
77
|
|
78
|
-
if attributes.key?(:'created_at')
|
79
|
-
self.created_at = attributes[:'created_at']
|
80
|
-
end
|
81
|
-
|
82
78
|
if attributes.key?(:'variables')
|
83
79
|
if (value = attributes[:'variables']).is_a?(Array)
|
84
80
|
self.variables = value
|
85
81
|
end
|
86
82
|
end
|
87
83
|
|
84
|
+
if attributes.key?(:'created_at')
|
85
|
+
self.created_at = attributes[:'created_at']
|
86
|
+
end
|
87
|
+
|
88
88
|
if attributes.key?(:'updated_at')
|
89
89
|
self.updated_at = attributes[:'updated_at']
|
90
90
|
end
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
103
103
|
end
|
104
104
|
|
105
|
-
if @created_at.nil?
|
106
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
107
|
-
end
|
108
|
-
|
109
105
|
if @variables.nil?
|
110
106
|
invalid_properties.push('invalid value for "variables", variables cannot be nil.')
|
111
107
|
end
|
112
108
|
|
109
|
+
if @created_at.nil?
|
110
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
111
|
+
end
|
112
|
+
|
113
113
|
if @updated_at.nil?
|
114
114
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
115
115
|
end
|
@@ -122,8 +122,8 @@ module MailSlurpClient
|
|
122
122
|
def valid?
|
123
123
|
return false if @name.nil?
|
124
124
|
return false if @id.nil?
|
125
|
-
return false if @created_at.nil?
|
126
125
|
return false if @variables.nil?
|
126
|
+
return false if @created_at.nil?
|
127
127
|
return false if @updated_at.nil?
|
128
128
|
true
|
129
129
|
end
|
@@ -135,8 +135,8 @@ module MailSlurpClient
|
|
135
135
|
self.class == o.class &&
|
136
136
|
name == o.name &&
|
137
137
|
id == o.id &&
|
138
|
-
created_at == o.created_at &&
|
139
138
|
variables == o.variables &&
|
139
|
+
created_at == o.created_at &&
|
140
140
|
updated_at == o.updated_at
|
141
141
|
end
|
142
142
|
|
@@ -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,
|
152
|
+
[name, id, variables, created_at, updated_at].hash
|
153
153
|
end
|
154
154
|
|
155
155
|
# Builds the object from hash
|
@@ -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 :subject
|
25
23
|
|
26
24
|
attr_accessor :user_id
|
27
25
|
|
26
|
+
attr_accessor :inbox_id
|
27
|
+
|
28
28
|
attr_accessor :to
|
29
29
|
|
30
30
|
attr_accessor :bcc
|
@@ -42,9 +42,9 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'name' => :'name',
|
44
44
|
:'id' => :'id',
|
45
|
-
:'inbox_id' => :'inboxId',
|
46
45
|
:'subject' => :'subject',
|
47
46
|
:'user_id' => :'userId',
|
47
|
+
:'inbox_id' => :'inboxId',
|
48
48
|
:'to' => :'to',
|
49
49
|
:'bcc' => :'bcc',
|
50
50
|
:'cc' => :'cc',
|
@@ -59,9 +59,9 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'name' => :'String',
|
61
61
|
:'id' => :'String',
|
62
|
-
:'inbox_id' => :'String',
|
63
62
|
:'subject' => :'String',
|
64
63
|
:'user_id' => :'String',
|
64
|
+
:'inbox_id' => :'String',
|
65
65
|
:'to' => :'Array<String>',
|
66
66
|
:'bcc' => :'Array<String>',
|
67
67
|
:'cc' => :'Array<String>',
|
@@ -100,10 +100,6 @@ module MailSlurpClient
|
|
100
100
|
self.id = attributes[:'id']
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'inbox_id')
|
104
|
-
self.inbox_id = attributes[:'inbox_id']
|
105
|
-
end
|
106
|
-
|
107
103
|
if attributes.key?(:'subject')
|
108
104
|
self.subject = attributes[:'subject']
|
109
105
|
end
|
@@ -112,6 +108,10 @@ module MailSlurpClient
|
|
112
108
|
self.user_id = attributes[:'user_id']
|
113
109
|
end
|
114
110
|
|
111
|
+
if attributes.key?(:'inbox_id')
|
112
|
+
self.inbox_id = attributes[:'inbox_id']
|
113
|
+
end
|
114
|
+
|
115
115
|
if attributes.key?(:'to')
|
116
116
|
if (value = attributes[:'to']).is_a?(Array)
|
117
117
|
self.to = value
|
@@ -151,14 +151,14 @@ module MailSlurpClient
|
|
151
151
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
152
152
|
end
|
153
153
|
|
154
|
-
if @inbox_id.nil?
|
155
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
156
|
-
end
|
157
|
-
|
158
154
|
if @user_id.nil?
|
159
155
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
160
156
|
end
|
161
157
|
|
158
|
+
if @inbox_id.nil?
|
159
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
160
|
+
end
|
161
|
+
|
162
162
|
if @to.nil?
|
163
163
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
164
164
|
end
|
@@ -182,8 +182,8 @@ module MailSlurpClient
|
|
182
182
|
# @return true if the model is valid
|
183
183
|
def valid?
|
184
184
|
return false if @id.nil?
|
185
|
-
return false if @inbox_id.nil?
|
186
185
|
return false if @user_id.nil?
|
186
|
+
return false if @inbox_id.nil?
|
187
187
|
return false if @to.nil?
|
188
188
|
return false if @created_at.nil?
|
189
189
|
return false if @updated_at.nil?
|
@@ -198,9 +198,9 @@ module MailSlurpClient
|
|
198
198
|
self.class == o.class &&
|
199
199
|
name == o.name &&
|
200
200
|
id == o.id &&
|
201
|
-
inbox_id == o.inbox_id &&
|
202
201
|
subject == o.subject &&
|
203
202
|
user_id == o.user_id &&
|
203
|
+
inbox_id == o.inbox_id &&
|
204
204
|
to == o.to &&
|
205
205
|
bcc == o.bcc &&
|
206
206
|
cc == o.cc &&
|
@@ -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,
|
221
|
+
[name, id, subject, user_id, inbox_id, to, bcc, cc, created_at, updated_at, alias_id].hash
|
222
222
|
end
|
223
223
|
|
224
224
|
# Builds the object from hash
|
@@ -18,10 +18,10 @@ module MailSlurpClient
|
|
18
18
|
|
19
19
|
attr_accessor :id
|
20
20
|
|
21
|
-
attr_accessor :inbox_id
|
22
|
-
|
23
21
|
attr_accessor :user_id
|
24
22
|
|
23
|
+
attr_accessor :inbox_id
|
24
|
+
|
25
25
|
attr_accessor :created_at
|
26
26
|
|
27
27
|
attr_accessor :seen
|
@@ -37,8 +37,8 @@ module MailSlurpClient
|
|
37
37
|
{
|
38
38
|
:'name' => :'name',
|
39
39
|
:'id' => :'id',
|
40
|
-
:'inbox_id' => :'inboxId',
|
41
40
|
:'user_id' => :'userId',
|
41
|
+
:'inbox_id' => :'inboxId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
43
|
:'seen' => :'seen',
|
44
44
|
:'recipient' => :'recipient',
|
@@ -52,8 +52,8 @@ module MailSlurpClient
|
|
52
52
|
{
|
53
53
|
:'name' => :'String',
|
54
54
|
:'id' => :'String',
|
55
|
-
:'inbox_id' => :'String',
|
56
55
|
:'user_id' => :'String',
|
56
|
+
:'inbox_id' => :'String',
|
57
57
|
:'created_at' => :'DateTime',
|
58
58
|
:'seen' => :'Boolean',
|
59
59
|
:'recipient' => :'String',
|
@@ -91,14 +91,14 @@ module MailSlurpClient
|
|
91
91
|
self.id = attributes[:'id']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'inbox_id')
|
95
|
-
self.inbox_id = attributes[:'inbox_id']
|
96
|
-
end
|
97
|
-
|
98
94
|
if attributes.key?(:'user_id')
|
99
95
|
self.user_id = attributes[:'user_id']
|
100
96
|
end
|
101
97
|
|
98
|
+
if attributes.key?(:'inbox_id')
|
99
|
+
self.inbox_id = attributes[:'inbox_id']
|
100
|
+
end
|
101
|
+
|
102
102
|
if attributes.key?(:'created_at')
|
103
103
|
self.created_at = attributes[:'created_at']
|
104
104
|
end
|
@@ -160,8 +160,8 @@ module MailSlurpClient
|
|
160
160
|
self.class == o.class &&
|
161
161
|
name == o.name &&
|
162
162
|
id == o.id &&
|
163
|
-
inbox_id == o.inbox_id &&
|
164
163
|
user_id == o.user_id &&
|
164
|
+
inbox_id == o.inbox_id &&
|
165
165
|
created_at == o.created_at &&
|
166
166
|
seen == o.seen &&
|
167
167
|
recipient == o.recipient &&
|
@@ -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,
|
181
|
+
[name, id, user_id, inbox_id, created_at, seen, recipient, seen_at, sent_email_id].hash
|
182
182
|
end
|
183
183
|
|
184
184
|
# Builds the object from hash
|
data/lib/mailslurp_client.rb
CHANGED
@@ -75,6 +75,8 @@ require 'mailslurp_client/models/group_dto'
|
|
75
75
|
require 'mailslurp_client/models/group_projection'
|
76
76
|
require 'mailslurp_client/models/html_validation_result'
|
77
77
|
require 'mailslurp_client/models/ip_address_result'
|
78
|
+
require 'mailslurp_client/models/imap_flag_operation_options'
|
79
|
+
require 'mailslurp_client/models/imap_smtp_access_details'
|
78
80
|
require 'mailslurp_client/models/inbox_by_email_address_result'
|
79
81
|
require 'mailslurp_client/models/inbox_dto'
|
80
82
|
require 'mailslurp_client/models/inbox_exists_dto'
|
@@ -122,6 +124,7 @@ require 'mailslurp_client/models/recipient'
|
|
122
124
|
require 'mailslurp_client/models/reply_to_alias_email_options'
|
123
125
|
require 'mailslurp_client/models/reply_to_email_options'
|
124
126
|
require 'mailslurp_client/models/send_email_options'
|
127
|
+
require 'mailslurp_client/models/send_smtp_envelope_options'
|
125
128
|
require 'mailslurp_client/models/sender'
|
126
129
|
require 'mailslurp_client/models/sent_email_dto'
|
127
130
|
require 'mailslurp_client/models/sent_email_projection'
|
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.
|
4
|
+
version: 15.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-24 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.
|
@@ -105,6 +105,8 @@ files:
|
|
105
105
|
- lib/mailslurp_client/models/group_dto.rb
|
106
106
|
- lib/mailslurp_client/models/group_projection.rb
|
107
107
|
- lib/mailslurp_client/models/html_validation_result.rb
|
108
|
+
- lib/mailslurp_client/models/imap_flag_operation_options.rb
|
109
|
+
- lib/mailslurp_client/models/imap_smtp_access_details.rb
|
108
110
|
- lib/mailslurp_client/models/inbox_by_email_address_result.rb
|
109
111
|
- lib/mailslurp_client/models/inbox_dto.rb
|
110
112
|
- lib/mailslurp_client/models/inbox_exists_dto.rb
|
@@ -153,6 +155,7 @@ files:
|
|
153
155
|
- lib/mailslurp_client/models/reply_to_alias_email_options.rb
|
154
156
|
- lib/mailslurp_client/models/reply_to_email_options.rb
|
155
157
|
- lib/mailslurp_client/models/send_email_options.rb
|
158
|
+
- lib/mailslurp_client/models/send_smtp_envelope_options.rb
|
156
159
|
- lib/mailslurp_client/models/sender.rb
|
157
160
|
- lib/mailslurp_client/models/sent_email_dto.rb
|
158
161
|
- lib/mailslurp_client/models/sent_email_projection.rb
|