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.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/alias_controller_api.rb +1 -1
  3. data/lib/mailslurp_client/api/attachment_controller_api.rb +4 -4
  4. data/lib/mailslurp_client/api/bounce_controller_api.rb +1 -1
  5. data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +1 -1
  6. data/lib/mailslurp_client/api/common_actions_controller_api.rb +1 -1
  7. data/lib/mailslurp_client/api/contact_controller_api.rb +1 -1
  8. data/lib/mailslurp_client/api/domain_controller_api.rb +1 -1
  9. data/lib/mailslurp_client/api/email_controller_api.rb +17 -14
  10. data/lib/mailslurp_client/api/expired_controller_api.rb +10 -10
  11. data/lib/mailslurp_client/api/export_controller_api.rb +1 -1
  12. data/lib/mailslurp_client/api/form_controller_api.rb +1 -1
  13. data/lib/mailslurp_client/api/group_controller_api.rb +1 -1
  14. data/lib/mailslurp_client/api/inbox_controller_api.rb +95 -95
  15. data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +1 -1
  16. data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +1 -1
  17. data/lib/mailslurp_client/api/mail_server_controller_api.rb +1 -1
  18. data/lib/mailslurp_client/api/missed_email_controller_api.rb +1 -1
  19. data/lib/mailslurp_client/api/sent_emails_controller_api.rb +1 -1
  20. data/lib/mailslurp_client/api/template_controller_api.rb +1 -1
  21. data/lib/mailslurp_client/api/tracking_controller_api.rb +1 -1
  22. data/lib/mailslurp_client/api/wait_for_controller_api.rb +1 -1
  23. data/lib/mailslurp_client/api/webhook_controller_api.rb +1 -1
  24. data/lib/mailslurp_client/api_client.rb +1 -1
  25. data/lib/mailslurp_client/api_error.rb +1 -1
  26. data/lib/mailslurp_client/configuration.rb +5 -5
  27. data/lib/mailslurp_client/models/abstract_webhook_payload.rb +16 -1
  28. data/lib/mailslurp_client/models/alias_dto.rb +40 -14
  29. data/lib/mailslurp_client/models/alias_projection.rb +41 -11
  30. data/lib/mailslurp_client/models/attachment_entity.rb +21 -1
  31. data/lib/mailslurp_client/models/attachment_meta_data.rb +21 -1
  32. data/lib/mailslurp_client/models/attachment_projection.rb +44 -24
  33. data/lib/mailslurp_client/models/basic_auth_options.rb +11 -1
  34. data/lib/mailslurp_client/models/bounce_projection.rb +11 -1
  35. data/lib/mailslurp_client/models/bounce_recipient.rb +21 -1
  36. data/lib/mailslurp_client/models/bounced_email_dto.rb +21 -1
  37. data/lib/mailslurp_client/models/bounced_recipient_dto.rb +16 -1
  38. data/lib/mailslurp_client/models/bulk_send_email_options.rb +6 -1
  39. data/lib/mailslurp_client/models/condition_option.rb +11 -1
  40. data/lib/mailslurp_client/models/contact_dto.rb +21 -1
  41. data/lib/mailslurp_client/models/contact_projection.rb +24 -14
  42. data/lib/mailslurp_client/models/content_match_options.rb +6 -1
  43. data/lib/mailslurp_client/models/count_dto.rb +6 -1
  44. data/lib/mailslurp_client/models/create_alias_options.rb +11 -1
  45. data/lib/mailslurp_client/models/create_contact_options.rb +1 -1
  46. data/lib/mailslurp_client/models/create_domain_options.rb +1 -1
  47. data/lib/mailslurp_client/models/create_group_options.rb +6 -1
  48. data/lib/mailslurp_client/models/create_inbox_dto.rb +1 -1
  49. data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +11 -1
  50. data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +16 -1
  51. data/lib/mailslurp_client/models/create_template_options.rb +11 -1
  52. data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -1
  53. data/lib/mailslurp_client/models/create_webhook_options.rb +6 -1
  54. data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
  55. data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +11 -1
  56. data/lib/mailslurp_client/models/dns_lookup_options.rb +6 -1
  57. data/lib/mailslurp_client/models/dns_lookup_result.rb +21 -1
  58. data/lib/mailslurp_client/models/dns_lookup_results.rb +6 -1
  59. data/lib/mailslurp_client/models/domain_dto.rb +65 -14
  60. data/lib/mailslurp_client/models/domain_name_record.rb +21 -1
  61. data/lib/mailslurp_client/models/domain_preview.rb +33 -8
  62. data/lib/mailslurp_client/models/download_attachment_dto.rb +16 -1
  63. data/lib/mailslurp_client/models/email.rb +55 -14
  64. data/lib/mailslurp_client/models/email_analysis.rb +1 -1
  65. data/lib/mailslurp_client/models/email_content_match_result.rb +11 -1
  66. data/lib/mailslurp_client/models/email_links_result.rb +11 -1
  67. data/lib/mailslurp_client/models/email_preview.rb +16 -1
  68. data/lib/mailslurp_client/models/email_projection.rb +64 -44
  69. data/lib/mailslurp_client/models/email_recipients.rb +1 -1
  70. data/lib/mailslurp_client/models/email_text_lines_result.rb +11 -1
  71. data/lib/mailslurp_client/models/email_verification_result.rb +34 -14
  72. data/lib/mailslurp_client/models/expiration_defaults.rb +11 -1
  73. data/lib/mailslurp_client/models/expired_inbox_dto.rb +16 -1
  74. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +21 -1
  75. data/lib/mailslurp_client/models/export_link.rb +6 -1
  76. data/lib/mailslurp_client/models/export_options.rb +6 -1
  77. data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +11 -1
  78. data/lib/mailslurp_client/models/forward_email_options.rb +1 -1
  79. data/lib/mailslurp_client/models/gravatar_url.rb +11 -1
  80. data/lib/mailslurp_client/models/group_contacts_dto.rb +11 -1
  81. data/lib/mailslurp_client/models/group_dto.rb +16 -1
  82. data/lib/mailslurp_client/models/group_projection.rb +16 -1
  83. data/lib/mailslurp_client/models/html_validation_result.rb +30 -14
  84. data/lib/mailslurp_client/models/inbox_dto.rb +26 -1
  85. data/lib/mailslurp_client/models/inbox_exists_dto.rb +6 -1
  86. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +31 -1
  87. data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +6 -1
  88. data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +11 -1
  89. data/lib/mailslurp_client/models/inbox_preview.rb +21 -1
  90. data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +36 -1
  91. data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +6 -1
  92. data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +11 -1
  93. data/lib/mailslurp_client/models/inline_object.rb +1 -1
  94. data/lib/mailslurp_client/models/ip_address_result.rb +11 -1
  95. data/lib/mailslurp_client/models/json_schema_dto.rb +6 -1
  96. data/lib/mailslurp_client/models/match_option.rb +11 -1
  97. data/lib/mailslurp_client/models/match_options.rb +1 -1
  98. data/lib/mailslurp_client/models/missed_email.rb +36 -1
  99. data/lib/mailslurp_client/models/missed_email_projection.rb +11 -1
  100. data/lib/mailslurp_client/models/name_server_record.rb +21 -1
  101. data/lib/mailslurp_client/models/organization_inbox_projection.rb +26 -1
  102. data/lib/mailslurp_client/models/page_alias.rb +30 -21
  103. data/lib/mailslurp_client/models/page_attachment_entity.rb +30 -21
  104. data/lib/mailslurp_client/models/page_bounced_email.rb +30 -21
  105. data/lib/mailslurp_client/models/page_bounced_recipients.rb +30 -21
  106. data/lib/mailslurp_client/models/page_contact_projection.rb +30 -21
  107. data/lib/mailslurp_client/models/page_email_preview.rb +30 -21
  108. data/lib/mailslurp_client/models/page_email_projection.rb +30 -21
  109. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +30 -21
  110. data/lib/mailslurp_client/models/page_group_projection.rb +30 -21
  111. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +30 -21
  112. data/lib/mailslurp_client/models/page_inbox_projection.rb +30 -21
  113. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +30 -21
  114. data/lib/mailslurp_client/models/page_missed_email_projection.rb +30 -21
  115. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +30 -21
  116. data/lib/mailslurp_client/models/page_sent_email_projection.rb +42 -3
  117. data/lib/mailslurp_client/models/page_template_projection.rb +30 -21
  118. data/lib/mailslurp_client/models/page_thread_projection.rb +30 -21
  119. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +30 -21
  120. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +30 -21
  121. data/lib/mailslurp_client/models/page_webhook_projection.rb +30 -21
  122. data/lib/mailslurp_client/models/page_webhook_result.rb +30 -21
  123. data/lib/mailslurp_client/models/{pageable.rb → pageable_object.rb} +4 -4
  124. data/lib/mailslurp_client/models/raw_email_json.rb +6 -1
  125. data/lib/mailslurp_client/models/recipient.rb +11 -1
  126. data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +25 -14
  127. data/lib/mailslurp_client/models/reply_to_email_options.rb +25 -14
  128. data/lib/mailslurp_client/models/send_email_options.rb +13 -3
  129. data/lib/mailslurp_client/models/sender.rb +11 -1
  130. data/lib/mailslurp_client/models/sent_email_dto.rb +34 -14
  131. data/lib/mailslurp_client/models/sent_email_projection.rb +57 -17
  132. data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +6 -1
  133. data/lib/mailslurp_client/models/simple_send_email_options.rb +6 -1
  134. data/lib/mailslurp_client/models/sort.rb +1 -1
  135. data/lib/mailslurp_client/models/template_dto.rb +26 -1
  136. data/lib/mailslurp_client/models/template_projection.rb +36 -11
  137. data/lib/mailslurp_client/models/template_variable.rb +11 -1
  138. data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +11 -1
  139. data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +11 -1
  140. data/lib/mailslurp_client/models/thread_projection.rb +52 -17
  141. data/lib/mailslurp_client/models/tracking_pixel_dto.rb +26 -1
  142. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +21 -1
  143. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +24 -14
  144. data/lib/mailslurp_client/models/unread_count.rb +6 -1
  145. data/lib/mailslurp_client/models/unseen_error_count_dto.rb +6 -1
  146. data/lib/mailslurp_client/models/update_alias_options.rb +1 -1
  147. data/lib/mailslurp_client/models/update_domain_options.rb +1 -1
  148. data/lib/mailslurp_client/models/update_group_contacts.rb +6 -1
  149. data/lib/mailslurp_client/models/update_inbox_options.rb +1 -1
  150. data/lib/mailslurp_client/models/upload_attachment_options.rb +1 -1
  151. data/lib/mailslurp_client/models/validation_dto.rb +11 -1
  152. data/lib/mailslurp_client/models/validation_message.rb +6 -1
  153. data/lib/mailslurp_client/models/verify_email_address_options.rb +6 -1
  154. data/lib/mailslurp_client/models/wait_for_conditions.rb +11 -1
  155. data/lib/mailslurp_client/models/webhook_dto.rb +46 -1
  156. data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +41 -1
  157. data/lib/mailslurp_client/models/webhook_email_read_payload.rb +36 -1
  158. data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +36 -1
  159. data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +36 -1
  160. data/lib/mailslurp_client/models/webhook_new_email_payload.rb +56 -1
  161. data/lib/mailslurp_client/models/webhook_projection.rb +42 -17
  162. data/lib/mailslurp_client/models/webhook_redrive_result.rb +11 -1
  163. data/lib/mailslurp_client/models/webhook_result_dto.rb +51 -1
  164. data/lib/mailslurp_client/models/webhook_test_request.rb +16 -1
  165. data/lib/mailslurp_client/models/webhook_test_response.rb +1 -1
  166. data/lib/mailslurp_client/models/webhook_test_result.rb +11 -1
  167. data/lib/mailslurp_client/version.rb +2 -2
  168. data/lib/mailslurp_client.rb +2 -2
  169. 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
 
@@ -79,12 +79,22 @@ module MailSlurpClient
79
79
  # @return Array for valid properties with the reasons
80
80
  def list_invalid_properties
81
81
  invalid_properties = Array.new
82
+ if @mx_records.nil?
83
+ invalid_properties.push('invalid value for "mx_records", mx_records cannot be nil.')
84
+ end
85
+
86
+ if @domain.nil?
87
+ invalid_properties.push('invalid value for "domain", domain cannot be nil.')
88
+ end
89
+
82
90
  invalid_properties
83
91
  end
84
92
 
85
93
  # Check to see if the all the properties in the model are valid
86
94
  # @return true if the model is valid
87
95
  def valid?
96
+ return false if @mx_records.nil?
97
+ return false if @domain.nil?
88
98
  true
89
99
  end
90
100
 
@@ -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
 
@@ -112,6 +112,10 @@ module MailSlurpClient
112
112
  invalid_properties.push('invalid value for "record_types", record_types cannot be nil.')
113
113
  end
114
114
 
115
+ if @omit_final_dns_dot.nil?
116
+ invalid_properties.push('invalid value for "omit_final_dns_dot", omit_final_dns_dot cannot be nil.')
117
+ end
118
+
115
119
  invalid_properties
116
120
  end
117
121
 
@@ -120,6 +124,7 @@ module MailSlurpClient
120
124
  def valid?
121
125
  return false if @hostname.nil?
122
126
  return false if @record_types.nil?
127
+ return false if @omit_final_dns_dot.nil?
123
128
  true
124
129
  end
125
130
 
@@ -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
 
@@ -110,14 +110,34 @@ module MailSlurpClient
110
110
  # @return Array for valid properties with the reasons
111
111
  def list_invalid_properties
112
112
  invalid_properties = Array.new
113
+ if @record_type.nil?
114
+ invalid_properties.push('invalid value for "record_type", record_type cannot be nil.')
115
+ end
116
+
117
+ if @ttl.nil?
118
+ invalid_properties.push('invalid value for "ttl", ttl cannot be nil.')
119
+ end
120
+
121
+ if @record_entries.nil?
122
+ invalid_properties.push('invalid value for "record_entries", record_entries cannot be nil.')
123
+ end
124
+
125
+ if @name.nil?
126
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
127
+ end
128
+
113
129
  invalid_properties
114
130
  end
115
131
 
116
132
  # Check to see if the all the properties in the model are valid
117
133
  # @return true if the model is valid
118
134
  def valid?
135
+ return false if @record_type.nil?
119
136
  record_type_validator = EnumAttributeValidator.new('String', ["A", "NS", "MD", "MF", "CNAME", "SOA", "MB", "MG", "MR", "NULL", "WKS", "PTR", "HINFO", "MINFO", "MX", "TXT", "RP", "AFSDB", "X25", "ISDN", "RT", "NSAP", "NSAP_PTR", "SIG", "KEY", "PX", "GPOS", "AAAA", "LOC", "NXT", "EID", "NIMLOC", "SRV", "ATMA", "NAPTR", "KX", "CERT", "A6", "DNAME", "SINK", "OPT", "APL", "DS", "SSHFP", "IPSECKEY", "RRSIG", "NSEC", "DNSKEY", "DHCID", "NSEC3", "NSEC3PARAM", "TLSA", "SMIMEA", "HIP", "NINFO", "RKEY", "TALINK", "CDS", "CDNSKEY", "OPENPGPKEY", "CSYNC", "ZONEMD", "SVCB", "HTTPS", "SPF", "UINFO", "UID", "GID", "UNSPEC", "NID", "L32", "L64", "LP", "EUI48", "EUI64", "TKEY", "TSIG", "IXFR", "AXFR", "MAILB", "MAILA", "ANY", "URI", "CAA", "AVC", "DOA", "AMTRELAY", "TA", "DLV"])
120
137
  return false unless record_type_validator.valid?(@record_type)
138
+ return false if @ttl.nil?
139
+ return false if @record_entries.nil?
140
+ return false if @name.nil?
121
141
  true
122
142
  end
123
143
 
@@ -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
 
@@ -63,12 +63,17 @@ module MailSlurpClient
63
63
  # @return Array for valid properties with the reasons
64
64
  def list_invalid_properties
65
65
  invalid_properties = Array.new
66
+ if @results.nil?
67
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
68
+ end
69
+
66
70
  invalid_properties
67
71
  end
68
72
 
69
73
  # Check to see if the all the properties in the model are valid
70
74
  # @return true if the model is valid
71
75
  def valid?
76
+ return false if @results.nil?
72
77
  true
73
78
  end
74
79
 
@@ -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
 
@@ -28,6 +28,9 @@ module MailSlurpClient
28
28
  # Unique token DKIM tokens
29
29
  attr_accessor :dkim_tokens
30
30
 
31
+ # 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
+ attr_accessor :is_verified
33
+
31
34
  # List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.
32
35
  attr_accessor :domain_name_records
33
36
 
@@ -41,8 +44,6 @@ module MailSlurpClient
41
44
  # Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
42
45
  attr_accessor :domain_type
43
46
 
44
- attr_accessor :verified
45
-
46
47
  class EnumAttributeValidator
47
48
  attr_reader :datatype
48
49
  attr_reader :allowable_values
@@ -73,12 +74,12 @@ module MailSlurpClient
73
74
  :'domain' => :'domain',
74
75
  :'verification_token' => :'verificationToken',
75
76
  :'dkim_tokens' => :'dkimTokens',
77
+ :'is_verified' => :'isVerified',
76
78
  :'domain_name_records' => :'domainNameRecords',
77
79
  :'catch_all_inbox_id' => :'catchAllInboxId',
78
80
  :'created_at' => :'createdAt',
79
81
  :'updated_at' => :'updatedAt',
80
- :'domain_type' => :'domainType',
81
- :'verified' => :'verified'
82
+ :'domain_type' => :'domainType'
82
83
  }
83
84
  end
84
85
 
@@ -90,12 +91,12 @@ module MailSlurpClient
90
91
  :'domain' => :'String',
91
92
  :'verification_token' => :'String',
92
93
  :'dkim_tokens' => :'Array<String>',
94
+ :'is_verified' => :'Boolean',
93
95
  :'domain_name_records' => :'Array<DomainNameRecord>',
94
96
  :'catch_all_inbox_id' => :'String',
95
97
  :'created_at' => :'DateTime',
96
98
  :'updated_at' => :'DateTime',
97
- :'domain_type' => :'String',
98
- :'verified' => :'Boolean'
99
+ :'domain_type' => :'String'
99
100
  }
100
101
  end
101
102
 
@@ -142,6 +143,10 @@ module MailSlurpClient
142
143
  end
143
144
  end
144
145
 
146
+ if attributes.key?(:'is_verified')
147
+ self.is_verified = attributes[:'is_verified']
148
+ end
149
+
145
150
  if attributes.key?(:'domain_name_records')
146
151
  if (value = attributes[:'domain_name_records']).is_a?(Array)
147
152
  self.domain_name_records = value
@@ -163,22 +168,68 @@ module MailSlurpClient
163
168
  if attributes.key?(:'domain_type')
164
169
  self.domain_type = attributes[:'domain_type']
165
170
  end
166
-
167
- if attributes.key?(:'verified')
168
- self.verified = attributes[:'verified']
169
- end
170
171
  end
171
172
 
172
173
  # Show invalid properties with the reasons. Usually used together with valid?
173
174
  # @return Array for valid properties with the reasons
174
175
  def list_invalid_properties
175
176
  invalid_properties = Array.new
177
+ if @id.nil?
178
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
179
+ end
180
+
181
+ if @user_id.nil?
182
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
183
+ end
184
+
185
+ if @domain.nil?
186
+ invalid_properties.push('invalid value for "domain", domain cannot be nil.')
187
+ end
188
+
189
+ if @verification_token.nil?
190
+ invalid_properties.push('invalid value for "verification_token", verification_token cannot be nil.')
191
+ end
192
+
193
+ if @dkim_tokens.nil?
194
+ invalid_properties.push('invalid value for "dkim_tokens", dkim_tokens cannot be nil.')
195
+ end
196
+
197
+ if @is_verified.nil?
198
+ invalid_properties.push('invalid value for "is_verified", is_verified cannot be nil.')
199
+ end
200
+
201
+ if @domain_name_records.nil?
202
+ invalid_properties.push('invalid value for "domain_name_records", domain_name_records cannot be nil.')
203
+ end
204
+
205
+ if @created_at.nil?
206
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
207
+ end
208
+
209
+ if @updated_at.nil?
210
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
211
+ end
212
+
213
+ if @domain_type.nil?
214
+ invalid_properties.push('invalid value for "domain_type", domain_type cannot be nil.')
215
+ end
216
+
176
217
  invalid_properties
177
218
  end
178
219
 
179
220
  # Check to see if the all the properties in the model are valid
180
221
  # @return true if the model is valid
181
222
  def valid?
223
+ return false if @id.nil?
224
+ return false if @user_id.nil?
225
+ return false if @domain.nil?
226
+ return false if @verification_token.nil?
227
+ return false if @dkim_tokens.nil?
228
+ return false if @is_verified.nil?
229
+ return false if @domain_name_records.nil?
230
+ return false if @created_at.nil?
231
+ return false if @updated_at.nil?
232
+ return false if @domain_type.nil?
182
233
  domain_type_validator = EnumAttributeValidator.new('String', ["HTTP_INBOX", "SMTP_DOMAIN"])
183
234
  return false unless domain_type_validator.valid?(@domain_type)
184
235
  true
@@ -204,12 +255,12 @@ module MailSlurpClient
204
255
  domain == o.domain &&
205
256
  verification_token == o.verification_token &&
206
257
  dkim_tokens == o.dkim_tokens &&
258
+ is_verified == o.is_verified &&
207
259
  domain_name_records == o.domain_name_records &&
208
260
  catch_all_inbox_id == o.catch_all_inbox_id &&
209
261
  created_at == o.created_at &&
210
262
  updated_at == o.updated_at &&
211
- domain_type == o.domain_type &&
212
- verified == o.verified
263
+ domain_type == o.domain_type
213
264
  end
214
265
 
215
266
  # @see the `==` method
@@ -221,7 +272,7 @@ module MailSlurpClient
221
272
  # Calculates hash code according to all attributes.
222
273
  # @return [Integer] Hash code
223
274
  def hash
224
- [id, user_id, domain, verification_token, dkim_tokens, domain_name_records, catch_all_inbox_id, created_at, updated_at, domain_type, verified].hash
275
+ [id, user_id, domain, verification_token, dkim_tokens, is_verified, domain_name_records, catch_all_inbox_id, created_at, updated_at, domain_type].hash
225
276
  end
226
277
 
227
278
  # 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
 
@@ -110,14 +110,34 @@ module MailSlurpClient
110
110
  # @return Array for valid properties with the reasons
111
111
  def list_invalid_properties
112
112
  invalid_properties = Array.new
113
+ if @record_type.nil?
114
+ invalid_properties.push('invalid value for "record_type", record_type cannot be nil.')
115
+ end
116
+
117
+ if @name.nil?
118
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
119
+ end
120
+
121
+ if @record_entries.nil?
122
+ invalid_properties.push('invalid value for "record_entries", record_entries cannot be nil.')
123
+ end
124
+
125
+ if @ttl.nil?
126
+ invalid_properties.push('invalid value for "ttl", ttl cannot be nil.')
127
+ end
128
+
113
129
  invalid_properties
114
130
  end
115
131
 
116
132
  # Check to see if the all the properties in the model are valid
117
133
  # @return true if the model is valid
118
134
  def valid?
135
+ return false if @record_type.nil?
119
136
  record_type_validator = EnumAttributeValidator.new('String', ["A", "NS", "MD", "MF", "CNAME", "SOA", "MB", "MG", "MR", "NULL", "WKS", "PTR", "HINFO", "MINFO", "MX", "TXT", "RP", "AFSDB", "X25", "ISDN", "RT", "NSAP", "NSAP_PTR", "SIG", "KEY", "PX", "GPOS", "AAAA", "LOC", "NXT", "EID", "NIMLOC", "SRV", "ATMA", "NAPTR", "KX", "CERT", "A6", "DNAME", "SINK", "OPT", "APL", "DS", "SSHFP", "IPSECKEY", "RRSIG", "NSEC", "DNSKEY", "DHCID", "NSEC3", "NSEC3PARAM", "TLSA", "SMIMEA", "HIP", "NINFO", "RKEY", "TALINK", "CDS", "CDNSKEY", "OPENPGPKEY", "CSYNC", "ZONEMD", "SVCB", "HTTPS", "SPF", "UINFO", "UID", "GID", "UNSPEC", "NID", "L32", "L64", "LP", "EUI48", "EUI64", "TKEY", "TSIG", "IXFR", "AXFR", "MAILB", "MAILA", "ANY", "URI", "CAA", "AVC", "DOA", "AMTRELAY", "TA", "DLV"])
120
137
  return false unless record_type_validator.valid?(@record_type)
138
+ return false if @name.nil?
139
+ return false if @record_entries.nil?
140
+ return false if @ttl.nil?
121
141
  true
122
142
  end
123
143
 
@@ -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
 
@@ -26,7 +26,7 @@ module MailSlurpClient
26
26
  # Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
27
27
  attr_accessor :domain_type
28
28
 
29
- attr_accessor :verified
29
+ attr_accessor :is_verified
30
30
 
31
31
  class EnumAttributeValidator
32
32
  attr_reader :datatype
@@ -58,7 +58,7 @@ module MailSlurpClient
58
58
  :'catch_all_inbox_id' => :'catchAllInboxId',
59
59
  :'created_at' => :'createdAt',
60
60
  :'domain_type' => :'domainType',
61
- :'verified' => :'verified'
61
+ :'is_verified' => :'isVerified'
62
62
  }
63
63
  end
64
64
 
@@ -70,7 +70,7 @@ module MailSlurpClient
70
70
  :'catch_all_inbox_id' => :'String',
71
71
  :'created_at' => :'DateTime',
72
72
  :'domain_type' => :'String',
73
- :'verified' => :'Boolean'
73
+ :'is_verified' => :'Boolean'
74
74
  }
75
75
  end
76
76
 
@@ -115,8 +115,8 @@ module MailSlurpClient
115
115
  self.domain_type = attributes[:'domain_type']
116
116
  end
117
117
 
118
- if attributes.key?(:'verified')
119
- self.verified = attributes[:'verified']
118
+ if attributes.key?(:'is_verified')
119
+ self.is_verified = attributes[:'is_verified']
120
120
  end
121
121
  end
122
122
 
@@ -124,14 +124,39 @@ module MailSlurpClient
124
124
  # @return Array for valid properties with the reasons
125
125
  def list_invalid_properties
126
126
  invalid_properties = Array.new
127
+ if @id.nil?
128
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
129
+ end
130
+
131
+ if @domain.nil?
132
+ invalid_properties.push('invalid value for "domain", domain cannot be nil.')
133
+ end
134
+
135
+ if @created_at.nil?
136
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
137
+ end
138
+
139
+ if @domain_type.nil?
140
+ invalid_properties.push('invalid value for "domain_type", domain_type cannot be nil.')
141
+ end
142
+
143
+ if @is_verified.nil?
144
+ invalid_properties.push('invalid value for "is_verified", is_verified cannot be nil.')
145
+ end
146
+
127
147
  invalid_properties
128
148
  end
129
149
 
130
150
  # Check to see if the all the properties in the model are valid
131
151
  # @return true if the model is valid
132
152
  def valid?
153
+ return false if @id.nil?
154
+ return false if @domain.nil?
155
+ return false if @created_at.nil?
156
+ return false if @domain_type.nil?
133
157
  domain_type_validator = EnumAttributeValidator.new('String', ["HTTP_INBOX", "SMTP_DOMAIN"])
134
158
  return false unless domain_type_validator.valid?(@domain_type)
159
+ return false if @is_verified.nil?
135
160
  true
136
161
  end
137
162
 
@@ -155,7 +180,7 @@ module MailSlurpClient
155
180
  catch_all_inbox_id == o.catch_all_inbox_id &&
156
181
  created_at == o.created_at &&
157
182
  domain_type == o.domain_type &&
158
- verified == o.verified
183
+ is_verified == o.is_verified
159
184
  end
160
185
 
161
186
  # @see the `==` method
@@ -167,7 +192,7 @@ module MailSlurpClient
167
192
  # Calculates hash code according to all attributes.
168
193
  # @return [Integer] Hash code
169
194
  def hash
170
- [id, domain, catch_all_inbox_id, created_at, domain_type, verified].hash
195
+ [id, domain, catch_all_inbox_id, created_at, domain_type, is_verified].hash
171
196
  end
172
197
 
173
198
  # 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
 
@@ -80,12 +80,27 @@ module MailSlurpClient
80
80
  # @return Array for valid properties with the reasons
81
81
  def list_invalid_properties
82
82
  invalid_properties = Array.new
83
+ if @base64_file_contents.nil?
84
+ invalid_properties.push('invalid value for "base64_file_contents", base64_file_contents cannot be nil.')
85
+ end
86
+
87
+ if @content_type.nil?
88
+ invalid_properties.push('invalid value for "content_type", content_type cannot be nil.')
89
+ end
90
+
91
+ if @size_bytes.nil?
92
+ invalid_properties.push('invalid value for "size_bytes", size_bytes cannot be nil.')
93
+ end
94
+
83
95
  invalid_properties
84
96
  end
85
97
 
86
98
  # Check to see if the all the properties in the model are valid
87
99
  # @return true if the model is valid
88
100
  def valid?
101
+ return false if @base64_file_contents.nil?
102
+ return false if @content_type.nil?
103
+ return false if @size_bytes.nil?
89
104
  true
90
105
  end
91
106
 
@@ -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,6 +61,9 @@ module MailSlurpClient
61
61
  # A hash signature of the email message using MD5. Useful for comparing emails without fetching full body.
62
62
  attr_accessor :body_md5_hash
63
63
 
64
+ # Is the email body content type HTML?
65
+ attr_accessor :is_html
66
+
64
67
  # Detected character set of the email body such as UTF-8
65
68
  attr_accessor :charset
66
69
 
@@ -78,8 +81,6 @@ module MailSlurpClient
78
81
  # Can the email be accessed by organization team members
79
82
  attr_accessor :team_access
80
83
 
81
- attr_accessor :html
82
-
83
84
  # Attribute mapping from ruby-style variable name to JSON key.
84
85
  def self.attribute_map
85
86
  {
@@ -99,13 +100,13 @@ module MailSlurpClient
99
100
  :'body' => :'body',
100
101
  :'body_excerpt' => :'bodyExcerpt',
101
102
  :'body_md5_hash' => :'bodyMD5Hash',
103
+ :'is_html' => :'isHTML',
102
104
  :'charset' => :'charset',
103
105
  :'analysis' => :'analysis',
104
106
  :'created_at' => :'createdAt',
105
107
  :'updated_at' => :'updatedAt',
106
108
  :'read' => :'read',
107
- :'team_access' => :'teamAccess',
108
- :'html' => :'html'
109
+ :'team_access' => :'teamAccess'
109
110
  }
110
111
  end
111
112
 
@@ -128,13 +129,13 @@ module MailSlurpClient
128
129
  :'body' => :'String',
129
130
  :'body_excerpt' => :'String',
130
131
  :'body_md5_hash' => :'String',
132
+ :'is_html' => :'Boolean',
131
133
  :'charset' => :'String',
132
134
  :'analysis' => :'EmailAnalysis',
133
135
  :'created_at' => :'DateTime',
134
136
  :'updated_at' => :'DateTime',
135
137
  :'read' => :'Boolean',
136
- :'team_access' => :'Boolean',
137
- :'html' => :'Boolean'
138
+ :'team_access' => :'Boolean'
138
139
  }
139
140
  end
140
141
 
@@ -233,6 +234,10 @@ module MailSlurpClient
233
234
  self.body_md5_hash = attributes[:'body_md5_hash']
234
235
  end
235
236
 
237
+ if attributes.key?(:'is_html')
238
+ self.is_html = attributes[:'is_html']
239
+ end
240
+
236
241
  if attributes.key?(:'charset')
237
242
  self.charset = attributes[:'charset']
238
243
  end
@@ -256,22 +261,58 @@ module MailSlurpClient
256
261
  if attributes.key?(:'team_access')
257
262
  self.team_access = attributes[:'team_access']
258
263
  end
259
-
260
- if attributes.key?(:'html')
261
- self.html = attributes[:'html']
262
- end
263
264
  end
264
265
 
265
266
  # Show invalid properties with the reasons. Usually used together with valid?
266
267
  # @return Array for valid properties with the reasons
267
268
  def list_invalid_properties
268
269
  invalid_properties = Array.new
270
+ if @id.nil?
271
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
272
+ end
273
+
274
+ if @user_id.nil?
275
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
276
+ end
277
+
278
+ if @inbox_id.nil?
279
+ invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
280
+ end
281
+
282
+ if @to.nil?
283
+ invalid_properties.push('invalid value for "to", to cannot be nil.')
284
+ end
285
+
286
+ if @created_at.nil?
287
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
288
+ end
289
+
290
+ if @updated_at.nil?
291
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
292
+ end
293
+
294
+ if @read.nil?
295
+ invalid_properties.push('invalid value for "read", read cannot be nil.')
296
+ end
297
+
298
+ if @team_access.nil?
299
+ invalid_properties.push('invalid value for "team_access", team_access cannot be nil.')
300
+ end
301
+
269
302
  invalid_properties
270
303
  end
271
304
 
272
305
  # Check to see if the all the properties in the model are valid
273
306
  # @return true if the model is valid
274
307
  def valid?
308
+ return false if @id.nil?
309
+ return false if @user_id.nil?
310
+ return false if @inbox_id.nil?
311
+ return false if @to.nil?
312
+ return false if @created_at.nil?
313
+ return false if @updated_at.nil?
314
+ return false if @read.nil?
315
+ return false if @team_access.nil?
275
316
  true
276
317
  end
277
318
 
@@ -296,13 +337,13 @@ module MailSlurpClient
296
337
  body == o.body &&
297
338
  body_excerpt == o.body_excerpt &&
298
339
  body_md5_hash == o.body_md5_hash &&
340
+ is_html == o.is_html &&
299
341
  charset == o.charset &&
300
342
  analysis == o.analysis &&
301
343
  created_at == o.created_at &&
302
344
  updated_at == o.updated_at &&
303
345
  read == o.read &&
304
- team_access == o.team_access &&
305
- html == o.html
346
+ team_access == o.team_access
306
347
  end
307
348
 
308
349
  # @see the `==` method
@@ -314,7 +355,7 @@ module MailSlurpClient
314
355
  # Calculates hash code according to all attributes.
315
356
  # @return [Integer] Hash code
316
357
  def hash
317
- [id, user_id, inbox_id, to, from, sender, recipients, reply_to, cc, bcc, headers, attachments, subject, body, body_excerpt, body_md5_hash, charset, analysis, created_at, updated_at, read, team_access, html].hash
358
+ [id, user_id, inbox_id, to, from, sender, recipients, reply_to, cc, bcc, headers, attachments, subject, body, body_excerpt, body_md5_hash, is_html, charset, analysis, created_at, updated_at, read, team_access].hash
318
359
  end
319
360
 
320
361
  # 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