mailslurp_client 15.0.3 → 15.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib/mailslurp_client/api/alias_controller_api.rb +60 -56
- data/lib/mailslurp_client/api/attachment_controller_api.rb +50 -61
- data/lib/mailslurp_client/api/bounce_controller_api.rb +27 -19
- data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +16 -16
- data/lib/mailslurp_client/api/common_actions_controller_api.rb +129 -68
- data/lib/mailslurp_client/api/contact_controller_api.rb +23 -23
- data/lib/mailslurp_client/api/domain_controller_api.rb +33 -33
- data/lib/mailslurp_client/api/email_controller_api.rb +145 -122
- data/lib/mailslurp_client/api/expired_controller_api.rb +20 -20
- data/lib/mailslurp_client/api/export_controller_api.rb +39 -39
- data/lib/mailslurp_client/api/form_controller_api.rb +17 -19
- data/lib/mailslurp_client/api/group_controller_api.rb +53 -53
- data/lib/mailslurp_client/api/inbox_controller_api.rb +198 -178
- data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +34 -30
- data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +34 -30
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +27 -27
- data/lib/mailslurp_client/api/missed_email_controller_api.rb +55 -43
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +158 -48
- data/lib/mailslurp_client/api/template_controller_api.rb +22 -22
- data/lib/mailslurp_client/api/tracking_controller_api.rb +17 -17
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +129 -89
- data/lib/mailslurp_client/api/webhook_controller_api.rb +103 -87
- data/lib/mailslurp_client/api_client.rb +1 -1
- data/lib/mailslurp_client/api_error.rb +1 -1
- data/lib/mailslurp_client/configuration.rb +3 -3
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +22 -22
- data/lib/mailslurp_client/models/alias_dto.rb +64 -49
- data/lib/mailslurp_client/models/alias_projection.rb +50 -50
- data/lib/mailslurp_client/models/attachment_entity.rb +40 -40
- data/lib/mailslurp_client/models/attachment_meta_data.rb +42 -22
- data/lib/mailslurp_client/models/attachment_projection.rb +38 -33
- data/lib/mailslurp_client/models/basic_auth_options.rb +1 -1
- data/lib/mailslurp_client/models/bounce_projection.rb +19 -19
- data/lib/mailslurp_client/models/bounce_recipient.rb +31 -31
- data/lib/mailslurp_client/models/bounced_email_dto.rb +63 -63
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +23 -23
- data/lib/mailslurp_client/models/bulk_send_email_options.rb +11 -1
- data/lib/mailslurp_client/models/condition_option.rb +13 -3
- data/lib/mailslurp_client/models/contact_dto.rb +63 -63
- data/lib/mailslurp_client/models/contact_projection.rb +39 -39
- data/lib/mailslurp_client/models/content_match_options.rb +6 -1
- data/lib/mailslurp_client/models/count_dto.rb +1 -1
- data/lib/mailslurp_client/models/create_alias_options.rb +11 -1
- data/lib/mailslurp_client/models/create_contact_options.rb +43 -43
- data/lib/mailslurp_client/models/create_domain_options.rb +22 -17
- data/lib/mailslurp_client/models/create_group_options.rb +1 -1
- data/lib/mailslurp_client/models/create_inbox_dto.rb +59 -59
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +30 -15
- data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +39 -24
- data/lib/mailslurp_client/models/create_template_options.rb +1 -1
- data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -1
- data/lib/mailslurp_client/models/create_webhook_options.rb +24 -19
- data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +21 -21
- data/lib/mailslurp_client/models/dns_lookup_options.rb +30 -15
- data/lib/mailslurp_client/models/dns_lookup_result.rb +34 -33
- data/lib/mailslurp_client/models/dns_lookup_results.rb +1 -1
- data/lib/mailslurp_client/models/domain_dto.rb +100 -70
- data/lib/mailslurp_client/models/domain_name_record.rb +18 -17
- data/lib/mailslurp_client/models/domain_preview.rb +29 -28
- data/lib/mailslurp_client/models/download_attachment_dto.rb +16 -1
- data/lib/mailslurp_client/models/email.rb +179 -139
- data/lib/mailslurp_client/models/email_analysis.rb +29 -29
- data/lib/mailslurp_client/models/email_content_match_result.rb +19 -19
- data/lib/mailslurp_client/models/email_links_result.rb +19 -19
- data/lib/mailslurp_client/models/email_preview.rb +63 -48
- data/lib/mailslurp_client/models/email_projection.rb +77 -77
- data/lib/mailslurp_client/models/email_recipients.rb +17 -16
- data/lib/mailslurp_client/models/email_text_lines_result.rb +19 -19
- data/lib/mailslurp_client/models/email_verification_result.rb +22 -22
- data/lib/mailslurp_client/models/expiration_defaults.rb +17 -17
- data/lib/mailslurp_client/models/expired_inbox_dto.rb +19 -19
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +33 -33
- data/lib/mailslurp_client/models/export_link.rb +1 -1
- data/lib/mailslurp_client/models/export_options.rb +2 -2
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +19 -19
- data/lib/mailslurp_client/models/forward_email_options.rb +37 -32
- data/lib/mailslurp_client/models/gravatar_url.rb +19 -19
- data/lib/mailslurp_client/models/group_contacts_dto.rb +19 -19
- data/lib/mailslurp_client/models/group_dto.rb +28 -28
- data/lib/mailslurp_client/models/group_projection.rb +29 -29
- data/lib/mailslurp_client/models/html_validation_result.rb +27 -12
- data/lib/mailslurp_client/models/{inbox.rb → inbox_dto.rb} +72 -57
- data/lib/mailslurp_client/models/inbox_exists_dto.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +48 -48
- data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +19 -19
- data/lib/mailslurp_client/models/inbox_preview.rb +59 -39
- data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +61 -61
- data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -1
- data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +19 -14
- data/lib/mailslurp_client/models/inline_object.rb +221 -0
- data/lib/mailslurp_client/models/ip_address_result.rb +1 -1
- data/lib/mailslurp_client/models/json_schema_dto.rb +1 -1
- data/lib/mailslurp_client/models/match_option.rb +18 -3
- data/lib/mailslurp_client/models/match_options.rb +17 -17
- data/lib/mailslurp_client/models/missed_email.rb +77 -77
- data/lib/mailslurp_client/models/missed_email_projection.rb +25 -25
- data/lib/mailslurp_client/models/name_server_record.rb +16 -16
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +70 -45
- data/lib/mailslurp_client/models/page_alias.rb +59 -50
- data/lib/mailslurp_client/models/page_attachment_entity.rb +59 -50
- data/lib/mailslurp_client/models/page_bounced_email.rb +59 -50
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +59 -50
- data/lib/mailslurp_client/models/page_contact_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_email_preview.rb +59 -50
- data/lib/mailslurp_client/models/page_email_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_group_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +59 -50
- data/lib/mailslurp_client/models/page_inbox_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +59 -50
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +86 -47
- data/lib/mailslurp_client/models/page_template_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_thread_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_webhook_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_webhook_result.rb +59 -50
- data/lib/mailslurp_client/models/{pageable.rb → pageable_object.rb} +32 -32
- data/lib/mailslurp_client/models/raw_email_json.rb +1 -1
- data/lib/mailslurp_client/models/recipient.rb +19 -19
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +47 -35
- data/lib/mailslurp_client/models/reply_to_email_options.rb +57 -45
- data/lib/mailslurp_client/models/send_email_options.rb +112 -110
- data/lib/mailslurp_client/models/sender.rb +20 -19
- data/lib/mailslurp_client/models/sent_email_dto.rb +110 -95
- data/lib/mailslurp_client/models/sent_email_projection.rb +88 -87
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +6 -1
- data/lib/mailslurp_client/models/simple_send_email_options.rb +30 -25
- data/lib/mailslurp_client/models/sort.rb +1 -1
- data/lib/mailslurp_client/models/template_dto.rb +33 -33
- data/lib/mailslurp_client/models/template_projection.rb +37 -37
- data/lib/mailslurp_client/models/template_variable.rb +1 -1
- data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -1
- data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -1
- data/lib/mailslurp_client/models/thread_projection.rb +71 -71
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +54 -54
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +42 -42
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +25 -25
- data/lib/mailslurp_client/models/unread_count.rb +1 -1
- data/lib/mailslurp_client/models/unseen_error_count_dto.rb +1 -1
- data/lib/mailslurp_client/models/update_alias_options.rb +1 -1
- data/lib/mailslurp_client/models/update_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/update_group_contacts.rb +1 -1
- data/lib/mailslurp_client/models/update_inbox_options.rb +27 -27
- data/lib/mailslurp_client/models/upload_attachment_options.rb +15 -15
- data/lib/mailslurp_client/models/validation_dto.rb +11 -1
- data/lib/mailslurp_client/models/validation_message.rb +2 -1
- data/lib/mailslurp_client/models/verify_email_address_options.rb +1 -1
- data/lib/mailslurp_client/models/wait_for_conditions.rb +53 -53
- data/lib/mailslurp_client/models/webhook_dto.rb +105 -65
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +83 -43
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +85 -50
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +79 -44
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +98 -83
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +140 -85
- data/lib/mailslurp_client/models/webhook_projection.rb +47 -47
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +19 -19
- data/lib/mailslurp_client/models/webhook_result_dto.rb +102 -102
- data/lib/mailslurp_client/models/webhook_test_request.rb +28 -28
- data/lib/mailslurp_client/models/webhook_test_response.rb +14 -14
- data/lib/mailslurp_client/models/webhook_test_result.rb +19 -19
- data/lib/mailslurp_client/version.rb +2 -2
- data/lib/mailslurp_client.rb +4 -3
- metadata +5 -4
@@ -4,7 +4,7 @@
|
|
4
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
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -13,28 +13,29 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
+
# The `To`,`CC`,`BCC` recipients stored in object form with email address and name accessible.
|
16
17
|
class EmailRecipients
|
17
|
-
attr_accessor :
|
18
|
+
attr_accessor :to
|
18
19
|
|
19
20
|
attr_accessor :cc
|
20
21
|
|
21
|
-
attr_accessor :
|
22
|
+
attr_accessor :bcc
|
22
23
|
|
23
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
25
|
def self.attribute_map
|
25
26
|
{
|
26
|
-
:'
|
27
|
+
:'to' => :'to',
|
27
28
|
:'cc' => :'cc',
|
28
|
-
:'
|
29
|
+
:'bcc' => :'bcc'
|
29
30
|
}
|
30
31
|
end
|
31
32
|
|
32
33
|
# Attribute type mapping.
|
33
34
|
def self.openapi_types
|
34
35
|
{
|
35
|
-
:'
|
36
|
+
:'to' => :'Array<Recipient>',
|
36
37
|
:'cc' => :'Array<Recipient>',
|
37
|
-
:'
|
38
|
+
:'bcc' => :'Array<Recipient>'
|
38
39
|
}
|
39
40
|
end
|
40
41
|
|
@@ -59,9 +60,9 @@ module MailSlurpClient
|
|
59
60
|
h[k.to_sym] = v
|
60
61
|
}
|
61
62
|
|
62
|
-
if attributes.key?(:'
|
63
|
-
if (value = attributes[:'
|
64
|
-
self.
|
63
|
+
if attributes.key?(:'to')
|
64
|
+
if (value = attributes[:'to']).is_a?(Array)
|
65
|
+
self.to = value
|
65
66
|
end
|
66
67
|
end
|
67
68
|
|
@@ -71,9 +72,9 @@ module MailSlurpClient
|
|
71
72
|
end
|
72
73
|
end
|
73
74
|
|
74
|
-
if attributes.key?(:'
|
75
|
-
if (value = attributes[:'
|
76
|
-
self.
|
75
|
+
if attributes.key?(:'bcc')
|
76
|
+
if (value = attributes[:'bcc']).is_a?(Array)
|
77
|
+
self.bcc = value
|
77
78
|
end
|
78
79
|
end
|
79
80
|
end
|
@@ -96,9 +97,9 @@ module MailSlurpClient
|
|
96
97
|
def ==(o)
|
97
98
|
return true if self.equal?(o)
|
98
99
|
self.class == o.class &&
|
99
|
-
|
100
|
+
to == o.to &&
|
100
101
|
cc == o.cc &&
|
101
|
-
|
102
|
+
bcc == o.bcc
|
102
103
|
end
|
103
104
|
|
104
105
|
# @see the `==` method
|
@@ -110,7 +111,7 @@ module MailSlurpClient
|
|
110
111
|
# Calculates hash code according to all attributes.
|
111
112
|
# @return [Integer] Hash code
|
112
113
|
def hash
|
113
|
-
[
|
114
|
+
[to, cc, bcc].hash
|
114
115
|
end
|
115
116
|
|
116
117
|
# Builds the object from hash
|
@@ -4,7 +4,7 @@
|
|
4
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
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Parsed text of an email
|
17
17
|
class EmailTextLinesResult
|
18
|
-
attr_accessor :body
|
19
|
-
|
20
18
|
attr_accessor :lines
|
21
19
|
|
20
|
+
attr_accessor :body
|
21
|
+
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
|
-
:'
|
26
|
-
:'
|
25
|
+
:'lines' => :'lines',
|
26
|
+
:'body' => :'body'
|
27
27
|
}
|
28
28
|
end
|
29
29
|
|
30
30
|
# Attribute type mapping.
|
31
31
|
def self.openapi_types
|
32
32
|
{
|
33
|
-
:'
|
34
|
-
:'
|
33
|
+
:'lines' => :'Array<String>',
|
34
|
+
:'body' => :'String'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -56,37 +56,37 @@ module MailSlurpClient
|
|
56
56
|
h[k.to_sym] = v
|
57
57
|
}
|
58
58
|
|
59
|
-
if attributes.key?(:'body')
|
60
|
-
self.body = attributes[:'body']
|
61
|
-
end
|
62
|
-
|
63
59
|
if attributes.key?(:'lines')
|
64
60
|
if (value = attributes[:'lines']).is_a?(Array)
|
65
61
|
self.lines = value
|
66
62
|
end
|
67
63
|
end
|
64
|
+
|
65
|
+
if attributes.key?(:'body')
|
66
|
+
self.body = attributes[:'body']
|
67
|
+
end
|
68
68
|
end
|
69
69
|
|
70
70
|
# Show invalid properties with the reasons. Usually used together with valid?
|
71
71
|
# @return Array for valid properties with the reasons
|
72
72
|
def list_invalid_properties
|
73
73
|
invalid_properties = Array.new
|
74
|
-
if @body.nil?
|
75
|
-
invalid_properties.push('invalid value for "body", body cannot be nil.')
|
76
|
-
end
|
77
|
-
|
78
74
|
if @lines.nil?
|
79
75
|
invalid_properties.push('invalid value for "lines", lines cannot be nil.')
|
80
76
|
end
|
81
77
|
|
78
|
+
if @body.nil?
|
79
|
+
invalid_properties.push('invalid value for "body", body cannot be nil.')
|
80
|
+
end
|
81
|
+
|
82
82
|
invalid_properties
|
83
83
|
end
|
84
84
|
|
85
85
|
# Check to see if the all the properties in the model are valid
|
86
86
|
# @return true if the model is valid
|
87
87
|
def valid?
|
88
|
-
return false if @body.nil?
|
89
88
|
return false if @lines.nil?
|
89
|
+
return false if @body.nil?
|
90
90
|
true
|
91
91
|
end
|
92
92
|
|
@@ -95,8 +95,8 @@ module MailSlurpClient
|
|
95
95
|
def ==(o)
|
96
96
|
return true if self.equal?(o)
|
97
97
|
self.class == o.class &&
|
98
|
-
|
99
|
-
|
98
|
+
lines == o.lines &&
|
99
|
+
body == o.body
|
100
100
|
end
|
101
101
|
|
102
102
|
# @see the `==` method
|
@@ -108,7 +108,7 @@ module MailSlurpClient
|
|
108
108
|
# Calculates hash code according to all attributes.
|
109
109
|
# @return [Integer] Hash code
|
110
110
|
def hash
|
111
|
-
[
|
111
|
+
[lines, body].hash
|
112
112
|
end
|
113
113
|
|
114
114
|
# Builds the object from hash
|
@@ -4,7 +4,7 @@
|
|
4
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
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -17,22 +17,22 @@ module MailSlurpClient
|
|
17
17
|
class EmailVerificationResult
|
18
18
|
attr_accessor :domain_name
|
19
19
|
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :port
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :email_address
|
23
23
|
|
24
24
|
attr_accessor :is_valid
|
25
25
|
|
26
|
-
attr_accessor :
|
26
|
+
attr_accessor :error
|
27
27
|
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
29
|
def self.attribute_map
|
30
30
|
{
|
31
31
|
:'domain_name' => :'domainName',
|
32
|
+
:'port' => :'port',
|
32
33
|
:'email_address' => :'emailAddress',
|
33
|
-
:'error' => :'error',
|
34
34
|
:'is_valid' => :'isValid',
|
35
|
-
:'
|
35
|
+
:'error' => :'error'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -40,10 +40,10 @@ module MailSlurpClient
|
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
42
|
:'domain_name' => :'String',
|
43
|
+
:'port' => :'Integer',
|
43
44
|
:'email_address' => :'String',
|
44
|
-
:'error' => :'String',
|
45
45
|
:'is_valid' => :'Boolean',
|
46
|
-
:'
|
46
|
+
:'error' => :'String'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -72,20 +72,20 @@ module MailSlurpClient
|
|
72
72
|
self.domain_name = attributes[:'domain_name']
|
73
73
|
end
|
74
74
|
|
75
|
-
if attributes.key?(:'
|
76
|
-
self.
|
75
|
+
if attributes.key?(:'port')
|
76
|
+
self.port = attributes[:'port']
|
77
77
|
end
|
78
78
|
|
79
|
-
if attributes.key?(:'
|
80
|
-
self.
|
79
|
+
if attributes.key?(:'email_address')
|
80
|
+
self.email_address = attributes[:'email_address']
|
81
81
|
end
|
82
82
|
|
83
83
|
if attributes.key?(:'is_valid')
|
84
84
|
self.is_valid = attributes[:'is_valid']
|
85
85
|
end
|
86
86
|
|
87
|
-
if attributes.key?(:'
|
88
|
-
self.
|
87
|
+
if attributes.key?(:'error')
|
88
|
+
self.error = attributes[:'error']
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
@@ -97,6 +97,10 @@ module MailSlurpClient
|
|
97
97
|
invalid_properties.push('invalid value for "domain_name", domain_name cannot be nil.')
|
98
98
|
end
|
99
99
|
|
100
|
+
if @port.nil?
|
101
|
+
invalid_properties.push('invalid value for "port", port cannot be nil.')
|
102
|
+
end
|
103
|
+
|
100
104
|
if @email_address.nil?
|
101
105
|
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
102
106
|
end
|
@@ -105,10 +109,6 @@ module MailSlurpClient
|
|
105
109
|
invalid_properties.push('invalid value for "is_valid", is_valid cannot be nil.')
|
106
110
|
end
|
107
111
|
|
108
|
-
if @port.nil?
|
109
|
-
invalid_properties.push('invalid value for "port", port cannot be nil.')
|
110
|
-
end
|
111
|
-
|
112
112
|
invalid_properties
|
113
113
|
end
|
114
114
|
|
@@ -116,9 +116,9 @@ module MailSlurpClient
|
|
116
116
|
# @return true if the model is valid
|
117
117
|
def valid?
|
118
118
|
return false if @domain_name.nil?
|
119
|
+
return false if @port.nil?
|
119
120
|
return false if @email_address.nil?
|
120
121
|
return false if @is_valid.nil?
|
121
|
-
return false if @port.nil?
|
122
122
|
true
|
123
123
|
end
|
124
124
|
|
@@ -128,10 +128,10 @@ module MailSlurpClient
|
|
128
128
|
return true if self.equal?(o)
|
129
129
|
self.class == o.class &&
|
130
130
|
domain_name == o.domain_name &&
|
131
|
+
port == o.port &&
|
131
132
|
email_address == o.email_address &&
|
132
|
-
error == o.error &&
|
133
133
|
is_valid == o.is_valid &&
|
134
|
-
|
134
|
+
error == o.error
|
135
135
|
end
|
136
136
|
|
137
137
|
# @see the `==` method
|
@@ -143,7 +143,7 @@ module MailSlurpClient
|
|
143
143
|
# Calculates hash code according to all attributes.
|
144
144
|
# @return [Integer] Hash code
|
145
145
|
def hash
|
146
|
-
[domain_name,
|
146
|
+
[domain_name, port, email_address, is_valid, error].hash
|
147
147
|
end
|
148
148
|
|
149
149
|
# Builds the object from hash
|
@@ -4,7 +4,7 @@
|
|
4
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
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Expiration defaults for your account
|
17
17
|
class ExpirationDefaults
|
18
|
-
attr_accessor :can_permanent_inbox
|
19
|
-
|
20
18
|
attr_accessor :default_expiration_millis
|
21
19
|
|
20
|
+
attr_accessor :max_expiration_millis
|
21
|
+
|
22
22
|
attr_accessor :default_expires_at
|
23
23
|
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :can_permanent_inbox
|
25
25
|
|
26
26
|
attr_accessor :next_inbox_allows_permanent
|
27
27
|
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
29
|
def self.attribute_map
|
30
30
|
{
|
31
|
-
:'can_permanent_inbox' => :'canPermanentInbox',
|
32
31
|
:'default_expiration_millis' => :'defaultExpirationMillis',
|
33
|
-
:'default_expires_at' => :'defaultExpiresAt',
|
34
32
|
:'max_expiration_millis' => :'maxExpirationMillis',
|
33
|
+
:'default_expires_at' => :'defaultExpiresAt',
|
34
|
+
:'can_permanent_inbox' => :'canPermanentInbox',
|
35
35
|
:'next_inbox_allows_permanent' => :'nextInboxAllowsPermanent'
|
36
36
|
}
|
37
37
|
end
|
@@ -39,10 +39,10 @@ module MailSlurpClient
|
|
39
39
|
# Attribute type mapping.
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
|
-
:'can_permanent_inbox' => :'Boolean',
|
43
42
|
:'default_expiration_millis' => :'Integer',
|
44
|
-
:'default_expires_at' => :'DateTime',
|
45
43
|
:'max_expiration_millis' => :'Integer',
|
44
|
+
:'default_expires_at' => :'DateTime',
|
45
|
+
:'can_permanent_inbox' => :'Boolean',
|
46
46
|
:'next_inbox_allows_permanent' => :'Boolean'
|
47
47
|
}
|
48
48
|
end
|
@@ -68,20 +68,20 @@ module MailSlurpClient
|
|
68
68
|
h[k.to_sym] = v
|
69
69
|
}
|
70
70
|
|
71
|
-
if attributes.key?(:'can_permanent_inbox')
|
72
|
-
self.can_permanent_inbox = attributes[:'can_permanent_inbox']
|
73
|
-
end
|
74
|
-
|
75
71
|
if attributes.key?(:'default_expiration_millis')
|
76
72
|
self.default_expiration_millis = attributes[:'default_expiration_millis']
|
77
73
|
end
|
78
74
|
|
75
|
+
if attributes.key?(:'max_expiration_millis')
|
76
|
+
self.max_expiration_millis = attributes[:'max_expiration_millis']
|
77
|
+
end
|
78
|
+
|
79
79
|
if attributes.key?(:'default_expires_at')
|
80
80
|
self.default_expires_at = attributes[:'default_expires_at']
|
81
81
|
end
|
82
82
|
|
83
|
-
if attributes.key?(:'
|
84
|
-
self.
|
83
|
+
if attributes.key?(:'can_permanent_inbox')
|
84
|
+
self.can_permanent_inbox = attributes[:'can_permanent_inbox']
|
85
85
|
end
|
86
86
|
|
87
87
|
if attributes.key?(:'next_inbox_allows_permanent')
|
@@ -117,10 +117,10 @@ module MailSlurpClient
|
|
117
117
|
def ==(o)
|
118
118
|
return true if self.equal?(o)
|
119
119
|
self.class == o.class &&
|
120
|
-
can_permanent_inbox == o.can_permanent_inbox &&
|
121
120
|
default_expiration_millis == o.default_expiration_millis &&
|
122
|
-
default_expires_at == o.default_expires_at &&
|
123
121
|
max_expiration_millis == o.max_expiration_millis &&
|
122
|
+
default_expires_at == o.default_expires_at &&
|
123
|
+
can_permanent_inbox == o.can_permanent_inbox &&
|
124
124
|
next_inbox_allows_permanent == o.next_inbox_allows_permanent
|
125
125
|
end
|
126
126
|
|
@@ -133,7 +133,7 @@ module MailSlurpClient
|
|
133
133
|
# Calculates hash code according to all attributes.
|
134
134
|
# @return [Integer] Hash code
|
135
135
|
def hash
|
136
|
-
[
|
136
|
+
[default_expiration_millis, max_expiration_millis, default_expires_at, can_permanent_inbox, next_inbox_allows_permanent].hash
|
137
137
|
end
|
138
138
|
|
139
139
|
# Builds the object from hash
|
@@ -4,7 +4,7 @@
|
|
4
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
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -15,27 +15,27 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Expired inbox
|
17
17
|
class ExpiredInboxDto
|
18
|
-
attr_accessor :email_address
|
19
|
-
|
20
18
|
attr_accessor :id
|
21
19
|
|
22
20
|
attr_accessor :inbox_id
|
23
21
|
|
22
|
+
attr_accessor :email_address
|
23
|
+
|
24
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
25
|
def self.attribute_map
|
26
26
|
{
|
27
|
-
:'email_address' => :'emailAddress',
|
28
27
|
:'id' => :'id',
|
29
|
-
:'inbox_id' => :'inboxId'
|
28
|
+
:'inbox_id' => :'inboxId',
|
29
|
+
:'email_address' => :'emailAddress'
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
33
33
|
# Attribute type mapping.
|
34
34
|
def self.openapi_types
|
35
35
|
{
|
36
|
-
:'email_address' => :'String',
|
37
36
|
:'id' => :'String',
|
38
|
-
:'inbox_id' => :'String'
|
37
|
+
:'inbox_id' => :'String',
|
38
|
+
:'email_address' => :'String'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -60,10 +60,6 @@ module MailSlurpClient
|
|
60
60
|
h[k.to_sym] = v
|
61
61
|
}
|
62
62
|
|
63
|
-
if attributes.key?(:'email_address')
|
64
|
-
self.email_address = attributes[:'email_address']
|
65
|
-
end
|
66
|
-
|
67
63
|
if attributes.key?(:'id')
|
68
64
|
self.id = attributes[:'id']
|
69
65
|
end
|
@@ -71,16 +67,16 @@ module MailSlurpClient
|
|
71
67
|
if attributes.key?(:'inbox_id')
|
72
68
|
self.inbox_id = attributes[:'inbox_id']
|
73
69
|
end
|
70
|
+
|
71
|
+
if attributes.key?(:'email_address')
|
72
|
+
self.email_address = attributes[:'email_address']
|
73
|
+
end
|
74
74
|
end
|
75
75
|
|
76
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
77
77
|
# @return Array for valid properties with the reasons
|
78
78
|
def list_invalid_properties
|
79
79
|
invalid_properties = Array.new
|
80
|
-
if @email_address.nil?
|
81
|
-
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
82
|
-
end
|
83
|
-
|
84
80
|
if @id.nil?
|
85
81
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
86
82
|
end
|
@@ -89,15 +85,19 @@ module MailSlurpClient
|
|
89
85
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
90
86
|
end
|
91
87
|
|
88
|
+
if @email_address.nil?
|
89
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
90
|
+
end
|
91
|
+
|
92
92
|
invalid_properties
|
93
93
|
end
|
94
94
|
|
95
95
|
# Check to see if the all the properties in the model are valid
|
96
96
|
# @return true if the model is valid
|
97
97
|
def valid?
|
98
|
-
return false if @email_address.nil?
|
99
98
|
return false if @id.nil?
|
100
99
|
return false if @inbox_id.nil?
|
100
|
+
return false if @email_address.nil?
|
101
101
|
true
|
102
102
|
end
|
103
103
|
|
@@ -106,9 +106,9 @@ module MailSlurpClient
|
|
106
106
|
def ==(o)
|
107
107
|
return true if self.equal?(o)
|
108
108
|
self.class == o.class &&
|
109
|
-
email_address == o.email_address &&
|
110
109
|
id == o.id &&
|
111
|
-
inbox_id == o.inbox_id
|
110
|
+
inbox_id == o.inbox_id &&
|
111
|
+
email_address == o.email_address
|
112
112
|
end
|
113
113
|
|
114
114
|
# @see the `==` method
|
@@ -120,7 +120,7 @@ module MailSlurpClient
|
|
120
120
|
# Calculates hash code according to all attributes.
|
121
121
|
# @return [Integer] Hash code
|
122
122
|
def hash
|
123
|
-
[
|
123
|
+
[id, inbox_id, email_address].hash
|
124
124
|
end
|
125
125
|
|
126
126
|
# Builds the object from hash
|
@@ -4,7 +4,7 @@
|
|
4
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
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -14,31 +14,31 @@ require 'date'
|
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
16
|
class ExpiredInboxRecordProjection
|
17
|
-
attr_accessor :created_at
|
18
|
-
|
19
|
-
attr_accessor :email_address
|
20
|
-
|
21
17
|
attr_accessor :id
|
22
18
|
|
23
19
|
attr_accessor :user_id
|
24
20
|
|
21
|
+
attr_accessor :email_address
|
22
|
+
|
23
|
+
attr_accessor :created_at
|
24
|
+
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
-
:'created_at' => :'createdAt',
|
29
|
-
:'email_address' => :'emailAddress',
|
30
28
|
:'id' => :'id',
|
31
|
-
:'user_id' => :'userId'
|
29
|
+
:'user_id' => :'userId',
|
30
|
+
:'email_address' => :'emailAddress',
|
31
|
+
:'created_at' => :'createdAt'
|
32
32
|
}
|
33
33
|
end
|
34
34
|
|
35
35
|
# Attribute type mapping.
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
|
-
:'created_at' => :'DateTime',
|
39
|
-
:'email_address' => :'String',
|
40
38
|
:'id' => :'String',
|
41
|
-
:'user_id' => :'String'
|
39
|
+
:'user_id' => :'String',
|
40
|
+
:'email_address' => :'String',
|
41
|
+
:'created_at' => :'DateTime'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -63,14 +63,6 @@ module MailSlurpClient
|
|
63
63
|
h[k.to_sym] = v
|
64
64
|
}
|
65
65
|
|
66
|
-
if attributes.key?(:'created_at')
|
67
|
-
self.created_at = attributes[:'created_at']
|
68
|
-
end
|
69
|
-
|
70
|
-
if attributes.key?(:'email_address')
|
71
|
-
self.email_address = attributes[:'email_address']
|
72
|
-
end
|
73
|
-
|
74
66
|
if attributes.key?(:'id')
|
75
67
|
self.id = attributes[:'id']
|
76
68
|
end
|
@@ -78,20 +70,20 @@ module MailSlurpClient
|
|
78
70
|
if attributes.key?(:'user_id')
|
79
71
|
self.user_id = attributes[:'user_id']
|
80
72
|
end
|
73
|
+
|
74
|
+
if attributes.key?(:'email_address')
|
75
|
+
self.email_address = attributes[:'email_address']
|
76
|
+
end
|
77
|
+
|
78
|
+
if attributes.key?(:'created_at')
|
79
|
+
self.created_at = attributes[:'created_at']
|
80
|
+
end
|
81
81
|
end
|
82
82
|
|
83
83
|
# Show invalid properties with the reasons. Usually used together with valid?
|
84
84
|
# @return Array for valid properties with the reasons
|
85
85
|
def list_invalid_properties
|
86
86
|
invalid_properties = Array.new
|
87
|
-
if @created_at.nil?
|
88
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
89
|
-
end
|
90
|
-
|
91
|
-
if @email_address.nil?
|
92
|
-
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
87
|
if @id.nil?
|
96
88
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
97
89
|
end
|
@@ -100,16 +92,24 @@ module MailSlurpClient
|
|
100
92
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
101
93
|
end
|
102
94
|
|
95
|
+
if @email_address.nil?
|
96
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
97
|
+
end
|
98
|
+
|
99
|
+
if @created_at.nil?
|
100
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
101
|
+
end
|
102
|
+
|
103
103
|
invalid_properties
|
104
104
|
end
|
105
105
|
|
106
106
|
# Check to see if the all the properties in the model are valid
|
107
107
|
# @return true if the model is valid
|
108
108
|
def valid?
|
109
|
-
return false if @created_at.nil?
|
110
|
-
return false if @email_address.nil?
|
111
109
|
return false if @id.nil?
|
112
110
|
return false if @user_id.nil?
|
111
|
+
return false if @email_address.nil?
|
112
|
+
return false if @created_at.nil?
|
113
113
|
true
|
114
114
|
end
|
115
115
|
|
@@ -118,10 +118,10 @@ module MailSlurpClient
|
|
118
118
|
def ==(o)
|
119
119
|
return true if self.equal?(o)
|
120
120
|
self.class == o.class &&
|
121
|
-
created_at == o.created_at &&
|
122
|
-
email_address == o.email_address &&
|
123
121
|
id == o.id &&
|
124
|
-
user_id == o.user_id
|
122
|
+
user_id == o.user_id &&
|
123
|
+
email_address == o.email_address &&
|
124
|
+
created_at == o.created_at
|
125
125
|
end
|
126
126
|
|
127
127
|
# @see the `==` method
|
@@ -133,7 +133,7 @@ module MailSlurpClient
|
|
133
133
|
# Calculates hash code according to all attributes.
|
134
134
|
# @return [Integer] Hash code
|
135
135
|
def hash
|
136
|
-
[
|
136
|
+
[id, user_id, email_address, created_at].hash
|
137
137
|
end
|
138
138
|
|
139
139
|
# Builds the object from hash
|