mailslurp_client 15.0.2 → 15.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/lib/mailslurp_client/api/alias_controller_api.rb +60 -56
  4. data/lib/mailslurp_client/api/attachment_controller_api.rb +50 -61
  5. data/lib/mailslurp_client/api/bounce_controller_api.rb +27 -19
  6. data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +16 -16
  7. data/lib/mailslurp_client/api/common_actions_controller_api.rb +129 -68
  8. data/lib/mailslurp_client/api/contact_controller_api.rb +23 -23
  9. data/lib/mailslurp_client/api/domain_controller_api.rb +33 -33
  10. data/lib/mailslurp_client/api/email_controller_api.rb +191 -117
  11. data/lib/mailslurp_client/api/expired_controller_api.rb +20 -20
  12. data/lib/mailslurp_client/api/export_controller_api.rb +39 -39
  13. data/lib/mailslurp_client/api/form_controller_api.rb +17 -19
  14. data/lib/mailslurp_client/api/group_controller_api.rb +53 -53
  15. data/lib/mailslurp_client/api/inbox_controller_api.rb +360 -226
  16. data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +34 -30
  17. data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +34 -30
  18. data/lib/mailslurp_client/api/mail_server_controller_api.rb +27 -27
  19. data/lib/mailslurp_client/api/missed_email_controller_api.rb +55 -43
  20. data/lib/mailslurp_client/api/sent_emails_controller_api.rb +158 -48
  21. data/lib/mailslurp_client/api/template_controller_api.rb +22 -22
  22. data/lib/mailslurp_client/api/tracking_controller_api.rb +17 -17
  23. data/lib/mailslurp_client/api/wait_for_controller_api.rb +129 -89
  24. data/lib/mailslurp_client/api/webhook_controller_api.rb +103 -87
  25. data/lib/mailslurp_client/api_client.rb +1 -1
  26. data/lib/mailslurp_client/api_error.rb +1 -1
  27. data/lib/mailslurp_client/configuration.rb +3 -3
  28. data/lib/mailslurp_client/models/abstract_webhook_payload.rb +11 -26
  29. data/lib/mailslurp_client/models/alias_dto.rb +46 -57
  30. data/lib/mailslurp_client/models/alias_projection.rb +38 -68
  31. data/lib/mailslurp_client/models/attachment_entity.rb +35 -55
  32. data/lib/mailslurp_client/models/attachment_meta_data.rb +22 -22
  33. data/lib/mailslurp_client/models/attachment_projection.rb +30 -45
  34. data/lib/mailslurp_client/models/basic_auth_options.rb +1 -11
  35. data/lib/mailslurp_client/models/bounce_projection.rb +14 -24
  36. data/lib/mailslurp_client/models/bounce_recipient.rb +23 -43
  37. data/lib/mailslurp_client/models/bounced_email_dto.rb +57 -77
  38. data/lib/mailslurp_client/models/bounced_recipient_dto.rb +17 -32
  39. data/lib/mailslurp_client/models/bulk_send_email_options.rb +6 -1
  40. data/lib/mailslurp_client/models/condition_option.rb +3 -3
  41. data/lib/mailslurp_client/models/contact_dto.rb +54 -74
  42. data/lib/mailslurp_client/models/contact_projection.rb +43 -53
  43. data/lib/mailslurp_client/models/content_match_options.rb +1 -1
  44. data/lib/mailslurp_client/models/count_dto.rb +206 -0
  45. data/lib/mailslurp_client/models/create_alias_options.rb +1 -1
  46. data/lib/mailslurp_client/models/create_contact_options.rb +43 -43
  47. data/lib/mailslurp_client/models/create_domain_options.rb +22 -17
  48. data/lib/mailslurp_client/models/create_group_options.rb +1 -6
  49. data/lib/mailslurp_client/models/create_inbox_dto.rb +59 -59
  50. data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +20 -15
  51. data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +24 -24
  52. data/lib/mailslurp_client/models/create_template_options.rb +1 -11
  53. data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -1
  54. data/lib/mailslurp_client/models/create_webhook_options.rb +19 -19
  55. data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
  56. data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +16 -26
  57. data/lib/mailslurp_client/models/dns_lookup_options.rb +25 -15
  58. data/lib/mailslurp_client/models/dns_lookup_result.rb +24 -43
  59. data/lib/mailslurp_client/models/dns_lookup_results.rb +1 -6
  60. data/lib/mailslurp_client/models/domain_dto.rb +60 -81
  61. data/lib/mailslurp_client/models/domain_name_record.rb +12 -31
  62. data/lib/mailslurp_client/models/domain_preview.rb +27 -51
  63. data/lib/mailslurp_client/models/download_attachment_dto.rb +1 -1
  64. data/lib/mailslurp_client/models/email.rb +135 -136
  65. data/lib/mailslurp_client/models/email_analysis.rb +29 -29
  66. data/lib/mailslurp_client/models/email_content_match_result.rb +14 -24
  67. data/lib/mailslurp_client/models/email_links_result.rb +14 -24
  68. data/lib/mailslurp_client/models/email_preview.rb +48 -48
  69. data/lib/mailslurp_client/models/email_projection.rb +67 -87
  70. data/lib/mailslurp_client/models/email_recipients.rb +17 -16
  71. data/lib/mailslurp_client/models/email_text_lines_result.rb +14 -24
  72. data/lib/mailslurp_client/models/email_verification_result.rb +17 -37
  73. data/lib/mailslurp_client/models/expiration_defaults.rb +17 -27
  74. data/lib/mailslurp_client/models/expired_inbox_dto.rb +14 -29
  75. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +23 -43
  76. data/lib/mailslurp_client/models/export_link.rb +1 -6
  77. data/lib/mailslurp_client/models/export_options.rb +2 -7
  78. data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +14 -24
  79. data/lib/mailslurp_client/models/forward_email_options.rb +37 -32
  80. data/lib/mailslurp_client/models/gravatar_url.rb +14 -24
  81. data/lib/mailslurp_client/models/group_contacts_dto.rb +14 -24
  82. data/lib/mailslurp_client/models/group_dto.rb +23 -38
  83. data/lib/mailslurp_client/models/group_projection.rb +23 -38
  84. data/lib/mailslurp_client/models/html_validation_result.rb +14 -15
  85. data/lib/mailslurp_client/models/{inbox.rb → inbox_dto.rb} +48 -58
  86. data/lib/mailslurp_client/models/inbox_exists_dto.rb +1 -6
  87. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +32 -62
  88. data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -6
  89. data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +14 -24
  90. data/lib/mailslurp_client/models/inbox_preview.rb +39 -39
  91. data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +44 -79
  92. data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -6
  93. data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +14 -19
  94. data/lib/mailslurp_client/models/inline_object.rb +221 -0
  95. data/lib/mailslurp_client/models/ip_address_result.rb +1 -11
  96. data/lib/mailslurp_client/models/json_schema_dto.rb +1 -6
  97. data/lib/mailslurp_client/models/match_option.rb +8 -3
  98. data/lib/mailslurp_client/models/match_options.rb +17 -17
  99. data/lib/mailslurp_client/models/missed_email.rb +68 -103
  100. data/lib/mailslurp_client/models/missed_email_projection.rb +20 -30
  101. data/lib/mailslurp_client/models/name_server_record.rb +11 -31
  102. data/lib/mailslurp_client/models/organization_inbox_projection.rb +45 -45
  103. data/lib/mailslurp_client/models/page_alias.rb +50 -50
  104. data/lib/mailslurp_client/models/page_attachment_entity.rb +50 -50
  105. data/lib/mailslurp_client/models/page_bounced_email.rb +50 -50
  106. data/lib/mailslurp_client/models/page_bounced_recipients.rb +50 -50
  107. data/lib/mailslurp_client/models/page_contact_projection.rb +50 -50
  108. data/lib/mailslurp_client/models/page_email_preview.rb +50 -50
  109. data/lib/mailslurp_client/models/page_email_projection.rb +50 -50
  110. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +50 -50
  111. data/lib/mailslurp_client/models/page_group_projection.rb +50 -50
  112. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +50 -50
  113. data/lib/mailslurp_client/models/page_inbox_projection.rb +50 -50
  114. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +50 -50
  115. data/lib/mailslurp_client/models/page_missed_email_projection.rb +50 -50
  116. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +50 -50
  117. data/lib/mailslurp_client/models/page_sent_email_projection.rb +50 -50
  118. data/lib/mailslurp_client/models/page_template_projection.rb +50 -50
  119. data/lib/mailslurp_client/models/page_thread_projection.rb +50 -50
  120. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +50 -50
  121. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +50 -50
  122. data/lib/mailslurp_client/models/page_webhook_projection.rb +50 -50
  123. data/lib/mailslurp_client/models/page_webhook_result.rb +50 -50
  124. data/lib/mailslurp_client/models/pageable.rb +29 -29
  125. data/lib/mailslurp_client/models/raw_email_json.rb +1 -6
  126. data/lib/mailslurp_client/models/recipient.rb +14 -24
  127. data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +39 -38
  128. data/lib/mailslurp_client/models/reply_to_email_options.rb +52 -51
  129. data/lib/mailslurp_client/models/send_email_options.rb +108 -116
  130. data/lib/mailslurp_client/models/sender.rb +15 -24
  131. data/lib/mailslurp_client/models/sent_email_dto.rb +98 -103
  132. data/lib/mailslurp_client/models/sent_email_projection.rb +64 -103
  133. data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
  134. data/lib/mailslurp_client/models/simple_send_email_options.rb +25 -25
  135. data/lib/mailslurp_client/models/sort.rb +14 -14
  136. data/lib/mailslurp_client/models/template_dto.rb +23 -48
  137. data/lib/mailslurp_client/models/template_projection.rb +26 -51
  138. data/lib/mailslurp_client/models/template_variable.rb +1 -11
  139. data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -11
  140. data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -11
  141. data/lib/mailslurp_client/models/thread_projection.rb +58 -93
  142. data/lib/mailslurp_client/models/tracking_pixel_dto.rb +44 -69
  143. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +35 -55
  144. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +20 -30
  145. data/lib/mailslurp_client/models/unread_count.rb +1 -6
  146. data/lib/mailslurp_client/models/unseen_error_count_dto.rb +1 -6
  147. data/lib/mailslurp_client/models/update_alias_options.rb +1 -1
  148. data/lib/mailslurp_client/models/update_domain_options.rb +1 -1
  149. data/lib/mailslurp_client/models/update_group_contacts.rb +1 -6
  150. data/lib/mailslurp_client/models/update_inbox_options.rb +27 -27
  151. data/lib/mailslurp_client/models/upload_attachment_options.rb +15 -15
  152. data/lib/mailslurp_client/models/validation_dto.rb +1 -1
  153. data/lib/mailslurp_client/models/validation_message.rb +2 -6
  154. data/lib/mailslurp_client/models/verify_email_address_options.rb +1 -6
  155. data/lib/mailslurp_client/models/wait_for_conditions.rb +49 -59
  156. data/lib/mailslurp_client/models/webhook_dto.rb +65 -70
  157. data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +43 -43
  158. data/lib/mailslurp_client/models/webhook_email_read_payload.rb +50 -50
  159. data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +44 -44
  160. data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +76 -96
  161. data/lib/mailslurp_client/models/webhook_new_email_payload.rb +85 -85
  162. data/lib/mailslurp_client/models/webhook_projection.rb +35 -60
  163. data/lib/mailslurp_client/models/webhook_redrive_result.rb +14 -24
  164. data/lib/mailslurp_client/models/webhook_result_dto.rb +77 -127
  165. data/lib/mailslurp_client/models/webhook_test_request.rb +22 -37
  166. data/lib/mailslurp_client/models/webhook_test_response.rb +14 -14
  167. data/lib/mailslurp_client/models/webhook_test_result.rb +14 -24
  168. data/lib/mailslurp_client/version.rb +2 -2
  169. data/lib/mailslurp_client.rb +4 -2
  170. metadata +5 -3
@@ -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
 
@@ -15,23 +15,23 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Parsed text of an email
17
17
  class EmailTextLinesResult
18
- attr_accessor :body
19
-
20
18
  attr_accessor :lines
21
19
 
20
+ attr_accessor :body
21
+
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'body' => :'body',
26
- :'lines' => :'lines'
25
+ :'lines' => :'lines',
26
+ :'body' => :'body'
27
27
  }
28
28
  end
29
29
 
30
30
  # Attribute type mapping.
31
31
  def self.openapi_types
32
32
  {
33
- :'body' => :'String',
34
- :'lines' => :'Array<String>'
33
+ :'lines' => :'Array<String>',
34
+ :'body' => :'String'
35
35
  }
36
36
  end
37
37
 
@@ -56,37 +56,27 @@ module MailSlurpClient
56
56
  h[k.to_sym] = v
57
57
  }
58
58
 
59
- if attributes.key?(:'body')
60
- self.body = attributes[:'body']
61
- end
62
-
63
59
  if attributes.key?(:'lines')
64
60
  if (value = attributes[:'lines']).is_a?(Array)
65
61
  self.lines = value
66
62
  end
67
63
  end
64
+
65
+ if attributes.key?(:'body')
66
+ self.body = attributes[:'body']
67
+ end
68
68
  end
69
69
 
70
70
  # Show invalid properties with the reasons. Usually used together with valid?
71
71
  # @return Array for valid properties with the reasons
72
72
  def list_invalid_properties
73
73
  invalid_properties = Array.new
74
- if @body.nil?
75
- invalid_properties.push('invalid value for "body", body cannot be nil.')
76
- end
77
-
78
- if @lines.nil?
79
- invalid_properties.push('invalid value for "lines", lines cannot be nil.')
80
- end
81
-
82
74
  invalid_properties
83
75
  end
84
76
 
85
77
  # Check to see if the all the properties in the model are valid
86
78
  # @return true if the model is valid
87
79
  def valid?
88
- return false if @body.nil?
89
- return false if @lines.nil?
90
80
  true
91
81
  end
92
82
 
@@ -95,8 +85,8 @@ module MailSlurpClient
95
85
  def ==(o)
96
86
  return true if self.equal?(o)
97
87
  self.class == o.class &&
98
- body == o.body &&
99
- lines == o.lines
88
+ lines == o.lines &&
89
+ body == o.body
100
90
  end
101
91
 
102
92
  # @see the `==` method
@@ -108,7 +98,7 @@ module MailSlurpClient
108
98
  # Calculates hash code according to all attributes.
109
99
  # @return [Integer] Hash code
110
100
  def hash
111
- [body, lines].hash
101
+ [lines, body].hash
112
102
  end
113
103
 
114
104
  # 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
 
@@ -17,22 +17,22 @@ module MailSlurpClient
17
17
  class EmailVerificationResult
18
18
  attr_accessor :domain_name
19
19
 
20
+ attr_accessor :port
21
+
20
22
  attr_accessor :email_address
21
23
 
22
24
  attr_accessor :error
23
25
 
24
- attr_accessor :is_valid
25
-
26
- attr_accessor :port
26
+ attr_accessor :valid
27
27
 
28
28
  # Attribute mapping from ruby-style variable name to JSON key.
29
29
  def self.attribute_map
30
30
  {
31
31
  :'domain_name' => :'domainName',
32
+ :'port' => :'port',
32
33
  :'email_address' => :'emailAddress',
33
34
  :'error' => :'error',
34
- :'is_valid' => :'isValid',
35
- :'port' => :'port'
35
+ :'valid' => :'valid'
36
36
  }
37
37
  end
38
38
 
@@ -40,10 +40,10 @@ module MailSlurpClient
40
40
  def self.openapi_types
41
41
  {
42
42
  :'domain_name' => :'String',
43
+ :'port' => :'Integer',
43
44
  :'email_address' => :'String',
44
45
  :'error' => :'String',
45
- :'is_valid' => :'Boolean',
46
- :'port' => :'Integer'
46
+ :'valid' => :'Boolean'
47
47
  }
48
48
  end
49
49
 
@@ -72,6 +72,10 @@ module MailSlurpClient
72
72
  self.domain_name = attributes[:'domain_name']
73
73
  end
74
74
 
75
+ if attributes.key?(:'port')
76
+ self.port = attributes[:'port']
77
+ end
78
+
75
79
  if attributes.key?(:'email_address')
76
80
  self.email_address = attributes[:'email_address']
77
81
  end
@@ -80,12 +84,8 @@ module MailSlurpClient
80
84
  self.error = attributes[:'error']
81
85
  end
82
86
 
83
- if attributes.key?(:'is_valid')
84
- self.is_valid = attributes[:'is_valid']
85
- end
86
-
87
- if attributes.key?(:'port')
88
- self.port = attributes[:'port']
87
+ if attributes.key?(:'valid')
88
+ self.valid = attributes[:'valid']
89
89
  end
90
90
  end
91
91
 
@@ -93,32 +93,12 @@ module MailSlurpClient
93
93
  # @return Array for valid properties with the reasons
94
94
  def list_invalid_properties
95
95
  invalid_properties = Array.new
96
- if @domain_name.nil?
97
- invalid_properties.push('invalid value for "domain_name", domain_name cannot be nil.')
98
- end
99
-
100
- if @email_address.nil?
101
- invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
102
- end
103
-
104
- if @is_valid.nil?
105
- invalid_properties.push('invalid value for "is_valid", is_valid cannot be nil.')
106
- end
107
-
108
- if @port.nil?
109
- invalid_properties.push('invalid value for "port", port cannot be nil.')
110
- end
111
-
112
96
  invalid_properties
113
97
  end
114
98
 
115
99
  # Check to see if the all the properties in the model are valid
116
100
  # @return true if the model is valid
117
101
  def valid?
118
- return false if @domain_name.nil?
119
- return false if @email_address.nil?
120
- return false if @is_valid.nil?
121
- return false if @port.nil?
122
102
  true
123
103
  end
124
104
 
@@ -128,10 +108,10 @@ module MailSlurpClient
128
108
  return true if self.equal?(o)
129
109
  self.class == o.class &&
130
110
  domain_name == o.domain_name &&
111
+ port == o.port &&
131
112
  email_address == o.email_address &&
132
113
  error == o.error &&
133
- is_valid == o.is_valid &&
134
- port == o.port
114
+ valid == o.valid
135
115
  end
136
116
 
137
117
  # @see the `==` method
@@ -143,7 +123,7 @@ module MailSlurpClient
143
123
  # Calculates hash code according to all attributes.
144
124
  # @return [Integer] Hash code
145
125
  def hash
146
- [domain_name, email_address, error, is_valid, port].hash
126
+ [domain_name, port, email_address, error, valid].hash
147
127
  end
148
128
 
149
129
  # 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
 
@@ -15,23 +15,23 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Expiration defaults for your account
17
17
  class ExpirationDefaults
18
- attr_accessor :can_permanent_inbox
19
-
20
18
  attr_accessor :default_expiration_millis
21
19
 
20
+ attr_accessor :max_expiration_millis
21
+
22
22
  attr_accessor :default_expires_at
23
23
 
24
- attr_accessor :max_expiration_millis
24
+ attr_accessor :can_permanent_inbox
25
25
 
26
26
  attr_accessor :next_inbox_allows_permanent
27
27
 
28
28
  # Attribute mapping from ruby-style variable name to JSON key.
29
29
  def self.attribute_map
30
30
  {
31
- :'can_permanent_inbox' => :'canPermanentInbox',
32
31
  :'default_expiration_millis' => :'defaultExpirationMillis',
33
- :'default_expires_at' => :'defaultExpiresAt',
34
32
  :'max_expiration_millis' => :'maxExpirationMillis',
33
+ :'default_expires_at' => :'defaultExpiresAt',
34
+ :'can_permanent_inbox' => :'canPermanentInbox',
35
35
  :'next_inbox_allows_permanent' => :'nextInboxAllowsPermanent'
36
36
  }
37
37
  end
@@ -39,10 +39,10 @@ module MailSlurpClient
39
39
  # Attribute type mapping.
40
40
  def self.openapi_types
41
41
  {
42
- :'can_permanent_inbox' => :'Boolean',
43
42
  :'default_expiration_millis' => :'Integer',
44
- :'default_expires_at' => :'DateTime',
45
43
  :'max_expiration_millis' => :'Integer',
44
+ :'default_expires_at' => :'DateTime',
45
+ :'can_permanent_inbox' => :'Boolean',
46
46
  :'next_inbox_allows_permanent' => :'Boolean'
47
47
  }
48
48
  end
@@ -68,20 +68,20 @@ module MailSlurpClient
68
68
  h[k.to_sym] = v
69
69
  }
70
70
 
71
- if attributes.key?(:'can_permanent_inbox')
72
- self.can_permanent_inbox = attributes[:'can_permanent_inbox']
73
- end
74
-
75
71
  if attributes.key?(:'default_expiration_millis')
76
72
  self.default_expiration_millis = attributes[:'default_expiration_millis']
77
73
  end
78
74
 
75
+ if attributes.key?(:'max_expiration_millis')
76
+ self.max_expiration_millis = attributes[:'max_expiration_millis']
77
+ end
78
+
79
79
  if attributes.key?(:'default_expires_at')
80
80
  self.default_expires_at = attributes[:'default_expires_at']
81
81
  end
82
82
 
83
- if attributes.key?(:'max_expiration_millis')
84
- self.max_expiration_millis = attributes[:'max_expiration_millis']
83
+ if attributes.key?(:'can_permanent_inbox')
84
+ self.can_permanent_inbox = attributes[:'can_permanent_inbox']
85
85
  end
86
86
 
87
87
  if attributes.key?(:'next_inbox_allows_permanent')
@@ -93,22 +93,12 @@ module MailSlurpClient
93
93
  # @return Array for valid properties with the reasons
94
94
  def list_invalid_properties
95
95
  invalid_properties = Array.new
96
- if @can_permanent_inbox.nil?
97
- invalid_properties.push('invalid value for "can_permanent_inbox", can_permanent_inbox cannot be nil.')
98
- end
99
-
100
- if @next_inbox_allows_permanent.nil?
101
- invalid_properties.push('invalid value for "next_inbox_allows_permanent", next_inbox_allows_permanent cannot be nil.')
102
- end
103
-
104
96
  invalid_properties
105
97
  end
106
98
 
107
99
  # Check to see if the all the properties in the model are valid
108
100
  # @return true if the model is valid
109
101
  def valid?
110
- return false if @can_permanent_inbox.nil?
111
- return false if @next_inbox_allows_permanent.nil?
112
102
  true
113
103
  end
114
104
 
@@ -117,10 +107,10 @@ module MailSlurpClient
117
107
  def ==(o)
118
108
  return true if self.equal?(o)
119
109
  self.class == o.class &&
120
- can_permanent_inbox == o.can_permanent_inbox &&
121
110
  default_expiration_millis == o.default_expiration_millis &&
122
- default_expires_at == o.default_expires_at &&
123
111
  max_expiration_millis == o.max_expiration_millis &&
112
+ default_expires_at == o.default_expires_at &&
113
+ can_permanent_inbox == o.can_permanent_inbox &&
124
114
  next_inbox_allows_permanent == o.next_inbox_allows_permanent
125
115
  end
126
116
 
@@ -133,7 +123,7 @@ module MailSlurpClient
133
123
  # Calculates hash code according to all attributes.
134
124
  # @return [Integer] Hash code
135
125
  def hash
136
- [can_permanent_inbox, default_expiration_millis, default_expires_at, max_expiration_millis, next_inbox_allows_permanent].hash
126
+ [default_expiration_millis, max_expiration_millis, default_expires_at, can_permanent_inbox, next_inbox_allows_permanent].hash
137
127
  end
138
128
 
139
129
  # 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
 
@@ -15,27 +15,27 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Expired inbox
17
17
  class ExpiredInboxDto
18
- attr_accessor :email_address
19
-
20
18
  attr_accessor :id
21
19
 
22
20
  attr_accessor :inbox_id
23
21
 
22
+ attr_accessor :email_address
23
+
24
24
  # Attribute mapping from ruby-style variable name to JSON key.
25
25
  def self.attribute_map
26
26
  {
27
- :'email_address' => :'emailAddress',
28
27
  :'id' => :'id',
29
- :'inbox_id' => :'inboxId'
28
+ :'inbox_id' => :'inboxId',
29
+ :'email_address' => :'emailAddress'
30
30
  }
31
31
  end
32
32
 
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'email_address' => :'String',
37
36
  :'id' => :'String',
38
- :'inbox_id' => :'String'
37
+ :'inbox_id' => :'String',
38
+ :'email_address' => :'String'
39
39
  }
40
40
  end
41
41
 
@@ -60,10 +60,6 @@ module MailSlurpClient
60
60
  h[k.to_sym] = v
61
61
  }
62
62
 
63
- if attributes.key?(:'email_address')
64
- self.email_address = attributes[:'email_address']
65
- end
66
-
67
63
  if attributes.key?(:'id')
68
64
  self.id = attributes[:'id']
69
65
  end
@@ -71,33 +67,22 @@ module MailSlurpClient
71
67
  if attributes.key?(:'inbox_id')
72
68
  self.inbox_id = attributes[:'inbox_id']
73
69
  end
70
+
71
+ if attributes.key?(:'email_address')
72
+ self.email_address = attributes[:'email_address']
73
+ end
74
74
  end
75
75
 
76
76
  # Show invalid properties with the reasons. Usually used together with valid?
77
77
  # @return Array for valid properties with the reasons
78
78
  def list_invalid_properties
79
79
  invalid_properties = Array.new
80
- if @email_address.nil?
81
- invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
82
- end
83
-
84
- if @id.nil?
85
- invalid_properties.push('invalid value for "id", id cannot be nil.')
86
- end
87
-
88
- if @inbox_id.nil?
89
- invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
90
- end
91
-
92
80
  invalid_properties
93
81
  end
94
82
 
95
83
  # Check to see if the all the properties in the model are valid
96
84
  # @return true if the model is valid
97
85
  def valid?
98
- return false if @email_address.nil?
99
- return false if @id.nil?
100
- return false if @inbox_id.nil?
101
86
  true
102
87
  end
103
88
 
@@ -106,9 +91,9 @@ module MailSlurpClient
106
91
  def ==(o)
107
92
  return true if self.equal?(o)
108
93
  self.class == o.class &&
109
- email_address == o.email_address &&
110
94
  id == o.id &&
111
- inbox_id == o.inbox_id
95
+ inbox_id == o.inbox_id &&
96
+ email_address == o.email_address
112
97
  end
113
98
 
114
99
  # @see the `==` method
@@ -120,7 +105,7 @@ module MailSlurpClient
120
105
  # Calculates hash code according to all attributes.
121
106
  # @return [Integer] Hash code
122
107
  def hash
123
- [email_address, id, inbox_id].hash
108
+ [id, inbox_id, email_address].hash
124
109
  end
125
110
 
126
111
  # 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
 
@@ -14,31 +14,31 @@ require 'date'
14
14
 
15
15
  module MailSlurpClient
16
16
  class ExpiredInboxRecordProjection
17
- attr_accessor :created_at
18
-
19
- attr_accessor :email_address
20
-
21
17
  attr_accessor :id
22
18
 
23
19
  attr_accessor :user_id
24
20
 
21
+ attr_accessor :email_address
22
+
23
+ attr_accessor :created_at
24
+
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
- :'created_at' => :'createdAt',
29
- :'email_address' => :'emailAddress',
30
28
  :'id' => :'id',
31
- :'user_id' => :'userId'
29
+ :'user_id' => :'userId',
30
+ :'email_address' => :'emailAddress',
31
+ :'created_at' => :'createdAt'
32
32
  }
33
33
  end
34
34
 
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
- :'created_at' => :'DateTime',
39
- :'email_address' => :'String',
40
38
  :'id' => :'String',
41
- :'user_id' => :'String'
39
+ :'user_id' => :'String',
40
+ :'email_address' => :'String',
41
+ :'created_at' => :'DateTime'
42
42
  }
43
43
  end
44
44
 
@@ -63,14 +63,6 @@ module MailSlurpClient
63
63
  h[k.to_sym] = v
64
64
  }
65
65
 
66
- if attributes.key?(:'created_at')
67
- self.created_at = attributes[:'created_at']
68
- end
69
-
70
- if attributes.key?(:'email_address')
71
- self.email_address = attributes[:'email_address']
72
- end
73
-
74
66
  if attributes.key?(:'id')
75
67
  self.id = attributes[:'id']
76
68
  end
@@ -78,38 +70,26 @@ module MailSlurpClient
78
70
  if attributes.key?(:'user_id')
79
71
  self.user_id = attributes[:'user_id']
80
72
  end
73
+
74
+ if attributes.key?(:'email_address')
75
+ self.email_address = attributes[:'email_address']
76
+ end
77
+
78
+ if attributes.key?(:'created_at')
79
+ self.created_at = attributes[:'created_at']
80
+ end
81
81
  end
82
82
 
83
83
  # Show invalid properties with the reasons. Usually used together with valid?
84
84
  # @return Array for valid properties with the reasons
85
85
  def list_invalid_properties
86
86
  invalid_properties = Array.new
87
- if @created_at.nil?
88
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
89
- end
90
-
91
- if @email_address.nil?
92
- invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
93
- end
94
-
95
- if @id.nil?
96
- invalid_properties.push('invalid value for "id", id cannot be nil.')
97
- end
98
-
99
- if @user_id.nil?
100
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
101
- end
102
-
103
87
  invalid_properties
104
88
  end
105
89
 
106
90
  # Check to see if the all the properties in the model are valid
107
91
  # @return true if the model is valid
108
92
  def valid?
109
- return false if @created_at.nil?
110
- return false if @email_address.nil?
111
- return false if @id.nil?
112
- return false if @user_id.nil?
113
93
  true
114
94
  end
115
95
 
@@ -118,10 +98,10 @@ module MailSlurpClient
118
98
  def ==(o)
119
99
  return true if self.equal?(o)
120
100
  self.class == o.class &&
121
- created_at == o.created_at &&
122
- email_address == o.email_address &&
123
101
  id == o.id &&
124
- user_id == o.user_id
102
+ user_id == o.user_id &&
103
+ email_address == o.email_address &&
104
+ created_at == o.created_at
125
105
  end
126
106
 
127
107
  # @see the `==` method
@@ -133,7 +113,7 @@ module MailSlurpClient
133
113
  # Calculates hash code according to all attributes.
134
114
  # @return [Integer] Hash code
135
115
  def hash
136
- [created_at, email_address, id, user_id].hash
116
+ [id, user_id, email_address, created_at].hash
137
117
  end
138
118
 
139
119
  # 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
 
@@ -61,17 +61,12 @@ module MailSlurpClient
61
61
  # @return Array for valid properties with the reasons
62
62
  def list_invalid_properties
63
63
  invalid_properties = Array.new
64
- if @download_link.nil?
65
- invalid_properties.push('invalid value for "download_link", download_link cannot be nil.')
66
- end
67
-
68
64
  invalid_properties
69
65
  end
70
66
 
71
67
  # Check to see if the all the properties in the model are valid
72
68
  # @return true if the model is valid
73
69
  def valid?
74
- return false if @download_link.nil?
75
70
  true
76
71
  end
77
72
 
@@ -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
 
@@ -69,7 +69,7 @@ module MailSlurpClient
69
69
  :'created_earliest_time' => :'DateTime',
70
70
  :'created_oldest_time' => :'DateTime',
71
71
  :'filter' => :'String',
72
- :'list_separator_token' => :'Object'
72
+ :'list_separator_token' => :'String'
73
73
  }
74
74
  end
75
75
 
@@ -123,17 +123,12 @@ module MailSlurpClient
123
123
  # @return Array for valid properties with the reasons
124
124
  def list_invalid_properties
125
125
  invalid_properties = Array.new
126
- if @output_format.nil?
127
- invalid_properties.push('invalid value for "output_format", output_format cannot be nil.')
128
- end
129
-
130
126
  invalid_properties
131
127
  end
132
128
 
133
129
  # Check to see if the all the properties in the model are valid
134
130
  # @return true if the model is valid
135
131
  def valid?
136
- return false if @output_format.nil?
137
132
  output_format_validator = EnumAttributeValidator.new('String', ["CSV_DEFAULT", "CSV_EXCEL"])
138
133
  return false unless output_format_validator.valid?(@output_format)
139
134
  true