mailslurp_client 15.16.3 → 15.16.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/domain_controller_api.rb +62 -0
  3. data/lib/mailslurp_client/api/inbox_controller_api.rb +3 -0
  4. data/lib/mailslurp_client/models/alias_projection.rb +15 -15
  5. data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
  6. data/lib/mailslurp_client/models/bounce_projection.rb +10 -10
  7. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +10 -10
  8. data/lib/mailslurp_client/models/email_projection.rb +23 -23
  9. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +11 -11
  10. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  11. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  12. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  13. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  14. data/lib/mailslurp_client/models/page_complaint.rb +19 -19
  15. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  16. data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
  17. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  18. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  19. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  20. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  21. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  22. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  23. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +19 -19
  24. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  25. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  26. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +19 -19
  27. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  28. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  29. data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
  31. data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  33. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  34. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  35. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  36. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  37. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  38. data/lib/mailslurp_client/models/thread_projection.rb +16 -16
  39. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +16 -16
  40. data/lib/mailslurp_client/models/webhook_projection.rb +12 -12
  41. data/lib/mailslurp_client/version.rb +1 -1
  42. metadata +2 -2
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
+ attr_accessor :last
25
+
24
26
  attr_accessor :total_elements
25
27
 
26
28
  attr_accessor :total_pages
27
29
 
28
- attr_accessor :last
29
-
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :number_of_elements
37
-
38
36
  attr_accessor :first
39
37
 
38
+ attr_accessor :number_of_elements
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
+ :'last' => :'last',
48
49
  :'total_elements' => :'totalElements',
49
50
  :'total_pages' => :'totalPages',
50
- :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<UnknownMissedEmailProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
+ :'last' => :'Boolean',
66
67
  :'total_elements' => :'Integer',
67
68
  :'total_pages' => :'Integer',
68
- :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'number_of_elements' => :'Integer',
73
72
  :'first' => :'Boolean',
73
+ :'number_of_elements' => :'Integer',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,6 +110,10 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
+ end
116
+
113
117
  if attributes.key?(:'total_elements')
114
118
  self.total_elements = attributes[:'total_elements']
115
119
  end
@@ -118,10 +122,6 @@ module MailSlurpClient
118
122
  self.total_pages = attributes[:'total_pages']
119
123
  end
120
124
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
123
- end
124
-
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'number_of_elements')
138
- self.number_of_elements = attributes[:'number_of_elements']
139
- end
140
-
141
137
  if attributes.key?(:'first')
142
138
  self.first = attributes[:'first']
143
139
  end
144
140
 
141
+ if attributes.key?(:'number_of_elements')
142
+ self.number_of_elements = attributes[:'number_of_elements']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
+ last == o.last &&
171
172
  total_elements == o.total_elements &&
172
173
  total_pages == o.total_pages &&
173
- last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- number_of_elements == o.number_of_elements &&
178
177
  first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
+ attr_accessor :last
25
+
24
26
  attr_accessor :total_elements
25
27
 
26
28
  attr_accessor :total_pages
27
29
 
28
- attr_accessor :last
29
-
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :number_of_elements
37
-
38
36
  attr_accessor :first
39
37
 
38
+ attr_accessor :number_of_elements
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
+ :'last' => :'last',
48
49
  :'total_elements' => :'totalElements',
49
50
  :'total_pages' => :'totalPages',
50
- :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<WebhookProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
+ :'last' => :'Boolean',
66
67
  :'total_elements' => :'Integer',
67
68
  :'total_pages' => :'Integer',
68
- :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'number_of_elements' => :'Integer',
73
72
  :'first' => :'Boolean',
73
+ :'number_of_elements' => :'Integer',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,6 +110,10 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
+ end
116
+
113
117
  if attributes.key?(:'total_elements')
114
118
  self.total_elements = attributes[:'total_elements']
115
119
  end
@@ -118,10 +122,6 @@ module MailSlurpClient
118
122
  self.total_pages = attributes[:'total_pages']
119
123
  end
120
124
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
123
- end
124
-
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'number_of_elements')
138
- self.number_of_elements = attributes[:'number_of_elements']
139
- end
140
-
141
137
  if attributes.key?(:'first')
142
138
  self.first = attributes[:'first']
143
139
  end
144
140
 
141
+ if attributes.key?(:'number_of_elements')
142
+ self.number_of_elements = attributes[:'number_of_elements']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
+ last == o.last &&
171
172
  total_elements == o.total_elements &&
172
173
  total_pages == o.total_pages &&
173
- last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- number_of_elements == o.number_of_elements &&
178
177
  first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
+ attr_accessor :last
25
+
24
26
  attr_accessor :total_elements
25
27
 
26
28
  attr_accessor :total_pages
27
29
 
28
- attr_accessor :last
29
-
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :number_of_elements
37
-
38
36
  attr_accessor :first
39
37
 
38
+ attr_accessor :number_of_elements
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
+ :'last' => :'last',
48
49
  :'total_elements' => :'totalElements',
49
50
  :'total_pages' => :'totalPages',
50
- :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<WebhookResultDto>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
+ :'last' => :'Boolean',
66
67
  :'total_elements' => :'Integer',
67
68
  :'total_pages' => :'Integer',
68
- :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'number_of_elements' => :'Integer',
73
72
  :'first' => :'Boolean',
73
+ :'number_of_elements' => :'Integer',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,6 +110,10 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
+ end
116
+
113
117
  if attributes.key?(:'total_elements')
114
118
  self.total_elements = attributes[:'total_elements']
115
119
  end
@@ -118,10 +122,6 @@ module MailSlurpClient
118
122
  self.total_pages = attributes[:'total_pages']
119
123
  end
120
124
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
123
- end
124
-
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'number_of_elements')
138
- self.number_of_elements = attributes[:'number_of_elements']
139
- end
140
-
141
137
  if attributes.key?(:'first')
142
138
  self.first = attributes[:'first']
143
139
  end
144
140
 
141
+ if attributes.key?(:'number_of_elements')
142
+ self.number_of_elements = attributes[:'number_of_elements']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
+ last == o.last &&
171
172
  total_elements == o.total_elements &&
172
173
  total_pages == o.total_pages &&
173
- last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- number_of_elements == o.number_of_elements &&
178
177
  first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -24,12 +24,12 @@ module MailSlurpClient
24
24
  # Thread subject
25
25
  attr_accessor :subject
26
26
 
27
- # User ID
28
- attr_accessor :user_id
29
-
30
27
  # Inbox ID
31
28
  attr_accessor :inbox_id
32
29
 
30
+ # User ID
31
+ attr_accessor :user_id
32
+
33
33
  # Created at DateTime
34
34
  attr_accessor :created_at
35
35
 
@@ -54,8 +54,8 @@ module MailSlurpClient
54
54
  :'name' => :'name',
55
55
  :'id' => :'id',
56
56
  :'subject' => :'subject',
57
- :'user_id' => :'userId',
58
57
  :'inbox_id' => :'inboxId',
58
+ :'user_id' => :'userId',
59
59
  :'created_at' => :'createdAt',
60
60
  :'updated_at' => :'updatedAt',
61
61
  :'to' => :'to',
@@ -71,8 +71,8 @@ module MailSlurpClient
71
71
  :'name' => :'String',
72
72
  :'id' => :'String',
73
73
  :'subject' => :'String',
74
- :'user_id' => :'String',
75
74
  :'inbox_id' => :'String',
75
+ :'user_id' => :'String',
76
76
  :'created_at' => :'DateTime',
77
77
  :'updated_at' => :'DateTime',
78
78
  :'to' => :'Array<String>',
@@ -115,14 +115,14 @@ module MailSlurpClient
115
115
  self.subject = attributes[:'subject']
116
116
  end
117
117
 
118
- if attributes.key?(:'user_id')
119
- self.user_id = attributes[:'user_id']
120
- end
121
-
122
118
  if attributes.key?(:'inbox_id')
123
119
  self.inbox_id = attributes[:'inbox_id']
124
120
  end
125
121
 
122
+ if attributes.key?(:'user_id')
123
+ self.user_id = attributes[:'user_id']
124
+ end
125
+
126
126
  if attributes.key?(:'created_at')
127
127
  self.created_at = attributes[:'created_at']
128
128
  end
@@ -162,14 +162,14 @@ module MailSlurpClient
162
162
  invalid_properties.push('invalid value for "id", id cannot be nil.')
163
163
  end
164
164
 
165
- if @user_id.nil?
166
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
167
- end
168
-
169
165
  if @inbox_id.nil?
170
166
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
171
167
  end
172
168
 
169
+ if @user_id.nil?
170
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
171
+ end
172
+
173
173
  if @created_at.nil?
174
174
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
175
175
  end
@@ -193,8 +193,8 @@ module MailSlurpClient
193
193
  # @return true if the model is valid
194
194
  def valid?
195
195
  return false if @id.nil?
196
- return false if @user_id.nil?
197
196
  return false if @inbox_id.nil?
197
+ return false if @user_id.nil?
198
198
  return false if @created_at.nil?
199
199
  return false if @updated_at.nil?
200
200
  return false if @to.nil?
@@ -210,8 +210,8 @@ module MailSlurpClient
210
210
  name == o.name &&
211
211
  id == o.id &&
212
212
  subject == o.subject &&
213
- user_id == o.user_id &&
214
213
  inbox_id == o.inbox_id &&
214
+ user_id == o.user_id &&
215
215
  created_at == o.created_at &&
216
216
  updated_at == o.updated_at &&
217
217
  to == o.to &&
@@ -229,7 +229,7 @@ module MailSlurpClient
229
229
  # Calculates hash code according to all attributes.
230
230
  # @return [Integer] Hash code
231
231
  def hash
232
- [name, id, subject, user_id, inbox_id, created_at, updated_at, to, bcc, cc, alias_id].hash
232
+ [name, id, subject, inbox_id, user_id, created_at, updated_at, to, bcc, cc, alias_id].hash
233
233
  end
234
234
 
235
235
  # Builds the object from hash
@@ -19,14 +19,14 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :id
21
21
 
22
- attr_accessor :user_id
23
-
24
22
  attr_accessor :inbox_id
25
23
 
26
- attr_accessor :sent_email_id
24
+ attr_accessor :user_id
27
25
 
28
26
  attr_accessor :created_at
29
27
 
28
+ attr_accessor :sent_email_id
29
+
30
30
  attr_accessor :recipient
31
31
 
32
32
  attr_accessor :seen
@@ -38,10 +38,10 @@ module MailSlurpClient
38
38
  {
39
39
  :'name' => :'name',
40
40
  :'id' => :'id',
41
- :'user_id' => :'userId',
42
41
  :'inbox_id' => :'inboxId',
43
- :'sent_email_id' => :'sentEmailId',
42
+ :'user_id' => :'userId',
44
43
  :'created_at' => :'createdAt',
44
+ :'sent_email_id' => :'sentEmailId',
45
45
  :'recipient' => :'recipient',
46
46
  :'seen' => :'seen',
47
47
  :'seen_at' => :'seenAt'
@@ -53,10 +53,10 @@ module MailSlurpClient
53
53
  {
54
54
  :'name' => :'String',
55
55
  :'id' => :'String',
56
- :'user_id' => :'String',
57
56
  :'inbox_id' => :'String',
58
- :'sent_email_id' => :'String',
57
+ :'user_id' => :'String',
59
58
  :'created_at' => :'DateTime',
59
+ :'sent_email_id' => :'String',
60
60
  :'recipient' => :'String',
61
61
  :'seen' => :'Boolean',
62
62
  :'seen_at' => :'DateTime'
@@ -92,22 +92,22 @@ module MailSlurpClient
92
92
  self.id = attributes[:'id']
93
93
  end
94
94
 
95
- if attributes.key?(:'user_id')
96
- self.user_id = attributes[:'user_id']
97
- end
98
-
99
95
  if attributes.key?(:'inbox_id')
100
96
  self.inbox_id = attributes[:'inbox_id']
101
97
  end
102
98
 
103
- if attributes.key?(:'sent_email_id')
104
- self.sent_email_id = attributes[:'sent_email_id']
99
+ if attributes.key?(:'user_id')
100
+ self.user_id = attributes[:'user_id']
105
101
  end
106
102
 
107
103
  if attributes.key?(:'created_at')
108
104
  self.created_at = attributes[:'created_at']
109
105
  end
110
106
 
107
+ if attributes.key?(:'sent_email_id')
108
+ self.sent_email_id = attributes[:'sent_email_id']
109
+ end
110
+
111
111
  if attributes.key?(:'recipient')
112
112
  self.recipient = attributes[:'recipient']
113
113
  end
@@ -161,10 +161,10 @@ module MailSlurpClient
161
161
  self.class == o.class &&
162
162
  name == o.name &&
163
163
  id == o.id &&
164
- user_id == o.user_id &&
165
164
  inbox_id == o.inbox_id &&
166
- sent_email_id == o.sent_email_id &&
165
+ user_id == o.user_id &&
167
166
  created_at == o.created_at &&
167
+ sent_email_id == o.sent_email_id &&
168
168
  recipient == o.recipient &&
169
169
  seen == o.seen &&
170
170
  seen_at == o.seen_at
@@ -179,7 +179,7 @@ module MailSlurpClient
179
179
  # Calculates hash code according to all attributes.
180
180
  # @return [Integer] Hash code
181
181
  def hash
182
- [name, id, user_id, inbox_id, sent_email_id, created_at, recipient, seen, seen_at].hash
182
+ [name, id, inbox_id, user_id, created_at, sent_email_id, recipient, seen, seen_at].hash
183
183
  end
184
184
 
185
185
  # Builds the object from hash
@@ -23,12 +23,12 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :inbox_id
25
25
 
26
- attr_accessor :event_name
27
-
28
26
  attr_accessor :created_at
29
27
 
30
28
  attr_accessor :updated_at
31
29
 
30
+ attr_accessor :event_name
31
+
32
32
  attr_accessor :phone_number_id
33
33
 
34
34
  class EnumAttributeValidator
@@ -60,9 +60,9 @@ module MailSlurpClient
60
60
  :'id' => :'id',
61
61
  :'url' => :'url',
62
62
  :'inbox_id' => :'inboxId',
63
- :'event_name' => :'eventName',
64
63
  :'created_at' => :'createdAt',
65
64
  :'updated_at' => :'updatedAt',
65
+ :'event_name' => :'eventName',
66
66
  :'phone_number_id' => :'phoneNumberId'
67
67
  }
68
68
  end
@@ -74,9 +74,9 @@ module MailSlurpClient
74
74
  :'id' => :'String',
75
75
  :'url' => :'String',
76
76
  :'inbox_id' => :'String',
77
- :'event_name' => :'String',
78
77
  :'created_at' => :'DateTime',
79
78
  :'updated_at' => :'DateTime',
79
+ :'event_name' => :'String',
80
80
  :'phone_number_id' => :'String'
81
81
  }
82
82
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.inbox_id = attributes[:'inbox_id']
119
119
  end
120
120
 
121
- if attributes.key?(:'event_name')
122
- self.event_name = attributes[:'event_name']
123
- end
124
-
125
121
  if attributes.key?(:'created_at')
126
122
  self.created_at = attributes[:'created_at']
127
123
  end
@@ -130,6 +126,10 @@ module MailSlurpClient
130
126
  self.updated_at = attributes[:'updated_at']
131
127
  end
132
128
 
129
+ if attributes.key?(:'event_name')
130
+ self.event_name = attributes[:'event_name']
131
+ end
132
+
133
133
  if attributes.key?(:'phone_number_id')
134
134
  self.phone_number_id = attributes[:'phone_number_id']
135
135
  end
@@ -163,10 +163,10 @@ module MailSlurpClient
163
163
  def valid?
164
164
  return false if @id.nil?
165
165
  return false if @url.nil?
166
- event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "DELIVERY_STATUS", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
167
- return false unless event_name_validator.valid?(@event_name)
168
166
  return false if @created_at.nil?
169
167
  return false if @updated_at.nil?
168
+ event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "DELIVERY_STATUS", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
169
+ return false unless event_name_validator.valid?(@event_name)
170
170
  true
171
171
  end
172
172
 
@@ -189,9 +189,9 @@ module MailSlurpClient
189
189
  id == o.id &&
190
190
  url == o.url &&
191
191
  inbox_id == o.inbox_id &&
192
- event_name == o.event_name &&
193
192
  created_at == o.created_at &&
194
193
  updated_at == o.updated_at &&
194
+ event_name == o.event_name &&
195
195
  phone_number_id == o.phone_number_id
196
196
  end
197
197
 
@@ -204,7 +204,7 @@ module MailSlurpClient
204
204
  # Calculates hash code according to all attributes.
205
205
  # @return [Integer] Hash code
206
206
  def hash
207
- [name, id, url, inbox_id, event_name, created_at, updated_at, phone_number_id].hash
207
+ [name, id, url, inbox_id, created_at, updated_at, event_name, phone_number_id].hash
208
208
  end
209
209
 
210
210
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '15.16.3'
14
+ VERSION = '15.16.4'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.16.3
4
+ version: 15.16.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-17 00:00:00.000000000 Z
11
+ date: 2023-01-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create emails addresses in Ruby then send and receive real emails and
14
14
  attachments. See https://www.mailslurp.com/ruby/ for full Ruby documentation. Get