mailslurp_client 15.19.21 → 15.19.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/imap_controller_api.rb +61 -0
  3. data/lib/mailslurp_client/api/inbox_controller_api.rb +63 -0
  4. data/lib/mailslurp_client/models/alias_projection.rb +38 -38
  5. data/lib/mailslurp_client/models/attachment_projection.rb +29 -29
  6. data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
  7. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +22 -22
  8. data/lib/mailslurp_client/models/connector_projection.rb +24 -24
  9. data/lib/mailslurp_client/models/connector_sync_event_projection.rb +15 -15
  10. data/lib/mailslurp_client/models/contact_projection.rb +10 -10
  11. data/lib/mailslurp_client/models/domain_name_record.rb +16 -4
  12. data/lib/mailslurp_client/models/email_available_result.rb +211 -0
  13. data/lib/mailslurp_client/models/email_projection.rb +15 -15
  14. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
  15. data/lib/mailslurp_client/models/imap_email_projection.rb +15 -15
  16. data/lib/mailslurp_client/models/imap_server_mailbox_result.rb +221 -0
  17. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +10 -10
  18. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +20 -20
  19. data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +15 -15
  20. data/lib/mailslurp_client/models/missed_email_projection.rb +10 -10
  21. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  22. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  23. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  24. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  25. data/lib/mailslurp_client/models/page_complaint.rb +10 -10
  26. data/lib/mailslurp_client/models/page_connector.rb +10 -10
  27. data/lib/mailslurp_client/models/page_connector_sync_events.rb +10 -10
  28. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  29. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  30. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  31. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  32. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  33. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  34. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  35. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  36. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +10 -10
  37. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  38. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +10 -10
  39. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +10 -10
  40. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  41. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +10 -10
  42. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  43. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  44. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  45. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
  46. data/lib/mailslurp_client/models/page_sent_email_projection.rb +10 -10
  47. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +10 -10
  48. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  49. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  50. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  51. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  52. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  53. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  54. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  55. data/lib/mailslurp_client/models/pageable_object.rb +10 -10
  56. data/lib/mailslurp_client/models/phone_number_projection.rb +15 -15
  57. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  58. data/lib/mailslurp_client/models/sms_projection.rb +29 -29
  59. data/lib/mailslurp_client/models/template_projection.rb +17 -17
  60. data/lib/mailslurp_client/models/thread_projection.rb +31 -31
  61. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +15 -15
  62. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
  63. data/lib/mailslurp_client/models/webhook_projection.rb +25 -25
  64. data/lib/mailslurp_client/version.rb +1 -1
  65. data/lib/mailslurp_client.rb +2 -0
  66. metadata +4 -2
@@ -15,15 +15,15 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Bounced recipient
17
17
  class BounceRecipientProjection
18
+ attr_accessor :created_at
19
+
18
20
  attr_accessor :sent_email_id
19
21
 
20
22
  attr_accessor :recipient
21
23
 
22
- attr_accessor :action
23
-
24
24
  attr_accessor :bounce_type
25
25
 
26
- attr_accessor :created_at
26
+ attr_accessor :action
27
27
 
28
28
  attr_accessor :id
29
29
 
@@ -32,11 +32,11 @@ module MailSlurpClient
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'created_at' => :'createdAt',
35
36
  :'sent_email_id' => :'sentEmailId',
36
37
  :'recipient' => :'recipient',
37
- :'action' => :'action',
38
38
  :'bounce_type' => :'bounceType',
39
- :'created_at' => :'createdAt',
39
+ :'action' => :'action',
40
40
  :'id' => :'id',
41
41
  :'status' => :'status'
42
42
  }
@@ -45,11 +45,11 @@ module MailSlurpClient
45
45
  # Attribute type mapping.
46
46
  def self.openapi_types
47
47
  {
48
+ :'created_at' => :'DateTime',
48
49
  :'sent_email_id' => :'String',
49
50
  :'recipient' => :'String',
50
- :'action' => :'String',
51
51
  :'bounce_type' => :'String',
52
- :'created_at' => :'DateTime',
52
+ :'action' => :'String',
53
53
  :'id' => :'String',
54
54
  :'status' => :'String'
55
55
  }
@@ -59,8 +59,8 @@ module MailSlurpClient
59
59
  def self.openapi_nullable
60
60
  Set.new([
61
61
  :'sent_email_id',
62
- :'action',
63
62
  :'bounce_type',
63
+ :'action',
64
64
  :'status'
65
65
  ])
66
66
  end
@@ -80,6 +80,10 @@ module MailSlurpClient
80
80
  h[k.to_sym] = v
81
81
  }
82
82
 
83
+ if attributes.key?(:'created_at')
84
+ self.created_at = attributes[:'created_at']
85
+ end
86
+
83
87
  if attributes.key?(:'sent_email_id')
84
88
  self.sent_email_id = attributes[:'sent_email_id']
85
89
  end
@@ -88,16 +92,12 @@ module MailSlurpClient
88
92
  self.recipient = attributes[:'recipient']
89
93
  end
90
94
 
91
- if attributes.key?(:'action')
92
- self.action = attributes[:'action']
93
- end
94
-
95
95
  if attributes.key?(:'bounce_type')
96
96
  self.bounce_type = attributes[:'bounce_type']
97
97
  end
98
98
 
99
- if attributes.key?(:'created_at')
100
- self.created_at = attributes[:'created_at']
99
+ if attributes.key?(:'action')
100
+ self.action = attributes[:'action']
101
101
  end
102
102
 
103
103
  if attributes.key?(:'id')
@@ -113,22 +113,22 @@ module MailSlurpClient
113
113
  # @return Array for valid properties with the reasons
114
114
  def list_invalid_properties
115
115
  invalid_properties = Array.new
116
- if @recipient.nil?
117
- invalid_properties.push('invalid value for "recipient", recipient cannot be nil.')
118
- end
119
-
120
116
  if @created_at.nil?
121
117
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
122
118
  end
123
119
 
120
+ if @recipient.nil?
121
+ invalid_properties.push('invalid value for "recipient", recipient cannot be nil.')
122
+ end
123
+
124
124
  invalid_properties
125
125
  end
126
126
 
127
127
  # Check to see if the all the properties in the model are valid
128
128
  # @return true if the model is valid
129
129
  def valid?
130
- return false if @recipient.nil?
131
130
  return false if @created_at.nil?
131
+ return false if @recipient.nil?
132
132
  true
133
133
  end
134
134
 
@@ -137,11 +137,11 @@ module MailSlurpClient
137
137
  def ==(o)
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
+ created_at == o.created_at &&
140
141
  sent_email_id == o.sent_email_id &&
141
142
  recipient == o.recipient &&
142
- action == o.action &&
143
143
  bounce_type == o.bounce_type &&
144
- created_at == o.created_at &&
144
+ action == o.action &&
145
145
  id == o.id &&
146
146
  status == o.status
147
147
  end
@@ -155,7 +155,7 @@ module MailSlurpClient
155
155
  # Calculates hash code according to all attributes.
156
156
  # @return [Integer] Hash code
157
157
  def hash
158
- [sent_email_id, recipient, action, bounce_type, created_at, id, status].hash
158
+ [created_at, sent_email_id, recipient, bounce_type, action, id, status].hash
159
159
  end
160
160
 
161
161
  # Builds the object from hash
@@ -15,12 +15,14 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Connector
17
17
  class ConnectorProjection
18
- attr_accessor :enabled
18
+ attr_accessor :created_at
19
19
 
20
- attr_accessor :email_address
20
+ attr_accessor :enabled
21
21
 
22
22
  attr_accessor :inbox_id
23
23
 
24
+ attr_accessor :email_address
25
+
24
26
  attr_accessor :user_id
25
27
 
26
28
  attr_accessor :sync_enabled
@@ -29,8 +31,6 @@ module MailSlurpClient
29
31
 
30
32
  attr_accessor :sync_interval
31
33
 
32
- attr_accessor :created_at
33
-
34
34
  attr_accessor :name
35
35
 
36
36
  attr_accessor :id
@@ -60,14 +60,14 @@ module MailSlurpClient
60
60
  # Attribute mapping from ruby-style variable name to JSON key.
61
61
  def self.attribute_map
62
62
  {
63
+ :'created_at' => :'createdAt',
63
64
  :'enabled' => :'enabled',
64
- :'email_address' => :'emailAddress',
65
65
  :'inbox_id' => :'inboxId',
66
+ :'email_address' => :'emailAddress',
66
67
  :'user_id' => :'userId',
67
68
  :'sync_enabled' => :'syncEnabled',
68
69
  :'sync_schedule_type' => :'syncScheduleType',
69
70
  :'sync_interval' => :'syncInterval',
70
- :'created_at' => :'createdAt',
71
71
  :'name' => :'name',
72
72
  :'id' => :'id'
73
73
  }
@@ -76,14 +76,14 @@ module MailSlurpClient
76
76
  # Attribute type mapping.
77
77
  def self.openapi_types
78
78
  {
79
+ :'created_at' => :'DateTime',
79
80
  :'enabled' => :'Boolean',
80
- :'email_address' => :'String',
81
81
  :'inbox_id' => :'String',
82
+ :'email_address' => :'String',
82
83
  :'user_id' => :'String',
83
84
  :'sync_enabled' => :'Boolean',
84
85
  :'sync_schedule_type' => :'String',
85
86
  :'sync_interval' => :'Integer',
86
- :'created_at' => :'DateTime',
87
87
  :'name' => :'String',
88
88
  :'id' => :'String'
89
89
  }
@@ -110,18 +110,22 @@ module MailSlurpClient
110
110
  h[k.to_sym] = v
111
111
  }
112
112
 
113
- if attributes.key?(:'enabled')
114
- self.enabled = attributes[:'enabled']
113
+ if attributes.key?(:'created_at')
114
+ self.created_at = attributes[:'created_at']
115
115
  end
116
116
 
117
- if attributes.key?(:'email_address')
118
- self.email_address = attributes[:'email_address']
117
+ if attributes.key?(:'enabled')
118
+ self.enabled = attributes[:'enabled']
119
119
  end
120
120
 
121
121
  if attributes.key?(:'inbox_id')
122
122
  self.inbox_id = attributes[:'inbox_id']
123
123
  end
124
124
 
125
+ if attributes.key?(:'email_address')
126
+ self.email_address = attributes[:'email_address']
127
+ end
128
+
125
129
  if attributes.key?(:'user_id')
126
130
  self.user_id = attributes[:'user_id']
127
131
  end
@@ -138,10 +142,6 @@ module MailSlurpClient
138
142
  self.sync_interval = attributes[:'sync_interval']
139
143
  end
140
144
 
141
- if attributes.key?(:'created_at')
142
- self.created_at = attributes[:'created_at']
143
- end
144
-
145
145
  if attributes.key?(:'name')
146
146
  self.name = attributes[:'name']
147
147
  end
@@ -155,6 +155,10 @@ module MailSlurpClient
155
155
  # @return Array for valid properties with the reasons
156
156
  def list_invalid_properties
157
157
  invalid_properties = Array.new
158
+ if @created_at.nil?
159
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
160
+ end
161
+
158
162
  if @inbox_id.nil?
159
163
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
160
164
  end
@@ -167,22 +171,18 @@ module MailSlurpClient
167
171
  invalid_properties.push('invalid value for "sync_schedule_type", sync_schedule_type cannot be nil.')
168
172
  end
169
173
 
170
- if @created_at.nil?
171
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
172
- end
173
-
174
174
  invalid_properties
175
175
  end
176
176
 
177
177
  # Check to see if the all the properties in the model are valid
178
178
  # @return true if the model is valid
179
179
  def valid?
180
+ return false if @created_at.nil?
180
181
  return false if @inbox_id.nil?
181
182
  return false if @user_id.nil?
182
183
  return false if @sync_schedule_type.nil?
183
184
  sync_schedule_type_validator = EnumAttributeValidator.new('String', ["INTERVAL"])
184
185
  return false unless sync_schedule_type_validator.valid?(@sync_schedule_type)
185
- return false if @created_at.nil?
186
186
  true
187
187
  end
188
188
 
@@ -201,14 +201,14 @@ module MailSlurpClient
201
201
  def ==(o)
202
202
  return true if self.equal?(o)
203
203
  self.class == o.class &&
204
+ created_at == o.created_at &&
204
205
  enabled == o.enabled &&
205
- email_address == o.email_address &&
206
206
  inbox_id == o.inbox_id &&
207
+ email_address == o.email_address &&
207
208
  user_id == o.user_id &&
208
209
  sync_enabled == o.sync_enabled &&
209
210
  sync_schedule_type == o.sync_schedule_type &&
210
211
  sync_interval == o.sync_interval &&
211
- created_at == o.created_at &&
212
212
  name == o.name &&
213
213
  id == o.id
214
214
  end
@@ -222,7 +222,7 @@ module MailSlurpClient
222
222
  # Calculates hash code according to all attributes.
223
223
  # @return [Integer] Hash code
224
224
  def hash
225
- [enabled, email_address, inbox_id, user_id, sync_enabled, sync_schedule_type, sync_interval, created_at, name, id].hash
225
+ [created_at, enabled, inbox_id, email_address, user_id, sync_enabled, sync_schedule_type, sync_interval, name, id].hash
226
226
  end
227
227
 
228
228
  # Builds the object from hash
@@ -15,14 +15,14 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # ConnectorSyncEventProjection
17
17
  class ConnectorSyncEventProjection
18
+ attr_accessor :created_at
19
+
18
20
  attr_accessor :connector_id
19
21
 
20
22
  attr_accessor :sync_count
21
23
 
22
24
  attr_accessor :sync_status
23
25
 
24
- attr_accessor :created_at
25
-
26
26
  attr_accessor :message
27
27
 
28
28
  attr_accessor :id
@@ -52,10 +52,10 @@ module MailSlurpClient
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
+ :'created_at' => :'createdAt',
55
56
  :'connector_id' => :'connectorId',
56
57
  :'sync_count' => :'syncCount',
57
58
  :'sync_status' => :'syncStatus',
58
- :'created_at' => :'createdAt',
59
59
  :'message' => :'message',
60
60
  :'id' => :'id'
61
61
  }
@@ -64,10 +64,10 @@ module MailSlurpClient
64
64
  # Attribute type mapping.
65
65
  def self.openapi_types
66
66
  {
67
+ :'created_at' => :'DateTime',
67
68
  :'connector_id' => :'String',
68
69
  :'sync_count' => :'Integer',
69
70
  :'sync_status' => :'String',
70
- :'created_at' => :'DateTime',
71
71
  :'message' => :'String',
72
72
  :'id' => :'String'
73
73
  }
@@ -94,6 +94,10 @@ module MailSlurpClient
94
94
  h[k.to_sym] = v
95
95
  }
96
96
 
97
+ if attributes.key?(:'created_at')
98
+ self.created_at = attributes[:'created_at']
99
+ end
100
+
97
101
  if attributes.key?(:'connector_id')
98
102
  self.connector_id = attributes[:'connector_id']
99
103
  end
@@ -106,10 +110,6 @@ module MailSlurpClient
106
110
  self.sync_status = attributes[:'sync_status']
107
111
  end
108
112
 
109
- if attributes.key?(:'created_at')
110
- self.created_at = attributes[:'created_at']
111
- end
112
-
113
113
  if attributes.key?(:'message')
114
114
  self.message = attributes[:'message']
115
115
  end
@@ -123,6 +123,10 @@ 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 @created_at.nil?
127
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
128
+ end
129
+
126
130
  if @connector_id.nil?
127
131
  invalid_properties.push('invalid value for "connector_id", connector_id cannot be nil.')
128
132
  end
@@ -135,22 +139,18 @@ module MailSlurpClient
135
139
  invalid_properties.push('invalid value for "sync_status", sync_status cannot be nil.')
136
140
  end
137
141
 
138
- if @created_at.nil?
139
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
140
- end
141
-
142
142
  invalid_properties
143
143
  end
144
144
 
145
145
  # Check to see if the all the properties in the model are valid
146
146
  # @return true if the model is valid
147
147
  def valid?
148
+ return false if @created_at.nil?
148
149
  return false if @connector_id.nil?
149
150
  return false if @sync_count.nil?
150
151
  return false if @sync_status.nil?
151
152
  sync_status_validator = EnumAttributeValidator.new('String', ["SUCCESS", "INTERNAL_ERROR", "SUBSCRIPTION_ERROR", "CONNECTION_ERROR", "NOT_FOUND"])
152
153
  return false unless sync_status_validator.valid?(@sync_status)
153
- return false if @created_at.nil?
154
154
  true
155
155
  end
156
156
 
@@ -169,10 +169,10 @@ module MailSlurpClient
169
169
  def ==(o)
170
170
  return true if self.equal?(o)
171
171
  self.class == o.class &&
172
+ created_at == o.created_at &&
172
173
  connector_id == o.connector_id &&
173
174
  sync_count == o.sync_count &&
174
175
  sync_status == o.sync_status &&
175
- created_at == o.created_at &&
176
176
  message == o.message &&
177
177
  id == o.id
178
178
  end
@@ -186,7 +186,7 @@ module MailSlurpClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [connector_id, sync_count, sync_status, created_at, message, id].hash
189
+ [created_at, connector_id, sync_count, sync_status, message, id].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Email contact for address book
17
17
  class ContactProjection
18
+ attr_accessor :created_at
19
+
18
20
  attr_accessor :email_address
19
21
 
20
22
  attr_accessor :email_addresses
@@ -27,8 +29,6 @@ module MailSlurpClient
27
29
 
28
30
  attr_accessor :opt_out
29
31
 
30
- attr_accessor :created_at
31
-
32
32
  attr_accessor :id
33
33
 
34
34
  attr_accessor :group_id
@@ -36,13 +36,13 @@ module MailSlurpClient
36
36
  # Attribute mapping from ruby-style variable name to JSON key.
37
37
  def self.attribute_map
38
38
  {
39
+ :'created_at' => :'createdAt',
39
40
  :'email_address' => :'emailAddress',
40
41
  :'email_addresses' => :'emailAddresses',
41
42
  :'first_name' => :'firstName',
42
43
  :'last_name' => :'lastName',
43
44
  :'company' => :'company',
44
45
  :'opt_out' => :'optOut',
45
- :'created_at' => :'createdAt',
46
46
  :'id' => :'id',
47
47
  :'group_id' => :'groupId'
48
48
  }
@@ -51,13 +51,13 @@ module MailSlurpClient
51
51
  # Attribute type mapping.
52
52
  def self.openapi_types
53
53
  {
54
+ :'created_at' => :'DateTime',
54
55
  :'email_address' => :'String',
55
56
  :'email_addresses' => :'Array<String>',
56
57
  :'first_name' => :'String',
57
58
  :'last_name' => :'String',
58
59
  :'company' => :'String',
59
60
  :'opt_out' => :'Boolean',
60
- :'created_at' => :'DateTime',
61
61
  :'id' => :'String',
62
62
  :'group_id' => :'String'
63
63
  }
@@ -91,6 +91,10 @@ module MailSlurpClient
91
91
  h[k.to_sym] = v
92
92
  }
93
93
 
94
+ if attributes.key?(:'created_at')
95
+ self.created_at = attributes[:'created_at']
96
+ end
97
+
94
98
  if attributes.key?(:'email_address')
95
99
  self.email_address = attributes[:'email_address']
96
100
  end
@@ -117,10 +121,6 @@ module MailSlurpClient
117
121
  self.opt_out = attributes[:'opt_out']
118
122
  end
119
123
 
120
- if attributes.key?(:'created_at')
121
- self.created_at = attributes[:'created_at']
122
- end
123
-
124
124
  if attributes.key?(:'id')
125
125
  self.id = attributes[:'id']
126
126
  end
@@ -158,13 +158,13 @@ module MailSlurpClient
158
158
  def ==(o)
159
159
  return true if self.equal?(o)
160
160
  self.class == o.class &&
161
+ created_at == o.created_at &&
161
162
  email_address == o.email_address &&
162
163
  email_addresses == o.email_addresses &&
163
164
  first_name == o.first_name &&
164
165
  last_name == o.last_name &&
165
166
  company == o.company &&
166
167
  opt_out == o.opt_out &&
167
- created_at == o.created_at &&
168
168
  id == o.id &&
169
169
  group_id == o.group_id
170
170
  end
@@ -178,7 +178,7 @@ module MailSlurpClient
178
178
  # Calculates hash code according to all attributes.
179
179
  # @return [Integer] Hash code
180
180
  def hash
181
- [email_address, email_addresses, first_name, last_name, company, opt_out, created_at, id, group_id].hash
181
+ [created_at, email_address, email_addresses, first_name, last_name, company, opt_out, id, group_id].hash
182
182
  end
183
183
 
184
184
  # Builds the object from hash
@@ -29,6 +29,8 @@ module MailSlurpClient
29
29
 
30
30
  attr_accessor :ttl
31
31
 
32
+ attr_accessor :alternative_record_entries
33
+
32
34
  class EnumAttributeValidator
33
35
  attr_reader :datatype
34
36
  attr_reader :allowable_values
@@ -59,7 +61,8 @@ module MailSlurpClient
59
61
  :'record_type' => :'recordType',
60
62
  :'name' => :'name',
61
63
  :'record_entries' => :'recordEntries',
62
- :'ttl' => :'ttl'
64
+ :'ttl' => :'ttl',
65
+ :'alternative_record_entries' => :'alternativeRecordEntries'
63
66
  }
64
67
  end
65
68
 
@@ -71,13 +74,15 @@ module MailSlurpClient
71
74
  :'record_type' => :'String',
72
75
  :'name' => :'String',
73
76
  :'record_entries' => :'Array<String>',
74
- :'ttl' => :'Integer'
77
+ :'ttl' => :'Integer',
78
+ :'alternative_record_entries' => :'Array<String>'
75
79
  }
76
80
  end
77
81
 
78
82
  # List of attributes with nullable: true
79
83
  def self.openapi_nullable
80
84
  Set.new([
85
+ :'alternative_record_entries'
81
86
  ])
82
87
  end
83
88
 
@@ -121,6 +126,12 @@ module MailSlurpClient
121
126
  if attributes.key?(:'ttl')
122
127
  self.ttl = attributes[:'ttl']
123
128
  end
129
+
130
+ if attributes.key?(:'alternative_record_entries')
131
+ if (value = attributes[:'alternative_record_entries']).is_a?(Array)
132
+ self.alternative_record_entries = value
133
+ end
134
+ end
124
135
  end
125
136
 
126
137
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -200,7 +211,8 @@ module MailSlurpClient
200
211
  record_type == o.record_type &&
201
212
  name == o.name &&
202
213
  record_entries == o.record_entries &&
203
- ttl == o.ttl
214
+ ttl == o.ttl &&
215
+ alternative_record_entries == o.alternative_record_entries
204
216
  end
205
217
 
206
218
  # @see the `==` method
@@ -212,7 +224,7 @@ module MailSlurpClient
212
224
  # Calculates hash code according to all attributes.
213
225
  # @return [Integer] Hash code
214
226
  def hash
215
- [label, required, record_type, name, record_entries, ttl].hash
227
+ [label, required, record_type, name, record_entries, ttl, alternative_record_entries].hash
216
228
  end
217
229
 
218
230
  # Builds the object from hash