mailslurp_client 15.4.2 → 15.5.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/email_controller_api.rb +70 -0
- data/lib/mailslurp_client/models/alias_projection.rb +13 -13
- 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 +12 -12
- data/lib/mailslurp_client/models/imap_flag_operation_options.rb +261 -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/sent_email_projection.rb +17 -17
- data/lib/mailslurp_client/models/template_projection.rb +15 -15
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +1 -0
- metadata +3 -2
@@ -25,10 +25,10 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :inbox_id
|
27
27
|
|
28
|
-
attr_accessor :attachments
|
29
|
-
|
30
28
|
attr_accessor :to
|
31
29
|
|
30
|
+
attr_accessor :attachments
|
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
|
-
:'attachments' => :'attachments',
|
49
48
|
:'to' => :'to',
|
49
|
+
:'attachments' => :'attachments',
|
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
|
-
:'attachments' => :'Array<String>',
|
66
65
|
:'to' => :'Array<String>',
|
66
|
+
:'attachments' => :'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?(:'attachments')
|
116
|
-
if (value = attributes[:'attachments']).is_a?(Array)
|
117
|
-
self.attachments = value
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
115
|
if attributes.key?(:'to')
|
122
116
|
if (value = attributes[:'to']).is_a?(Array)
|
123
117
|
self.to = value
|
124
118
|
end
|
125
119
|
end
|
126
120
|
|
121
|
+
if attributes.key?(:'attachments')
|
122
|
+
if (value = attributes[:'attachments']).is_a?(Array)
|
123
|
+
self.attachments = 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 @attachments.nil?
|
165
|
-
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
166
|
-
end
|
167
|
-
|
168
164
|
if @to.nil?
|
169
165
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
170
166
|
end
|
171
167
|
|
168
|
+
if @attachments.nil?
|
169
|
+
invalid_properties.push('invalid value for "attachments", attachments 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 @attachments.nil?
|
194
193
|
return false if @to.nil?
|
194
|
+
return false if @attachments.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
|
-
attachments == o.attachments &&
|
212
211
|
to == o.to &&
|
212
|
+
attachments == o.attachments &&
|
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, to, attachments, bcc, cc, created_at, body_md5_hash].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -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
|
data/lib/mailslurp_client.rb
CHANGED
@@ -75,6 +75,7 @@ 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'
|
78
79
|
require 'mailslurp_client/models/imap_smtp_access_details'
|
79
80
|
require 'mailslurp_client/models/inbox_by_email_address_result'
|
80
81
|
require 'mailslurp_client/models/inbox_dto'
|
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.0
|
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-23 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,7 @@ 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
|
108
109
|
- lib/mailslurp_client/models/imap_smtp_access_details.rb
|
109
110
|
- lib/mailslurp_client/models/inbox_by_email_address_result.rb
|
110
111
|
- lib/mailslurp_client/models/inbox_dto.rb
|