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