mailslurp_client 15.19.9 → 15.19.11

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 (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/alias_projection.rb +29 -29
  3. data/lib/mailslurp_client/models/attachment_projection.rb +29 -29
  4. data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
  5. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +15 -15
  6. data/lib/mailslurp_client/models/connector_projection.rb +15 -15
  7. data/lib/mailslurp_client/models/connector_sync_event_projection.rb +15 -15
  8. data/lib/mailslurp_client/models/contact_projection.rb +10 -10
  9. data/lib/mailslurp_client/models/email_projection.rb +15 -15
  10. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
  11. data/lib/mailslurp_client/models/imap_email_projection.rb +15 -15
  12. data/lib/mailslurp_client/models/imap_mailbox_status.rb +2 -4
  13. data/lib/mailslurp_client/models/imap_update_flags_options.rb +0 -34
  14. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +10 -10
  15. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +14 -14
  16. data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +15 -15
  17. data/lib/mailslurp_client/models/missed_email_projection.rb +10 -10
  18. data/lib/mailslurp_client/models/phone_number_projection.rb +15 -15
  19. data/lib/mailslurp_client/models/sent_email_projection.rb +35 -35
  20. data/lib/mailslurp_client/models/sms_projection.rb +29 -29
  21. data/lib/mailslurp_client/models/template_projection.rb +17 -17
  22. data/lib/mailslurp_client/models/thread_projection.rb +31 -31
  23. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +15 -15
  24. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
  25. data/lib/mailslurp_client/models/webhook_projection.rb +25 -25
  26. data/lib/mailslurp_client/version.rb +1 -1
  27. metadata +2 -2
@@ -15,6 +15,10 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Representation of a webhook
17
17
  class WebhookProjection
18
+ attr_accessor :created_at
19
+
20
+ attr_accessor :updated_at
21
+
18
22
  attr_accessor :url
19
23
 
20
24
  attr_accessor :inbox_id
@@ -23,10 +27,6 @@ module MailSlurpClient
23
27
 
24
28
  attr_accessor :phone_number_id
25
29
 
26
- attr_accessor :created_at
27
-
28
- attr_accessor :updated_at
29
-
30
30
  attr_accessor :name
31
31
 
32
32
  attr_accessor :id
@@ -56,12 +56,12 @@ module MailSlurpClient
56
56
  # Attribute mapping from ruby-style variable name to JSON key.
57
57
  def self.attribute_map
58
58
  {
59
+ :'created_at' => :'createdAt',
60
+ :'updated_at' => :'updatedAt',
59
61
  :'url' => :'url',
60
62
  :'inbox_id' => :'inboxId',
61
63
  :'event_name' => :'eventName',
62
64
  :'phone_number_id' => :'phoneNumberId',
63
- :'created_at' => :'createdAt',
64
- :'updated_at' => :'updatedAt',
65
65
  :'name' => :'name',
66
66
  :'id' => :'id'
67
67
  }
@@ -70,12 +70,12 @@ module MailSlurpClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
+ :'created_at' => :'DateTime',
74
+ :'updated_at' => :'DateTime',
73
75
  :'url' => :'String',
74
76
  :'inbox_id' => :'String',
75
77
  :'event_name' => :'String',
76
78
  :'phone_number_id' => :'String',
77
- :'created_at' => :'DateTime',
78
- :'updated_at' => :'DateTime',
79
79
  :'name' => :'String',
80
80
  :'id' => :'String'
81
81
  }
@@ -102,6 +102,14 @@ module MailSlurpClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
+ if attributes.key?(:'created_at')
106
+ self.created_at = attributes[:'created_at']
107
+ end
108
+
109
+ if attributes.key?(:'updated_at')
110
+ self.updated_at = attributes[:'updated_at']
111
+ end
112
+
105
113
  if attributes.key?(:'url')
106
114
  self.url = attributes[:'url']
107
115
  end
@@ -118,14 +126,6 @@ module MailSlurpClient
118
126
  self.phone_number_id = attributes[:'phone_number_id']
119
127
  end
120
128
 
121
- if attributes.key?(:'created_at')
122
- self.created_at = attributes[:'created_at']
123
- end
124
-
125
- if attributes.key?(:'updated_at')
126
- self.updated_at = attributes[:'updated_at']
127
- end
128
-
129
129
  if attributes.key?(:'name')
130
130
  self.name = attributes[:'name']
131
131
  end
@@ -139,10 +139,6 @@ module MailSlurpClient
139
139
  # @return Array for valid properties with the reasons
140
140
  def list_invalid_properties
141
141
  invalid_properties = Array.new
142
- if @url.nil?
143
- invalid_properties.push('invalid value for "url", url 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
@@ -151,6 +147,10 @@ module MailSlurpClient
151
147
  invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
152
148
  end
153
149
 
150
+ if @url.nil?
151
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
152
+ end
153
+
154
154
  if @id.nil?
155
155
  invalid_properties.push('invalid value for "id", id cannot be nil.')
156
156
  end
@@ -161,11 +161,11 @@ module MailSlurpClient
161
161
  # Check to see if the all the properties in the model are valid
162
162
  # @return true if the model is valid
163
163
  def valid?
164
+ return false if @created_at.nil?
165
+ return false if @updated_at.nil?
164
166
  return false if @url.nil?
165
167
  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"])
166
168
  return false unless event_name_validator.valid?(@event_name)
167
- return false if @created_at.nil?
168
- return false if @updated_at.nil?
169
169
  return false if @id.nil?
170
170
  true
171
171
  end
@@ -185,12 +185,12 @@ module MailSlurpClient
185
185
  def ==(o)
186
186
  return true if self.equal?(o)
187
187
  self.class == o.class &&
188
+ created_at == o.created_at &&
189
+ updated_at == o.updated_at &&
188
190
  url == o.url &&
189
191
  inbox_id == o.inbox_id &&
190
192
  event_name == o.event_name &&
191
193
  phone_number_id == o.phone_number_id &&
192
- created_at == o.created_at &&
193
- updated_at == o.updated_at &&
194
194
  name == o.name &&
195
195
  id == o.id
196
196
  end
@@ -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
- [url, inbox_id, event_name, phone_number_id, created_at, updated_at, name, id].hash
207
+ [created_at, updated_at, url, inbox_id, event_name, phone_number_id, name, 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.19.9'
14
+ VERSION = '15.19.11'
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.19.9
4
+ version: 15.19.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-29 00:00:00.000000000 Z
11
+ date: 2024-04-30 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