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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -85,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
 
@@ -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
 
@@ -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
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -93,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
@@ -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
 
@@ -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
 
@@ -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
 
@@ -18,6 +18,8 @@ module MailSlurpClient
18
18
 
19
19
  attr_accessor :group_id
20
20
 
21
+ attr_accessor :created_at
22
+
21
23
  attr_accessor :first_name
22
24
 
23
25
  attr_accessor :last_name
@@ -28,19 +30,17 @@ module MailSlurpClient
28
30
 
29
31
  attr_accessor :opt_out
30
32
 
31
- attr_accessor :created_at
32
-
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
36
  :'id' => :'id',
37
37
  :'group_id' => :'groupId',
38
+ :'created_at' => :'createdAt',
38
39
  :'first_name' => :'firstName',
39
40
  :'last_name' => :'lastName',
40
41
  :'company' => :'company',
41
42
  :'email_addresses' => :'emailAddresses',
42
- :'opt_out' => :'optOut',
43
- :'created_at' => :'createdAt'
43
+ :'opt_out' => :'optOut'
44
44
  }
45
45
  end
46
46
 
@@ -49,12 +49,12 @@ module MailSlurpClient
49
49
  {
50
50
  :'id' => :'String',
51
51
  :'group_id' => :'String',
52
+ :'created_at' => :'DateTime',
52
53
  :'first_name' => :'String',
53
54
  :'last_name' => :'String',
54
55
  :'company' => :'String',
55
56
  :'email_addresses' => :'Array<String>',
56
- :'opt_out' => :'Boolean',
57
- :'created_at' => :'DateTime'
57
+ :'opt_out' => :'Boolean'
58
58
  }
59
59
  end
60
60
 
@@ -87,6 +87,10 @@ module MailSlurpClient
87
87
  self.group_id = attributes[:'group_id']
88
88
  end
89
89
 
90
+ if attributes.key?(:'created_at')
91
+ self.created_at = attributes[:'created_at']
92
+ end
93
+
90
94
  if attributes.key?(:'first_name')
91
95
  self.first_name = attributes[:'first_name']
92
96
  end
@@ -108,22 +112,28 @@ module MailSlurpClient
108
112
  if attributes.key?(:'opt_out')
109
113
  self.opt_out = attributes[:'opt_out']
110
114
  end
111
-
112
- if attributes.key?(:'created_at')
113
- self.created_at = attributes[:'created_at']
114
- end
115
115
  end
116
116
 
117
117
  # Show invalid properties with the reasons. Usually used together with valid?
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
 
@@ -134,12 +144,12 @@ module MailSlurpClient
134
144
  self.class == o.class &&
135
145
  id == o.id &&
136
146
  group_id == o.group_id &&
147
+ created_at == o.created_at &&
137
148
  first_name == o.first_name &&
138
149
  last_name == o.last_name &&
139
150
  company == o.company &&
140
151
  email_addresses == o.email_addresses &&
141
- opt_out == o.opt_out &&
142
- created_at == o.created_at
152
+ opt_out == o.opt_out
143
153
  end
144
154
 
145
155
  # @see the `==` method
@@ -151,7 +161,7 @@ module MailSlurpClient
151
161
  # Calculates hash code according to all attributes.
152
162
  # @return [Integer] Hash code
153
163
  def hash
154
- [id, group_id, first_name, last_name, company, email_addresses, opt_out, created_at].hash
164
+ [id, group_id, created_at, first_name, last_name, company, email_addresses, opt_out].hash
155
165
  end
156
166
 
157
167
  # 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
 
@@ -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
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -60,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
 
@@ -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
 
@@ -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
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -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
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10
 
@@ -110,12 +110,17 @@ 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 @url.nil?
114
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
115
+ end
116
+
113
117
  invalid_properties
114
118
  end
115
119
 
116
120
  # Check to see if the all the properties in the model are valid
117
121
  # @return true if the model is valid
118
122
  def valid?
123
+ return false if @url.nil?
119
124
  event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ"])
120
125
  return false unless event_name_validator.valid?(@event_name)
121
126
  true
@@ -4,7 +4,7 @@
4
4
  #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
5
 
6
6
  The version of the OpenAPI document: 6.5.2
7
-
7
+ Contact: contact@mailslurp.dev
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
10
10