mailslurp_client 15.17.3 → 15.17.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7508ce747e86c857f1e91faa2ac1e439031769c2df3ac2ae6282ec6ac104f2a4
4
- data.tar.gz: 0475b19ad6408a48321104838ac34ba86c2b83186933deec7f3a6616b3663032
3
+ metadata.gz: 149f2c5c5313e83e2d76af88446e613e1962f04813c8d90c6bf2d498bc518391
4
+ data.tar.gz: a92a1a75bd63c89e776571f2e957ab7bb8f413164940c48c924a2eb430f3b5d7
5
5
  SHA512:
6
- metadata.gz: 29b9af656e437264648f0c5a6e2ccc5c5b4a9e2a7a458c22a09c1624f9180ec3e5f5a7270f42149d64f763c19ed0c2be1f3709d026158389f2f6bb7303a3770a
7
- data.tar.gz: 7bd629603685dbf72519077741a6c461a421bb739668caa17b0f7d5dd224579953a0246674bb97ff115e797a830f981d6d30114a6126d1491f2619de46e46456
6
+ metadata.gz: e5bc422e3bd1f4725d398a7cdc336e3bd67411ee767a3ecac88dc8aa97295da6991d525fa692aaf94f55c52740ada934440b219b1e9aa33b17d1ed7951c4380d
7
+ data.tar.gz: 5ecd707e8995424f22bd521088ae3d93d767e4d55ec58ba7c81c1c8dd83b15af9b6d0a3389a6183d1bb4e89932baca1b81cb55b94d08b323e7dfb795b7d1c452
data/README.md CHANGED
@@ -6,7 +6,7 @@ MailSlurp is an email API service that lets you create real email addresses in c
6
6
 
7
7
  ## Quick links
8
8
 
9
- - [Method Documentation](https://mailslurp.github.io/mailslurp-client-ruby/)
9
+ - [Method Documentation](https://ruby.mailslurp.com/)
10
10
  - [Gem Package](https://rubygems.org/gems/mailslurp_client)
11
11
  - [Github Source](https://github.com/mailslurp/mailslurp-client-ruby)
12
12
  - [SMTP access details](https://www.mailslurp.com/guides/smtp-imap/)
@@ -14,9 +14,9 @@ MailSlurp is an email API service that lets you create real email addresses in c
14
14
 
15
15
  ### Common controllers
16
16
 
17
- - [Email controller](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/EmailControllerApi.html) send and receive emails
18
- - [Inbox controller](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/InboxControllerApi.html) create and manage email addresses
19
- - [WaitFor controller](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/WaitForControllerApi.html) wait for expected emails to arrive
17
+ - [Email controller](https://ruby.mailslurp.com/MailSlurpClient/EmailControllerApi.html) send and receive emails
18
+ - [Inbox controller](https://ruby.mailslurp.com/MailSlurpClient/InboxControllerApi.html) create and manage email addresses
19
+ - [WaitFor controller](https://ruby.mailslurp.com/MailSlurpClient/WaitForControllerApi.html) wait for expected emails to arrive
20
20
 
21
21
 
22
22
  ### Example tutorials
@@ -27,7 +27,7 @@ This section describes how to get up and running with the Ruby client.
27
27
 
28
28
  See the [examples page](https://www.mailslurp.com/examples/) for more examples and use with common frameworks such as Rails and RSpec.
29
29
 
30
- See the method documentation for a [list of all functions](https://mailslurp.github.io/mailslurp-client-ruby/)
30
+ See the method documentation for a [list of all functions](https://ruby.mailslurp.com/)
31
31
 
32
32
  ### Create API Key
33
33
 
@@ -82,7 +82,7 @@ Here are some common uses:
82
82
 
83
83
  ### Create inboxes
84
84
 
85
- To use MailSlurp you need to create inboxes. These are email accounts that have an ID and a real email address. See methods on the [inbox controller](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/InboxControllerApi.html) for more information.
85
+ To use MailSlurp you need to create inboxes. These are email accounts that have an ID and a real email address. See methods on the [inbox controller](https://ruby.mailslurp.com/MailSlurpClient/InboxControllerApi.html) for more information.
86
86
 
87
87
  ```ruby
88
88
  inbox_controller = MailSlurpClient::InboxControllerApi.new
@@ -177,7 +177,7 @@ end
177
177
 
178
178
  ### List inboxes
179
179
 
180
- Inboxes you create can be listed in a paginated way using the [InboxController](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/InboxControllerApi.html)).
180
+ Inboxes you create can be listed in a paginated way using the [InboxController](https://ruby.mailslurp.com/MailSlurpClient/InboxControllerApi.html)).
181
181
 
182
182
  ```ruby
183
183
  it 'can list inboxes' do
@@ -198,7 +198,7 @@ end
198
198
  ### Send emails
199
199
 
200
200
  You can send HTML emails easily with the inbox controller. First create an inbox then use its ID with the `send_email` method.
201
- To send attachments see the [Method Documentation](https://mailslurp.github.io/mailslurp-client-ruby/).
201
+ To send attachments see the [Method Documentation](https://ruby.mailslurp.com/).
202
202
 
203
203
  ```ruby
204
204
  # create an inbox
@@ -219,7 +219,7 @@ inbox_controller.send_email(inbox.id, {
219
219
  })
220
220
  ```
221
221
 
222
- You can also use objects for most [method options](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/SendEmailOptions.html):
222
+ You can also use objects for most [method options](https://ruby.mailslurp.com/MailSlurpClient/SendEmailOptions.html):
223
223
 
224
224
  ```ruby
225
225
  opts = {
@@ -239,7 +239,7 @@ inbox_controller.send_email(inbox_1.id, opts)
239
239
 
240
240
  ### Receive emails
241
241
 
242
- To read already existing emails use the [Email Controller](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/EmailControllerApi.html). To wait for expected emails to arrive use the [WaitFor Controller](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/WaitForControllerApi.html).
242
+ To read already existing emails use the [Email Controller](https://ruby.mailslurp.com/MailSlurpClient/EmailControllerApi.html). To wait for expected emails to arrive use the [WaitFor Controller](https://ruby.mailslurp.com/MailSlurpClient/WaitForControllerApi.html).
243
243
  You can use MailSlurp to wait for at least 1 unread email in an inbox and return it.
244
244
  If a timeout is exceeded it will throw an error instead:
245
245
 
@@ -273,7 +273,7 @@ code, * = match.captures
273
273
 
274
274
  ### Attachments
275
275
 
276
- You can send attachments by first uploading files with the [AttachmentControllerApi](https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/AttachmentControllerApi.html) then using the returned attachment IDs in the send email method.
276
+ You can send attachments by first uploading files with the [AttachmentControllerApi](https://ruby.mailslurp.com/MailSlurpClient/AttachmentControllerApi.html) then using the returned attachment IDs in the send email method.
277
277
 
278
278
  MailSlurp endpoints use base64 string encoding for upload and download files. To encode or decode strings in Ruby make sure you use the **strict** variables that avoid added newlines.
279
279
 
@@ -389,7 +389,7 @@ describe 'use MailSlurp ruby sdk to create email addresses then send and receive
389
389
  inbox_2 = inbox_controller.create_inbox
390
390
 
391
391
  # send email from inbox 1 to inbox 2 (you can send emails to any address)
392
- # for send options see https://mailslurp.github.io/mailslurp-client-ruby/MailSlurpClient/SendEmailOptions.html
392
+ # for send options see https://ruby.mailslurp.com/MailSlurpClient/SendEmailOptions.html
393
393
  opts = {
394
394
  send_email_options: MailSlurpClient::SendEmailOptions.new(
395
395
  {
@@ -419,4 +419,4 @@ end
419
419
 
420
420
  ## SDK Documentation
421
421
 
422
- See the [examples page](https://www.mailslurp.com/examples/) or the full [Method Documentation](https://mailslurp.github.io/mailslurp-client-ruby/) on Github.
422
+ See the [examples page](https://www.mailslurp.com/examples/) or the full [Method Documentation](https://ruby.mailslurp.com/) on Github.
@@ -211,6 +211,7 @@ module MailSlurpClient
211
211
  # Returns domain verification status and tokens for a given domain
212
212
  # @param id [String]
213
213
  # @param [Hash] opts the optional parameters
214
+ # @option opts [Boolean] :check_for_errors
214
215
  # @return [DomainDto]
215
216
  def get_domain(id, opts = {})
216
217
  data, _status_code, _headers = get_domain_with_http_info(id, opts)
@@ -221,6 +222,7 @@ module MailSlurpClient
221
222
  # Returns domain verification status and tokens for a given domain
222
223
  # @param id [String]
223
224
  # @param [Hash] opts the optional parameters
225
+ # @option opts [Boolean] :check_for_errors
224
226
  # @return [Array<(DomainDto, Integer, Hash)>] DomainDto data, response status code and response headers
225
227
  def get_domain_with_http_info(id, opts = {})
226
228
  if @api_client.config.debugging
@@ -235,6 +237,7 @@ module MailSlurpClient
235
237
 
236
238
  # query parameters
237
239
  query_params = opts[:query_params] || {}
240
+ query_params[:'checkForErrors'] = opts[:'check_for_errors'] if !opts[:'check_for_errors'].nil?
238
241
 
239
242
  # header parameters
240
243
  header_params = opts[:header_params] || {}
@@ -269,6 +272,62 @@ module MailSlurpClient
269
272
  return data, status_code, headers
270
273
  end
271
274
 
275
+ # Get domain issues
276
+ # List domain issues for domains you have created
277
+ # @param [Hash] opts the optional parameters
278
+ # @return [DomainIssuesDto]
279
+ def get_domain_issues(opts = {})
280
+ data, _status_code, _headers = get_domain_issues_with_http_info(opts)
281
+ data
282
+ end
283
+
284
+ # Get domain issues
285
+ # List domain issues for domains you have created
286
+ # @param [Hash] opts the optional parameters
287
+ # @return [Array<(DomainIssuesDto, Integer, Hash)>] DomainIssuesDto data, response status code and response headers
288
+ def get_domain_issues_with_http_info(opts = {})
289
+ if @api_client.config.debugging
290
+ @api_client.config.logger.debug 'Calling API: DomainControllerApi.get_domain_issues ...'
291
+ end
292
+ # resource path
293
+ local_var_path = '/domains/issues'
294
+
295
+ # query parameters
296
+ query_params = opts[:query_params] || {}
297
+
298
+ # header parameters
299
+ header_params = opts[:header_params] || {}
300
+ # HTTP header 'Accept' (if needed)
301
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
302
+
303
+ # form parameters
304
+ form_params = opts[:form_params] || {}
305
+
306
+ # http body (model)
307
+ post_body = opts[:body]
308
+
309
+ # return_type
310
+ return_type = opts[:return_type] || 'DomainIssuesDto'
311
+
312
+ # auth_names
313
+ auth_names = opts[:auth_names] || ['API_KEY']
314
+
315
+ new_options = opts.merge(
316
+ :header_params => header_params,
317
+ :query_params => query_params,
318
+ :form_params => form_params,
319
+ :body => post_body,
320
+ :auth_names => auth_names,
321
+ :return_type => return_type
322
+ )
323
+
324
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
325
+ if @api_client.config.debugging
326
+ @api_client.config.logger.debug "API called: DomainControllerApi#get_domain_issues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
327
+ end
328
+ return data, status_code, headers
329
+ end
330
+
272
331
  # Get catch all wild card inbox for domain
273
332
  # Get the catch all inbox for a domain for missed emails
274
333
  # @param id [String]
@@ -386,7 +386,7 @@ module MailSlurpClient
386
386
  if @api_client.config.debugging
387
387
  @api_client.config.logger.debug 'Calling API: PhoneControllerApi.get_phone_numbers ...'
388
388
  end
389
- allowable_values = ["US", "GB"]
389
+ allowable_values = ["US", "GB", "AU"]
390
390
  if @api_client.config.client_side_validation && opts[:'phone_country'] && !allowable_values.include?(opts[:'phone_country'])
391
391
  fail ArgumentError, "invalid value for \"phone_country\", must be one of #{allowable_values}"
392
392
  end
@@ -22,13 +22,13 @@ module MailSlurpClient
22
22
 
23
23
  attr_accessor :user_id
24
24
 
25
- # Attachment ID
26
- attr_accessor :attachment_id
27
-
28
25
  attr_accessor :created_at
29
26
 
30
27
  attr_accessor :updated_at
31
28
 
29
+ # Attachment ID
30
+ attr_accessor :attachment_id
31
+
32
32
  # Content type of attachment.
33
33
  attr_accessor :content_type
34
34
 
@@ -38,9 +38,9 @@ module MailSlurpClient
38
38
  :'name' => :'name',
39
39
  :'content_length' => :'contentLength',
40
40
  :'user_id' => :'userId',
41
- :'attachment_id' => :'attachmentId',
42
41
  :'created_at' => :'createdAt',
43
42
  :'updated_at' => :'updatedAt',
43
+ :'attachment_id' => :'attachmentId',
44
44
  :'content_type' => :'contentType'
45
45
  }
46
46
  end
@@ -51,9 +51,9 @@ module MailSlurpClient
51
51
  :'name' => :'String',
52
52
  :'content_length' => :'Integer',
53
53
  :'user_id' => :'String',
54
- :'attachment_id' => :'String',
55
54
  :'created_at' => :'DateTime',
56
55
  :'updated_at' => :'DateTime',
56
+ :'attachment_id' => :'String',
57
57
  :'content_type' => :'String'
58
58
  }
59
59
  end
@@ -94,10 +94,6 @@ module MailSlurpClient
94
94
  self.user_id = attributes[:'user_id']
95
95
  end
96
96
 
97
- if attributes.key?(:'attachment_id')
98
- self.attachment_id = attributes[:'attachment_id']
99
- end
100
-
101
97
  if attributes.key?(:'created_at')
102
98
  self.created_at = attributes[:'created_at']
103
99
  end
@@ -106,6 +102,10 @@ module MailSlurpClient
106
102
  self.updated_at = attributes[:'updated_at']
107
103
  end
108
104
 
105
+ if attributes.key?(:'attachment_id')
106
+ self.attachment_id = attributes[:'attachment_id']
107
+ end
108
+
109
109
  if attributes.key?(:'content_type')
110
110
  self.content_type = attributes[:'content_type']
111
111
  end
@@ -119,10 +119,6 @@ module MailSlurpClient
119
119
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
120
120
  end
121
121
 
122
- if @attachment_id.nil?
123
- invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
124
- end
125
-
126
122
  if @created_at.nil?
127
123
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
128
124
  end
@@ -131,6 +127,10 @@ module MailSlurpClient
131
127
  invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
132
128
  end
133
129
 
130
+ if @attachment_id.nil?
131
+ invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
132
+ end
133
+
134
134
  invalid_properties
135
135
  end
136
136
 
@@ -138,9 +138,9 @@ module MailSlurpClient
138
138
  # @return true if the model is valid
139
139
  def valid?
140
140
  return false if @user_id.nil?
141
- return false if @attachment_id.nil?
142
141
  return false if @created_at.nil?
143
142
  return false if @updated_at.nil?
143
+ return false if @attachment_id.nil?
144
144
  true
145
145
  end
146
146
 
@@ -152,9 +152,9 @@ module MailSlurpClient
152
152
  name == o.name &&
153
153
  content_length == o.content_length &&
154
154
  user_id == o.user_id &&
155
- attachment_id == o.attachment_id &&
156
155
  created_at == o.created_at &&
157
156
  updated_at == o.updated_at &&
157
+ attachment_id == o.attachment_id &&
158
158
  content_type == o.content_type
159
159
  end
160
160
 
@@ -167,7 +167,7 @@ module MailSlurpClient
167
167
  # Calculates hash code according to all attributes.
168
168
  # @return [Integer] Hash code
169
169
  def hash
170
- [name, content_length, user_id, attachment_id, created_at, updated_at, content_type].hash
170
+ [name, content_length, user_id, created_at, updated_at, attachment_id, content_type].hash
171
171
  end
172
172
 
173
173
  # Builds the object from hash
@@ -166,7 +166,7 @@ module MailSlurpClient
166
166
  return false if @region.nil?
167
167
  return false if @postal_code.nil?
168
168
  return false if @iso_country_code.nil?
169
- iso_country_code_validator = EnumAttributeValidator.new('String', ["US", "GB"])
169
+ iso_country_code_validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
170
170
  return false unless iso_country_code_validator.valid?(@iso_country_code)
171
171
  true
172
172
  end
@@ -174,7 +174,7 @@ module MailSlurpClient
174
174
  # Custom attribute writer method checking allowed values (enum).
175
175
  # @param [Object] iso_country_code Object to be assigned
176
176
  def iso_country_code=(iso_country_code)
177
- validator = EnumAttributeValidator.new('String', ["US", "GB"])
177
+ validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
178
178
  unless validator.valid?(iso_country_code)
179
179
  fail ArgumentError, "invalid value for \"iso_country_code\", must be one of #{validator.allowable_values}."
180
180
  end
@@ -28,6 +28,12 @@ module MailSlurpClient
28
28
  # Unique token DKIM tokens
29
29
  attr_accessor :dkim_tokens
30
30
 
31
+ # If the domain is missing records then show which pairs are missing.
32
+ attr_accessor :missing_records_message
33
+
34
+ # Whether the domain has missing required records. If true then see the domain in the dashboard app.
35
+ attr_accessor :has_missing_records
36
+
31
37
  # Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records.
32
38
  attr_accessor :is_verified
33
39
 
@@ -74,6 +80,8 @@ module MailSlurpClient
74
80
  :'domain' => :'domain',
75
81
  :'verification_token' => :'verificationToken',
76
82
  :'dkim_tokens' => :'dkimTokens',
83
+ :'missing_records_message' => :'missingRecordsMessage',
84
+ :'has_missing_records' => :'hasMissingRecords',
77
85
  :'is_verified' => :'isVerified',
78
86
  :'domain_name_records' => :'domainNameRecords',
79
87
  :'catch_all_inbox_id' => :'catchAllInboxId',
@@ -91,6 +99,8 @@ module MailSlurpClient
91
99
  :'domain' => :'String',
92
100
  :'verification_token' => :'String',
93
101
  :'dkim_tokens' => :'Array<String>',
102
+ :'missing_records_message' => :'String',
103
+ :'has_missing_records' => :'Boolean',
94
104
  :'is_verified' => :'Boolean',
95
105
  :'domain_name_records' => :'Array<DomainNameRecord>',
96
106
  :'catch_all_inbox_id' => :'String',
@@ -103,6 +113,7 @@ module MailSlurpClient
103
113
  # List of attributes with nullable: true
104
114
  def self.openapi_nullable
105
115
  Set.new([
116
+ :'missing_records_message',
106
117
  :'catch_all_inbox_id',
107
118
  ])
108
119
  end
@@ -144,6 +155,14 @@ module MailSlurpClient
144
155
  end
145
156
  end
146
157
 
158
+ if attributes.key?(:'missing_records_message')
159
+ self.missing_records_message = attributes[:'missing_records_message']
160
+ end
161
+
162
+ if attributes.key?(:'has_missing_records')
163
+ self.has_missing_records = attributes[:'has_missing_records']
164
+ end
165
+
147
166
  if attributes.key?(:'is_verified')
148
167
  self.is_verified = attributes[:'is_verified']
149
168
  end
@@ -195,6 +214,10 @@ module MailSlurpClient
195
214
  invalid_properties.push('invalid value for "dkim_tokens", dkim_tokens cannot be nil.')
196
215
  end
197
216
 
217
+ if @has_missing_records.nil?
218
+ invalid_properties.push('invalid value for "has_missing_records", has_missing_records cannot be nil.')
219
+ end
220
+
198
221
  if @is_verified.nil?
199
222
  invalid_properties.push('invalid value for "is_verified", is_verified cannot be nil.')
200
223
  end
@@ -226,6 +249,7 @@ module MailSlurpClient
226
249
  return false if @domain.nil?
227
250
  return false if @verification_token.nil?
228
251
  return false if @dkim_tokens.nil?
252
+ return false if @has_missing_records.nil?
229
253
  return false if @is_verified.nil?
230
254
  return false if @domain_name_records.nil?
231
255
  return false if @created_at.nil?
@@ -256,6 +280,8 @@ module MailSlurpClient
256
280
  domain == o.domain &&
257
281
  verification_token == o.verification_token &&
258
282
  dkim_tokens == o.dkim_tokens &&
283
+ missing_records_message == o.missing_records_message &&
284
+ has_missing_records == o.has_missing_records &&
259
285
  is_verified == o.is_verified &&
260
286
  domain_name_records == o.domain_name_records &&
261
287
  catch_all_inbox_id == o.catch_all_inbox_id &&
@@ -273,7 +299,7 @@ module MailSlurpClient
273
299
  # Calculates hash code according to all attributes.
274
300
  # @return [Integer] Hash code
275
301
  def hash
276
- [id, user_id, domain, verification_token, dkim_tokens, is_verified, domain_name_records, catch_all_inbox_id, created_at, updated_at, domain_type].hash
302
+ [id, user_id, domain, verification_token, dkim_tokens, missing_records_message, has_missing_records, is_verified, domain_name_records, catch_all_inbox_id, created_at, updated_at, domain_type].hash
277
303
  end
278
304
 
279
305
  # Builds the object from hash
@@ -0,0 +1,211 @@
1
+ =begin
2
+ #MailSlurp API
3
+
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://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository
5
+
6
+ The version of the OpenAPI document: 6.5.2
7
+ Contact: contact@mailslurp.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module MailSlurpClient
16
+ class DomainIssuesDto
17
+ attr_accessor :has_issues
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'has_issues' => :'hasIssues'
23
+ }
24
+ end
25
+
26
+ # Attribute type mapping.
27
+ def self.openapi_types
28
+ {
29
+ :'has_issues' => :'Boolean'
30
+ }
31
+ end
32
+
33
+ # List of attributes with nullable: true
34
+ def self.openapi_nullable
35
+ Set.new([
36
+ ])
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ if (!attributes.is_a?(Hash))
43
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::DomainIssuesDto` initialize method"
44
+ end
45
+
46
+ # check to see if the attribute exists and convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}) { |(k, v), h|
48
+ if (!self.class.attribute_map.key?(k.to_sym))
49
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::DomainIssuesDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
50
+ end
51
+ h[k.to_sym] = v
52
+ }
53
+
54
+ if attributes.key?(:'has_issues')
55
+ self.has_issues = attributes[:'has_issues']
56
+ end
57
+ end
58
+
59
+ # Show invalid properties with the reasons. Usually used together with valid?
60
+ # @return Array for valid properties with the reasons
61
+ def list_invalid_properties
62
+ invalid_properties = Array.new
63
+ if @has_issues.nil?
64
+ invalid_properties.push('invalid value for "has_issues", has_issues cannot be nil.')
65
+ end
66
+
67
+ invalid_properties
68
+ end
69
+
70
+ # Check to see if the all the properties in the model are valid
71
+ # @return true if the model is valid
72
+ def valid?
73
+ return false if @has_issues.nil?
74
+ true
75
+ end
76
+
77
+ # Checks equality by comparing each attribute.
78
+ # @param [Object] Object to be compared
79
+ def ==(o)
80
+ return true if self.equal?(o)
81
+ self.class == o.class &&
82
+ has_issues == o.has_issues
83
+ end
84
+
85
+ # @see the `==` method
86
+ # @param [Object] Object to be compared
87
+ def eql?(o)
88
+ self == o
89
+ end
90
+
91
+ # Calculates hash code according to all attributes.
92
+ # @return [Integer] Hash code
93
+ def hash
94
+ [has_issues].hash
95
+ end
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def self.build_from_hash(attributes)
101
+ new.build_from_hash(attributes)
102
+ end
103
+
104
+ # Builds the object from hash
105
+ # @param [Hash] attributes Model attributes in the form of hash
106
+ # @return [Object] Returns the model itself
107
+ def build_from_hash(attributes)
108
+ return nil unless attributes.is_a?(Hash)
109
+ self.class.openapi_types.each_pair do |key, type|
110
+ if type =~ /\AArray<(.*)>/i
111
+ # check to ensure the input is an array given that the attribute
112
+ # is documented as an array but the input is not
113
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
114
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
115
+ end
116
+ elsif !attributes[self.class.attribute_map[key]].nil?
117
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
118
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
119
+ end
120
+
121
+ self
122
+ end
123
+
124
+ # Deserializes the data based on type
125
+ # @param string type Data type
126
+ # @param string value Value to be deserialized
127
+ # @return [Object] Deserialized data
128
+ def _deserialize(type, value)
129
+ case type.to_sym
130
+ when :DateTime
131
+ DateTime.parse(value)
132
+ when :Date
133
+ Date.parse(value)
134
+ when :String
135
+ value.to_s
136
+ when :Integer
137
+ value.to_i
138
+ when :Float
139
+ value.to_f
140
+ when :Boolean
141
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
142
+ true
143
+ else
144
+ false
145
+ end
146
+ when :Object
147
+ # generic object (usually a Hash), return directly
148
+ value
149
+ when /\AArray<(?<inner_type>.+)>\z/
150
+ inner_type = Regexp.last_match[:inner_type]
151
+ value.map { |v| _deserialize(inner_type, v) }
152
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
153
+ k_type = Regexp.last_match[:k_type]
154
+ v_type = Regexp.last_match[:v_type]
155
+ {}.tap do |hash|
156
+ value.each do |k, v|
157
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
158
+ end
159
+ end
160
+ else # model
161
+ MailSlurpClient.const_get(type).build_from_hash(value)
162
+ end
163
+ end
164
+
165
+ # Returns the string representation of the object
166
+ # @return [String] String presentation of the object
167
+ def to_s
168
+ to_hash.to_s
169
+ end
170
+
171
+ # to_body is an alias to to_hash (backward compatibility)
172
+ # @return [Hash] Returns the object in the form of hash
173
+ def to_body
174
+ to_hash
175
+ end
176
+
177
+ # Returns the object in the form of hash
178
+ # @return [Hash] Returns the object in the form of hash
179
+ def to_hash
180
+ hash = {}
181
+ self.class.attribute_map.each_pair do |attr, param|
182
+ value = self.send(attr)
183
+ if value.nil?
184
+ is_nullable = self.class.openapi_nullable.include?(attr)
185
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
186
+ end
187
+
188
+ hash[param] = _to_hash(value)
189
+ end
190
+ hash
191
+ end
192
+
193
+ # Outputs non-array value in the form of hash
194
+ # For object, use to_hash. Otherwise, just return the value
195
+ # @param [Object] value Any valid value
196
+ # @return [Hash] Returns the value in the form of hash
197
+ def _to_hash(value)
198
+ if value.is_a?(Array)
199
+ value.compact.map { |v| _to_hash(v) }
200
+ elsif value.is_a?(Hash)
201
+ {}.tap do |hash|
202
+ value.each { |k, v| hash[k] = _to_hash(v) }
203
+ end
204
+ elsif value.respond_to? :to_hash
205
+ value.to_hash
206
+ else
207
+ value
208
+ end
209
+ end
210
+ end
211
+ end
@@ -28,6 +28,8 @@ module MailSlurpClient
28
28
 
29
29
  attr_accessor :is_verified
30
30
 
31
+ attr_accessor :has_missing_records
32
+
31
33
  class EnumAttributeValidator
32
34
  attr_reader :datatype
33
35
  attr_reader :allowable_values
@@ -58,7 +60,8 @@ module MailSlurpClient
58
60
  :'catch_all_inbox_id' => :'catchAllInboxId',
59
61
  :'created_at' => :'createdAt',
60
62
  :'domain_type' => :'domainType',
61
- :'is_verified' => :'isVerified'
63
+ :'is_verified' => :'isVerified',
64
+ :'has_missing_records' => :'hasMissingRecords'
62
65
  }
63
66
  end
64
67
 
@@ -70,7 +73,8 @@ module MailSlurpClient
70
73
  :'catch_all_inbox_id' => :'String',
71
74
  :'created_at' => :'DateTime',
72
75
  :'domain_type' => :'String',
73
- :'is_verified' => :'Boolean'
76
+ :'is_verified' => :'Boolean',
77
+ :'has_missing_records' => :'Boolean'
74
78
  }
75
79
  end
76
80
 
@@ -119,6 +123,10 @@ module MailSlurpClient
119
123
  if attributes.key?(:'is_verified')
120
124
  self.is_verified = attributes[:'is_verified']
121
125
  end
126
+
127
+ if attributes.key?(:'has_missing_records')
128
+ self.has_missing_records = attributes[:'has_missing_records']
129
+ end
122
130
  end
123
131
 
124
132
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -145,6 +153,10 @@ module MailSlurpClient
145
153
  invalid_properties.push('invalid value for "is_verified", is_verified cannot be nil.')
146
154
  end
147
155
 
156
+ if @has_missing_records.nil?
157
+ invalid_properties.push('invalid value for "has_missing_records", has_missing_records cannot be nil.')
158
+ end
159
+
148
160
  invalid_properties
149
161
  end
150
162
 
@@ -158,6 +170,7 @@ module MailSlurpClient
158
170
  domain_type_validator = EnumAttributeValidator.new('String', ["HTTP_INBOX", "SMTP_DOMAIN"])
159
171
  return false unless domain_type_validator.valid?(@domain_type)
160
172
  return false if @is_verified.nil?
173
+ return false if @has_missing_records.nil?
161
174
  true
162
175
  end
163
176
 
@@ -181,7 +194,8 @@ module MailSlurpClient
181
194
  catch_all_inbox_id == o.catch_all_inbox_id &&
182
195
  created_at == o.created_at &&
183
196
  domain_type == o.domain_type &&
184
- is_verified == o.is_verified
197
+ is_verified == o.is_verified &&
198
+ has_missing_records == o.has_missing_records
185
199
  end
186
200
 
187
201
  # @see the `==` method
@@ -193,7 +207,7 @@ module MailSlurpClient
193
207
  # Calculates hash code according to all attributes.
194
208
  # @return [Integer] Hash code
195
209
  def hash
196
- [id, domain, catch_all_inbox_id, created_at, domain_type, is_verified].hash
210
+ [id, domain, catch_all_inbox_id, created_at, domain_type, is_verified, has_missing_records].hash
197
211
  end
198
212
 
199
213
  # Builds the object from hash
@@ -241,7 +241,7 @@ module MailSlurpClient
241
241
  return false if @region.nil?
242
242
  return false if @postal_code.nil?
243
243
  return false if @phone_country.nil?
244
- phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
244
+ phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
245
245
  return false unless phone_country_validator.valid?(@phone_country)
246
246
  return false if @account_sid.nil?
247
247
  return false if @created_at.nil?
@@ -252,7 +252,7 @@ module MailSlurpClient
252
252
  # Custom attribute writer method checking allowed values (enum).
253
253
  # @param [Object] phone_country Object to be assigned
254
254
  def phone_country=(phone_country)
255
- validator = EnumAttributeValidator.new('String', ["US", "GB"])
255
+ validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
256
256
  unless validator.valid?(phone_country)
257
257
  fail ArgumentError, "invalid value for \"phone_country\", must be one of #{validator.allowable_values}."
258
258
  end
@@ -119,7 +119,7 @@ module MailSlurpClient
119
119
  return false if @id.nil?
120
120
  return false if @address1.nil?
121
121
  return false if @phone_country.nil?
122
- phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
122
+ phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
123
123
  return false unless phone_country_validator.valid?(@phone_country)
124
124
  true
125
125
  end
@@ -127,7 +127,7 @@ module MailSlurpClient
127
127
  # Custom attribute writer method checking allowed values (enum).
128
128
  # @param [Object] phone_country Object to be assigned
129
129
  def phone_country=(phone_country)
130
- validator = EnumAttributeValidator.new('String', ["US", "GB"])
130
+ validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
131
131
  unless validator.valid?(phone_country)
132
132
  fail ArgumentError, "invalid value for \"phone_country\", must be one of #{validator.allowable_values}."
133
133
  end
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :status
23
23
 
24
- attr_accessor :recipients
25
-
26
24
  attr_accessor :user_id
27
25
 
26
+ attr_accessor :recipients
27
+
28
28
  attr_accessor :email_id
29
29
 
30
30
  attr_accessor :inbox_id
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'message' => :'message',
64
64
  :'id' => :'id',
65
65
  :'status' => :'status',
66
- :'recipients' => :'recipients',
67
66
  :'user_id' => :'userId',
67
+ :'recipients' => :'recipients',
68
68
  :'email_id' => :'emailId',
69
69
  :'inbox_id' => :'inboxId',
70
70
  :'created_at' => :'createdAt',
@@ -79,8 +79,8 @@ module MailSlurpClient
79
79
  :'message' => :'String',
80
80
  :'id' => :'String',
81
81
  :'status' => :'String',
82
- :'recipients' => :'Array<String>',
83
82
  :'user_id' => :'String',
83
+ :'recipients' => :'Array<String>',
84
84
  :'email_id' => :'String',
85
85
  :'inbox_id' => :'String',
86
86
  :'created_at' => :'DateTime',
@@ -95,8 +95,8 @@ module MailSlurpClient
95
95
  :'message',
96
96
  :'id',
97
97
  :'status',
98
- :'recipients',
99
98
  :'user_id',
99
+ :'recipients',
100
100
  :'email_id',
101
101
  :'inbox_id',
102
102
  :'sent_id',
@@ -131,16 +131,16 @@ module MailSlurpClient
131
131
  self.status = attributes[:'status']
132
132
  end
133
133
 
134
+ if attributes.key?(:'user_id')
135
+ self.user_id = attributes[:'user_id']
136
+ end
137
+
134
138
  if attributes.key?(:'recipients')
135
139
  if (value = attributes[:'recipients']).is_a?(Array)
136
140
  self.recipients = value
137
141
  end
138
142
  end
139
143
 
140
- if attributes.key?(:'user_id')
141
- self.user_id = attributes[:'user_id']
142
- end
143
-
144
144
  if attributes.key?(:'email_id')
145
145
  self.email_id = attributes[:'email_id']
146
146
  end
@@ -200,8 +200,8 @@ module MailSlurpClient
200
200
  message == o.message &&
201
201
  id == o.id &&
202
202
  status == o.status &&
203
- recipients == o.recipients &&
204
203
  user_id == o.user_id &&
204
+ recipients == o.recipients &&
205
205
  email_id == o.email_id &&
206
206
  inbox_id == o.inbox_id &&
207
207
  created_at == o.created_at &&
@@ -218,7 +218,7 @@ module MailSlurpClient
218
218
  # Calculates hash code according to all attributes.
219
219
  # @return [Integer] Hash code
220
220
  def hash
221
- [message, id, status, recipients, user_id, email_id, inbox_id, created_at, sent_id, replier_id].hash
221
+ [message, id, status, user_id, recipients, email_id, inbox_id, created_at, sent_id, replier_id].hash
222
222
  end
223
223
 
224
224
  # Builds the object from hash
@@ -19,10 +19,10 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :from
21
21
 
22
- attr_accessor :subject
23
-
24
22
  attr_accessor :user_id
25
23
 
24
+ attr_accessor :subject
25
+
26
26
  attr_accessor :created_at
27
27
 
28
28
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -30,8 +30,8 @@ module MailSlurpClient
30
30
  {
31
31
  :'id' => :'id',
32
32
  :'from' => :'from',
33
- :'subject' => :'subject',
34
33
  :'user_id' => :'userId',
34
+ :'subject' => :'subject',
35
35
  :'created_at' => :'createdAt'
36
36
  }
37
37
  end
@@ -41,8 +41,8 @@ module MailSlurpClient
41
41
  {
42
42
  :'id' => :'String',
43
43
  :'from' => :'String',
44
- :'subject' => :'String',
45
44
  :'user_id' => :'String',
45
+ :'subject' => :'String',
46
46
  :'created_at' => :'DateTime'
47
47
  }
48
48
  end
@@ -51,8 +51,8 @@ module MailSlurpClient
51
51
  def self.openapi_nullable
52
52
  Set.new([
53
53
  :'from',
54
- :'subject',
55
54
  :'user_id',
55
+ :'subject',
56
56
  ])
57
57
  end
58
58
 
@@ -79,14 +79,14 @@ module MailSlurpClient
79
79
  self.from = attributes[:'from']
80
80
  end
81
81
 
82
- if attributes.key?(:'subject')
83
- self.subject = attributes[:'subject']
84
- end
85
-
86
82
  if attributes.key?(:'user_id')
87
83
  self.user_id = attributes[:'user_id']
88
84
  end
89
85
 
86
+ if attributes.key?(:'subject')
87
+ self.subject = attributes[:'subject']
88
+ end
89
+
90
90
  if attributes.key?(:'created_at')
91
91
  self.created_at = attributes[:'created_at']
92
92
  end
@@ -122,8 +122,8 @@ module MailSlurpClient
122
122
  self.class == o.class &&
123
123
  id == o.id &&
124
124
  from == o.from &&
125
- subject == o.subject &&
126
125
  user_id == o.user_id &&
126
+ subject == o.subject &&
127
127
  created_at == o.created_at
128
128
  end
129
129
 
@@ -136,7 +136,7 @@ module MailSlurpClient
136
136
  # Calculates hash code according to all attributes.
137
137
  # @return [Integer] Hash code
138
138
  def hash
139
- [id, from, subject, user_id, created_at].hash
139
+ [id, from, user_id, subject, created_at].hash
140
140
  end
141
141
 
142
142
  # Builds the object from hash
@@ -184,7 +184,7 @@ module MailSlurpClient
184
184
  return false if @user_id.nil?
185
185
  return false if @phone_number.nil?
186
186
  return false if @phone_country.nil?
187
- phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
187
+ phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
188
188
  return false unless phone_country_validator.valid?(@phone_country)
189
189
  return false if @phone_plan.nil?
190
190
  return false if @created_at.nil?
@@ -195,7 +195,7 @@ module MailSlurpClient
195
195
  # Custom attribute writer method checking allowed values (enum).
196
196
  # @param [Object] phone_country Object to be assigned
197
197
  def phone_country=(phone_country)
198
- validator = EnumAttributeValidator.new('String', ["US", "GB"])
198
+ validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
199
199
  unless validator.valid?(phone_country)
200
200
  fail ArgumentError, "invalid value for \"phone_country\", must be one of #{validator.allowable_values}."
201
201
  end
@@ -19,10 +19,10 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :user_id
21
21
 
22
- attr_accessor :created_at
23
-
24
22
  attr_accessor :phone_country
25
23
 
24
+ attr_accessor :created_at
25
+
26
26
  attr_accessor :phone_number
27
27
 
28
28
  class EnumAttributeValidator
@@ -52,8 +52,8 @@ module MailSlurpClient
52
52
  {
53
53
  :'id' => :'id',
54
54
  :'user_id' => :'userId',
55
- :'created_at' => :'createdAt',
56
55
  :'phone_country' => :'phoneCountry',
56
+ :'created_at' => :'createdAt',
57
57
  :'phone_number' => :'phoneNumber'
58
58
  }
59
59
  end
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  {
64
64
  :'id' => :'String',
65
65
  :'user_id' => :'String',
66
- :'created_at' => :'DateTime',
67
66
  :'phone_country' => :'String',
67
+ :'created_at' => :'DateTime',
68
68
  :'phone_number' => :'String'
69
69
  }
70
70
  end
@@ -98,14 +98,14 @@ module MailSlurpClient
98
98
  self.user_id = attributes[:'user_id']
99
99
  end
100
100
 
101
- if attributes.key?(:'created_at')
102
- self.created_at = attributes[:'created_at']
103
- end
104
-
105
101
  if attributes.key?(:'phone_country')
106
102
  self.phone_country = attributes[:'phone_country']
107
103
  end
108
104
 
105
+ if attributes.key?(:'created_at')
106
+ self.created_at = attributes[:'created_at']
107
+ end
108
+
109
109
  if attributes.key?(:'phone_number')
110
110
  self.phone_number = attributes[:'phone_number']
111
111
  end
@@ -123,14 +123,14 @@ module MailSlurpClient
123
123
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
124
124
  end
125
125
 
126
- if @created_at.nil?
127
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
128
- end
129
-
130
126
  if @phone_country.nil?
131
127
  invalid_properties.push('invalid value for "phone_country", phone_country cannot be nil.')
132
128
  end
133
129
 
130
+ if @created_at.nil?
131
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
132
+ end
133
+
134
134
  if @phone_number.nil?
135
135
  invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
136
136
  end
@@ -143,10 +143,10 @@ module MailSlurpClient
143
143
  def valid?
144
144
  return false if @id.nil?
145
145
  return false if @user_id.nil?
146
- return false if @created_at.nil?
147
146
  return false if @phone_country.nil?
148
- phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
147
+ phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
149
148
  return false unless phone_country_validator.valid?(@phone_country)
149
+ return false if @created_at.nil?
150
150
  return false if @phone_number.nil?
151
151
  true
152
152
  end
@@ -154,7 +154,7 @@ module MailSlurpClient
154
154
  # Custom attribute writer method checking allowed values (enum).
155
155
  # @param [Object] phone_country Object to be assigned
156
156
  def phone_country=(phone_country)
157
- validator = EnumAttributeValidator.new('String', ["US", "GB"])
157
+ validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
158
158
  unless validator.valid?(phone_country)
159
159
  fail ArgumentError, "invalid value for \"phone_country\", must be one of #{validator.allowable_values}."
160
160
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  self.class == o.class &&
169
169
  id == o.id &&
170
170
  user_id == o.user_id &&
171
- created_at == o.created_at &&
172
171
  phone_country == o.phone_country &&
172
+ created_at == o.created_at &&
173
173
  phone_number == o.phone_number
174
174
  end
175
175
 
@@ -182,7 +182,7 @@ module MailSlurpClient
182
182
  # Calculates hash code according to all attributes.
183
183
  # @return [Integer] Hash code
184
184
  def hash
185
- [id, user_id, created_at, phone_country, phone_number].hash
185
+ [id, user_id, phone_country, created_at, phone_number].hash
186
186
  end
187
187
 
188
188
  # Builds the object from hash
@@ -131,7 +131,7 @@ module MailSlurpClient
131
131
  return false if @id.nil?
132
132
  return false if @user_id.nil?
133
133
  return false if @phone_country.nil?
134
- phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
134
+ phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
135
135
  return false unless phone_country_validator.valid?(@phone_country)
136
136
  return false if @created_at.nil?
137
137
  true
@@ -140,7 +140,7 @@ module MailSlurpClient
140
140
  # Custom attribute writer method checking allowed values (enum).
141
141
  # @param [Object] phone_country Object to be assigned
142
142
  def phone_country=(phone_country)
143
- validator = EnumAttributeValidator.new('String', ["US", "GB"])
143
+ validator = EnumAttributeValidator.new('String', ["US", "GB", "AU"])
144
144
  unless validator.valid?(phone_country)
145
145
  fail ArgumentError, "invalid value for \"phone_country\", must be one of #{validator.allowable_values}."
146
146
  end
@@ -21,12 +21,12 @@ module MailSlurpClient
21
21
  # ID of email thread
22
22
  attr_accessor :id
23
23
 
24
- # Thread subject
25
- attr_accessor :subject
26
-
27
24
  # User ID
28
25
  attr_accessor :user_id
29
26
 
27
+ # Thread subject
28
+ attr_accessor :subject
29
+
30
30
  # Inbox ID
31
31
  attr_accessor :inbox_id
32
32
 
@@ -53,8 +53,8 @@ module MailSlurpClient
53
53
  {
54
54
  :'name' => :'name',
55
55
  :'id' => :'id',
56
- :'subject' => :'subject',
57
56
  :'user_id' => :'userId',
57
+ :'subject' => :'subject',
58
58
  :'inbox_id' => :'inboxId',
59
59
  :'created_at' => :'createdAt',
60
60
  :'updated_at' => :'updatedAt',
@@ -70,8 +70,8 @@ module MailSlurpClient
70
70
  {
71
71
  :'name' => :'String',
72
72
  :'id' => :'String',
73
- :'subject' => :'String',
74
73
  :'user_id' => :'String',
74
+ :'subject' => :'String',
75
75
  :'inbox_id' => :'String',
76
76
  :'created_at' => :'DateTime',
77
77
  :'updated_at' => :'DateTime',
@@ -111,14 +111,14 @@ module MailSlurpClient
111
111
  self.id = attributes[:'id']
112
112
  end
113
113
 
114
- if attributes.key?(:'subject')
115
- self.subject = attributes[:'subject']
116
- end
117
-
118
114
  if attributes.key?(:'user_id')
119
115
  self.user_id = attributes[:'user_id']
120
116
  end
121
117
 
118
+ if attributes.key?(:'subject')
119
+ self.subject = attributes[:'subject']
120
+ end
121
+
122
122
  if attributes.key?(:'inbox_id')
123
123
  self.inbox_id = attributes[:'inbox_id']
124
124
  end
@@ -209,8 +209,8 @@ module MailSlurpClient
209
209
  self.class == o.class &&
210
210
  name == o.name &&
211
211
  id == o.id &&
212
- subject == o.subject &&
213
212
  user_id == o.user_id &&
213
+ subject == o.subject &&
214
214
  inbox_id == o.inbox_id &&
215
215
  created_at == o.created_at &&
216
216
  updated_at == o.updated_at &&
@@ -229,7 +229,7 @@ module MailSlurpClient
229
229
  # Calculates hash code according to all attributes.
230
230
  # @return [Integer] Hash code
231
231
  def hash
232
- [name, id, subject, user_id, inbox_id, created_at, updated_at, to, bcc, cc, alias_id].hash
232
+ [name, id, user_id, subject, inbox_id, created_at, updated_at, to, bcc, cc, alias_id].hash
233
233
  end
234
234
 
235
235
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '15.17.3'
14
+ VERSION = '15.17.5'
15
15
  end
@@ -54,6 +54,7 @@ require 'mailslurp_client/models/delivery_status_dto'
54
54
  require 'mailslurp_client/models/describe_domain_options'
55
55
  require 'mailslurp_client/models/describe_mail_server_domain_result'
56
56
  require 'mailslurp_client/models/domain_dto'
57
+ require 'mailslurp_client/models/domain_issues_dto'
57
58
  require 'mailslurp_client/models/domain_name_record'
58
59
  require 'mailslurp_client/models/domain_preview'
59
60
  require 'mailslurp_client/models/download_attachment_dto'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.17.3
4
+ version: 15.17.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-24 00:00:00.000000000 Z
11
+ date: 2023-04-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create emails addresses in Ruby then send and receive real emails and
14
14
  attachments. See https://www.mailslurp.com/ruby/ for full Ruby documentation. Get
@@ -90,6 +90,7 @@ files:
90
90
  - lib/mailslurp_client/models/dns_lookup_result.rb
91
91
  - lib/mailslurp_client/models/dns_lookup_results.rb
92
92
  - lib/mailslurp_client/models/domain_dto.rb
93
+ - lib/mailslurp_client/models/domain_issues_dto.rb
93
94
  - lib/mailslurp_client/models/domain_name_record.rb
94
95
  - lib/mailslurp_client/models/domain_preview.rb
95
96
  - lib/mailslurp_client/models/download_attachment_dto.rb