mailslurp_client 15.16.5 → 15.16.6

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/models/attachment_projection.rb +15 -15
  3. data/lib/mailslurp_client/models/bounce_projection.rb +15 -15
  4. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +10 -10
  5. data/lib/mailslurp_client/models/email_projection.rb +23 -23
  6. data/lib/mailslurp_client/models/imap_smtp_access_details.rb +62 -2
  7. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +14 -14
  8. data/lib/mailslurp_client/models/page_alias.rb +22 -22
  9. data/lib/mailslurp_client/models/page_attachment_entity.rb +22 -22
  10. data/lib/mailslurp_client/models/page_bounced_email.rb +22 -22
  11. data/lib/mailslurp_client/models/page_bounced_recipients.rb +22 -22
  12. data/lib/mailslurp_client/models/page_complaint.rb +22 -22
  13. data/lib/mailslurp_client/models/page_contact_projection.rb +22 -22
  14. data/lib/mailslurp_client/models/page_delivery_status.rb +22 -22
  15. data/lib/mailslurp_client/models/page_email_preview.rb +22 -22
  16. data/lib/mailslurp_client/models/page_email_projection.rb +22 -22
  17. data/lib/mailslurp_client/models/page_email_validation_request.rb +22 -22
  18. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +22 -22
  19. data/lib/mailslurp_client/models/page_group_projection.rb +22 -22
  20. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +22 -22
  21. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +22 -22
  22. data/lib/mailslurp_client/models/page_inbox_projection.rb +22 -22
  23. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +22 -22
  24. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +22 -22
  25. data/lib/mailslurp_client/models/page_missed_email_projection.rb +22 -22
  26. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +22 -22
  27. data/lib/mailslurp_client/models/page_phone_number_projection.rb +22 -22
  28. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +22 -22
  29. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  30. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
  31. data/lib/mailslurp_client/models/page_sms_projection.rb +22 -22
  32. data/lib/mailslurp_client/models/page_template_projection.rb +22 -22
  33. data/lib/mailslurp_client/models/page_thread_projection.rb +22 -22
  34. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +22 -22
  35. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +22 -22
  36. data/lib/mailslurp_client/models/page_webhook_projection.rb +22 -22
  37. data/lib/mailslurp_client/models/page_webhook_result.rb +22 -22
  38. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  39. data/lib/mailslurp_client/models/sort.rb +13 -13
  40. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  41. data/lib/mailslurp_client/version.rb +1 -1
  42. metadata +2 -2
@@ -23,12 +23,12 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :subject
25
25
 
26
- attr_accessor :inbox_id
27
-
28
26
  attr_accessor :attachments
29
27
 
30
28
  attr_accessor :created_at
31
29
 
30
+ attr_accessor :inbox_id
31
+
32
32
  attr_accessor :to
33
33
 
34
34
  attr_accessor :bcc
@@ -46,9 +46,9 @@ module MailSlurpClient
46
46
  :'from' => :'from',
47
47
  :'user_id' => :'userId',
48
48
  :'subject' => :'subject',
49
- :'inbox_id' => :'inboxId',
50
49
  :'attachments' => :'attachments',
51
50
  :'created_at' => :'createdAt',
51
+ :'inbox_id' => :'inboxId',
52
52
  :'to' => :'to',
53
53
  :'bcc' => :'bcc',
54
54
  :'cc' => :'cc',
@@ -64,9 +64,9 @@ module MailSlurpClient
64
64
  :'from' => :'String',
65
65
  :'user_id' => :'String',
66
66
  :'subject' => :'String',
67
- :'inbox_id' => :'String',
68
67
  :'attachments' => :'Array<String>',
69
68
  :'created_at' => :'DateTime',
69
+ :'inbox_id' => :'String',
70
70
  :'to' => :'Array<String>',
71
71
  :'bcc' => :'Array<String>',
72
72
  :'cc' => :'Array<String>',
@@ -112,10 +112,6 @@ module MailSlurpClient
112
112
  self.subject = attributes[:'subject']
113
113
  end
114
114
 
115
- if attributes.key?(:'inbox_id')
116
- self.inbox_id = attributes[:'inbox_id']
117
- end
118
-
119
115
  if attributes.key?(:'attachments')
120
116
  if (value = attributes[:'attachments']).is_a?(Array)
121
117
  self.attachments = value
@@ -126,6 +122,10 @@ module MailSlurpClient
126
122
  self.created_at = attributes[:'created_at']
127
123
  end
128
124
 
125
+ if attributes.key?(:'inbox_id')
126
+ self.inbox_id = attributes[:'inbox_id']
127
+ end
128
+
129
129
  if attributes.key?(:'to')
130
130
  if (value = attributes[:'to']).is_a?(Array)
131
131
  self.to = value
@@ -165,10 +165,6 @@ module MailSlurpClient
165
165
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
166
166
  end
167
167
 
168
- if @inbox_id.nil?
169
- invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
170
- end
171
-
172
168
  if @attachments.nil?
173
169
  invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
174
170
  end
@@ -177,6 +173,10 @@ module MailSlurpClient
177
173
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
178
174
  end
179
175
 
176
+ if @inbox_id.nil?
177
+ invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
178
+ end
179
+
180
180
  if @to.nil?
181
181
  invalid_properties.push('invalid value for "to", to cannot be nil.')
182
182
  end
@@ -201,9 +201,9 @@ module MailSlurpClient
201
201
  def valid?
202
202
  return false if @id.nil?
203
203
  return false if @user_id.nil?
204
- return false if @inbox_id.nil?
205
204
  return false if @attachments.nil?
206
205
  return false if @created_at.nil?
206
+ return false if @inbox_id.nil?
207
207
  return false if @to.nil?
208
208
  return false if @bcc.nil?
209
209
  return false if @cc.nil?
@@ -220,9 +220,9 @@ module MailSlurpClient
220
220
  from == o.from &&
221
221
  user_id == o.user_id &&
222
222
  subject == o.subject &&
223
- inbox_id == o.inbox_id &&
224
223
  attachments == o.attachments &&
225
224
  created_at == o.created_at &&
225
+ inbox_id == o.inbox_id &&
226
226
  to == o.to &&
227
227
  bcc == o.bcc &&
228
228
  cc == o.cc &&
@@ -239,7 +239,7 @@ module MailSlurpClient
239
239
  # Calculates hash code according to all attributes.
240
240
  # @return [Integer] Hash code
241
241
  def hash
242
- [id, from, user_id, subject, inbox_id, attachments, created_at, to, bcc, cc, body_md5_hash, virtual_send].hash
242
+ [id, from, user_id, subject, attachments, created_at, inbox_id, to, bcc, cc, body_md5_hash, virtual_send].hash
243
243
  end
244
244
 
245
245
  # Builds the object from hash
@@ -16,16 +16,16 @@ module MailSlurpClient
16
16
  class Sort
17
17
  attr_accessor :empty
18
18
 
19
- attr_accessor :sorted
20
-
21
19
  attr_accessor :unsorted
22
20
 
21
+ attr_accessor :sorted
22
+
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
26
  :'empty' => :'empty',
27
- :'sorted' => :'sorted',
28
- :'unsorted' => :'unsorted'
27
+ :'unsorted' => :'unsorted',
28
+ :'sorted' => :'sorted'
29
29
  }
30
30
  end
31
31
 
@@ -33,8 +33,8 @@ module MailSlurpClient
33
33
  def self.openapi_types
34
34
  {
35
35
  :'empty' => :'Boolean',
36
- :'sorted' => :'Boolean',
37
- :'unsorted' => :'Boolean'
36
+ :'unsorted' => :'Boolean',
37
+ :'sorted' => :'Boolean'
38
38
  }
39
39
  end
40
40
 
@@ -63,13 +63,13 @@ module MailSlurpClient
63
63
  self.empty = attributes[:'empty']
64
64
  end
65
65
 
66
- if attributes.key?(:'sorted')
67
- self.sorted = attributes[:'sorted']
68
- end
69
-
70
66
  if attributes.key?(:'unsorted')
71
67
  self.unsorted = attributes[:'unsorted']
72
68
  end
69
+
70
+ if attributes.key?(:'sorted')
71
+ self.sorted = attributes[:'sorted']
72
+ end
73
73
  end
74
74
 
75
75
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -91,8 +91,8 @@ module MailSlurpClient
91
91
  return true if self.equal?(o)
92
92
  self.class == o.class &&
93
93
  empty == o.empty &&
94
- sorted == o.sorted &&
95
- unsorted == o.unsorted
94
+ unsorted == o.unsorted &&
95
+ sorted == o.sorted
96
96
  end
97
97
 
98
98
  # @see the `==` method
@@ -104,7 +104,7 @@ module MailSlurpClient
104
104
  # Calculates hash code according to all attributes.
105
105
  # @return [Integer] Hash code
106
106
  def hash
107
- [empty, sorted, unsorted].hash
107
+ [empty, unsorted, sorted].hash
108
108
  end
109
109
 
110
110
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :user_id
25
25
 
26
- attr_accessor :created_at
27
-
28
26
  attr_accessor :sent_email_id
29
27
 
28
+ attr_accessor :created_at
29
+
30
30
  attr_accessor :recipient
31
31
 
32
32
  attr_accessor :seen
@@ -40,8 +40,8 @@ module MailSlurpClient
40
40
  :'id' => :'id',
41
41
  :'inbox_id' => :'inboxId',
42
42
  :'user_id' => :'userId',
43
- :'created_at' => :'createdAt',
44
43
  :'sent_email_id' => :'sentEmailId',
44
+ :'created_at' => :'createdAt',
45
45
  :'recipient' => :'recipient',
46
46
  :'seen' => :'seen',
47
47
  :'seen_at' => :'seenAt'
@@ -55,8 +55,8 @@ module MailSlurpClient
55
55
  :'id' => :'String',
56
56
  :'inbox_id' => :'String',
57
57
  :'user_id' => :'String',
58
- :'created_at' => :'DateTime',
59
58
  :'sent_email_id' => :'String',
59
+ :'created_at' => :'DateTime',
60
60
  :'recipient' => :'String',
61
61
  :'seen' => :'Boolean',
62
62
  :'seen_at' => :'DateTime'
@@ -100,14 +100,14 @@ module MailSlurpClient
100
100
  self.user_id = attributes[:'user_id']
101
101
  end
102
102
 
103
- if attributes.key?(:'created_at')
104
- self.created_at = attributes[:'created_at']
105
- end
106
-
107
103
  if attributes.key?(:'sent_email_id')
108
104
  self.sent_email_id = attributes[:'sent_email_id']
109
105
  end
110
106
 
107
+ if attributes.key?(:'created_at')
108
+ self.created_at = attributes[:'created_at']
109
+ end
110
+
111
111
  if attributes.key?(:'recipient')
112
112
  self.recipient = attributes[:'recipient']
113
113
  end
@@ -163,8 +163,8 @@ module MailSlurpClient
163
163
  id == o.id &&
164
164
  inbox_id == o.inbox_id &&
165
165
  user_id == o.user_id &&
166
- created_at == o.created_at &&
167
166
  sent_email_id == o.sent_email_id &&
167
+ created_at == o.created_at &&
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, inbox_id, user_id, created_at, sent_email_id, recipient, seen, seen_at].hash
182
+ [name, id, inbox_id, user_id, sent_email_id, created_at, recipient, seen, seen_at].hash
183
183
  end
184
184
 
185
185
  # 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.5'
14
+ VERSION = '15.16.6'
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.5
4
+ version: 15.16.6
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-20 00:00:00.000000000 Z
11
+ date: 2023-02-14 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