mailslurp_client 15.0.5 → 15.1.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/alias_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/attachment_controller_api.rb +4 -4
- data/lib/mailslurp_client/api/bounce_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/common_actions_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/contact_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/domain_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/email_controller_api.rb +17 -14
- data/lib/mailslurp_client/api/expired_controller_api.rb +10 -10
- data/lib/mailslurp_client/api/export_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/form_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/group_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/inbox_controller_api.rb +95 -95
- data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/missed_email_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/template_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/tracking_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/webhook_controller_api.rb +1 -1
- data/lib/mailslurp_client/api_client.rb +1 -1
- data/lib/mailslurp_client/api_error.rb +1 -1
- data/lib/mailslurp_client/configuration.rb +5 -5
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +16 -1
- data/lib/mailslurp_client/models/alias_dto.rb +40 -14
- data/lib/mailslurp_client/models/alias_projection.rb +41 -11
- data/lib/mailslurp_client/models/attachment_entity.rb +21 -1
- data/lib/mailslurp_client/models/attachment_meta_data.rb +21 -1
- data/lib/mailslurp_client/models/attachment_projection.rb +44 -24
- data/lib/mailslurp_client/models/basic_auth_options.rb +11 -1
- data/lib/mailslurp_client/models/bounce_projection.rb +11 -1
- data/lib/mailslurp_client/models/bounce_recipient.rb +21 -1
- data/lib/mailslurp_client/models/bounced_email_dto.rb +21 -1
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +16 -1
- data/lib/mailslurp_client/models/bulk_send_email_options.rb +6 -1
- data/lib/mailslurp_client/models/condition_option.rb +11 -1
- data/lib/mailslurp_client/models/contact_dto.rb +21 -1
- data/lib/mailslurp_client/models/contact_projection.rb +24 -14
- data/lib/mailslurp_client/models/content_match_options.rb +6 -1
- data/lib/mailslurp_client/models/count_dto.rb +6 -1
- data/lib/mailslurp_client/models/create_alias_options.rb +11 -1
- data/lib/mailslurp_client/models/create_contact_options.rb +1 -1
- data/lib/mailslurp_client/models/create_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/create_group_options.rb +6 -1
- data/lib/mailslurp_client/models/create_inbox_dto.rb +1 -1
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +11 -1
- data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +16 -1
- data/lib/mailslurp_client/models/create_template_options.rb +11 -1
- data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -1
- data/lib/mailslurp_client/models/create_webhook_options.rb +6 -1
- data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +11 -1
- data/lib/mailslurp_client/models/dns_lookup_options.rb +6 -1
- data/lib/mailslurp_client/models/dns_lookup_result.rb +21 -1
- data/lib/mailslurp_client/models/dns_lookup_results.rb +6 -1
- data/lib/mailslurp_client/models/domain_dto.rb +65 -14
- data/lib/mailslurp_client/models/domain_name_record.rb +21 -1
- data/lib/mailslurp_client/models/domain_preview.rb +33 -8
- data/lib/mailslurp_client/models/download_attachment_dto.rb +16 -1
- data/lib/mailslurp_client/models/email.rb +55 -14
- data/lib/mailslurp_client/models/email_analysis.rb +1 -1
- data/lib/mailslurp_client/models/email_content_match_result.rb +11 -1
- data/lib/mailslurp_client/models/email_links_result.rb +11 -1
- data/lib/mailslurp_client/models/email_preview.rb +16 -1
- data/lib/mailslurp_client/models/email_projection.rb +64 -44
- data/lib/mailslurp_client/models/email_recipients.rb +1 -1
- data/lib/mailslurp_client/models/email_text_lines_result.rb +11 -1
- data/lib/mailslurp_client/models/email_verification_result.rb +34 -14
- data/lib/mailslurp_client/models/expiration_defaults.rb +11 -1
- data/lib/mailslurp_client/models/expired_inbox_dto.rb +16 -1
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +21 -1
- data/lib/mailslurp_client/models/export_link.rb +6 -1
- data/lib/mailslurp_client/models/export_options.rb +6 -1
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +11 -1
- data/lib/mailslurp_client/models/forward_email_options.rb +1 -1
- data/lib/mailslurp_client/models/gravatar_url.rb +11 -1
- data/lib/mailslurp_client/models/group_contacts_dto.rb +11 -1
- data/lib/mailslurp_client/models/group_dto.rb +16 -1
- data/lib/mailslurp_client/models/group_projection.rb +16 -1
- data/lib/mailslurp_client/models/html_validation_result.rb +30 -14
- data/lib/mailslurp_client/models/inbox_dto.rb +26 -1
- data/lib/mailslurp_client/models/inbox_exists_dto.rb +6 -1
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +31 -1
- data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +6 -1
- data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +11 -1
- data/lib/mailslurp_client/models/inbox_preview.rb +21 -1
- data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +36 -1
- data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +6 -1
- data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +11 -1
- data/lib/mailslurp_client/models/inline_object.rb +1 -1
- data/lib/mailslurp_client/models/ip_address_result.rb +11 -1
- data/lib/mailslurp_client/models/json_schema_dto.rb +6 -1
- data/lib/mailslurp_client/models/match_option.rb +11 -1
- data/lib/mailslurp_client/models/match_options.rb +1 -1
- data/lib/mailslurp_client/models/missed_email.rb +36 -1
- data/lib/mailslurp_client/models/missed_email_projection.rb +11 -1
- data/lib/mailslurp_client/models/name_server_record.rb +21 -1
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +26 -1
- data/lib/mailslurp_client/models/page_alias.rb +30 -21
- data/lib/mailslurp_client/models/page_attachment_entity.rb +30 -21
- data/lib/mailslurp_client/models/page_bounced_email.rb +30 -21
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +30 -21
- data/lib/mailslurp_client/models/page_contact_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_email_preview.rb +30 -21
- data/lib/mailslurp_client/models/page_email_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_group_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +30 -21
- data/lib/mailslurp_client/models/page_inbox_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +30 -21
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +42 -3
- data/lib/mailslurp_client/models/page_template_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_thread_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_webhook_projection.rb +30 -21
- data/lib/mailslurp_client/models/page_webhook_result.rb +30 -21
- data/lib/mailslurp_client/models/{pageable.rb → pageable_object.rb} +4 -4
- data/lib/mailslurp_client/models/raw_email_json.rb +6 -1
- data/lib/mailslurp_client/models/recipient.rb +11 -1
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +25 -14
- data/lib/mailslurp_client/models/reply_to_email_options.rb +25 -14
- data/lib/mailslurp_client/models/send_email_options.rb +13 -3
- data/lib/mailslurp_client/models/sender.rb +11 -1
- data/lib/mailslurp_client/models/sent_email_dto.rb +34 -14
- data/lib/mailslurp_client/models/sent_email_projection.rb +57 -17
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +6 -1
- data/lib/mailslurp_client/models/simple_send_email_options.rb +6 -1
- data/lib/mailslurp_client/models/sort.rb +1 -1
- data/lib/mailslurp_client/models/template_dto.rb +26 -1
- data/lib/mailslurp_client/models/template_projection.rb +36 -11
- data/lib/mailslurp_client/models/template_variable.rb +11 -1
- data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +11 -1
- data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +11 -1
- data/lib/mailslurp_client/models/thread_projection.rb +52 -17
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +26 -1
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +21 -1
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +24 -14
- data/lib/mailslurp_client/models/unread_count.rb +6 -1
- data/lib/mailslurp_client/models/unseen_error_count_dto.rb +6 -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 +6 -1
- data/lib/mailslurp_client/models/update_inbox_options.rb +1 -1
- data/lib/mailslurp_client/models/upload_attachment_options.rb +1 -1
- data/lib/mailslurp_client/models/validation_dto.rb +11 -1
- data/lib/mailslurp_client/models/validation_message.rb +6 -1
- data/lib/mailslurp_client/models/verify_email_address_options.rb +6 -1
- data/lib/mailslurp_client/models/wait_for_conditions.rb +11 -1
- data/lib/mailslurp_client/models/webhook_dto.rb +46 -1
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +41 -1
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +36 -1
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +36 -1
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +36 -1
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +56 -1
- data/lib/mailslurp_client/models/webhook_projection.rb +42 -17
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +11 -1
- data/lib/mailslurp_client/models/webhook_result_dto.rb +51 -1
- data/lib/mailslurp_client/models/webhook_test_request.rb +16 -1
- data/lib/mailslurp_client/models/webhook_test_response.rb +1 -1
- data/lib/mailslurp_client/models/webhook_test_result.rb +11 -1
- data/lib/mailslurp_client/version.rb +2 -2
- data/lib/mailslurp_client.rb +2 -2
- metadata +2 -2
@@ -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
|
|
@@ -71,12 +71,22 @@ module MailSlurpClient
|
|
71
71
|
# @return Array for valid properties with the reasons
|
72
72
|
def list_invalid_properties
|
73
73
|
invalid_properties = Array.new
|
74
|
+
if @pattern.nil?
|
75
|
+
invalid_properties.push('invalid value for "pattern", pattern cannot be nil.')
|
76
|
+
end
|
77
|
+
|
78
|
+
if @matches.nil?
|
79
|
+
invalid_properties.push('invalid value for "matches", matches cannot be nil.')
|
80
|
+
end
|
81
|
+
|
74
82
|
invalid_properties
|
75
83
|
end
|
76
84
|
|
77
85
|
# Check to see if the all the properties in the model are valid
|
78
86
|
# @return true if the model is valid
|
79
87
|
def valid?
|
88
|
+
return false if @pattern.nil?
|
89
|
+
return false if @matches.nil?
|
80
90
|
true
|
81
91
|
end
|
82
92
|
|
@@ -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
|
|
@@ -71,12 +71,22 @@ module MailSlurpClient
|
|
71
71
|
# @return Array for valid properties with the reasons
|
72
72
|
def list_invalid_properties
|
73
73
|
invalid_properties = Array.new
|
74
|
+
if @links.nil?
|
75
|
+
invalid_properties.push('invalid value for "links", links cannot be nil.')
|
76
|
+
end
|
77
|
+
|
78
|
+
if @body.nil?
|
79
|
+
invalid_properties.push('invalid value for "body", body cannot be nil.')
|
80
|
+
end
|
81
|
+
|
74
82
|
invalid_properties
|
75
83
|
end
|
76
84
|
|
77
85
|
# Check to see if the all the properties in the model are valid
|
78
86
|
# @return true if the model is valid
|
79
87
|
def valid?
|
88
|
+
return false if @links.nil?
|
89
|
+
return false if @body.nil?
|
80
90
|
true
|
81
91
|
end
|
82
92
|
|
@@ -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
|
|
@@ -142,12 +142,27 @@ module MailSlurpClient
|
|
142
142
|
# @return Array for valid properties with the reasons
|
143
143
|
def list_invalid_properties
|
144
144
|
invalid_properties = Array.new
|
145
|
+
if @id.nil?
|
146
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
147
|
+
end
|
148
|
+
|
149
|
+
if @to.nil?
|
150
|
+
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
151
|
+
end
|
152
|
+
|
153
|
+
if @created_at.nil?
|
154
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
155
|
+
end
|
156
|
+
|
145
157
|
invalid_properties
|
146
158
|
end
|
147
159
|
|
148
160
|
# Check to see if the all the properties in the model are valid
|
149
161
|
# @return true if the model is valid
|
150
162
|
def valid?
|
163
|
+
return false if @id.nil?
|
164
|
+
return false if @to.nil?
|
165
|
+
return false if @created_at.nil?
|
151
166
|
true
|
152
167
|
end
|
153
168
|
|
@@ -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
|
|
@@ -19,18 +19,12 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :from
|
21
21
|
|
22
|
-
attr_accessor :team_access
|
23
|
-
|
24
|
-
attr_accessor :read
|
25
|
-
|
26
|
-
attr_accessor :body_md5_hash
|
27
|
-
|
28
|
-
attr_accessor :body_excerpt
|
29
|
-
|
30
22
|
attr_accessor :subject
|
31
23
|
|
32
24
|
attr_accessor :inbox_id
|
33
25
|
|
26
|
+
attr_accessor :created_at
|
27
|
+
|
34
28
|
attr_accessor :to
|
35
29
|
|
36
30
|
attr_accessor :attachments
|
@@ -39,24 +33,30 @@ module MailSlurpClient
|
|
39
33
|
|
40
34
|
attr_accessor :cc
|
41
35
|
|
42
|
-
attr_accessor :
|
36
|
+
attr_accessor :team_access
|
37
|
+
|
38
|
+
attr_accessor :read
|
39
|
+
|
40
|
+
attr_accessor :body_md5_hash
|
41
|
+
|
42
|
+
attr_accessor :body_excerpt
|
43
43
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
47
|
:'id' => :'id',
|
48
48
|
:'from' => :'from',
|
49
|
-
:'team_access' => :'teamAccess',
|
50
|
-
:'read' => :'read',
|
51
|
-
:'body_md5_hash' => :'bodyMD5Hash',
|
52
|
-
:'body_excerpt' => :'bodyExcerpt',
|
53
49
|
:'subject' => :'subject',
|
54
50
|
:'inbox_id' => :'inboxId',
|
51
|
+
:'created_at' => :'createdAt',
|
55
52
|
:'to' => :'to',
|
56
53
|
:'attachments' => :'attachments',
|
57
54
|
:'bcc' => :'bcc',
|
58
55
|
:'cc' => :'cc',
|
59
|
-
:'
|
56
|
+
:'team_access' => :'teamAccess',
|
57
|
+
:'read' => :'read',
|
58
|
+
:'body_md5_hash' => :'bodyMD5Hash',
|
59
|
+
:'body_excerpt' => :'bodyExcerpt'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -65,17 +65,17 @@ module MailSlurpClient
|
|
65
65
|
{
|
66
66
|
:'id' => :'String',
|
67
67
|
:'from' => :'String',
|
68
|
-
:'team_access' => :'Boolean',
|
69
|
-
:'read' => :'Boolean',
|
70
|
-
:'body_md5_hash' => :'String',
|
71
|
-
:'body_excerpt' => :'String',
|
72
68
|
:'subject' => :'String',
|
73
69
|
:'inbox_id' => :'String',
|
70
|
+
:'created_at' => :'DateTime',
|
74
71
|
:'to' => :'Array<String>',
|
75
72
|
:'attachments' => :'Array<String>',
|
76
73
|
:'bcc' => :'Array<String>',
|
77
74
|
:'cc' => :'Array<String>',
|
78
|
-
:'
|
75
|
+
:'team_access' => :'Boolean',
|
76
|
+
:'read' => :'Boolean',
|
77
|
+
:'body_md5_hash' => :'String',
|
78
|
+
:'body_excerpt' => :'String'
|
79
79
|
}
|
80
80
|
end
|
81
81
|
|
@@ -108,22 +108,6 @@ module MailSlurpClient
|
|
108
108
|
self.from = attributes[:'from']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.key?(:'team_access')
|
112
|
-
self.team_access = attributes[:'team_access']
|
113
|
-
end
|
114
|
-
|
115
|
-
if attributes.key?(:'read')
|
116
|
-
self.read = attributes[:'read']
|
117
|
-
end
|
118
|
-
|
119
|
-
if attributes.key?(:'body_md5_hash')
|
120
|
-
self.body_md5_hash = attributes[:'body_md5_hash']
|
121
|
-
end
|
122
|
-
|
123
|
-
if attributes.key?(:'body_excerpt')
|
124
|
-
self.body_excerpt = attributes[:'body_excerpt']
|
125
|
-
end
|
126
|
-
|
127
111
|
if attributes.key?(:'subject')
|
128
112
|
self.subject = attributes[:'subject']
|
129
113
|
end
|
@@ -132,6 +116,10 @@ module MailSlurpClient
|
|
132
116
|
self.inbox_id = attributes[:'inbox_id']
|
133
117
|
end
|
134
118
|
|
119
|
+
if attributes.key?(:'created_at')
|
120
|
+
self.created_at = attributes[:'created_at']
|
121
|
+
end
|
122
|
+
|
135
123
|
if attributes.key?(:'to')
|
136
124
|
if (value = attributes[:'to']).is_a?(Array)
|
137
125
|
self.to = value
|
@@ -156,8 +144,20 @@ module MailSlurpClient
|
|
156
144
|
end
|
157
145
|
end
|
158
146
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
147
|
+
if attributes.key?(:'team_access')
|
148
|
+
self.team_access = attributes[:'team_access']
|
149
|
+
end
|
150
|
+
|
151
|
+
if attributes.key?(:'read')
|
152
|
+
self.read = attributes[:'read']
|
153
|
+
end
|
154
|
+
|
155
|
+
if attributes.key?(:'body_md5_hash')
|
156
|
+
self.body_md5_hash = attributes[:'body_md5_hash']
|
157
|
+
end
|
158
|
+
|
159
|
+
if attributes.key?(:'body_excerpt')
|
160
|
+
self.body_excerpt = attributes[:'body_excerpt']
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
@@ -165,12 +165,32 @@ module MailSlurpClient
|
|
165
165
|
# @return Array for valid properties with the reasons
|
166
166
|
def list_invalid_properties
|
167
167
|
invalid_properties = Array.new
|
168
|
+
if @id.nil?
|
169
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
170
|
+
end
|
171
|
+
|
172
|
+
if @inbox_id.nil?
|
173
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
174
|
+
end
|
175
|
+
|
176
|
+
if @created_at.nil?
|
177
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
178
|
+
end
|
179
|
+
|
180
|
+
if @to.nil?
|
181
|
+
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
182
|
+
end
|
183
|
+
|
168
184
|
invalid_properties
|
169
185
|
end
|
170
186
|
|
171
187
|
# Check to see if the all the properties in the model are valid
|
172
188
|
# @return true if the model is valid
|
173
189
|
def valid?
|
190
|
+
return false if @id.nil?
|
191
|
+
return false if @inbox_id.nil?
|
192
|
+
return false if @created_at.nil?
|
193
|
+
return false if @to.nil?
|
174
194
|
true
|
175
195
|
end
|
176
196
|
|
@@ -181,17 +201,17 @@ module MailSlurpClient
|
|
181
201
|
self.class == o.class &&
|
182
202
|
id == o.id &&
|
183
203
|
from == o.from &&
|
184
|
-
team_access == o.team_access &&
|
185
|
-
read == o.read &&
|
186
|
-
body_md5_hash == o.body_md5_hash &&
|
187
|
-
body_excerpt == o.body_excerpt &&
|
188
204
|
subject == o.subject &&
|
189
205
|
inbox_id == o.inbox_id &&
|
206
|
+
created_at == o.created_at &&
|
190
207
|
to == o.to &&
|
191
208
|
attachments == o.attachments &&
|
192
209
|
bcc == o.bcc &&
|
193
210
|
cc == o.cc &&
|
194
|
-
|
211
|
+
team_access == o.team_access &&
|
212
|
+
read == o.read &&
|
213
|
+
body_md5_hash == o.body_md5_hash &&
|
214
|
+
body_excerpt == o.body_excerpt
|
195
215
|
end
|
196
216
|
|
197
217
|
# @see the `==` method
|
@@ -203,7 +223,7 @@ module MailSlurpClient
|
|
203
223
|
# Calculates hash code according to all attributes.
|
204
224
|
# @return [Integer] Hash code
|
205
225
|
def hash
|
206
|
-
[id, from,
|
226
|
+
[id, from, subject, inbox_id, created_at, to, attachments, bcc, cc, team_access, read, body_md5_hash, body_excerpt].hash
|
207
227
|
end
|
208
228
|
|
209
229
|
# 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
|
|
@@ -71,12 +71,22 @@ module MailSlurpClient
|
|
71
71
|
# @return Array for valid properties with the reasons
|
72
72
|
def list_invalid_properties
|
73
73
|
invalid_properties = Array.new
|
74
|
+
if @lines.nil?
|
75
|
+
invalid_properties.push('invalid value for "lines", lines cannot be nil.')
|
76
|
+
end
|
77
|
+
|
78
|
+
if @body.nil?
|
79
|
+
invalid_properties.push('invalid value for "body", body cannot be nil.')
|
80
|
+
end
|
81
|
+
|
74
82
|
invalid_properties
|
75
83
|
end
|
76
84
|
|
77
85
|
# Check to see if the all the properties in the model are valid
|
78
86
|
# @return true if the model is valid
|
79
87
|
def valid?
|
88
|
+
return false if @lines.nil?
|
89
|
+
return false if @body.nil?
|
80
90
|
true
|
81
91
|
end
|
82
92
|
|
@@ -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
|
|
@@ -21,9 +21,9 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :email_address
|
23
23
|
|
24
|
-
attr_accessor :
|
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
|
@@ -31,8 +31,8 @@ module MailSlurpClient
|
|
31
31
|
:'domain_name' => :'domainName',
|
32
32
|
:'port' => :'port',
|
33
33
|
:'email_address' => :'emailAddress',
|
34
|
-
:'
|
35
|
-
:'
|
34
|
+
:'is_valid' => :'isValid',
|
35
|
+
:'error' => :'error'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
:'domain_name' => :'String',
|
43
43
|
:'port' => :'Integer',
|
44
44
|
:'email_address' => :'String',
|
45
|
-
:'
|
46
|
-
:'
|
45
|
+
:'is_valid' => :'Boolean',
|
46
|
+
:'error' => :'String'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -80,12 +80,12 @@ module MailSlurpClient
|
|
80
80
|
self.email_address = attributes[:'email_address']
|
81
81
|
end
|
82
82
|
|
83
|
-
if attributes.key?(:'
|
84
|
-
self.
|
83
|
+
if attributes.key?(:'is_valid')
|
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
|
|
@@ -93,12 +93,32 @@ module MailSlurpClient
|
|
93
93
|
# @return Array for valid properties with the reasons
|
94
94
|
def list_invalid_properties
|
95
95
|
invalid_properties = Array.new
|
96
|
+
if @domain_name.nil?
|
97
|
+
invalid_properties.push('invalid value for "domain_name", domain_name cannot be nil.')
|
98
|
+
end
|
99
|
+
|
100
|
+
if @port.nil?
|
101
|
+
invalid_properties.push('invalid value for "port", port cannot be nil.')
|
102
|
+
end
|
103
|
+
|
104
|
+
if @email_address.nil?
|
105
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
106
|
+
end
|
107
|
+
|
108
|
+
if @is_valid.nil?
|
109
|
+
invalid_properties.push('invalid value for "is_valid", is_valid cannot be nil.')
|
110
|
+
end
|
111
|
+
|
96
112
|
invalid_properties
|
97
113
|
end
|
98
114
|
|
99
115
|
# Check to see if the all the properties in the model are valid
|
100
116
|
# @return true if the model is valid
|
101
117
|
def valid?
|
118
|
+
return false if @domain_name.nil?
|
119
|
+
return false if @port.nil?
|
120
|
+
return false if @email_address.nil?
|
121
|
+
return false if @is_valid.nil?
|
102
122
|
true
|
103
123
|
end
|
104
124
|
|
@@ -110,8 +130,8 @@ module MailSlurpClient
|
|
110
130
|
domain_name == o.domain_name &&
|
111
131
|
port == o.port &&
|
112
132
|
email_address == o.email_address &&
|
113
|
-
|
114
|
-
|
133
|
+
is_valid == o.is_valid &&
|
134
|
+
error == o.error
|
115
135
|
end
|
116
136
|
|
117
137
|
# @see the `==` method
|
@@ -123,7 +143,7 @@ module MailSlurpClient
|
|
123
143
|
# Calculates hash code according to all attributes.
|
124
144
|
# @return [Integer] Hash code
|
125
145
|
def hash
|
126
|
-
[domain_name, port, email_address,
|
146
|
+
[domain_name, port, email_address, is_valid, error].hash
|
127
147
|
end
|
128
148
|
|
129
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
|
|
@@ -93,12 +93,22 @@ module MailSlurpClient
|
|
93
93
|
# @return Array for valid properties with the reasons
|
94
94
|
def list_invalid_properties
|
95
95
|
invalid_properties = Array.new
|
96
|
+
if @can_permanent_inbox.nil?
|
97
|
+
invalid_properties.push('invalid value for "can_permanent_inbox", can_permanent_inbox cannot be nil.')
|
98
|
+
end
|
99
|
+
|
100
|
+
if @next_inbox_allows_permanent.nil?
|
101
|
+
invalid_properties.push('invalid value for "next_inbox_allows_permanent", next_inbox_allows_permanent cannot be nil.')
|
102
|
+
end
|
103
|
+
|
96
104
|
invalid_properties
|
97
105
|
end
|
98
106
|
|
99
107
|
# Check to see if the all the properties in the model are valid
|
100
108
|
# @return true if the model is valid
|
101
109
|
def valid?
|
110
|
+
return false if @can_permanent_inbox.nil?
|
111
|
+
return false if @next_inbox_allows_permanent.nil?
|
102
112
|
true
|
103
113
|
end
|
104
114
|
|
@@ -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
|
|
@@ -77,12 +77,27 @@ module MailSlurpClient
|
|
77
77
|
# @return Array for valid properties with the reasons
|
78
78
|
def list_invalid_properties
|
79
79
|
invalid_properties = Array.new
|
80
|
+
if @id.nil?
|
81
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
82
|
+
end
|
83
|
+
|
84
|
+
if @inbox_id.nil?
|
85
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
86
|
+
end
|
87
|
+
|
88
|
+
if @email_address.nil?
|
89
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
90
|
+
end
|
91
|
+
|
80
92
|
invalid_properties
|
81
93
|
end
|
82
94
|
|
83
95
|
# Check to see if the all the properties in the model are valid
|
84
96
|
# @return true if the model is valid
|
85
97
|
def valid?
|
98
|
+
return false if @id.nil?
|
99
|
+
return false if @inbox_id.nil?
|
100
|
+
return false if @email_address.nil?
|
86
101
|
true
|
87
102
|
end
|
88
103
|
|
@@ -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
|
|
@@ -84,12 +84,32 @@ module MailSlurpClient
|
|
84
84
|
# @return Array for valid properties with the reasons
|
85
85
|
def list_invalid_properties
|
86
86
|
invalid_properties = Array.new
|
87
|
+
if @id.nil?
|
88
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
89
|
+
end
|
90
|
+
|
91
|
+
if @user_id.nil?
|
92
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
93
|
+
end
|
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
|
+
|
87
103
|
invalid_properties
|
88
104
|
end
|
89
105
|
|
90
106
|
# Check to see if the all the properties in the model are valid
|
91
107
|
# @return true if the model is valid
|
92
108
|
def valid?
|
109
|
+
return false if @id.nil?
|
110
|
+
return false if @user_id.nil?
|
111
|
+
return false if @email_address.nil?
|
112
|
+
return false if @created_at.nil?
|
93
113
|
true
|
94
114
|
end
|
95
115
|
|
@@ -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
|
|
@@ -61,12 +61,17 @@ module MailSlurpClient
|
|
61
61
|
# @return Array for valid properties with the reasons
|
62
62
|
def list_invalid_properties
|
63
63
|
invalid_properties = Array.new
|
64
|
+
if @download_link.nil?
|
65
|
+
invalid_properties.push('invalid value for "download_link", download_link cannot be nil.')
|
66
|
+
end
|
67
|
+
|
64
68
|
invalid_properties
|
65
69
|
end
|
66
70
|
|
67
71
|
# Check to see if the all the properties in the model are valid
|
68
72
|
# @return true if the model is valid
|
69
73
|
def valid?
|
74
|
+
return false if @download_link.nil?
|
70
75
|
true
|
71
76
|
end
|
72
77
|
|
@@ -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
|
|
@@ -123,12 +123,17 @@ module MailSlurpClient
|
|
123
123
|
# @return Array for valid properties with the reasons
|
124
124
|
def list_invalid_properties
|
125
125
|
invalid_properties = Array.new
|
126
|
+
if @output_format.nil?
|
127
|
+
invalid_properties.push('invalid value for "output_format", output_format cannot be nil.')
|
128
|
+
end
|
129
|
+
|
126
130
|
invalid_properties
|
127
131
|
end
|
128
132
|
|
129
133
|
# Check to see if the all the properties in the model are valid
|
130
134
|
# @return true if the model is valid
|
131
135
|
def valid?
|
136
|
+
return false if @output_format.nil?
|
132
137
|
output_format_validator = EnumAttributeValidator.new('String', ["CSV_DEFAULT", "CSV_EXCEL"])
|
133
138
|
return false unless output_format_validator.valid?(@output_format)
|
134
139
|
true
|
@@ -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
|
|
@@ -70,12 +70,22 @@ module MailSlurpClient
|
|
70
70
|
# @return Array for valid properties with the reasons
|
71
71
|
def list_invalid_properties
|
72
72
|
invalid_properties = Array.new
|
73
|
+
if @inbox_ids.nil?
|
74
|
+
invalid_properties.push('invalid value for "inbox_ids", inbox_ids cannot be nil.')
|
75
|
+
end
|
76
|
+
|
77
|
+
if @expire_before.nil?
|
78
|
+
invalid_properties.push('invalid value for "expire_before", expire_before cannot be nil.')
|
79
|
+
end
|
80
|
+
|
73
81
|
invalid_properties
|
74
82
|
end
|
75
83
|
|
76
84
|
# Check to see if the all the properties in the model are valid
|
77
85
|
# @return true if the model is valid
|
78
86
|
def valid?
|
87
|
+
return false if @inbox_ids.nil?
|
88
|
+
return false if @expire_before.nil?
|
79
89
|
true
|
80
90
|
end
|
81
91
|
|
@@ -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
|
|