mailslurp_client 15.16.2 → 15.16.3
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.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/bounce_projection.rb +10 -10
- data/lib/mailslurp_client/models/email_projection.rb +29 -29
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +11 -11
- data/lib/mailslurp_client/models/thread_projection.rb +16 -16
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d05d2fb81208f8c3acb81cdf4f834a10e67c7c80838500736c22c10c4255232
|
4
|
+
data.tar.gz: '08f52b080df2e9cb8873411f8e00b47095e97775474ea8c2d14b09d3796abf2d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 704525a5eb25a56e630d88280abb1c77b6de413fb51a5e68a92ad8477096fa8c91976fa7dbaa87af142b51d255c88d4206fe24176f3de655bca0c8f5bea11e1a
|
7
|
+
data.tar.gz: 06ad382b4856619c5d91a1a6502f38757954ccee4552717e6005bbc95b7c9525015a9d8568a8f30edc1bfb4dfa309eede0d7a99b417b3f8a41dbbad17b3a821f
|
@@ -19,12 +19,12 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
attr_accessor :inbox_id
|
23
|
-
|
24
22
|
attr_accessor :user_id
|
25
23
|
|
26
24
|
attr_accessor :email_address
|
27
25
|
|
26
|
+
attr_accessor :inbox_id
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :updated_at
|
@@ -36,9 +36,9 @@ module MailSlurpClient
|
|
36
36
|
{
|
37
37
|
:'name' => :'name',
|
38
38
|
:'id' => :'id',
|
39
|
-
:'inbox_id' => :'inboxId',
|
40
39
|
:'user_id' => :'userId',
|
41
40
|
:'email_address' => :'emailAddress',
|
41
|
+
:'inbox_id' => :'inboxId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
43
|
:'updated_at' => :'updatedAt',
|
44
44
|
:'use_threads' => :'useThreads'
|
@@ -50,9 +50,9 @@ module MailSlurpClient
|
|
50
50
|
{
|
51
51
|
:'name' => :'String',
|
52
52
|
:'id' => :'String',
|
53
|
-
:'inbox_id' => :'String',
|
54
53
|
:'user_id' => :'String',
|
55
54
|
:'email_address' => :'String',
|
55
|
+
:'inbox_id' => :'String',
|
56
56
|
:'created_at' => :'DateTime',
|
57
57
|
:'updated_at' => :'DateTime',
|
58
58
|
:'use_threads' => :'Boolean'
|
@@ -88,10 +88,6 @@ module MailSlurpClient
|
|
88
88
|
self.id = attributes[:'id']
|
89
89
|
end
|
90
90
|
|
91
|
-
if attributes.key?(:'inbox_id')
|
92
|
-
self.inbox_id = attributes[:'inbox_id']
|
93
|
-
end
|
94
|
-
|
95
91
|
if attributes.key?(:'user_id')
|
96
92
|
self.user_id = attributes[:'user_id']
|
97
93
|
end
|
@@ -100,6 +96,10 @@ module MailSlurpClient
|
|
100
96
|
self.email_address = attributes[:'email_address']
|
101
97
|
end
|
102
98
|
|
99
|
+
if attributes.key?(:'inbox_id')
|
100
|
+
self.inbox_id = attributes[:'inbox_id']
|
101
|
+
end
|
102
|
+
|
103
103
|
if attributes.key?(:'created_at')
|
104
104
|
self.created_at = attributes[:'created_at']
|
105
105
|
end
|
@@ -121,10 +121,6 @@ module MailSlurpClient
|
|
121
121
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
122
122
|
end
|
123
123
|
|
124
|
-
if @inbox_id.nil?
|
125
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
126
|
-
end
|
127
|
-
|
128
124
|
if @user_id.nil?
|
129
125
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
130
126
|
end
|
@@ -133,6 +129,10 @@ module MailSlurpClient
|
|
133
129
|
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
134
130
|
end
|
135
131
|
|
132
|
+
if @inbox_id.nil?
|
133
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
134
|
+
end
|
135
|
+
|
136
136
|
if @created_at.nil?
|
137
137
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
138
138
|
end
|
@@ -148,9 +148,9 @@ module MailSlurpClient
|
|
148
148
|
# @return true if the model is valid
|
149
149
|
def valid?
|
150
150
|
return false if @id.nil?
|
151
|
-
return false if @inbox_id.nil?
|
152
151
|
return false if @user_id.nil?
|
153
152
|
return false if @email_address.nil?
|
153
|
+
return false if @inbox_id.nil?
|
154
154
|
return false if @created_at.nil?
|
155
155
|
return false if @updated_at.nil?
|
156
156
|
true
|
@@ -163,9 +163,9 @@ module MailSlurpClient
|
|
163
163
|
self.class == o.class &&
|
164
164
|
name == o.name &&
|
165
165
|
id == o.id &&
|
166
|
-
inbox_id == o.inbox_id &&
|
167
166
|
user_id == o.user_id &&
|
168
167
|
email_address == o.email_address &&
|
168
|
+
inbox_id == o.inbox_id &&
|
169
169
|
created_at == o.created_at &&
|
170
170
|
updated_at == o.updated_at &&
|
171
171
|
use_threads == o.use_threads
|
@@ -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
|
-
[name, id,
|
183
|
+
[name, id, user_id, email_address, inbox_id, created_at, updated_at, use_threads].hash
|
184
184
|
end
|
185
185
|
|
186
186
|
# Builds the object from hash
|
@@ -17,10 +17,10 @@ module MailSlurpClient
|
|
17
17
|
class BounceProjection
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
|
-
attr_accessor :sender
|
21
|
-
|
22
20
|
attr_accessor :subject
|
23
21
|
|
22
|
+
attr_accessor :sender
|
23
|
+
|
24
24
|
attr_accessor :created_at
|
25
25
|
|
26
26
|
attr_accessor :bounce_type
|
@@ -31,8 +31,8 @@ module MailSlurpClient
|
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
33
33
|
:'id' => :'id',
|
34
|
-
:'sender' => :'sender',
|
35
34
|
:'subject' => :'subject',
|
35
|
+
:'sender' => :'sender',
|
36
36
|
:'created_at' => :'createdAt',
|
37
37
|
:'bounce_type' => :'bounceType',
|
38
38
|
:'bounce_mta' => :'bounceMta'
|
@@ -43,8 +43,8 @@ module MailSlurpClient
|
|
43
43
|
def self.openapi_types
|
44
44
|
{
|
45
45
|
:'id' => :'String',
|
46
|
-
:'sender' => :'String',
|
47
46
|
:'subject' => :'String',
|
47
|
+
:'sender' => :'String',
|
48
48
|
:'created_at' => :'DateTime',
|
49
49
|
:'bounce_type' => :'String',
|
50
50
|
:'bounce_mta' => :'String'
|
@@ -79,14 +79,14 @@ module MailSlurpClient
|
|
79
79
|
self.id = attributes[:'id']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'sender')
|
83
|
-
self.sender = attributes[:'sender']
|
84
|
-
end
|
85
|
-
|
86
82
|
if attributes.key?(:'subject')
|
87
83
|
self.subject = attributes[:'subject']
|
88
84
|
end
|
89
85
|
|
86
|
+
if attributes.key?(:'sender')
|
87
|
+
self.sender = attributes[:'sender']
|
88
|
+
end
|
89
|
+
|
90
90
|
if attributes.key?(:'created_at')
|
91
91
|
self.created_at = attributes[:'created_at']
|
92
92
|
end
|
@@ -129,8 +129,8 @@ module MailSlurpClient
|
|
129
129
|
return true if self.equal?(o)
|
130
130
|
self.class == o.class &&
|
131
131
|
id == o.id &&
|
132
|
-
sender == o.sender &&
|
133
132
|
subject == o.subject &&
|
133
|
+
sender == o.sender &&
|
134
134
|
created_at == o.created_at &&
|
135
135
|
bounce_type == o.bounce_type &&
|
136
136
|
bounce_mta == o.bounce_mta
|
@@ -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
|
-
[id,
|
148
|
+
[id, subject, sender, created_at, bounce_type, bounce_mta].hash
|
149
149
|
end
|
150
150
|
|
151
151
|
# Builds the object from hash
|
@@ -35,14 +35,14 @@ module MailSlurpClient
|
|
35
35
|
|
36
36
|
attr_accessor :domain_id
|
37
37
|
|
38
|
-
attr_accessor :team_access
|
39
|
-
|
40
|
-
attr_accessor :body_md5_hash
|
41
|
-
|
42
38
|
attr_accessor :read
|
43
39
|
|
44
40
|
attr_accessor :body_excerpt
|
45
41
|
|
42
|
+
attr_accessor :team_access
|
43
|
+
|
44
|
+
attr_accessor :body_md5_hash
|
45
|
+
|
46
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
47
|
def self.attribute_map
|
48
48
|
{
|
@@ -56,10 +56,10 @@ module MailSlurpClient
|
|
56
56
|
:'bcc' => :'bcc',
|
57
57
|
:'cc' => :'cc',
|
58
58
|
:'domain_id' => :'domainId',
|
59
|
-
:'team_access' => :'teamAccess',
|
60
|
-
:'body_md5_hash' => :'bodyMD5Hash',
|
61
59
|
:'read' => :'read',
|
62
|
-
:'body_excerpt' => :'bodyExcerpt'
|
60
|
+
:'body_excerpt' => :'bodyExcerpt',
|
61
|
+
:'team_access' => :'teamAccess',
|
62
|
+
:'body_md5_hash' => :'bodyMD5Hash'
|
63
63
|
}
|
64
64
|
end
|
65
65
|
|
@@ -76,10 +76,10 @@ module MailSlurpClient
|
|
76
76
|
:'bcc' => :'Array<String>',
|
77
77
|
:'cc' => :'Array<String>',
|
78
78
|
:'domain_id' => :'String',
|
79
|
-
:'team_access' => :'Boolean',
|
80
|
-
:'body_md5_hash' => :'String',
|
81
79
|
:'read' => :'Boolean',
|
82
|
-
:'body_excerpt' => :'String'
|
80
|
+
:'body_excerpt' => :'String',
|
81
|
+
:'team_access' => :'Boolean',
|
82
|
+
:'body_md5_hash' => :'String'
|
83
83
|
}
|
84
84
|
end
|
85
85
|
|
@@ -92,8 +92,8 @@ module MailSlurpClient
|
|
92
92
|
:'bcc',
|
93
93
|
:'cc',
|
94
94
|
:'domain_id',
|
95
|
-
:'
|
96
|
-
:'
|
95
|
+
:'body_excerpt',
|
96
|
+
:'body_md5_hash'
|
97
97
|
])
|
98
98
|
end
|
99
99
|
|
@@ -160,14 +160,6 @@ module MailSlurpClient
|
|
160
160
|
self.domain_id = attributes[:'domain_id']
|
161
161
|
end
|
162
162
|
|
163
|
-
if attributes.key?(:'team_access')
|
164
|
-
self.team_access = attributes[:'team_access']
|
165
|
-
end
|
166
|
-
|
167
|
-
if attributes.key?(:'body_md5_hash')
|
168
|
-
self.body_md5_hash = attributes[:'body_md5_hash']
|
169
|
-
end
|
170
|
-
|
171
163
|
if attributes.key?(:'read')
|
172
164
|
self.read = attributes[:'read']
|
173
165
|
end
|
@@ -175,6 +167,14 @@ module MailSlurpClient
|
|
175
167
|
if attributes.key?(:'body_excerpt')
|
176
168
|
self.body_excerpt = attributes[:'body_excerpt']
|
177
169
|
end
|
170
|
+
|
171
|
+
if attributes.key?(:'team_access')
|
172
|
+
self.team_access = attributes[:'team_access']
|
173
|
+
end
|
174
|
+
|
175
|
+
if attributes.key?(:'body_md5_hash')
|
176
|
+
self.body_md5_hash = attributes[:'body_md5_hash']
|
177
|
+
end
|
178
178
|
end
|
179
179
|
|
180
180
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -197,14 +197,14 @@ module MailSlurpClient
|
|
197
197
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
198
198
|
end
|
199
199
|
|
200
|
-
if @team_access.nil?
|
201
|
-
invalid_properties.push('invalid value for "team_access", team_access cannot be nil.')
|
202
|
-
end
|
203
|
-
|
204
200
|
if @read.nil?
|
205
201
|
invalid_properties.push('invalid value for "read", read cannot be nil.')
|
206
202
|
end
|
207
203
|
|
204
|
+
if @team_access.nil?
|
205
|
+
invalid_properties.push('invalid value for "team_access", team_access cannot be nil.')
|
206
|
+
end
|
207
|
+
|
208
208
|
invalid_properties
|
209
209
|
end
|
210
210
|
|
@@ -215,8 +215,8 @@ module MailSlurpClient
|
|
215
215
|
return false if @inbox_id.nil?
|
216
216
|
return false if @created_at.nil?
|
217
217
|
return false if @to.nil?
|
218
|
-
return false if @team_access.nil?
|
219
218
|
return false if @read.nil?
|
219
|
+
return false if @team_access.nil?
|
220
220
|
true
|
221
221
|
end
|
222
222
|
|
@@ -235,10 +235,10 @@ module MailSlurpClient
|
|
235
235
|
bcc == o.bcc &&
|
236
236
|
cc == o.cc &&
|
237
237
|
domain_id == o.domain_id &&
|
238
|
-
team_access == o.team_access &&
|
239
|
-
body_md5_hash == o.body_md5_hash &&
|
240
238
|
read == o.read &&
|
241
|
-
body_excerpt == o.body_excerpt
|
239
|
+
body_excerpt == o.body_excerpt &&
|
240
|
+
team_access == o.team_access &&
|
241
|
+
body_md5_hash == o.body_md5_hash
|
242
242
|
end
|
243
243
|
|
244
244
|
# @see the `==` method
|
@@ -250,7 +250,7 @@ module MailSlurpClient
|
|
250
250
|
# Calculates hash code according to all attributes.
|
251
251
|
# @return [Integer] Hash code
|
252
252
|
def hash
|
253
|
-
[id, from, subject, inbox_id, attachments, created_at, to, bcc, cc, domain_id,
|
253
|
+
[id, from, subject, inbox_id, attachments, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
|
254
254
|
end
|
255
255
|
|
256
256
|
# Builds the object from hash
|
@@ -21,12 +21,12 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :status
|
23
23
|
|
24
|
+
attr_accessor :user_id
|
25
|
+
|
24
26
|
attr_accessor :email_id
|
25
27
|
|
26
28
|
attr_accessor :inbox_id
|
27
29
|
|
28
|
-
attr_accessor :user_id
|
29
|
-
|
30
30
|
attr_accessor :created_at
|
31
31
|
|
32
32
|
attr_accessor :forwarder_id
|
@@ -59,9 +59,9 @@ module MailSlurpClient
|
|
59
59
|
:'message' => :'message',
|
60
60
|
:'id' => :'id',
|
61
61
|
:'status' => :'status',
|
62
|
+
:'user_id' => :'userId',
|
62
63
|
:'email_id' => :'emailId',
|
63
64
|
:'inbox_id' => :'inboxId',
|
64
|
-
:'user_id' => :'userId',
|
65
65
|
:'created_at' => :'createdAt',
|
66
66
|
:'forwarder_id' => :'forwarderId'
|
67
67
|
}
|
@@ -73,9 +73,9 @@ module MailSlurpClient
|
|
73
73
|
:'message' => :'String',
|
74
74
|
:'id' => :'String',
|
75
75
|
:'status' => :'String',
|
76
|
+
:'user_id' => :'String',
|
76
77
|
:'email_id' => :'String',
|
77
78
|
:'inbox_id' => :'String',
|
78
|
-
:'user_id' => :'String',
|
79
79
|
:'created_at' => :'DateTime',
|
80
80
|
:'forwarder_id' => :'String'
|
81
81
|
}
|
@@ -87,9 +87,9 @@ module MailSlurpClient
|
|
87
87
|
:'message',
|
88
88
|
:'id',
|
89
89
|
:'status',
|
90
|
+
:'user_id',
|
90
91
|
:'email_id',
|
91
92
|
:'inbox_id',
|
92
|
-
:'user_id',
|
93
93
|
:'forwarder_id'
|
94
94
|
])
|
95
95
|
end
|
@@ -121,6 +121,10 @@ module MailSlurpClient
|
|
121
121
|
self.status = attributes[:'status']
|
122
122
|
end
|
123
123
|
|
124
|
+
if attributes.key?(:'user_id')
|
125
|
+
self.user_id = attributes[:'user_id']
|
126
|
+
end
|
127
|
+
|
124
128
|
if attributes.key?(:'email_id')
|
125
129
|
self.email_id = attributes[:'email_id']
|
126
130
|
end
|
@@ -129,10 +133,6 @@ module MailSlurpClient
|
|
129
133
|
self.inbox_id = attributes[:'inbox_id']
|
130
134
|
end
|
131
135
|
|
132
|
-
if attributes.key?(:'user_id')
|
133
|
-
self.user_id = attributes[:'user_id']
|
134
|
-
end
|
135
|
-
|
136
136
|
if attributes.key?(:'created_at')
|
137
137
|
self.created_at = attributes[:'created_at']
|
138
138
|
end
|
@@ -180,9 +180,9 @@ module MailSlurpClient
|
|
180
180
|
message == o.message &&
|
181
181
|
id == o.id &&
|
182
182
|
status == o.status &&
|
183
|
+
user_id == o.user_id &&
|
183
184
|
email_id == o.email_id &&
|
184
185
|
inbox_id == o.inbox_id &&
|
185
|
-
user_id == o.user_id &&
|
186
186
|
created_at == o.created_at &&
|
187
187
|
forwarder_id == o.forwarder_id
|
188
188
|
end
|
@@ -196,7 +196,7 @@ module MailSlurpClient
|
|
196
196
|
# Calculates hash code according to all attributes.
|
197
197
|
# @return [Integer] Hash code
|
198
198
|
def hash
|
199
|
-
[message, id, status, email_id, inbox_id,
|
199
|
+
[message, id, status, user_id, email_id, inbox_id, created_at, forwarder_id].hash
|
200
200
|
end
|
201
201
|
|
202
202
|
# Builds the object from hash
|
@@ -24,12 +24,12 @@ module MailSlurpClient
|
|
24
24
|
# Thread subject
|
25
25
|
attr_accessor :subject
|
26
26
|
|
27
|
-
# Inbox ID
|
28
|
-
attr_accessor :inbox_id
|
29
|
-
|
30
27
|
# User ID
|
31
28
|
attr_accessor :user_id
|
32
29
|
|
30
|
+
# Inbox ID
|
31
|
+
attr_accessor :inbox_id
|
32
|
+
|
33
33
|
# Created at DateTime
|
34
34
|
attr_accessor :created_at
|
35
35
|
|
@@ -54,8 +54,8 @@ module MailSlurpClient
|
|
54
54
|
:'name' => :'name',
|
55
55
|
:'id' => :'id',
|
56
56
|
:'subject' => :'subject',
|
57
|
-
:'inbox_id' => :'inboxId',
|
58
57
|
:'user_id' => :'userId',
|
58
|
+
:'inbox_id' => :'inboxId',
|
59
59
|
:'created_at' => :'createdAt',
|
60
60
|
:'updated_at' => :'updatedAt',
|
61
61
|
:'to' => :'to',
|
@@ -71,8 +71,8 @@ module MailSlurpClient
|
|
71
71
|
:'name' => :'String',
|
72
72
|
:'id' => :'String',
|
73
73
|
:'subject' => :'String',
|
74
|
-
:'inbox_id' => :'String',
|
75
74
|
:'user_id' => :'String',
|
75
|
+
:'inbox_id' => :'String',
|
76
76
|
:'created_at' => :'DateTime',
|
77
77
|
:'updated_at' => :'DateTime',
|
78
78
|
:'to' => :'Array<String>',
|
@@ -115,14 +115,14 @@ module MailSlurpClient
|
|
115
115
|
self.subject = attributes[:'subject']
|
116
116
|
end
|
117
117
|
|
118
|
-
if attributes.key?(:'inbox_id')
|
119
|
-
self.inbox_id = attributes[:'inbox_id']
|
120
|
-
end
|
121
|
-
|
122
118
|
if attributes.key?(:'user_id')
|
123
119
|
self.user_id = attributes[:'user_id']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes.key?(:'inbox_id')
|
123
|
+
self.inbox_id = attributes[:'inbox_id']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes.key?(:'created_at')
|
127
127
|
self.created_at = attributes[:'created_at']
|
128
128
|
end
|
@@ -162,14 +162,14 @@ module MailSlurpClient
|
|
162
162
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
163
163
|
end
|
164
164
|
|
165
|
-
if @inbox_id.nil?
|
166
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
167
|
-
end
|
168
|
-
|
169
165
|
if @user_id.nil?
|
170
166
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
171
167
|
end
|
172
168
|
|
169
|
+
if @inbox_id.nil?
|
170
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
171
|
+
end
|
172
|
+
|
173
173
|
if @created_at.nil?
|
174
174
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
175
175
|
end
|
@@ -193,8 +193,8 @@ module MailSlurpClient
|
|
193
193
|
# @return true if the model is valid
|
194
194
|
def valid?
|
195
195
|
return false if @id.nil?
|
196
|
-
return false if @inbox_id.nil?
|
197
196
|
return false if @user_id.nil?
|
197
|
+
return false if @inbox_id.nil?
|
198
198
|
return false if @created_at.nil?
|
199
199
|
return false if @updated_at.nil?
|
200
200
|
return false if @to.nil?
|
@@ -210,8 +210,8 @@ module MailSlurpClient
|
|
210
210
|
name == o.name &&
|
211
211
|
id == o.id &&
|
212
212
|
subject == o.subject &&
|
213
|
-
inbox_id == o.inbox_id &&
|
214
213
|
user_id == o.user_id &&
|
214
|
+
inbox_id == o.inbox_id &&
|
215
215
|
created_at == o.created_at &&
|
216
216
|
updated_at == o.updated_at &&
|
217
217
|
to == o.to &&
|
@@ -229,7 +229,7 @@ module MailSlurpClient
|
|
229
229
|
# Calculates hash code according to all attributes.
|
230
230
|
# @return [Integer] Hash code
|
231
231
|
def hash
|
232
|
-
[name, id, subject,
|
232
|
+
[name, id, subject, user_id, inbox_id, created_at, updated_at, to, bcc, cc, alias_id].hash
|
233
233
|
end
|
234
234
|
|
235
235
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
attr_accessor :inbox_id
|
23
|
-
|
24
22
|
attr_accessor :user_id
|
25
23
|
|
24
|
+
attr_accessor :inbox_id
|
25
|
+
|
26
26
|
attr_accessor :sent_email_id
|
27
27
|
|
28
28
|
attr_accessor :created_at
|
@@ -38,8 +38,8 @@ module MailSlurpClient
|
|
38
38
|
{
|
39
39
|
:'name' => :'name',
|
40
40
|
:'id' => :'id',
|
41
|
-
:'inbox_id' => :'inboxId',
|
42
41
|
:'user_id' => :'userId',
|
42
|
+
:'inbox_id' => :'inboxId',
|
43
43
|
:'sent_email_id' => :'sentEmailId',
|
44
44
|
:'created_at' => :'createdAt',
|
45
45
|
:'recipient' => :'recipient',
|
@@ -53,8 +53,8 @@ module MailSlurpClient
|
|
53
53
|
{
|
54
54
|
:'name' => :'String',
|
55
55
|
:'id' => :'String',
|
56
|
-
:'inbox_id' => :'String',
|
57
56
|
:'user_id' => :'String',
|
57
|
+
:'inbox_id' => :'String',
|
58
58
|
:'sent_email_id' => :'String',
|
59
59
|
:'created_at' => :'DateTime',
|
60
60
|
:'recipient' => :'String',
|
@@ -92,14 +92,14 @@ module MailSlurpClient
|
|
92
92
|
self.id = attributes[:'id']
|
93
93
|
end
|
94
94
|
|
95
|
-
if attributes.key?(:'inbox_id')
|
96
|
-
self.inbox_id = attributes[:'inbox_id']
|
97
|
-
end
|
98
|
-
|
99
95
|
if attributes.key?(:'user_id')
|
100
96
|
self.user_id = attributes[:'user_id']
|
101
97
|
end
|
102
98
|
|
99
|
+
if attributes.key?(:'inbox_id')
|
100
|
+
self.inbox_id = attributes[:'inbox_id']
|
101
|
+
end
|
102
|
+
|
103
103
|
if attributes.key?(:'sent_email_id')
|
104
104
|
self.sent_email_id = attributes[:'sent_email_id']
|
105
105
|
end
|
@@ -161,8 +161,8 @@ module MailSlurpClient
|
|
161
161
|
self.class == o.class &&
|
162
162
|
name == o.name &&
|
163
163
|
id == o.id &&
|
164
|
-
inbox_id == o.inbox_id &&
|
165
164
|
user_id == o.user_id &&
|
165
|
+
inbox_id == o.inbox_id &&
|
166
166
|
sent_email_id == o.sent_email_id &&
|
167
167
|
created_at == o.created_at &&
|
168
168
|
recipient == o.recipient &&
|
@@ -179,7 +179,7 @@ module MailSlurpClient
|
|
179
179
|
# Calculates hash code according to all attributes.
|
180
180
|
# @return [Integer] Hash code
|
181
181
|
def hash
|
182
|
-
[name, id,
|
182
|
+
[name, id, user_id, inbox_id, sent_email_id, created_at, recipient, seen, seen_at].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|