mailslurp_client 15.0.6 → 15.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/attachment_controller_api.rb +3 -3
- data/lib/mailslurp_client/api/email_controller_api.rb +16 -13
- data/lib/mailslurp_client/api/expired_controller_api.rb +9 -9
- data/lib/mailslurp_client/api/inbox_controller_api.rb +104 -104
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +15 -0
- data/lib/mailslurp_client/models/alias_dto.rb +39 -13
- data/lib/mailslurp_client/models/alias_projection.rb +30 -0
- data/lib/mailslurp_client/models/attachment_entity.rb +20 -0
- data/lib/mailslurp_client/models/attachment_meta_data.rb +20 -0
- data/lib/mailslurp_client/models/attachment_projection.rb +20 -0
- data/lib/mailslurp_client/models/basic_auth_options.rb +10 -0
- data/lib/mailslurp_client/models/bounce_projection.rb +10 -0
- data/lib/mailslurp_client/models/bounce_recipient.rb +20 -0
- data/lib/mailslurp_client/models/bounced_email_dto.rb +20 -0
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +15 -0
- data/lib/mailslurp_client/models/bulk_send_email_options.rb +5 -0
- data/lib/mailslurp_client/models/condition_option.rb +10 -0
- data/lib/mailslurp_client/models/contact_dto.rb +20 -0
- data/lib/mailslurp_client/models/contact_projection.rb +10 -0
- data/lib/mailslurp_client/models/content_match_options.rb +5 -0
- data/lib/mailslurp_client/models/count_dto.rb +5 -0
- data/lib/mailslurp_client/models/create_alias_options.rb +10 -0
- data/lib/mailslurp_client/models/create_group_options.rb +5 -0
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +10 -0
- data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +15 -0
- data/lib/mailslurp_client/models/create_template_options.rb +10 -0
- data/lib/mailslurp_client/models/create_webhook_options.rb +5 -0
- data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +10 -0
- data/lib/mailslurp_client/models/dns_lookup_options.rb +5 -0
- data/lib/mailslurp_client/models/dns_lookup_result.rb +20 -0
- data/lib/mailslurp_client/models/dns_lookup_results.rb +5 -0
- data/lib/mailslurp_client/models/domain_dto.rb +64 -13
- data/lib/mailslurp_client/models/domain_name_record.rb +20 -0
- data/lib/mailslurp_client/models/domain_preview.rb +32 -7
- data/lib/mailslurp_client/models/download_attachment_dto.rb +15 -0
- data/lib/mailslurp_client/models/email.rb +54 -13
- data/lib/mailslurp_client/models/email_content_match_result.rb +10 -0
- data/lib/mailslurp_client/models/email_links_result.rb +10 -0
- data/lib/mailslurp_client/models/email_preview.rb +15 -0
- data/lib/mailslurp_client/models/email_projection.rb +20 -0
- data/lib/mailslurp_client/models/email_text_lines_result.rb +10 -0
- data/lib/mailslurp_client/models/email_verification_result.rb +33 -13
- data/lib/mailslurp_client/models/expiration_defaults.rb +10 -0
- data/lib/mailslurp_client/models/expired_inbox_dto.rb +15 -0
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +20 -0
- data/lib/mailslurp_client/models/export_link.rb +5 -0
- data/lib/mailslurp_client/models/export_options.rb +5 -0
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +10 -0
- data/lib/mailslurp_client/models/gravatar_url.rb +10 -0
- data/lib/mailslurp_client/models/group_contacts_dto.rb +10 -0
- data/lib/mailslurp_client/models/group_dto.rb +15 -0
- data/lib/mailslurp_client/models/group_projection.rb +15 -0
- data/lib/mailslurp_client/models/html_validation_result.rb +29 -13
- data/lib/mailslurp_client/models/inbox_dto.rb +25 -0
- data/lib/mailslurp_client/models/inbox_exists_dto.rb +5 -0
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +30 -0
- data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +5 -0
- data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +10 -0
- data/lib/mailslurp_client/models/inbox_preview.rb +20 -0
- data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +35 -0
- data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +5 -0
- data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +10 -0
- data/lib/mailslurp_client/models/ip_address_result.rb +10 -0
- data/lib/mailslurp_client/models/json_schema_dto.rb +5 -0
- data/lib/mailslurp_client/models/match_option.rb +10 -0
- data/lib/mailslurp_client/models/missed_email.rb +35 -0
- data/lib/mailslurp_client/models/missed_email_projection.rb +20 -10
- data/lib/mailslurp_client/models/name_server_record.rb +20 -0
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +25 -0
- data/lib/mailslurp_client/models/page_alias.rb +20 -11
- data/lib/mailslurp_client/models/page_attachment_entity.rb +20 -11
- data/lib/mailslurp_client/models/page_bounced_email.rb +20 -11
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +20 -11
- data/lib/mailslurp_client/models/page_contact_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_email_preview.rb +20 -11
- data/lib/mailslurp_client/models/page_email_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_group_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +20 -11
- data/lib/mailslurp_client/models/page_inbox_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +20 -11
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +51 -12
- data/lib/mailslurp_client/models/page_template_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_thread_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_webhook_projection.rb +20 -11
- data/lib/mailslurp_client/models/page_webhook_result.rb +20 -11
- data/lib/mailslurp_client/models/{pageable.rb → pageable_object.rb} +25 -25
- data/lib/mailslurp_client/models/raw_email_json.rb +5 -0
- data/lib/mailslurp_client/models/recipient.rb +10 -0
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +24 -13
- data/lib/mailslurp_client/models/reply_to_email_options.rb +24 -13
- data/lib/mailslurp_client/models/send_email_options.rb +12 -2
- data/lib/mailslurp_client/models/sender.rb +10 -0
- data/lib/mailslurp_client/models/sent_email_dto.rb +33 -13
- data/lib/mailslurp_client/models/sent_email_projection.rb +50 -10
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +5 -0
- data/lib/mailslurp_client/models/simple_send_email_options.rb +5 -0
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/models/template_dto.rb +25 -0
- data/lib/mailslurp_client/models/template_projection.rb +25 -0
- data/lib/mailslurp_client/models/template_variable.rb +10 -0
- data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +10 -0
- data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +10 -0
- data/lib/mailslurp_client/models/thread_projection.rb +45 -10
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +25 -0
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +20 -0
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -0
- data/lib/mailslurp_client/models/unread_count.rb +5 -0
- data/lib/mailslurp_client/models/unseen_error_count_dto.rb +5 -0
- data/lib/mailslurp_client/models/update_group_contacts.rb +5 -0
- data/lib/mailslurp_client/models/validation_dto.rb +10 -0
- data/lib/mailslurp_client/models/validation_message.rb +5 -0
- data/lib/mailslurp_client/models/verify_email_address_options.rb +5 -0
- data/lib/mailslurp_client/models/wait_for_conditions.rb +10 -0
- data/lib/mailslurp_client/models/webhook_dto.rb +45 -0
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +40 -0
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +35 -0
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +35 -0
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +35 -0
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +55 -0
- data/lib/mailslurp_client/models/webhook_projection.rb +25 -0
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +10 -0
- data/lib/mailslurp_client/models/webhook_result_dto.rb +50 -0
- data/lib/mailslurp_client/models/webhook_test_request.rb +15 -0
- data/lib/mailslurp_client/models/webhook_test_result.rb +10 -0
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +1 -1
- metadata +2 -2
@@ -33,12 +33,13 @@ module MailSlurpClient
|
|
33
33
|
# If alias will generate response threads or not when email are received by it
|
34
34
|
attr_accessor :use_threads
|
35
35
|
|
36
|
+
# Has the alias been verified. You must verify an alias if the masked email address has not yet been verified by your account
|
37
|
+
attr_accessor :is_verified
|
38
|
+
|
36
39
|
attr_accessor :created_at
|
37
40
|
|
38
41
|
attr_accessor :updated_at
|
39
42
|
|
40
|
-
attr_accessor :verified
|
41
|
-
|
42
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
44
|
def self.attribute_map
|
44
45
|
{
|
@@ -49,9 +50,9 @@ module MailSlurpClient
|
|
49
50
|
:'inbox_id' => :'inboxId',
|
50
51
|
:'name' => :'name',
|
51
52
|
:'use_threads' => :'useThreads',
|
53
|
+
:'is_verified' => :'isVerified',
|
52
54
|
:'created_at' => :'createdAt',
|
53
|
-
:'updated_at' => :'updatedAt'
|
54
|
-
:'verified' => :'verified'
|
55
|
+
:'updated_at' => :'updatedAt'
|
55
56
|
}
|
56
57
|
end
|
57
58
|
|
@@ -65,9 +66,9 @@ module MailSlurpClient
|
|
65
66
|
:'inbox_id' => :'String',
|
66
67
|
:'name' => :'String',
|
67
68
|
:'use_threads' => :'Boolean',
|
69
|
+
:'is_verified' => :'Boolean',
|
68
70
|
:'created_at' => :'DateTime',
|
69
|
-
:'updated_at' => :'DateTime'
|
70
|
-
:'verified' => :'Boolean'
|
71
|
+
:'updated_at' => :'DateTime'
|
71
72
|
}
|
72
73
|
end
|
73
74
|
|
@@ -120,6 +121,10 @@ module MailSlurpClient
|
|
120
121
|
self.use_threads = attributes[:'use_threads']
|
121
122
|
end
|
122
123
|
|
124
|
+
if attributes.key?(:'is_verified')
|
125
|
+
self.is_verified = attributes[:'is_verified']
|
126
|
+
end
|
127
|
+
|
123
128
|
if attributes.key?(:'created_at')
|
124
129
|
self.created_at = attributes[:'created_at']
|
125
130
|
end
|
@@ -127,22 +132,43 @@ module MailSlurpClient
|
|
127
132
|
if attributes.key?(:'updated_at')
|
128
133
|
self.updated_at = attributes[:'updated_at']
|
129
134
|
end
|
130
|
-
|
131
|
-
if attributes.key?(:'verified')
|
132
|
-
self.verified = attributes[:'verified']
|
133
|
-
end
|
134
135
|
end
|
135
136
|
|
136
137
|
# Show invalid properties with the reasons. Usually used together with valid?
|
137
138
|
# @return Array for valid properties with the reasons
|
138
139
|
def list_invalid_properties
|
139
140
|
invalid_properties = Array.new
|
141
|
+
if @id.nil?
|
142
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
143
|
+
end
|
144
|
+
|
145
|
+
if @email_address.nil?
|
146
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
147
|
+
end
|
148
|
+
|
149
|
+
if @user_id.nil?
|
150
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
151
|
+
end
|
152
|
+
|
153
|
+
if @inbox_id.nil?
|
154
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
155
|
+
end
|
156
|
+
|
157
|
+
if @is_verified.nil?
|
158
|
+
invalid_properties.push('invalid value for "is_verified", is_verified cannot be nil.')
|
159
|
+
end
|
160
|
+
|
140
161
|
invalid_properties
|
141
162
|
end
|
142
163
|
|
143
164
|
# Check to see if the all the properties in the model are valid
|
144
165
|
# @return true if the model is valid
|
145
166
|
def valid?
|
167
|
+
return false if @id.nil?
|
168
|
+
return false if @email_address.nil?
|
169
|
+
return false if @user_id.nil?
|
170
|
+
return false if @inbox_id.nil?
|
171
|
+
return false if @is_verified.nil?
|
146
172
|
true
|
147
173
|
end
|
148
174
|
|
@@ -158,9 +184,9 @@ module MailSlurpClient
|
|
158
184
|
inbox_id == o.inbox_id &&
|
159
185
|
name == o.name &&
|
160
186
|
use_threads == o.use_threads &&
|
187
|
+
is_verified == o.is_verified &&
|
161
188
|
created_at == o.created_at &&
|
162
|
-
updated_at == o.updated_at
|
163
|
-
verified == o.verified
|
189
|
+
updated_at == o.updated_at
|
164
190
|
end
|
165
191
|
|
166
192
|
# @see the `==` method
|
@@ -172,7 +198,7 @@ module MailSlurpClient
|
|
172
198
|
# Calculates hash code according to all attributes.
|
173
199
|
# @return [Integer] Hash code
|
174
200
|
def hash
|
175
|
-
[id, email_address, masked_email_address, user_id, inbox_id, name, use_threads, created_at, updated_at
|
201
|
+
[id, email_address, masked_email_address, user_id, inbox_id, name, use_threads, is_verified, created_at, updated_at].hash
|
176
202
|
end
|
177
203
|
|
178
204
|
# Builds the object from hash
|
@@ -117,12 +117,42 @@ module MailSlurpClient
|
|
117
117
|
# @return Array for valid properties with the reasons
|
118
118
|
def list_invalid_properties
|
119
119
|
invalid_properties = Array.new
|
120
|
+
if @id.nil?
|
121
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
122
|
+
end
|
123
|
+
|
124
|
+
if @user_id.nil?
|
125
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
126
|
+
end
|
127
|
+
|
128
|
+
if @email_address.nil?
|
129
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
130
|
+
end
|
131
|
+
|
132
|
+
if @inbox_id.nil?
|
133
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
134
|
+
end
|
135
|
+
|
136
|
+
if @created_at.nil?
|
137
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
138
|
+
end
|
139
|
+
|
140
|
+
if @updated_at.nil?
|
141
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
142
|
+
end
|
143
|
+
|
120
144
|
invalid_properties
|
121
145
|
end
|
122
146
|
|
123
147
|
# Check to see if the all the properties in the model are valid
|
124
148
|
# @return true if the model is valid
|
125
149
|
def valid?
|
150
|
+
return false if @id.nil?
|
151
|
+
return false if @user_id.nil?
|
152
|
+
return false if @email_address.nil?
|
153
|
+
return false if @inbox_id.nil?
|
154
|
+
return false if @created_at.nil?
|
155
|
+
return false if @updated_at.nil?
|
126
156
|
true
|
127
157
|
end
|
128
158
|
|
@@ -116,12 +116,32 @@ module MailSlurpClient
|
|
116
116
|
# @return Array for valid properties with the reasons
|
117
117
|
def list_invalid_properties
|
118
118
|
invalid_properties = Array.new
|
119
|
+
if @attachment_id.nil?
|
120
|
+
invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
|
121
|
+
end
|
122
|
+
|
123
|
+
if @user_id.nil?
|
124
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
125
|
+
end
|
126
|
+
|
127
|
+
if @created_at.nil?
|
128
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
129
|
+
end
|
130
|
+
|
131
|
+
if @updated_at.nil?
|
132
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
133
|
+
end
|
134
|
+
|
119
135
|
invalid_properties
|
120
136
|
end
|
121
137
|
|
122
138
|
# Check to see if the all the properties in the model are valid
|
123
139
|
# @return true if the model is valid
|
124
140
|
def valid?
|
141
|
+
return false if @attachment_id.nil?
|
142
|
+
return false if @user_id.nil?
|
143
|
+
return false if @created_at.nil?
|
144
|
+
return false if @updated_at.nil?
|
125
145
|
true
|
126
146
|
end
|
127
147
|
|
@@ -89,12 +89,32 @@ module MailSlurpClient
|
|
89
89
|
# @return Array for valid properties with the reasons
|
90
90
|
def list_invalid_properties
|
91
91
|
invalid_properties = Array.new
|
92
|
+
if @name.nil?
|
93
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
94
|
+
end
|
95
|
+
|
96
|
+
if @content_type.nil?
|
97
|
+
invalid_properties.push('invalid value for "content_type", content_type cannot be nil.')
|
98
|
+
end
|
99
|
+
|
100
|
+
if @content_length.nil?
|
101
|
+
invalid_properties.push('invalid value for "content_length", content_length cannot be nil.')
|
102
|
+
end
|
103
|
+
|
104
|
+
if @id.nil?
|
105
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
106
|
+
end
|
107
|
+
|
92
108
|
invalid_properties
|
93
109
|
end
|
94
110
|
|
95
111
|
# Check to see if the all the properties in the model are valid
|
96
112
|
# @return true if the model is valid
|
97
113
|
def valid?
|
114
|
+
return false if @name.nil?
|
115
|
+
return false if @content_type.nil?
|
116
|
+
return false if @content_length.nil?
|
117
|
+
return false if @id.nil?
|
98
118
|
true
|
99
119
|
end
|
100
120
|
|
@@ -111,12 +111,32 @@ module MailSlurpClient
|
|
111
111
|
# @return Array for valid properties with the reasons
|
112
112
|
def list_invalid_properties
|
113
113
|
invalid_properties = Array.new
|
114
|
+
if @user_id.nil?
|
115
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
116
|
+
end
|
117
|
+
|
118
|
+
if @attachment_id.nil?
|
119
|
+
invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
|
120
|
+
end
|
121
|
+
|
122
|
+
if @created_at.nil?
|
123
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
124
|
+
end
|
125
|
+
|
126
|
+
if @updated_at.nil?
|
127
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
128
|
+
end
|
129
|
+
|
114
130
|
invalid_properties
|
115
131
|
end
|
116
132
|
|
117
133
|
# Check to see if the all the properties in the model are valid
|
118
134
|
# @return true if the model is valid
|
119
135
|
def valid?
|
136
|
+
return false if @user_id.nil?
|
137
|
+
return false if @attachment_id.nil?
|
138
|
+
return false if @created_at.nil?
|
139
|
+
return false if @updated_at.nil?
|
120
140
|
true
|
121
141
|
end
|
122
142
|
|
@@ -69,12 +69,22 @@ module MailSlurpClient
|
|
69
69
|
# @return Array for valid properties with the reasons
|
70
70
|
def list_invalid_properties
|
71
71
|
invalid_properties = Array.new
|
72
|
+
if @username.nil?
|
73
|
+
invalid_properties.push('invalid value for "username", username cannot be nil.')
|
74
|
+
end
|
75
|
+
|
76
|
+
if @password.nil?
|
77
|
+
invalid_properties.push('invalid value for "password", password cannot be nil.')
|
78
|
+
end
|
79
|
+
|
72
80
|
invalid_properties
|
73
81
|
end
|
74
82
|
|
75
83
|
# Check to see if the all the properties in the model are valid
|
76
84
|
# @return true if the model is valid
|
77
85
|
def valid?
|
86
|
+
return false if @username.nil?
|
87
|
+
return false if @password.nil?
|
78
88
|
true
|
79
89
|
end
|
80
90
|
|
@@ -76,12 +76,22 @@ module MailSlurpClient
|
|
76
76
|
# @return Array for valid properties with the reasons
|
77
77
|
def list_invalid_properties
|
78
78
|
invalid_properties = Array.new
|
79
|
+
if @sender.nil?
|
80
|
+
invalid_properties.push('invalid value for "sender", sender cannot be nil.')
|
81
|
+
end
|
82
|
+
|
83
|
+
if @created_at.nil?
|
84
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
85
|
+
end
|
86
|
+
|
79
87
|
invalid_properties
|
80
88
|
end
|
81
89
|
|
82
90
|
# Check to see if the all the properties in the model are valid
|
83
91
|
# @return true if the model is valid
|
84
92
|
def valid?
|
93
|
+
return false if @sender.nil?
|
94
|
+
return false if @created_at.nil?
|
85
95
|
true
|
86
96
|
end
|
87
97
|
|
@@ -92,12 +92,32 @@ module MailSlurpClient
|
|
92
92
|
# @return Array for valid properties with the reasons
|
93
93
|
def list_invalid_properties
|
94
94
|
invalid_properties = Array.new
|
95
|
+
if @user_id.nil?
|
96
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
97
|
+
end
|
98
|
+
|
99
|
+
if @recipient.nil?
|
100
|
+
invalid_properties.push('invalid value for "recipient", recipient cannot be nil.')
|
101
|
+
end
|
102
|
+
|
103
|
+
if @created_at.nil?
|
104
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
105
|
+
end
|
106
|
+
|
107
|
+
if @updated_at.nil?
|
108
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
109
|
+
end
|
110
|
+
|
95
111
|
invalid_properties
|
96
112
|
end
|
97
113
|
|
98
114
|
# Check to see if the all the properties in the model are valid
|
99
115
|
# @return true if the model is valid
|
100
116
|
def valid?
|
117
|
+
return false if @user_id.nil?
|
118
|
+
return false if @recipient.nil?
|
119
|
+
return false if @created_at.nil?
|
120
|
+
return false if @updated_at.nil?
|
101
121
|
true
|
102
122
|
end
|
103
123
|
|
@@ -137,12 +137,32 @@ module MailSlurpClient
|
|
137
137
|
# @return Array for valid properties with the reasons
|
138
138
|
def list_invalid_properties
|
139
139
|
invalid_properties = Array.new
|
140
|
+
if @user_id.nil?
|
141
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
142
|
+
end
|
143
|
+
|
144
|
+
if @notification_type.nil?
|
145
|
+
invalid_properties.push('invalid value for "notification_type", notification_type cannot be nil.')
|
146
|
+
end
|
147
|
+
|
148
|
+
if @sender.nil?
|
149
|
+
invalid_properties.push('invalid value for "sender", sender cannot be nil.')
|
150
|
+
end
|
151
|
+
|
152
|
+
if @created_at.nil?
|
153
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
154
|
+
end
|
155
|
+
|
140
156
|
invalid_properties
|
141
157
|
end
|
142
158
|
|
143
159
|
# Check to see if the all the properties in the model are valid
|
144
160
|
# @return true if the model is valid
|
145
161
|
def valid?
|
162
|
+
return false if @user_id.nil?
|
163
|
+
return false if @notification_type.nil?
|
164
|
+
return false if @sender.nil?
|
165
|
+
return false if @created_at.nil?
|
146
166
|
true
|
147
167
|
end
|
148
168
|
|
@@ -85,12 +85,27 @@ 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 @user_id.nil?
|
89
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
90
|
+
end
|
91
|
+
|
92
|
+
if @recipient.nil?
|
93
|
+
invalid_properties.push('invalid value for "recipient", recipient cannot be nil.')
|
94
|
+
end
|
95
|
+
|
96
|
+
if @created_at.nil?
|
97
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
98
|
+
end
|
99
|
+
|
88
100
|
invalid_properties
|
89
101
|
end
|
90
102
|
|
91
103
|
# Check to see if the all the properties in the model are valid
|
92
104
|
# @return true if the model is valid
|
93
105
|
def valid?
|
106
|
+
return false if @user_id.nil?
|
107
|
+
return false if @recipient.nil?
|
108
|
+
return false if @created_at.nil?
|
94
109
|
true
|
95
110
|
end
|
96
111
|
|
@@ -76,6 +76,10 @@ module MailSlurpClient
|
|
76
76
|
invalid_properties.push('invalid value for "inbox_ids", inbox_ids cannot be nil.')
|
77
77
|
end
|
78
78
|
|
79
|
+
if @send_email_options.nil?
|
80
|
+
invalid_properties.push('invalid value for "send_email_options", send_email_options cannot be nil.')
|
81
|
+
end
|
82
|
+
|
79
83
|
invalid_properties
|
80
84
|
end
|
81
85
|
|
@@ -83,6 +87,7 @@ module MailSlurpClient
|
|
83
87
|
# @return true if the model is valid
|
84
88
|
def valid?
|
85
89
|
return false if @inbox_ids.nil?
|
90
|
+
return false if @send_email_options.nil?
|
86
91
|
true
|
87
92
|
end
|
88
93
|
|
@@ -93,14 +93,24 @@ 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 @condition.nil?
|
97
|
+
invalid_properties.push('invalid value for "condition", condition cannot be nil.')
|
98
|
+
end
|
99
|
+
|
100
|
+
if @value.nil?
|
101
|
+
invalid_properties.push('invalid value for "value", value 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 @condition.nil?
|
102
111
|
condition_validator = EnumAttributeValidator.new('String', ["HAS_ATTACHMENTS"])
|
103
112
|
return false unless condition_validator.valid?(@condition)
|
113
|
+
return false if @value.nil?
|
104
114
|
value_validator = EnumAttributeValidator.new('String', ["TRUE", "FALSE"])
|
105
115
|
return false unless value_validator.valid?(@value)
|
106
116
|
true
|
@@ -144,12 +144,32 @@ module MailSlurpClient
|
|
144
144
|
# @return Array for valid properties with the reasons
|
145
145
|
def list_invalid_properties
|
146
146
|
invalid_properties = Array.new
|
147
|
+
if @id.nil?
|
148
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
149
|
+
end
|
150
|
+
|
151
|
+
if @email_addresses.nil?
|
152
|
+
invalid_properties.push('invalid value for "email_addresses", email_addresses cannot be nil.')
|
153
|
+
end
|
154
|
+
|
155
|
+
if @tags.nil?
|
156
|
+
invalid_properties.push('invalid value for "tags", tags cannot be nil.')
|
157
|
+
end
|
158
|
+
|
159
|
+
if @created_at.nil?
|
160
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
161
|
+
end
|
162
|
+
|
147
163
|
invalid_properties
|
148
164
|
end
|
149
165
|
|
150
166
|
# Check to see if the all the properties in the model are valid
|
151
167
|
# @return true if the model is valid
|
152
168
|
def valid?
|
169
|
+
return false if @id.nil?
|
170
|
+
return false if @email_addresses.nil?
|
171
|
+
return false if @tags.nil?
|
172
|
+
return false if @created_at.nil?
|
153
173
|
true
|
154
174
|
end
|
155
175
|
|
@@ -118,12 +118,22 @@ module MailSlurpClient
|
|
118
118
|
# @return Array for valid properties with the reasons
|
119
119
|
def list_invalid_properties
|
120
120
|
invalid_properties = Array.new
|
121
|
+
if @id.nil?
|
122
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
123
|
+
end
|
124
|
+
|
125
|
+
if @created_at.nil?
|
126
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
127
|
+
end
|
128
|
+
|
121
129
|
invalid_properties
|
122
130
|
end
|
123
131
|
|
124
132
|
# Check to see if the all the properties in the model are valid
|
125
133
|
# @return true if the model is valid
|
126
134
|
def valid?
|
135
|
+
return false if @id.nil?
|
136
|
+
return false if @created_at.nil?
|
127
137
|
true
|
128
138
|
end
|
129
139
|
|
@@ -62,12 +62,17 @@ 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 @pattern.nil?
|
66
|
+
invalid_properties.push('invalid value for "pattern", pattern cannot be nil.')
|
67
|
+
end
|
68
|
+
|
65
69
|
invalid_properties
|
66
70
|
end
|
67
71
|
|
68
72
|
# Check to see if the all the properties in the model are valid
|
69
73
|
# @return true if the model is valid
|
70
74
|
def valid?
|
75
|
+
return false if @pattern.nil?
|
71
76
|
true
|
72
77
|
end
|
73
78
|
|
@@ -60,12 +60,17 @@ 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 @total_elements.nil?
|
64
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
65
|
+
end
|
66
|
+
|
63
67
|
invalid_properties
|
64
68
|
end
|
65
69
|
|
66
70
|
# Check to see if the all the properties in the model are valid
|
67
71
|
# @return true if the model is valid
|
68
72
|
def valid?
|
73
|
+
return false if @total_elements.nil?
|
69
74
|
true
|
70
75
|
end
|
71
76
|
|
@@ -89,12 +89,22 @@ module MailSlurpClient
|
|
89
89
|
# @return Array for valid properties with the reasons
|
90
90
|
def list_invalid_properties
|
91
91
|
invalid_properties = Array.new
|
92
|
+
if @email_address.nil?
|
93
|
+
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
94
|
+
end
|
95
|
+
|
96
|
+
if @use_threads.nil?
|
97
|
+
invalid_properties.push('invalid value for "use_threads", use_threads cannot be nil.')
|
98
|
+
end
|
99
|
+
|
92
100
|
invalid_properties
|
93
101
|
end
|
94
102
|
|
95
103
|
# Check to see if the all the properties in the model are valid
|
96
104
|
# @return true if the model is valid
|
97
105
|
def valid?
|
106
|
+
return false if @email_address.nil?
|
107
|
+
return false if @use_threads.nil?
|
98
108
|
true
|
99
109
|
end
|
100
110
|
|
@@ -68,12 +68,17 @@ module MailSlurpClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
71
75
|
invalid_properties
|
72
76
|
end
|
73
77
|
|
74
78
|
# Check to see if the all the properties in the model are valid
|
75
79
|
# @return true if the model is valid
|
76
80
|
def valid?
|
81
|
+
return false if @name.nil?
|
77
82
|
true
|
78
83
|
end
|
79
84
|
|
@@ -104,19 +104,29 @@ module MailSlurpClient
|
|
104
104
|
# @return Array for valid properties with the reasons
|
105
105
|
def list_invalid_properties
|
106
106
|
invalid_properties = Array.new
|
107
|
+
if @field.nil?
|
108
|
+
invalid_properties.push('invalid value for "field", field cannot be nil.')
|
109
|
+
end
|
110
|
+
|
107
111
|
if @match.nil?
|
108
112
|
invalid_properties.push('invalid value for "match", match cannot be nil.')
|
109
113
|
end
|
110
114
|
|
115
|
+
if @forward_to_recipients.nil?
|
116
|
+
invalid_properties.push('invalid value for "forward_to_recipients", forward_to_recipients cannot be nil.')
|
117
|
+
end
|
118
|
+
|
111
119
|
invalid_properties
|
112
120
|
end
|
113
121
|
|
114
122
|
# Check to see if the all the properties in the model are valid
|
115
123
|
# @return true if the model is valid
|
116
124
|
def valid?
|
125
|
+
return false if @field.nil?
|
117
126
|
field_validator = EnumAttributeValidator.new('String', ["RECIPIENTS", "SENDER", "SUBJECT", "ATTACHMENTS"])
|
118
127
|
return false unless field_validator.valid?(@field)
|
119
128
|
return false if @match.nil?
|
129
|
+
return false if @forward_to_recipients.nil?
|
120
130
|
true
|
121
131
|
end
|
122
132
|
|
@@ -102,16 +102,31 @@ module MailSlurpClient
|
|
102
102
|
# @return Array for valid properties with the reasons
|
103
103
|
def list_invalid_properties
|
104
104
|
invalid_properties = Array.new
|
105
|
+
if @scope.nil?
|
106
|
+
invalid_properties.push('invalid value for "scope", scope cannot be nil.')
|
107
|
+
end
|
108
|
+
|
109
|
+
if @action.nil?
|
110
|
+
invalid_properties.push('invalid value for "action", action cannot be nil.')
|
111
|
+
end
|
112
|
+
|
113
|
+
if @target.nil?
|
114
|
+
invalid_properties.push('invalid value for "target", target cannot be nil.')
|
115
|
+
end
|
116
|
+
|
105
117
|
invalid_properties
|
106
118
|
end
|
107
119
|
|
108
120
|
# Check to see if the all the properties in the model are valid
|
109
121
|
# @return true if the model is valid
|
110
122
|
def valid?
|
123
|
+
return false if @scope.nil?
|
111
124
|
scope_validator = EnumAttributeValidator.new('String', ["RECEIVING_EMAILS", "SENDING_EMAILS"])
|
112
125
|
return false unless scope_validator.valid?(@scope)
|
126
|
+
return false if @action.nil?
|
113
127
|
action_validator = EnumAttributeValidator.new('String', ["BLOCK", "ALLOW", "FILTER_REMOVE"])
|
114
128
|
return false unless action_validator.valid?(@action)
|
129
|
+
return false if @target.nil?
|
115
130
|
true
|
116
131
|
end
|
117
132
|
|
@@ -68,12 +68,22 @@ module MailSlurpClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
if @content.nil?
|
76
|
+
invalid_properties.push('invalid value for "content", content cannot be nil.')
|
77
|
+
end
|
78
|
+
|
71
79
|
invalid_properties
|
72
80
|
end
|
73
81
|
|
74
82
|
# Check to see if the all the properties in the model are valid
|
75
83
|
# @return true if the model is valid
|
76
84
|
def valid?
|
85
|
+
return false if @name.nil?
|
86
|
+
return false if @content.nil?
|
77
87
|
true
|
78
88
|
end
|
79
89
|
|