mailslurp_client 15.0.2 → 15.0.6
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 +191 -117
- 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 +360 -226
- 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 +11 -26
- data/lib/mailslurp_client/models/alias_dto.rb +46 -57
- data/lib/mailslurp_client/models/alias_projection.rb +38 -68
- data/lib/mailslurp_client/models/attachment_entity.rb +35 -55
- data/lib/mailslurp_client/models/attachment_meta_data.rb +22 -22
- data/lib/mailslurp_client/models/attachment_projection.rb +30 -45
- data/lib/mailslurp_client/models/basic_auth_options.rb +1 -11
- data/lib/mailslurp_client/models/bounce_projection.rb +14 -24
- data/lib/mailslurp_client/models/bounce_recipient.rb +23 -43
- data/lib/mailslurp_client/models/bounced_email_dto.rb +57 -77
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +17 -32
- data/lib/mailslurp_client/models/bulk_send_email_options.rb +6 -1
- data/lib/mailslurp_client/models/condition_option.rb +3 -3
- data/lib/mailslurp_client/models/contact_dto.rb +54 -74
- data/lib/mailslurp_client/models/contact_projection.rb +43 -53
- data/lib/mailslurp_client/models/content_match_options.rb +1 -1
- data/lib/mailslurp_client/models/count_dto.rb +206 -0
- data/lib/mailslurp_client/models/create_alias_options.rb +1 -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 -6
- data/lib/mailslurp_client/models/create_inbox_dto.rb +59 -59
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +20 -15
- data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +24 -24
- data/lib/mailslurp_client/models/create_template_options.rb +1 -11
- data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -1
- data/lib/mailslurp_client/models/create_webhook_options.rb +19 -19
- data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +16 -26
- data/lib/mailslurp_client/models/dns_lookup_options.rb +25 -15
- data/lib/mailslurp_client/models/dns_lookup_result.rb +24 -43
- data/lib/mailslurp_client/models/dns_lookup_results.rb +1 -6
- data/lib/mailslurp_client/models/domain_dto.rb +60 -81
- data/lib/mailslurp_client/models/domain_name_record.rb +12 -31
- data/lib/mailslurp_client/models/domain_preview.rb +27 -51
- data/lib/mailslurp_client/models/download_attachment_dto.rb +1 -1
- data/lib/mailslurp_client/models/email.rb +135 -136
- data/lib/mailslurp_client/models/email_analysis.rb +29 -29
- data/lib/mailslurp_client/models/email_content_match_result.rb +14 -24
- data/lib/mailslurp_client/models/email_links_result.rb +14 -24
- data/lib/mailslurp_client/models/email_preview.rb +48 -48
- data/lib/mailslurp_client/models/email_projection.rb +67 -87
- data/lib/mailslurp_client/models/email_recipients.rb +17 -16
- data/lib/mailslurp_client/models/email_text_lines_result.rb +14 -24
- data/lib/mailslurp_client/models/email_verification_result.rb +17 -37
- data/lib/mailslurp_client/models/expiration_defaults.rb +17 -27
- data/lib/mailslurp_client/models/expired_inbox_dto.rb +14 -29
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +23 -43
- data/lib/mailslurp_client/models/export_link.rb +1 -6
- data/lib/mailslurp_client/models/export_options.rb +2 -7
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +14 -24
- data/lib/mailslurp_client/models/forward_email_options.rb +37 -32
- data/lib/mailslurp_client/models/gravatar_url.rb +14 -24
- data/lib/mailslurp_client/models/group_contacts_dto.rb +14 -24
- data/lib/mailslurp_client/models/group_dto.rb +23 -38
- data/lib/mailslurp_client/models/group_projection.rb +23 -38
- data/lib/mailslurp_client/models/html_validation_result.rb +14 -15
- data/lib/mailslurp_client/models/{inbox.rb → inbox_dto.rb} +48 -58
- data/lib/mailslurp_client/models/inbox_exists_dto.rb +1 -6
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +32 -62
- data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -6
- data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +14 -24
- data/lib/mailslurp_client/models/inbox_preview.rb +39 -39
- data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +44 -79
- data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -6
- data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +14 -19
- data/lib/mailslurp_client/models/inline_object.rb +221 -0
- data/lib/mailslurp_client/models/ip_address_result.rb +1 -11
- data/lib/mailslurp_client/models/json_schema_dto.rb +1 -6
- data/lib/mailslurp_client/models/match_option.rb +8 -3
- data/lib/mailslurp_client/models/match_options.rb +17 -17
- data/lib/mailslurp_client/models/missed_email.rb +68 -103
- data/lib/mailslurp_client/models/missed_email_projection.rb +20 -30
- data/lib/mailslurp_client/models/name_server_record.rb +11 -31
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +45 -45
- data/lib/mailslurp_client/models/page_alias.rb +50 -50
- data/lib/mailslurp_client/models/page_attachment_entity.rb +50 -50
- data/lib/mailslurp_client/models/page_bounced_email.rb +50 -50
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +50 -50
- data/lib/mailslurp_client/models/page_contact_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_email_preview.rb +50 -50
- data/lib/mailslurp_client/models/page_email_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_group_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +50 -50
- data/lib/mailslurp_client/models/page_inbox_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +50 -50
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_template_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_thread_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_webhook_projection.rb +50 -50
- data/lib/mailslurp_client/models/page_webhook_result.rb +50 -50
- data/lib/mailslurp_client/models/pageable.rb +29 -29
- data/lib/mailslurp_client/models/raw_email_json.rb +1 -6
- data/lib/mailslurp_client/models/recipient.rb +14 -24
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +39 -38
- data/lib/mailslurp_client/models/reply_to_email_options.rb +52 -51
- data/lib/mailslurp_client/models/send_email_options.rb +108 -116
- data/lib/mailslurp_client/models/sender.rb +15 -24
- data/lib/mailslurp_client/models/sent_email_dto.rb +98 -103
- data/lib/mailslurp_client/models/sent_email_projection.rb +64 -103
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
- data/lib/mailslurp_client/models/simple_send_email_options.rb +25 -25
- data/lib/mailslurp_client/models/sort.rb +14 -14
- data/lib/mailslurp_client/models/template_dto.rb +23 -48
- data/lib/mailslurp_client/models/template_projection.rb +26 -51
- data/lib/mailslurp_client/models/template_variable.rb +1 -11
- data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -11
- data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -11
- data/lib/mailslurp_client/models/thread_projection.rb +58 -93
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +44 -69
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +35 -55
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +20 -30
- data/lib/mailslurp_client/models/unread_count.rb +1 -6
- data/lib/mailslurp_client/models/unseen_error_count_dto.rb +1 -6
- 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 -6
- 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 +1 -1
- data/lib/mailslurp_client/models/validation_message.rb +2 -6
- data/lib/mailslurp_client/models/verify_email_address_options.rb +1 -6
- data/lib/mailslurp_client/models/wait_for_conditions.rb +49 -59
- data/lib/mailslurp_client/models/webhook_dto.rb +65 -70
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +43 -43
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +50 -50
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +44 -44
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +76 -96
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +85 -85
- data/lib/mailslurp_client/models/webhook_projection.rb +35 -60
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +14 -24
- data/lib/mailslurp_client/models/webhook_result_dto.rb +77 -127
- data/lib/mailslurp_client/models/webhook_test_request.rb +22 -37
- data/lib/mailslurp_client/models/webhook_test_response.rb +14 -14
- data/lib/mailslurp_client/models/webhook_test_result.rb +14 -24
- data/lib/mailslurp_client/version.rb +2 -2
- data/lib/mailslurp_client.rb +4 -2
- metadata +5 -3
@@ -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,35 +14,35 @@ require 'date'
|
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
16
|
class UnknownMissedEmailProjection
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :id
|
18
18
|
|
19
19
|
attr_accessor :from
|
20
20
|
|
21
|
-
attr_accessor :id
|
22
|
-
|
23
21
|
attr_accessor :subject
|
24
22
|
|
25
23
|
attr_accessor :to
|
26
24
|
|
25
|
+
attr_accessor :created_at
|
26
|
+
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
28
|
def self.attribute_map
|
29
29
|
{
|
30
|
-
:'created_at' => :'createdAt',
|
31
|
-
:'from' => :'from',
|
32
30
|
:'id' => :'id',
|
31
|
+
:'from' => :'from',
|
33
32
|
:'subject' => :'subject',
|
34
|
-
:'to' => :'to'
|
33
|
+
:'to' => :'to',
|
34
|
+
:'created_at' => :'createdAt'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
38
38
|
# Attribute type mapping.
|
39
39
|
def self.openapi_types
|
40
40
|
{
|
41
|
-
:'created_at' => :'DateTime',
|
42
|
-
:'from' => :'String',
|
43
41
|
:'id' => :'String',
|
42
|
+
:'from' => :'String',
|
44
43
|
:'subject' => :'String',
|
45
|
-
:'to' => :'Array<String>'
|
44
|
+
:'to' => :'Array<String>',
|
45
|
+
:'created_at' => :'DateTime'
|
46
46
|
}
|
47
47
|
end
|
48
48
|
|
@@ -67,18 +67,14 @@ module MailSlurpClient
|
|
67
67
|
h[k.to_sym] = v
|
68
68
|
}
|
69
69
|
|
70
|
-
if attributes.key?(:'
|
71
|
-
self.
|
70
|
+
if attributes.key?(:'id')
|
71
|
+
self.id = attributes[:'id']
|
72
72
|
end
|
73
73
|
|
74
74
|
if attributes.key?(:'from')
|
75
75
|
self.from = attributes[:'from']
|
76
76
|
end
|
77
77
|
|
78
|
-
if attributes.key?(:'id')
|
79
|
-
self.id = attributes[:'id']
|
80
|
-
end
|
81
|
-
|
82
78
|
if attributes.key?(:'subject')
|
83
79
|
self.subject = attributes[:'subject']
|
84
80
|
end
|
@@ -88,28 +84,22 @@ module MailSlurpClient
|
|
88
84
|
self.to = value
|
89
85
|
end
|
90
86
|
end
|
87
|
+
|
88
|
+
if attributes.key?(:'created_at')
|
89
|
+
self.created_at = attributes[:'created_at']
|
90
|
+
end
|
91
91
|
end
|
92
92
|
|
93
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
94
94
|
# @return Array for valid properties with the reasons
|
95
95
|
def list_invalid_properties
|
96
96
|
invalid_properties = Array.new
|
97
|
-
if @created_at.nil?
|
98
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
99
|
-
end
|
100
|
-
|
101
|
-
if @id.nil?
|
102
|
-
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
103
|
-
end
|
104
|
-
|
105
97
|
invalid_properties
|
106
98
|
end
|
107
99
|
|
108
100
|
# Check to see if the all the properties in the model are valid
|
109
101
|
# @return true if the model is valid
|
110
102
|
def valid?
|
111
|
-
return false if @created_at.nil?
|
112
|
-
return false if @id.nil?
|
113
103
|
true
|
114
104
|
end
|
115
105
|
|
@@ -118,11 +108,11 @@ module MailSlurpClient
|
|
118
108
|
def ==(o)
|
119
109
|
return true if self.equal?(o)
|
120
110
|
self.class == o.class &&
|
121
|
-
created_at == o.created_at &&
|
122
|
-
from == o.from &&
|
123
111
|
id == o.id &&
|
112
|
+
from == o.from &&
|
124
113
|
subject == o.subject &&
|
125
|
-
to == o.to
|
114
|
+
to == o.to &&
|
115
|
+
created_at == o.created_at
|
126
116
|
end
|
127
117
|
|
128
118
|
# @see the `==` method
|
@@ -134,7 +124,7 @@ module MailSlurpClient
|
|
134
124
|
# Calculates hash code according to all attributes.
|
135
125
|
# @return [Integer] Hash code
|
136
126
|
def hash
|
137
|
-
[
|
127
|
+
[id, from, subject, to, created_at].hash
|
138
128
|
end
|
139
129
|
|
140
130
|
# 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
|
|
@@ -60,17 +60,12 @@ module MailSlurpClient
|
|
60
60
|
# @return Array for valid properties with the reasons
|
61
61
|
def list_invalid_properties
|
62
62
|
invalid_properties = Array.new
|
63
|
-
if @count.nil?
|
64
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
65
|
-
end
|
66
|
-
|
67
63
|
invalid_properties
|
68
64
|
end
|
69
65
|
|
70
66
|
# Check to see if the all the properties in the model are valid
|
71
67
|
# @return true if the model is valid
|
72
68
|
def valid?
|
73
|
-
return false if @count.nil?
|
74
69
|
true
|
75
70
|
end
|
76
71
|
|
@@ -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
|
|
@@ -60,17 +60,12 @@ module MailSlurpClient
|
|
60
60
|
# @return Array for valid properties with the reasons
|
61
61
|
def list_invalid_properties
|
62
62
|
invalid_properties = Array.new
|
63
|
-
if @count.nil?
|
64
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
65
|
-
end
|
66
|
-
|
67
63
|
invalid_properties
|
68
64
|
end
|
69
65
|
|
70
66
|
# Check to see if the all the properties in the model are valid
|
71
67
|
# @return true if the model is valid
|
72
68
|
def valid?
|
73
|
-
return false if @count.nil?
|
74
69
|
true
|
75
70
|
end
|
76
71
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -62,17 +62,12 @@ module MailSlurpClient
|
|
62
62
|
# @return Array for valid properties with the reasons
|
63
63
|
def list_invalid_properties
|
64
64
|
invalid_properties = Array.new
|
65
|
-
if @contact_ids.nil?
|
66
|
-
invalid_properties.push('invalid value for "contact_ids", contact_ids cannot be nil.')
|
67
|
-
end
|
68
|
-
|
69
65
|
invalid_properties
|
70
66
|
end
|
71
67
|
|
72
68
|
# Check to see if the all the properties in the model are valid
|
73
69
|
# @return true if the model is valid
|
74
70
|
def valid?
|
75
|
-
return false if @contact_ids.nil?
|
76
71
|
true
|
77
72
|
end
|
78
73
|
|
@@ -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,40 +15,40 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Options for updating inbox properties
|
17
17
|
class UpdateInboxOptions
|
18
|
+
# Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
|
19
|
+
attr_accessor :name
|
20
|
+
|
18
21
|
# Description of an inbox for labelling and searching purposes
|
19
22
|
attr_accessor :description
|
20
23
|
|
24
|
+
# Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
|
25
|
+
attr_accessor :tags
|
26
|
+
|
21
27
|
# Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.
|
22
28
|
attr_accessor :expires_at
|
23
29
|
|
24
30
|
# Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering
|
25
31
|
attr_accessor :favourite
|
26
32
|
|
27
|
-
# Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
|
28
|
-
attr_accessor :name
|
29
|
-
|
30
|
-
# Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
|
31
|
-
attr_accessor :tags
|
32
|
-
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
+
:'name' => :'name',
|
36
37
|
:'description' => :'description',
|
38
|
+
:'tags' => :'tags',
|
37
39
|
:'expires_at' => :'expiresAt',
|
38
|
-
:'favourite' => :'favourite'
|
39
|
-
:'name' => :'name',
|
40
|
-
:'tags' => :'tags'
|
40
|
+
:'favourite' => :'favourite'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
+
:'name' => :'String',
|
47
48
|
:'description' => :'String',
|
49
|
+
:'tags' => :'Array<String>',
|
48
50
|
:'expires_at' => :'DateTime',
|
49
|
-
:'favourite' => :'Boolean'
|
50
|
-
:'name' => :'String',
|
51
|
-
:'tags' => :'Array<String>'
|
51
|
+
:'favourite' => :'Boolean'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
@@ -73,10 +73,20 @@ module MailSlurpClient
|
|
73
73
|
h[k.to_sym] = v
|
74
74
|
}
|
75
75
|
|
76
|
+
if attributes.key?(:'name')
|
77
|
+
self.name = attributes[:'name']
|
78
|
+
end
|
79
|
+
|
76
80
|
if attributes.key?(:'description')
|
77
81
|
self.description = attributes[:'description']
|
78
82
|
end
|
79
83
|
|
84
|
+
if attributes.key?(:'tags')
|
85
|
+
if (value = attributes[:'tags']).is_a?(Array)
|
86
|
+
self.tags = value
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
80
90
|
if attributes.key?(:'expires_at')
|
81
91
|
self.expires_at = attributes[:'expires_at']
|
82
92
|
end
|
@@ -84,16 +94,6 @@ module MailSlurpClient
|
|
84
94
|
if attributes.key?(:'favourite')
|
85
95
|
self.favourite = attributes[:'favourite']
|
86
96
|
end
|
87
|
-
|
88
|
-
if attributes.key?(:'name')
|
89
|
-
self.name = attributes[:'name']
|
90
|
-
end
|
91
|
-
|
92
|
-
if attributes.key?(:'tags')
|
93
|
-
if (value = attributes[:'tags']).is_a?(Array)
|
94
|
-
self.tags = value
|
95
|
-
end
|
96
|
-
end
|
97
97
|
end
|
98
98
|
|
99
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -114,11 +114,11 @@ module MailSlurpClient
|
|
114
114
|
def ==(o)
|
115
115
|
return true if self.equal?(o)
|
116
116
|
self.class == o.class &&
|
117
|
+
name == o.name &&
|
117
118
|
description == o.description &&
|
119
|
+
tags == o.tags &&
|
118
120
|
expires_at == o.expires_at &&
|
119
|
-
favourite == o.favourite
|
120
|
-
name == o.name &&
|
121
|
-
tags == o.tags
|
121
|
+
favourite == o.favourite
|
122
122
|
end
|
123
123
|
|
124
124
|
# @see the `==` method
|
@@ -130,7 +130,7 @@ module MailSlurpClient
|
|
130
130
|
# Calculates hash code according to all attributes.
|
131
131
|
# @return [Integer] Hash code
|
132
132
|
def hash
|
133
|
-
[
|
133
|
+
[name, description, tags, expires_at, favourite].hash
|
134
134
|
end
|
135
135
|
|
136
136
|
# 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,30 +15,30 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Options for uploading files for attachments. When sending emails with the API that require attachments first upload each attachment. Then use the returned attachment ID in your `SendEmailOptions` when sending an email. This way you can use attachments multiple times once they have been uploaded.
|
17
17
|
class UploadAttachmentOptions
|
18
|
-
# Base64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/
|
19
|
-
attr_accessor :base64_contents
|
20
|
-
|
21
18
|
# Optional contentType for file. For instance `application/pdf`
|
22
19
|
attr_accessor :content_type
|
23
20
|
|
24
21
|
# Optional filename to save upload with. Will be the name that is shown in email clients
|
25
22
|
attr_accessor :filename
|
26
23
|
|
24
|
+
# Base64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string. For examples of how to do this see https://www.mailslurp.com/guides/base64-file-uploads/
|
25
|
+
attr_accessor :base64_contents
|
26
|
+
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
28
|
def self.attribute_map
|
29
29
|
{
|
30
|
-
:'base64_contents' => :'base64Contents',
|
31
30
|
:'content_type' => :'contentType',
|
32
|
-
:'filename' => :'filename'
|
31
|
+
:'filename' => :'filename',
|
32
|
+
:'base64_contents' => :'base64Contents'
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'base64_contents' => :'String',
|
40
39
|
:'content_type' => :'String',
|
41
|
-
:'filename' => :'String'
|
40
|
+
:'filename' => :'String',
|
41
|
+
:'base64_contents' => :'String'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -63,10 +63,6 @@ module MailSlurpClient
|
|
63
63
|
h[k.to_sym] = v
|
64
64
|
}
|
65
65
|
|
66
|
-
if attributes.key?(:'base64_contents')
|
67
|
-
self.base64_contents = attributes[:'base64_contents']
|
68
|
-
end
|
69
|
-
|
70
66
|
if attributes.key?(:'content_type')
|
71
67
|
self.content_type = attributes[:'content_type']
|
72
68
|
end
|
@@ -74,6 +70,10 @@ module MailSlurpClient
|
|
74
70
|
if attributes.key?(:'filename')
|
75
71
|
self.filename = attributes[:'filename']
|
76
72
|
end
|
73
|
+
|
74
|
+
if attributes.key?(:'base64_contents')
|
75
|
+
self.base64_contents = attributes[:'base64_contents']
|
76
|
+
end
|
77
77
|
end
|
78
78
|
|
79
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -99,9 +99,9 @@ module MailSlurpClient
|
|
99
99
|
def ==(o)
|
100
100
|
return true if self.equal?(o)
|
101
101
|
self.class == o.class &&
|
102
|
-
base64_contents == o.base64_contents &&
|
103
102
|
content_type == o.content_type &&
|
104
|
-
filename == o.filename
|
103
|
+
filename == o.filename &&
|
104
|
+
base64_contents == o.base64_contents
|
105
105
|
end
|
106
106
|
|
107
107
|
# @see the `==` method
|
@@ -113,7 +113,7 @@ module MailSlurpClient
|
|
113
113
|
# Calculates hash code according to all attributes.
|
114
114
|
# @return [Integer] Hash code
|
115
115
|
def hash
|
116
|
-
[
|
116
|
+
[content_type, filename, base64_contents].hash
|
117
117
|
end
|
118
118
|
|
119
119
|
# 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
|
|
@@ -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,6 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
+
# Optional warnings resulting from HTML validation
|
16
17
|
class ValidationMessage
|
17
18
|
attr_accessor :line_number
|
18
19
|
|
@@ -68,17 +69,12 @@ module MailSlurpClient
|
|
68
69
|
# @return Array for valid properties with the reasons
|
69
70
|
def list_invalid_properties
|
70
71
|
invalid_properties = Array.new
|
71
|
-
if @line_number.nil?
|
72
|
-
invalid_properties.push('invalid value for "line_number", line_number cannot be nil.')
|
73
|
-
end
|
74
|
-
|
75
72
|
invalid_properties
|
76
73
|
end
|
77
74
|
|
78
75
|
# Check to see if the all the properties in the model are valid
|
79
76
|
# @return true if the model is valid
|
80
77
|
def valid?
|
81
|
-
return false if @line_number.nil?
|
82
78
|
true
|
83
79
|
end
|
84
80
|
|
@@ -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
|
|
@@ -85,17 +85,12 @@ module MailSlurpClient
|
|
85
85
|
# @return Array for valid properties with the reasons
|
86
86
|
def list_invalid_properties
|
87
87
|
invalid_properties = Array.new
|
88
|
-
if @email_address.nil?
|
89
|
-
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
90
|
-
end
|
91
|
-
|
92
88
|
invalid_properties
|
93
89
|
end
|
94
90
|
|
95
91
|
# Check to see if the all the properties in the model are valid
|
96
92
|
# @return true if the model is valid
|
97
93
|
def valid?
|
98
|
-
return false if @email_address.nil?
|
99
94
|
true
|
100
95
|
end
|
101
96
|
|