mailslurp_client 15.3.0 → 15.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
  3. data/lib/mailslurp_client/models/contact_projection.rb +13 -13
  4. data/lib/mailslurp_client/models/email_projection.rb +10 -10
  5. data/lib/mailslurp_client/models/inbox_id_item.rb +225 -0
  6. data/lib/mailslurp_client/models/inbox_ids_result.rb +1 -1
  7. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  8. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  9. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  10. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  11. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  12. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  13. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  14. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  15. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  16. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  17. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  18. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  19. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  20. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  21. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  22. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  23. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  24. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  25. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  26. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  27. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  28. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  29. data/lib/mailslurp_client/models/sort.rb +13 -13
  30. data/lib/mailslurp_client/models/thread_projection.rb +10 -10
  31. data/lib/mailslurp_client/version.rb +1 -1
  32. data/lib/mailslurp_client.rb +1 -0
  33. metadata +2 -1
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :last
25
25
 
26
- attr_accessor :total_pages
27
-
28
26
  attr_accessor :total_elements
29
27
 
28
+ attr_accessor :total_pages
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
@@ -46,8 +46,8 @@ module MailSlurpClient
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
48
  :'last' => :'last',
49
- :'total_pages' => :'totalPages',
50
49
  :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
@@ -64,8 +64,8 @@ module MailSlurpClient
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
66
  :'last' => :'Boolean',
67
- :'total_pages' => :'Integer',
68
67
  :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
@@ -114,14 +114,14 @@ module MailSlurpClient
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'total_pages')
118
- self.total_pages = attributes[:'total_pages']
119
- end
120
-
121
117
  if attributes.key?(:'total_elements')
122
118
  self.total_elements = attributes[:'total_elements']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -169,8 +169,8 @@ module MailSlurpClient
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
171
  last == o.last &&
172
- total_pages == o.total_pages &&
173
172
  total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
@@ -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, last, total_pages, total_elements, size, number, sort, first, number_of_elements, 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
@@ -23,14 +23,14 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :subject
25
25
 
26
- attr_accessor :created_at
27
-
28
26
  attr_accessor :inbox_id
29
27
 
30
28
  attr_accessor :to
31
29
 
32
30
  attr_accessor :attachments
33
31
 
32
+ attr_accessor :created_at
33
+
34
34
  attr_accessor :bcc
35
35
 
36
36
  attr_accessor :cc
@@ -44,10 +44,10 @@ module MailSlurpClient
44
44
  :'from' => :'from',
45
45
  :'user_id' => :'userId',
46
46
  :'subject' => :'subject',
47
- :'created_at' => :'createdAt',
48
47
  :'inbox_id' => :'inboxId',
49
48
  :'to' => :'to',
50
49
  :'attachments' => :'attachments',
50
+ :'created_at' => :'createdAt',
51
51
  :'bcc' => :'bcc',
52
52
  :'cc' => :'cc',
53
53
  :'body_md5_hash' => :'bodyMD5Hash'
@@ -61,10 +61,10 @@ module MailSlurpClient
61
61
  :'from' => :'String',
62
62
  :'user_id' => :'String',
63
63
  :'subject' => :'String',
64
- :'created_at' => :'DateTime',
65
64
  :'inbox_id' => :'String',
66
65
  :'to' => :'Array<String>',
67
66
  :'attachments' => :'Array<String>',
67
+ :'created_at' => :'DateTime',
68
68
  :'bcc' => :'Array<String>',
69
69
  :'cc' => :'Array<String>',
70
70
  :'body_md5_hash' => :'String'
@@ -108,10 +108,6 @@ module MailSlurpClient
108
108
  self.subject = attributes[:'subject']
109
109
  end
110
110
 
111
- if attributes.key?(:'created_at')
112
- self.created_at = attributes[:'created_at']
113
- end
114
-
115
111
  if attributes.key?(:'inbox_id')
116
112
  self.inbox_id = attributes[:'inbox_id']
117
113
  end
@@ -128,6 +124,10 @@ module MailSlurpClient
128
124
  end
129
125
  end
130
126
 
127
+ if attributes.key?(:'created_at')
128
+ self.created_at = attributes[:'created_at']
129
+ end
130
+
131
131
  if attributes.key?(:'bcc')
132
132
  if (value = attributes[:'bcc']).is_a?(Array)
133
133
  self.bcc = value
@@ -157,10 +157,6 @@ module MailSlurpClient
157
157
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
158
158
  end
159
159
 
160
- if @created_at.nil?
161
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
162
- end
163
-
164
160
  if @inbox_id.nil?
165
161
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
166
162
  end
@@ -173,6 +169,10 @@ module MailSlurpClient
173
169
  invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
174
170
  end
175
171
 
172
+ if @created_at.nil?
173
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
174
+ end
175
+
176
176
  if @bcc.nil?
177
177
  invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
178
178
  end
@@ -189,10 +189,10 @@ module MailSlurpClient
189
189
  def valid?
190
190
  return false if @id.nil?
191
191
  return false if @user_id.nil?
192
- return false if @created_at.nil?
193
192
  return false if @inbox_id.nil?
194
193
  return false if @to.nil?
195
194
  return false if @attachments.nil?
195
+ return false if @created_at.nil?
196
196
  return false if @bcc.nil?
197
197
  return false if @cc.nil?
198
198
  true
@@ -207,10 +207,10 @@ module MailSlurpClient
207
207
  from == o.from &&
208
208
  user_id == o.user_id &&
209
209
  subject == o.subject &&
210
- created_at == o.created_at &&
211
210
  inbox_id == o.inbox_id &&
212
211
  to == o.to &&
213
212
  attachments == o.attachments &&
213
+ created_at == o.created_at &&
214
214
  bcc == o.bcc &&
215
215
  cc == o.cc &&
216
216
  body_md5_hash == o.body_md5_hash
@@ -225,7 +225,7 @@ module MailSlurpClient
225
225
  # Calculates hash code according to all attributes.
226
226
  # @return [Integer] Hash code
227
227
  def hash
228
- [id, from, user_id, subject, created_at, inbox_id, to, attachments, bcc, cc, body_md5_hash].hash
228
+ [id, from, user_id, subject, inbox_id, to, attachments, created_at, bcc, cc, body_md5_hash].hash
229
229
  end
230
230
 
231
231
  # 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 :unsorted
20
-
21
19
  attr_accessor :sorted
22
20
 
21
+ attr_accessor :unsorted
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
- :'unsorted' => :'unsorted',
28
- :'sorted' => :'sorted'
27
+ :'sorted' => :'sorted',
28
+ :'unsorted' => :'unsorted'
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
- :'unsorted' => :'Boolean',
37
- :'sorted' => :'Boolean'
36
+ :'sorted' => :'Boolean',
37
+ :'unsorted' => :'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?(:'unsorted')
67
- self.unsorted = attributes[:'unsorted']
68
- end
69
-
70
66
  if attributes.key?(:'sorted')
71
67
  self.sorted = attributes[:'sorted']
72
68
  end
69
+
70
+ if attributes.key?(:'unsorted')
71
+ self.unsorted = attributes[:'unsorted']
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
- unsorted == o.unsorted &&
95
- sorted == o.sorted
94
+ sorted == o.sorted &&
95
+ unsorted == o.unsorted
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, unsorted, sorted].hash
107
+ [empty, sorted, unsorted].hash
108
108
  end
109
109
 
110
110
  # Builds the object from hash
@@ -27,12 +27,12 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :to
29
29
 
30
+ attr_accessor :created_at
31
+
30
32
  attr_accessor :bcc
31
33
 
32
34
  attr_accessor :cc
33
35
 
34
- attr_accessor :created_at
35
-
36
36
  attr_accessor :updated_at
37
37
 
38
38
  attr_accessor :alias_id
@@ -46,9 +46,9 @@ module MailSlurpClient
46
46
  :'user_id' => :'userId',
47
47
  :'inbox_id' => :'inboxId',
48
48
  :'to' => :'to',
49
+ :'created_at' => :'createdAt',
49
50
  :'bcc' => :'bcc',
50
51
  :'cc' => :'cc',
51
- :'created_at' => :'createdAt',
52
52
  :'updated_at' => :'updatedAt',
53
53
  :'alias_id' => :'aliasId'
54
54
  }
@@ -63,9 +63,9 @@ module MailSlurpClient
63
63
  :'user_id' => :'String',
64
64
  :'inbox_id' => :'String',
65
65
  :'to' => :'Array<String>',
66
+ :'created_at' => :'DateTime',
66
67
  :'bcc' => :'Array<String>',
67
68
  :'cc' => :'Array<String>',
68
- :'created_at' => :'DateTime',
69
69
  :'updated_at' => :'DateTime',
70
70
  :'alias_id' => :'String'
71
71
  }
@@ -118,6 +118,10 @@ module MailSlurpClient
118
118
  end
119
119
  end
120
120
 
121
+ if attributes.key?(:'created_at')
122
+ self.created_at = attributes[:'created_at']
123
+ end
124
+
121
125
  if attributes.key?(:'bcc')
122
126
  if (value = attributes[:'bcc']).is_a?(Array)
123
127
  self.bcc = value
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  end
131
135
  end
132
136
 
133
- if attributes.key?(:'created_at')
134
- self.created_at = attributes[:'created_at']
135
- end
136
-
137
137
  if attributes.key?(:'updated_at')
138
138
  self.updated_at = attributes[:'updated_at']
139
139
  end
@@ -202,9 +202,9 @@ module MailSlurpClient
202
202
  user_id == o.user_id &&
203
203
  inbox_id == o.inbox_id &&
204
204
  to == o.to &&
205
+ created_at == o.created_at &&
205
206
  bcc == o.bcc &&
206
207
  cc == o.cc &&
207
- created_at == o.created_at &&
208
208
  updated_at == o.updated_at &&
209
209
  alias_id == o.alias_id
210
210
  end
@@ -218,7 +218,7 @@ module MailSlurpClient
218
218
  # Calculates hash code according to all attributes.
219
219
  # @return [Integer] Hash code
220
220
  def hash
221
- [name, id, subject, user_id, inbox_id, to, bcc, cc, created_at, updated_at, alias_id].hash
221
+ [name, id, subject, user_id, inbox_id, to, created_at, bcc, cc, updated_at, alias_id].hash
222
222
  end
223
223
 
224
224
  # 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.3.0'
14
+ VERSION = '15.3.1'
15
15
  end
@@ -80,6 +80,7 @@ require 'mailslurp_client/models/inbox_exists_dto'
80
80
  require 'mailslurp_client/models/inbox_forwarder_dto'
81
81
  require 'mailslurp_client/models/inbox_forwarder_test_options'
82
82
  require 'mailslurp_client/models/inbox_forwarder_test_result'
83
+ require 'mailslurp_client/models/inbox_id_item'
83
84
  require 'mailslurp_client/models/inbox_ids_result'
84
85
  require 'mailslurp_client/models/inbox_preview'
85
86
  require 'mailslurp_client/models/inbox_ruleset_dto'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.3.0
4
+ version: 15.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
@@ -110,6 +110,7 @@ files:
110
110
  - lib/mailslurp_client/models/inbox_forwarder_dto.rb
111
111
  - lib/mailslurp_client/models/inbox_forwarder_test_options.rb
112
112
  - lib/mailslurp_client/models/inbox_forwarder_test_result.rb
113
+ - lib/mailslurp_client/models/inbox_id_item.rb
113
114
  - lib/mailslurp_client/models/inbox_ids_result.rb
114
115
  - lib/mailslurp_client/models/inbox_preview.rb
115
116
  - lib/mailslurp_client/models/inbox_ruleset_dto.rb