mailslurp_client 15.19.6 → 15.19.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/alias_projection.rb +39 -39
  3. data/lib/mailslurp_client/models/attachment_projection.rb +29 -29
  4. data/lib/mailslurp_client/models/bounce_projection.rb +15 -15
  5. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +15 -15
  6. data/lib/mailslurp_client/models/connector_projection.rb +30 -30
  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 +23 -23
  10. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +19 -19
  11. data/lib/mailslurp_client/models/imap_email_projection.rb +15 -15
  12. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +17 -17
  13. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +20 -20
  14. data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +15 -15
  15. data/lib/mailslurp_client/models/missed_email_projection.rb +10 -10
  16. data/lib/mailslurp_client/models/phone_number_projection.rb +15 -15
  17. data/lib/mailslurp_client/models/sent_email_projection.rb +35 -35
  18. data/lib/mailslurp_client/models/sms_projection.rb +29 -29
  19. data/lib/mailslurp_client/models/template_projection.rb +17 -17
  20. data/lib/mailslurp_client/models/thread_projection.rb +41 -41
  21. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +27 -27
  22. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
  23. data/lib/mailslurp_client/models/webhook_projection.rb +25 -25
  24. data/lib/mailslurp_client/version.rb +1 -1
  25. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e783774b92eddf7f93f5ea7de31da80cdaa17472a529b29095b43577fe51b2cd
4
- data.tar.gz: 904ac402d6b9e7555d091a525702f59230b75bf07b353e160863aee132f158c1
3
+ metadata.gz: 712bab6e30d10954ac1b0192d04cbb16e54dc95931c1db7263d8c01987f04b17
4
+ data.tar.gz: 362c83ffcd25d4130b57f26fc5ca6f37f3ae11513616c2d03ecddde25813b05a
5
5
  SHA512:
6
- metadata.gz: ecd11de4f4f3a1f64b14043473ab4349ee7e3415ca19521ddb6085e340f835987746f4366775ed9cd91514681b90095ece5e80db913207e20b2955a3fda8f6b9
7
- data.tar.gz: 314ffa3da3a1a64e92846edbfd71b83d04c2db9d50cd67f86537dddf1d194810c375b9040d13126dc7730fb3d96f054478fa2f9662aee2b6bea49e7daa33108b
6
+ metadata.gz: 2fba38a96dbd58ba9dcb13aa869568f8d2f37755bba8bc680ebde4dd8cc5d7ffc7d7ab5168399726df91e0ce328aec9a07a4fa50cfecdf5782d5fed9be2b5b6c
7
+ data.tar.gz: 3fc10d7ee67642f495d1f6b169a6cc1d5a0f6b653b69fe1778157e4f9d69672a429fc5ffe35989ac646d2a7015ee739db684f5f5b603326c679feaf26b49eefc
@@ -15,17 +15,17 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Representation of a alias
17
17
  class AliasProjection
18
- attr_accessor :created_at
18
+ attr_accessor :email_address
19
19
 
20
- attr_accessor :updated_at
20
+ attr_accessor :user_id
21
21
 
22
22
  attr_accessor :inbox_id
23
23
 
24
- attr_accessor :user_id
24
+ attr_accessor :use_threads
25
25
 
26
- attr_accessor :email_address
26
+ attr_accessor :created_at
27
27
 
28
- attr_accessor :use_threads
28
+ attr_accessor :updated_at
29
29
 
30
30
  attr_accessor :name
31
31
 
@@ -34,12 +34,12 @@ module MailSlurpClient
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
36
  {
37
- :'created_at' => :'createdAt',
38
- :'updated_at' => :'updatedAt',
39
- :'inbox_id' => :'inboxId',
40
- :'user_id' => :'userId',
41
37
  :'email_address' => :'emailAddress',
38
+ :'user_id' => :'userId',
39
+ :'inbox_id' => :'inboxId',
42
40
  :'use_threads' => :'useThreads',
41
+ :'created_at' => :'createdAt',
42
+ :'updated_at' => :'updatedAt',
43
43
  :'name' => :'name',
44
44
  :'id' => :'id'
45
45
  }
@@ -48,12 +48,12 @@ module MailSlurpClient
48
48
  # Attribute type mapping.
49
49
  def self.openapi_types
50
50
  {
51
- :'created_at' => :'DateTime',
52
- :'updated_at' => :'DateTime',
53
- :'inbox_id' => :'String',
54
- :'user_id' => :'String',
55
51
  :'email_address' => :'String',
52
+ :'user_id' => :'String',
53
+ :'inbox_id' => :'String',
56
54
  :'use_threads' => :'Boolean',
55
+ :'created_at' => :'DateTime',
56
+ :'updated_at' => :'DateTime',
57
57
  :'name' => :'String',
58
58
  :'id' => :'String'
59
59
  }
@@ -80,28 +80,28 @@ module MailSlurpClient
80
80
  h[k.to_sym] = v
81
81
  }
82
82
 
83
- if attributes.key?(:'created_at')
84
- self.created_at = attributes[:'created_at']
83
+ if attributes.key?(:'email_address')
84
+ self.email_address = attributes[:'email_address']
85
85
  end
86
86
 
87
- if attributes.key?(:'updated_at')
88
- self.updated_at = attributes[:'updated_at']
87
+ if attributes.key?(:'user_id')
88
+ self.user_id = attributes[:'user_id']
89
89
  end
90
90
 
91
91
  if attributes.key?(:'inbox_id')
92
92
  self.inbox_id = attributes[:'inbox_id']
93
93
  end
94
94
 
95
- if attributes.key?(:'user_id')
96
- self.user_id = attributes[:'user_id']
95
+ if attributes.key?(:'use_threads')
96
+ self.use_threads = attributes[:'use_threads']
97
97
  end
98
98
 
99
- if attributes.key?(:'email_address')
100
- self.email_address = attributes[:'email_address']
99
+ if attributes.key?(:'created_at')
100
+ self.created_at = attributes[:'created_at']
101
101
  end
102
102
 
103
- if attributes.key?(:'use_threads')
104
- self.use_threads = attributes[:'use_threads']
103
+ if attributes.key?(:'updated_at')
104
+ self.updated_at = attributes[:'updated_at']
105
105
  end
106
106
 
107
107
  if attributes.key?(:'name')
@@ -117,24 +117,24 @@ module MailSlurpClient
117
117
  # @return Array for valid properties with the reasons
118
118
  def list_invalid_properties
119
119
  invalid_properties = Array.new
120
- if @created_at.nil?
121
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
120
+ if @email_address.nil?
121
+ invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
122
122
  end
123
123
 
124
- if @updated_at.nil?
125
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
124
+ if @user_id.nil?
125
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
126
126
  end
127
127
 
128
128
  if @inbox_id.nil?
129
129
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
130
130
  end
131
131
 
132
- if @user_id.nil?
133
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
132
+ if @created_at.nil?
133
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
134
134
  end
135
135
 
136
- if @email_address.nil?
137
- invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
136
+ if @updated_at.nil?
137
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
138
138
  end
139
139
 
140
140
  if @id.nil?
@@ -147,11 +147,11 @@ module MailSlurpClient
147
147
  # Check to see if the all the properties in the model are valid
148
148
  # @return true if the model is valid
149
149
  def valid?
150
+ return false if @email_address.nil?
151
+ return false if @user_id.nil?
152
+ return false if @inbox_id.nil?
150
153
  return false if @created_at.nil?
151
154
  return false if @updated_at.nil?
152
- return false if @inbox_id.nil?
153
- return false if @user_id.nil?
154
- return false if @email_address.nil?
155
155
  return false if @id.nil?
156
156
  true
157
157
  end
@@ -161,12 +161,12 @@ module MailSlurpClient
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
- created_at == o.created_at &&
165
- updated_at == o.updated_at &&
166
- inbox_id == o.inbox_id &&
167
- user_id == o.user_id &&
168
164
  email_address == o.email_address &&
165
+ user_id == o.user_id &&
166
+ inbox_id == o.inbox_id &&
169
167
  use_threads == o.use_threads &&
168
+ created_at == o.created_at &&
169
+ updated_at == o.updated_at &&
170
170
  name == o.name &&
171
171
  id == o.id
172
172
  end
@@ -180,7 +180,7 @@ module MailSlurpClient
180
180
  # Calculates hash code according to all attributes.
181
181
  # @return [Integer] Hash code
182
182
  def hash
183
- [created_at, updated_at, inbox_id, user_id, email_address, use_threads, name, id].hash
183
+ [email_address, user_id, inbox_id, use_threads, created_at, updated_at, name, id].hash
184
184
  end
185
185
 
186
186
  # Builds the object from hash
@@ -15,10 +15,6 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Email attachment data
17
17
  class AttachmentProjection
18
- attr_accessor :created_at
19
-
20
- attr_accessor :updated_at
21
-
22
18
  attr_accessor :user_id
23
19
 
24
20
  # Content ID of attachment.
@@ -27,6 +23,10 @@ module MailSlurpClient
27
23
  # Attachment ID
28
24
  attr_accessor :attachment_id
29
25
 
26
+ attr_accessor :created_at
27
+
28
+ attr_accessor :updated_at
29
+
30
30
  attr_accessor :name
31
31
 
32
32
  # Content length of attachment in bytes
@@ -38,11 +38,11 @@ module MailSlurpClient
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
39
39
  def self.attribute_map
40
40
  {
41
- :'created_at' => :'createdAt',
42
- :'updated_at' => :'updatedAt',
43
41
  :'user_id' => :'userId',
44
42
  :'content_id' => :'contentId',
45
43
  :'attachment_id' => :'attachmentId',
44
+ :'created_at' => :'createdAt',
45
+ :'updated_at' => :'updatedAt',
46
46
  :'name' => :'name',
47
47
  :'content_length' => :'contentLength',
48
48
  :'content_type' => :'contentType'
@@ -52,11 +52,11 @@ module MailSlurpClient
52
52
  # Attribute type mapping.
53
53
  def self.openapi_types
54
54
  {
55
- :'created_at' => :'DateTime',
56
- :'updated_at' => :'DateTime',
57
55
  :'user_id' => :'String',
58
56
  :'content_id' => :'String',
59
57
  :'attachment_id' => :'String',
58
+ :'created_at' => :'DateTime',
59
+ :'updated_at' => :'DateTime',
60
60
  :'name' => :'String',
61
61
  :'content_length' => :'Integer',
62
62
  :'content_type' => :'String'
@@ -88,14 +88,6 @@ module MailSlurpClient
88
88
  h[k.to_sym] = v
89
89
  }
90
90
 
91
- if attributes.key?(:'created_at')
92
- self.created_at = attributes[:'created_at']
93
- end
94
-
95
- if attributes.key?(:'updated_at')
96
- self.updated_at = attributes[:'updated_at']
97
- end
98
-
99
91
  if attributes.key?(:'user_id')
100
92
  self.user_id = attributes[:'user_id']
101
93
  end
@@ -108,6 +100,14 @@ module MailSlurpClient
108
100
  self.attachment_id = attributes[:'attachment_id']
109
101
  end
110
102
 
103
+ if attributes.key?(:'created_at')
104
+ self.created_at = attributes[:'created_at']
105
+ end
106
+
107
+ if attributes.key?(:'updated_at')
108
+ self.updated_at = attributes[:'updated_at']
109
+ end
110
+
111
111
  if attributes.key?(:'name')
112
112
  self.name = attributes[:'name']
113
113
  end
@@ -125,14 +125,6 @@ module MailSlurpClient
125
125
  # @return Array for valid properties with the reasons
126
126
  def list_invalid_properties
127
127
  invalid_properties = Array.new
128
- if @created_at.nil?
129
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
130
- end
131
-
132
- if @updated_at.nil?
133
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
134
- end
135
-
136
128
  if @user_id.nil?
137
129
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
138
130
  end
@@ -141,16 +133,24 @@ module MailSlurpClient
141
133
  invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
142
134
  end
143
135
 
136
+ if @created_at.nil?
137
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
138
+ end
139
+
140
+ if @updated_at.nil?
141
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
142
+ end
143
+
144
144
  invalid_properties
145
145
  end
146
146
 
147
147
  # Check to see if the all the properties in the model are valid
148
148
  # @return true if the model is valid
149
149
  def valid?
150
- return false if @created_at.nil?
151
- return false if @updated_at.nil?
152
150
  return false if @user_id.nil?
153
151
  return false if @attachment_id.nil?
152
+ return false if @created_at.nil?
153
+ return false if @updated_at.nil?
154
154
  true
155
155
  end
156
156
 
@@ -159,11 +159,11 @@ module MailSlurpClient
159
159
  def ==(o)
160
160
  return true if self.equal?(o)
161
161
  self.class == o.class &&
162
- created_at == o.created_at &&
163
- updated_at == o.updated_at &&
164
162
  user_id == o.user_id &&
165
163
  content_id == o.content_id &&
166
164
  attachment_id == o.attachment_id &&
165
+ created_at == o.created_at &&
166
+ updated_at == o.updated_at &&
167
167
  name == o.name &&
168
168
  content_length == o.content_length &&
169
169
  content_type == o.content_type
@@ -178,7 +178,7 @@ module MailSlurpClient
178
178
  # Calculates hash code according to all attributes.
179
179
  # @return [Integer] Hash code
180
180
  def hash
181
- [created_at, updated_at, user_id, content_id, attachment_id, name, content_length, content_type].hash
181
+ [user_id, content_id, attachment_id, created_at, updated_at, name, content_length, content_type].hash
182
182
  end
183
183
 
184
184
  # Builds the object from hash
@@ -15,14 +15,14 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Bounced email event
17
17
  class BounceProjection
18
- attr_accessor :created_at
19
-
20
18
  attr_accessor :sender
21
19
 
22
20
  attr_accessor :bounce_mta
23
21
 
24
22
  attr_accessor :bounce_type
25
23
 
24
+ attr_accessor :created_at
25
+
26
26
  attr_accessor :subject
27
27
 
28
28
  attr_accessor :id
@@ -30,10 +30,10 @@ module MailSlurpClient
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
31
31
  def self.attribute_map
32
32
  {
33
- :'created_at' => :'createdAt',
34
33
  :'sender' => :'sender',
35
34
  :'bounce_mta' => :'bounceMta',
36
35
  :'bounce_type' => :'bounceType',
36
+ :'created_at' => :'createdAt',
37
37
  :'subject' => :'subject',
38
38
  :'id' => :'id'
39
39
  }
@@ -42,10 +42,10 @@ module MailSlurpClient
42
42
  # Attribute type mapping.
43
43
  def self.openapi_types
44
44
  {
45
- :'created_at' => :'DateTime',
46
45
  :'sender' => :'String',
47
46
  :'bounce_mta' => :'String',
48
47
  :'bounce_type' => :'String',
48
+ :'created_at' => :'DateTime',
49
49
  :'subject' => :'String',
50
50
  :'id' => :'String'
51
51
  }
@@ -75,10 +75,6 @@ module MailSlurpClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'created_at')
79
- self.created_at = attributes[:'created_at']
80
- end
81
-
82
78
  if attributes.key?(:'sender')
83
79
  self.sender = attributes[:'sender']
84
80
  end
@@ -91,6 +87,10 @@ module MailSlurpClient
91
87
  self.bounce_type = attributes[:'bounce_type']
92
88
  end
93
89
 
90
+ if attributes.key?(:'created_at')
91
+ self.created_at = attributes[:'created_at']
92
+ end
93
+
94
94
  if attributes.key?(:'subject')
95
95
  self.subject = attributes[:'subject']
96
96
  end
@@ -104,22 +104,22 @@ module MailSlurpClient
104
104
  # @return Array for valid properties with the reasons
105
105
  def list_invalid_properties
106
106
  invalid_properties = Array.new
107
- if @created_at.nil?
108
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
109
- end
110
-
111
107
  if @sender.nil?
112
108
  invalid_properties.push('invalid value for "sender", sender cannot be nil.')
113
109
  end
114
110
 
111
+ if @created_at.nil?
112
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
113
+ end
114
+
115
115
  invalid_properties
116
116
  end
117
117
 
118
118
  # Check to see if the all the properties in the model are valid
119
119
  # @return true if the model is valid
120
120
  def valid?
121
- return false if @created_at.nil?
122
121
  return false if @sender.nil?
122
+ return false if @created_at.nil?
123
123
  true
124
124
  end
125
125
 
@@ -128,10 +128,10 @@ module MailSlurpClient
128
128
  def ==(o)
129
129
  return true if self.equal?(o)
130
130
  self.class == o.class &&
131
- created_at == o.created_at &&
132
131
  sender == o.sender &&
133
132
  bounce_mta == o.bounce_mta &&
134
133
  bounce_type == o.bounce_type &&
134
+ created_at == o.created_at &&
135
135
  subject == o.subject &&
136
136
  id == o.id
137
137
  end
@@ -145,7 +145,7 @@ module MailSlurpClient
145
145
  # Calculates hash code according to all attributes.
146
146
  # @return [Integer] Hash code
147
147
  def hash
148
- [created_at, sender, bounce_mta, bounce_type, subject, id].hash
148
+ [sender, bounce_mta, bounce_type, created_at, subject, id].hash
149
149
  end
150
150
 
151
151
  # Builds the object from hash
@@ -15,8 +15,6 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Bounced recipient
17
17
  class BounceRecipientProjection
18
- attr_accessor :created_at
19
-
20
18
  attr_accessor :sent_email_id
21
19
 
22
20
  attr_accessor :recipient
@@ -25,6 +23,8 @@ module MailSlurpClient
25
23
 
26
24
  attr_accessor :bounce_type
27
25
 
26
+ attr_accessor :created_at
27
+
28
28
  attr_accessor :id
29
29
 
30
30
  attr_accessor :status
@@ -32,11 +32,11 @@ module MailSlurpClient
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'created_at' => :'createdAt',
36
35
  :'sent_email_id' => :'sentEmailId',
37
36
  :'recipient' => :'recipient',
38
37
  :'action' => :'action',
39
38
  :'bounce_type' => :'bounceType',
39
+ :'created_at' => :'createdAt',
40
40
  :'id' => :'id',
41
41
  :'status' => :'status'
42
42
  }
@@ -45,11 +45,11 @@ module MailSlurpClient
45
45
  # Attribute type mapping.
46
46
  def self.openapi_types
47
47
  {
48
- :'created_at' => :'DateTime',
49
48
  :'sent_email_id' => :'String',
50
49
  :'recipient' => :'String',
51
50
  :'action' => :'String',
52
51
  :'bounce_type' => :'String',
52
+ :'created_at' => :'DateTime',
53
53
  :'id' => :'String',
54
54
  :'status' => :'String'
55
55
  }
@@ -80,10 +80,6 @@ module MailSlurpClient
80
80
  h[k.to_sym] = v
81
81
  }
82
82
 
83
- if attributes.key?(:'created_at')
84
- self.created_at = attributes[:'created_at']
85
- end
86
-
87
83
  if attributes.key?(:'sent_email_id')
88
84
  self.sent_email_id = attributes[:'sent_email_id']
89
85
  end
@@ -100,6 +96,10 @@ module MailSlurpClient
100
96
  self.bounce_type = attributes[:'bounce_type']
101
97
  end
102
98
 
99
+ if attributes.key?(:'created_at')
100
+ self.created_at = attributes[:'created_at']
101
+ end
102
+
103
103
  if attributes.key?(:'id')
104
104
  self.id = attributes[:'id']
105
105
  end
@@ -113,22 +113,22 @@ module MailSlurpClient
113
113
  # @return Array for valid properties with the reasons
114
114
  def list_invalid_properties
115
115
  invalid_properties = Array.new
116
- if @created_at.nil?
117
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
118
- end
119
-
120
116
  if @recipient.nil?
121
117
  invalid_properties.push('invalid value for "recipient", recipient cannot be nil.')
122
118
  end
123
119
 
120
+ if @created_at.nil?
121
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
122
+ end
123
+
124
124
  invalid_properties
125
125
  end
126
126
 
127
127
  # Check to see if the all the properties in the model are valid
128
128
  # @return true if the model is valid
129
129
  def valid?
130
- return false if @created_at.nil?
131
130
  return false if @recipient.nil?
131
+ return false if @created_at.nil?
132
132
  true
133
133
  end
134
134
 
@@ -137,11 +137,11 @@ module MailSlurpClient
137
137
  def ==(o)
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
- created_at == o.created_at &&
141
140
  sent_email_id == o.sent_email_id &&
142
141
  recipient == o.recipient &&
143
142
  action == o.action &&
144
143
  bounce_type == o.bounce_type &&
144
+ created_at == o.created_at &&
145
145
  id == o.id &&
146
146
  status == o.status
147
147
  end
@@ -155,7 +155,7 @@ module MailSlurpClient
155
155
  # Calculates hash code according to all attributes.
156
156
  # @return [Integer] Hash code
157
157
  def hash
158
- [created_at, sent_email_id, recipient, action, bounce_type, id, status].hash
158
+ [sent_email_id, recipient, action, bounce_type, created_at, id, status].hash
159
159
  end
160
160
 
161
161
  # Builds the object from hash