mailslurp_client 15.7.14 → 15.7.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/alias_projection.rb +18 -18
  3. data/lib/mailslurp_client/models/attachment_entity.rb +1 -0
  4. data/lib/mailslurp_client/models/attachment_projection.rb +23 -22
  5. data/lib/mailslurp_client/models/bounce_projection.rb +1 -0
  6. data/lib/mailslurp_client/models/bounce_recipient.rb +1 -0
  7. data/lib/mailslurp_client/models/contact_dto.rb +1 -0
  8. data/lib/mailslurp_client/models/count_dto.rb +1 -0
  9. data/lib/mailslurp_client/models/create_contact_options.rb +1 -0
  10. data/lib/mailslurp_client/models/create_group_options.rb +1 -0
  11. data/lib/mailslurp_client/models/create_template_options.rb +1 -0
  12. data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -0
  13. data/lib/mailslurp_client/models/describe_domain_options.rb +1 -0
  14. data/lib/mailslurp_client/models/email_preview_urls.rb +1 -0
  15. data/lib/mailslurp_client/models/email_validation_request.rb +1 -0
  16. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +1 -0
  17. data/lib/mailslurp_client/models/filter_bounced_recipients_options.rb +1 -0
  18. data/lib/mailslurp_client/models/filter_bounced_recipients_result.rb +1 -0
  19. data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +1 -0
  20. data/lib/mailslurp_client/models/gravatar_url.rb +1 -0
  21. data/lib/mailslurp_client/models/group_contacts_dto.rb +1 -0
  22. data/lib/mailslurp_client/models/group_projection.rb +1 -0
  23. data/lib/mailslurp_client/models/imap_flag_operation_options.rb +1 -0
  24. data/lib/mailslurp_client/models/imap_smtp_access_details.rb +9 -0
  25. data/lib/mailslurp_client/models/inbox_by_email_address_result.rb +1 -0
  26. data/lib/mailslurp_client/models/inbox_exists_dto.rb +1 -0
  27. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +1 -0
  28. data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +1 -0
  29. data/lib/mailslurp_client/models/inbox_id_item.rb +1 -0
  30. data/lib/mailslurp_client/models/inbox_ids_result.rb +1 -0
  31. data/lib/mailslurp_client/models/inbox_preview.rb +1 -0
  32. data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +1 -0
  33. data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -0
  34. data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +1 -0
  35. data/lib/mailslurp_client/models/json_schema_dto.rb +1 -0
  36. data/lib/mailslurp_client/models/missed_email.rb +1 -0
  37. data/lib/mailslurp_client/models/missed_email_projection.rb +1 -0
  38. data/lib/mailslurp_client/models/organization_inbox_projection.rb +1 -0
  39. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  40. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  41. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  42. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  43. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  44. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  45. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  46. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  47. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  48. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  49. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  50. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  51. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  52. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  53. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  54. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  55. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  56. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  57. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  58. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  59. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  60. data/lib/mailslurp_client/models/recipient.rb +1 -0
  61. data/lib/mailslurp_client/models/simple_send_email_options.rb +1 -0
  62. data/lib/mailslurp_client/models/template_dto.rb +1 -0
  63. data/lib/mailslurp_client/models/template_projection.rb +19 -18
  64. data/lib/mailslurp_client/models/template_variable.rb +1 -0
  65. data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -0
  66. data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -0
  67. data/lib/mailslurp_client/models/thread_projection.rb +15 -15
  68. data/lib/mailslurp_client/models/tracking_pixel_dto.rb +1 -0
  69. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +16 -15
  70. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +1 -0
  71. data/lib/mailslurp_client/models/unread_count.rb +1 -0
  72. data/lib/mailslurp_client/models/unseen_error_count_dto.rb +1 -0
  73. data/lib/mailslurp_client/models/update_group_contacts.rb +1 -0
  74. data/lib/mailslurp_client/models/validate_email_address_list_result.rb +1 -0
  75. data/lib/mailslurp_client/models/webhook_projection.rb +18 -18
  76. data/lib/mailslurp_client/models/webhook_redrive_result.rb +1 -0
  77. data/lib/mailslurp_client/models/webhook_result_dto.rb +1 -0
  78. data/lib/mailslurp_client/models/webhook_test_request.rb +1 -0
  79. data/lib/mailslurp_client/models/webhook_test_response.rb +1 -0
  80. data/lib/mailslurp_client/version.rb +1 -1
  81. 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<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
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Email recipient
16
17
  class Recipient
17
18
  attr_accessor :raw_value
18
19
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Simplified send email options
16
17
  class SimpleSendEmailOptions
17
18
  # ID of inbox to send from. If null an inbox will be created for sending
18
19
  attr_accessor :sender_id
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Email template
16
17
  class TemplateDto
17
18
  attr_accessor :id
18
19
 
@@ -13,25 +13,26 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Email template data
16
17
  class TemplateProjection
17
18
  attr_accessor :name
18
19
 
19
20
  attr_accessor :id
20
21
 
21
- attr_accessor :updated_at
22
-
23
22
  attr_accessor :created_at
24
23
 
25
24
  attr_accessor :variables
26
25
 
26
+ attr_accessor :updated_at
27
+
27
28
  # Attribute mapping from ruby-style variable name to JSON key.
28
29
  def self.attribute_map
29
30
  {
30
31
  :'name' => :'name',
31
32
  :'id' => :'id',
32
- :'updated_at' => :'updatedAt',
33
33
  :'created_at' => :'createdAt',
34
- :'variables' => :'variables'
34
+ :'variables' => :'variables',
35
+ :'updated_at' => :'updatedAt'
35
36
  }
36
37
  end
37
38
 
@@ -40,9 +41,9 @@ module MailSlurpClient
40
41
  {
41
42
  :'name' => :'String',
42
43
  :'id' => :'String',
43
- :'updated_at' => :'DateTime',
44
44
  :'created_at' => :'DateTime',
45
- :'variables' => :'Array<String>'
45
+ :'variables' => :'Array<String>',
46
+ :'updated_at' => :'DateTime'
46
47
  }
47
48
  end
48
49
 
@@ -75,10 +76,6 @@ module MailSlurpClient
75
76
  self.id = attributes[:'id']
76
77
  end
77
78
 
78
- if attributes.key?(:'updated_at')
79
- self.updated_at = attributes[:'updated_at']
80
- end
81
-
82
79
  if attributes.key?(:'created_at')
83
80
  self.created_at = attributes[:'created_at']
84
81
  end
@@ -88,6 +85,10 @@ module MailSlurpClient
88
85
  self.variables = value
89
86
  end
90
87
  end
88
+
89
+ if attributes.key?(:'updated_at')
90
+ self.updated_at = attributes[:'updated_at']
91
+ end
91
92
  end
92
93
 
93
94
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -102,10 +103,6 @@ module MailSlurpClient
102
103
  invalid_properties.push('invalid value for "id", id cannot be nil.')
103
104
  end
104
105
 
105
- if @updated_at.nil?
106
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
107
- end
108
-
109
106
  if @created_at.nil?
110
107
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
111
108
  end
@@ -114,6 +111,10 @@ module MailSlurpClient
114
111
  invalid_properties.push('invalid value for "variables", variables cannot be nil.')
115
112
  end
116
113
 
114
+ if @updated_at.nil?
115
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
116
+ end
117
+
117
118
  invalid_properties
118
119
  end
119
120
 
@@ -122,9 +123,9 @@ module MailSlurpClient
122
123
  def valid?
123
124
  return false if @name.nil?
124
125
  return false if @id.nil?
125
- return false if @updated_at.nil?
126
126
  return false if @created_at.nil?
127
127
  return false if @variables.nil?
128
+ return false if @updated_at.nil?
128
129
  true
129
130
  end
130
131
 
@@ -135,9 +136,9 @@ module MailSlurpClient
135
136
  self.class == o.class &&
136
137
  name == o.name &&
137
138
  id == o.id &&
138
- updated_at == o.updated_at &&
139
139
  created_at == o.created_at &&
140
- variables == o.variables
140
+ variables == o.variables &&
141
+ updated_at == o.updated_at
141
142
  end
142
143
 
143
144
  # @see the `==` method
@@ -149,7 +150,7 @@ module MailSlurpClient
149
150
  # Calculates hash code according to all attributes.
150
151
  # @return [Integer] Hash code
151
152
  def hash
152
- [name, id, updated_at, created_at, variables].hash
153
+ [name, id, created_at, variables, updated_at].hash
153
154
  end
154
155
 
155
156
  # Builds the object from hash
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Variable for use with email template
16
17
  class TemplateVariable
17
18
  attr_accessor :name
18
19
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Options for testing new inbox forwarder rules
16
17
  class TestNewInboxForwarderOptions
17
18
  attr_accessor :inbox_forwarder_test_options
18
19
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Test inbox ruleset options
16
17
  class TestNewInboxRulesetOptions
17
18
  attr_accessor :inbox_ruleset_test_options
18
19
 
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :to
29
29
 
30
- attr_accessor :updated_at
31
-
32
30
  attr_accessor :bcc
33
31
 
34
32
  attr_accessor :cc
35
33
 
36
34
  attr_accessor :created_at
37
35
 
36
+ attr_accessor :updated_at
37
+
38
38
  attr_accessor :alias_id
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'user_id' => :'userId',
47
47
  :'inbox_id' => :'inboxId',
48
48
  :'to' => :'to',
49
- :'updated_at' => :'updatedAt',
50
49
  :'bcc' => :'bcc',
51
50
  :'cc' => :'cc',
52
51
  :'created_at' => :'createdAt',
52
+ :'updated_at' => :'updatedAt',
53
53
  :'alias_id' => :'aliasId'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'user_id' => :'String',
64
64
  :'inbox_id' => :'String',
65
65
  :'to' => :'Array<String>',
66
- :'updated_at' => :'DateTime',
67
66
  :'bcc' => :'Array<String>',
68
67
  :'cc' => :'Array<String>',
69
68
  :'created_at' => :'DateTime',
69
+ :'updated_at' => :'DateTime',
70
70
  :'alias_id' => :'String'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  end
119
119
  end
120
120
 
121
- if attributes.key?(:'updated_at')
122
- self.updated_at = attributes[:'updated_at']
123
- end
124
-
125
121
  if attributes.key?(:'bcc')
126
122
  if (value = attributes[:'bcc']).is_a?(Array)
127
123
  self.bcc = value
@@ -138,6 +134,10 @@ module MailSlurpClient
138
134
  self.created_at = attributes[:'created_at']
139
135
  end
140
136
 
137
+ if attributes.key?(:'updated_at')
138
+ self.updated_at = attributes[:'updated_at']
139
+ end
140
+
141
141
  if attributes.key?(:'alias_id')
142
142
  self.alias_id = attributes[:'alias_id']
143
143
  end
@@ -163,14 +163,14 @@ module MailSlurpClient
163
163
  invalid_properties.push('invalid value for "to", to cannot be nil.')
164
164
  end
165
165
 
166
- if @updated_at.nil?
167
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
168
- end
169
-
170
166
  if @created_at.nil?
171
167
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
172
168
  end
173
169
 
170
+ if @updated_at.nil?
171
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
172
+ end
173
+
174
174
  if @alias_id.nil?
175
175
  invalid_properties.push('invalid value for "alias_id", alias_id cannot be nil.')
176
176
  end
@@ -185,8 +185,8 @@ module MailSlurpClient
185
185
  return false if @user_id.nil?
186
186
  return false if @inbox_id.nil?
187
187
  return false if @to.nil?
188
- return false if @updated_at.nil?
189
188
  return false if @created_at.nil?
189
+ return false if @updated_at.nil?
190
190
  return false if @alias_id.nil?
191
191
  true
192
192
  end
@@ -202,10 +202,10 @@ module MailSlurpClient
202
202
  user_id == o.user_id &&
203
203
  inbox_id == o.inbox_id &&
204
204
  to == o.to &&
205
- updated_at == o.updated_at &&
206
205
  bcc == o.bcc &&
207
206
  cc == o.cc &&
208
207
  created_at == o.created_at &&
208
+ updated_at == o.updated_at &&
209
209
  alias_id == o.alias_id
210
210
  end
211
211
 
@@ -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, updated_at, bcc, cc, created_at, alias_id].hash
221
+ [name, id, subject, user_id, inbox_id, to, bcc, cc, created_at, updated_at, alias_id].hash
222
222
  end
223
223
 
224
224
  # Builds the object from hash
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Tracking pixel
16
17
  class TrackingPixelDto
17
18
  attr_accessor :id
18
19
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Tracking pixel data
16
17
  class TrackingPixelProjection
17
18
  attr_accessor :name
18
19
 
@@ -22,12 +23,12 @@ module MailSlurpClient
22
23
 
23
24
  attr_accessor :inbox_id
24
25
 
25
- attr_accessor :seen
26
-
27
26
  attr_accessor :created_at
28
27
 
29
28
  attr_accessor :recipient
30
29
 
30
+ attr_accessor :seen
31
+
31
32
  attr_accessor :seen_at
32
33
 
33
34
  attr_accessor :sent_email_id
@@ -39,9 +40,9 @@ module MailSlurpClient
39
40
  :'id' => :'id',
40
41
  :'user_id' => :'userId',
41
42
  :'inbox_id' => :'inboxId',
42
- :'seen' => :'seen',
43
43
  :'created_at' => :'createdAt',
44
44
  :'recipient' => :'recipient',
45
+ :'seen' => :'seen',
45
46
  :'seen_at' => :'seenAt',
46
47
  :'sent_email_id' => :'sentEmailId'
47
48
  }
@@ -54,9 +55,9 @@ module MailSlurpClient
54
55
  :'id' => :'String',
55
56
  :'user_id' => :'String',
56
57
  :'inbox_id' => :'String',
57
- :'seen' => :'Boolean',
58
58
  :'created_at' => :'DateTime',
59
59
  :'recipient' => :'String',
60
+ :'seen' => :'Boolean',
60
61
  :'seen_at' => :'DateTime',
61
62
  :'sent_email_id' => :'String'
62
63
  }
@@ -99,10 +100,6 @@ module MailSlurpClient
99
100
  self.inbox_id = attributes[:'inbox_id']
100
101
  end
101
102
 
102
- if attributes.key?(:'seen')
103
- self.seen = attributes[:'seen']
104
- end
105
-
106
103
  if attributes.key?(:'created_at')
107
104
  self.created_at = attributes[:'created_at']
108
105
  end
@@ -111,6 +108,10 @@ module MailSlurpClient
111
108
  self.recipient = attributes[:'recipient']
112
109
  end
113
110
 
111
+ if attributes.key?(:'seen')
112
+ self.seen = attributes[:'seen']
113
+ end
114
+
114
115
  if attributes.key?(:'seen_at')
115
116
  self.seen_at = attributes[:'seen_at']
116
117
  end
@@ -132,14 +133,14 @@ module MailSlurpClient
132
133
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
133
134
  end
134
135
 
135
- if @seen.nil?
136
- invalid_properties.push('invalid value for "seen", seen cannot be nil.')
137
- end
138
-
139
136
  if @created_at.nil?
140
137
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
141
138
  end
142
139
 
140
+ if @seen.nil?
141
+ invalid_properties.push('invalid value for "seen", seen cannot be nil.')
142
+ end
143
+
143
144
  invalid_properties
144
145
  end
145
146
 
@@ -148,8 +149,8 @@ module MailSlurpClient
148
149
  def valid?
149
150
  return false if @id.nil?
150
151
  return false if @user_id.nil?
151
- return false if @seen.nil?
152
152
  return false if @created_at.nil?
153
+ return false if @seen.nil?
153
154
  true
154
155
  end
155
156
 
@@ -162,9 +163,9 @@ module MailSlurpClient
162
163
  id == o.id &&
163
164
  user_id == o.user_id &&
164
165
  inbox_id == o.inbox_id &&
165
- seen == o.seen &&
166
166
  created_at == o.created_at &&
167
167
  recipient == o.recipient &&
168
+ seen == o.seen &&
168
169
  seen_at == o.seen_at &&
169
170
  sent_email_id == o.sent_email_id
170
171
  end
@@ -178,7 +179,7 @@ module MailSlurpClient
178
179
  # Calculates hash code according to all attributes.
179
180
  # @return [Integer] Hash code
180
181
  def hash
181
- [name, id, user_id, inbox_id, seen, created_at, recipient, seen_at, sent_email_id].hash
182
+ [name, id, user_id, inbox_id, created_at, recipient, seen, seen_at, sent_email_id].hash
182
183
  end
183
184
 
184
185
  # Builds the object from hash
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Unknown missed email projection
16
17
  class UnknownMissedEmailProjection
17
18
  attr_accessor :id
18
19
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Number of unread emails
16
17
  class UnreadCount
17
18
  attr_accessor :count
18
19
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Number of unseen errors
16
17
  class UnseenErrorCountDto
17
18
  attr_accessor :count
18
19
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Update group contacts options. Pass a list of contact ids to replace existing group contacts.
16
17
  class UpdateGroupContacts
17
18
  attr_accessor :contact_ids
18
19
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Result of validating a list of email addresses
16
17
  class ValidateEmailAddressListResult
17
18
  attr_accessor :valid_email_addresses
18
19
 
@@ -25,10 +25,10 @@ module MailSlurpClient
25
25
 
26
26
  attr_accessor :event_name
27
27
 
28
- attr_accessor :updated_at
29
-
30
28
  attr_accessor :created_at
31
29
 
30
+ attr_accessor :updated_at
31
+
32
32
  class EnumAttributeValidator
33
33
  attr_reader :datatype
34
34
  attr_reader :allowable_values
@@ -59,8 +59,8 @@ module MailSlurpClient
59
59
  :'url' => :'url',
60
60
  :'inbox_id' => :'inboxId',
61
61
  :'event_name' => :'eventName',
62
- :'updated_at' => :'updatedAt',
63
- :'created_at' => :'createdAt'
62
+ :'created_at' => :'createdAt',
63
+ :'updated_at' => :'updatedAt'
64
64
  }
65
65
  end
66
66
 
@@ -72,8 +72,8 @@ module MailSlurpClient
72
72
  :'url' => :'String',
73
73
  :'inbox_id' => :'String',
74
74
  :'event_name' => :'String',
75
- :'updated_at' => :'DateTime',
76
- :'created_at' => :'DateTime'
75
+ :'created_at' => :'DateTime',
76
+ :'updated_at' => :'DateTime'
77
77
  }
78
78
  end
79
79
 
@@ -118,13 +118,13 @@ module MailSlurpClient
118
118
  self.event_name = attributes[:'event_name']
119
119
  end
120
120
 
121
- if attributes.key?(:'updated_at')
122
- self.updated_at = attributes[:'updated_at']
123
- end
124
-
125
121
  if attributes.key?(:'created_at')
126
122
  self.created_at = attributes[:'created_at']
127
123
  end
124
+
125
+ if attributes.key?(:'updated_at')
126
+ self.updated_at = attributes[:'updated_at']
127
+ end
128
128
  end
129
129
 
130
130
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -139,14 +139,14 @@ module MailSlurpClient
139
139
  invalid_properties.push('invalid value for "url", url cannot be nil.')
140
140
  end
141
141
 
142
- if @updated_at.nil?
143
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
144
- end
145
-
146
142
  if @created_at.nil?
147
143
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
148
144
  end
149
145
 
146
+ if @updated_at.nil?
147
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
148
+ end
149
+
150
150
  invalid_properties
151
151
  end
152
152
 
@@ -157,8 +157,8 @@ module MailSlurpClient
157
157
  return false if @url.nil?
158
158
  event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
159
159
  return false unless event_name_validator.valid?(@event_name)
160
- return false if @updated_at.nil?
161
160
  return false if @created_at.nil?
161
+ return false if @updated_at.nil?
162
162
  true
163
163
  end
164
164
 
@@ -182,8 +182,8 @@ module MailSlurpClient
182
182
  url == o.url &&
183
183
  inbox_id == o.inbox_id &&
184
184
  event_name == o.event_name &&
185
- updated_at == o.updated_at &&
186
- created_at == o.created_at
185
+ created_at == o.created_at &&
186
+ updated_at == o.updated_at
187
187
  end
188
188
 
189
189
  # @see the `==` method
@@ -195,7 +195,7 @@ module MailSlurpClient
195
195
  # Calculates hash code according to all attributes.
196
196
  # @return [Integer] Hash code
197
197
  def hash
198
- [name, id, url, inbox_id, event_name, updated_at, created_at].hash
198
+ [name, id, url, inbox_id, event_name, created_at, updated_at].hash
199
199
  end
200
200
 
201
201
  # Builds the object from hash
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Result of retrying webhook
16
17
  class WebhookRedriveResult
17
18
  attr_accessor :webhook_result_id
18
19