mailslurp_client 15.1.0 → 15.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,19 +16,19 @@ module MailSlurpClient
16
16
  class ExpiredInboxRecordProjection
17
17
  attr_accessor :id
18
18
 
19
+ attr_accessor :created_at
20
+
19
21
  attr_accessor :user_id
20
22
 
21
23
  attr_accessor :email_address
22
24
 
23
- attr_accessor :created_at
24
-
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
28
  :'id' => :'id',
29
+ :'created_at' => :'createdAt',
29
30
  :'user_id' => :'userId',
30
- :'email_address' => :'emailAddress',
31
- :'created_at' => :'createdAt'
31
+ :'email_address' => :'emailAddress'
32
32
  }
33
33
  end
34
34
 
@@ -36,9 +36,9 @@ module MailSlurpClient
36
36
  def self.openapi_types
37
37
  {
38
38
  :'id' => :'String',
39
+ :'created_at' => :'DateTime',
39
40
  :'user_id' => :'String',
40
- :'email_address' => :'String',
41
- :'created_at' => :'DateTime'
41
+ :'email_address' => :'String'
42
42
  }
43
43
  end
44
44
 
@@ -67,6 +67,10 @@ module MailSlurpClient
67
67
  self.id = attributes[:'id']
68
68
  end
69
69
 
70
+ if attributes.key?(:'created_at')
71
+ self.created_at = attributes[:'created_at']
72
+ end
73
+
70
74
  if attributes.key?(:'user_id')
71
75
  self.user_id = attributes[:'user_id']
72
76
  end
@@ -74,10 +78,6 @@ module MailSlurpClient
74
78
  if attributes.key?(:'email_address')
75
79
  self.email_address = attributes[:'email_address']
76
80
  end
77
-
78
- if attributes.key?(:'created_at')
79
- self.created_at = attributes[:'created_at']
80
- end
81
81
  end
82
82
 
83
83
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -88,6 +88,10 @@ module MailSlurpClient
88
88
  invalid_properties.push('invalid value for "id", id cannot be nil.')
89
89
  end
90
90
 
91
+ if @created_at.nil?
92
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
93
+ end
94
+
91
95
  if @user_id.nil?
92
96
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
93
97
  end
@@ -96,10 +100,6 @@ module MailSlurpClient
96
100
  invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
97
101
  end
98
102
 
99
- if @created_at.nil?
100
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
101
- end
102
-
103
103
  invalid_properties
104
104
  end
105
105
 
@@ -107,9 +107,9 @@ module MailSlurpClient
107
107
  # @return true if the model is valid
108
108
  def valid?
109
109
  return false if @id.nil?
110
+ return false if @created_at.nil?
110
111
  return false if @user_id.nil?
111
112
  return false if @email_address.nil?
112
- return false if @created_at.nil?
113
113
  true
114
114
  end
115
115
 
@@ -119,9 +119,9 @@ module MailSlurpClient
119
119
  return true if self.equal?(o)
120
120
  self.class == o.class &&
121
121
  id == o.id &&
122
+ created_at == o.created_at &&
122
123
  user_id == o.user_id &&
123
- email_address == o.email_address &&
124
- created_at == o.created_at
124
+ email_address == o.email_address
125
125
  end
126
126
 
127
127
  # @see the `==` method
@@ -133,7 +133,7 @@ module MailSlurpClient
133
133
  # Calculates hash code according to all attributes.
134
134
  # @return [Integer] Hash code
135
135
  def hash
136
- [id, user_id, email_address, created_at].hash
136
+ [id, created_at, user_id, email_address].hash
137
137
  end
138
138
 
139
139
  # Builds the object from hash
@@ -18,17 +18,17 @@ module MailSlurpClient
18
18
 
19
19
  attr_accessor :id
20
20
 
21
- attr_accessor :description
22
-
23
21
  attr_accessor :created_at
24
22
 
23
+ attr_accessor :description
24
+
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
28
  :'name' => :'name',
29
29
  :'id' => :'id',
30
- :'description' => :'description',
31
- :'created_at' => :'createdAt'
30
+ :'created_at' => :'createdAt',
31
+ :'description' => :'description'
32
32
  }
33
33
  end
34
34
 
@@ -37,8 +37,8 @@ module MailSlurpClient
37
37
  {
38
38
  :'name' => :'String',
39
39
  :'id' => :'String',
40
- :'description' => :'String',
41
- :'created_at' => :'DateTime'
40
+ :'created_at' => :'DateTime',
41
+ :'description' => :'String'
42
42
  }
43
43
  end
44
44
 
@@ -71,13 +71,13 @@ module MailSlurpClient
71
71
  self.id = attributes[:'id']
72
72
  end
73
73
 
74
- if attributes.key?(:'description')
75
- self.description = attributes[:'description']
76
- end
77
-
78
74
  if attributes.key?(:'created_at')
79
75
  self.created_at = attributes[:'created_at']
80
76
  end
77
+
78
+ if attributes.key?(:'description')
79
+ self.description = attributes[:'description']
80
+ end
81
81
  end
82
82
 
83
83
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -115,8 +115,8 @@ module MailSlurpClient
115
115
  self.class == o.class &&
116
116
  name == o.name &&
117
117
  id == o.id &&
118
- description == o.description &&
119
- created_at == o.created_at
118
+ created_at == o.created_at &&
119
+ description == o.description
120
120
  end
121
121
 
122
122
  # @see the `==` method
@@ -128,7 +128,7 @@ module MailSlurpClient
128
128
  # Calculates hash code according to all attributes.
129
129
  # @return [Integer] Hash code
130
130
  def hash
131
- [name, id, description, created_at].hash
131
+ [name, id, created_at, description].hash
132
132
  end
133
133
 
134
134
  # Builds the object from hash
@@ -18,20 +18,20 @@ module MailSlurpClient
18
18
 
19
19
  attr_accessor :from
20
20
 
21
+ attr_accessor :created_at
22
+
21
23
  attr_accessor :subject
22
24
 
23
25
  attr_accessor :user_id
24
26
 
25
- attr_accessor :created_at
26
-
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
28
28
  def self.attribute_map
29
29
  {
30
30
  :'id' => :'id',
31
31
  :'from' => :'from',
32
+ :'created_at' => :'createdAt',
32
33
  :'subject' => :'subject',
33
- :'user_id' => :'userId',
34
- :'created_at' => :'createdAt'
34
+ :'user_id' => :'userId'
35
35
  }
36
36
  end
37
37
 
@@ -40,9 +40,9 @@ module MailSlurpClient
40
40
  {
41
41
  :'id' => :'String',
42
42
  :'from' => :'String',
43
+ :'created_at' => :'DateTime',
43
44
  :'subject' => :'String',
44
- :'user_id' => :'String',
45
- :'created_at' => :'DateTime'
45
+ :'user_id' => :'String'
46
46
  }
47
47
  end
48
48
 
@@ -75,6 +75,10 @@ module MailSlurpClient
75
75
  self.from = attributes[:'from']
76
76
  end
77
77
 
78
+ if attributes.key?(:'created_at')
79
+ self.created_at = attributes[:'created_at']
80
+ end
81
+
78
82
  if attributes.key?(:'subject')
79
83
  self.subject = attributes[:'subject']
80
84
  end
@@ -82,10 +86,6 @@ module MailSlurpClient
82
86
  if attributes.key?(:'user_id')
83
87
  self.user_id = attributes[:'user_id']
84
88
  end
85
-
86
- if attributes.key?(:'created_at')
87
- self.created_at = attributes[:'created_at']
88
- end
89
89
  end
90
90
 
91
91
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -118,9 +118,9 @@ module MailSlurpClient
118
118
  self.class == o.class &&
119
119
  id == o.id &&
120
120
  from == o.from &&
121
+ created_at == o.created_at &&
121
122
  subject == o.subject &&
122
- user_id == o.user_id &&
123
- created_at == o.created_at
123
+ user_id == o.user_id
124
124
  end
125
125
 
126
126
  # @see the `==` method
@@ -132,7 +132,7 @@ module MailSlurpClient
132
132
  # Calculates hash code according to all attributes.
133
133
  # @return [Integer] Hash code
134
134
  def hash
135
- [id, from, subject, user_id, created_at].hash
135
+ [id, from, created_at, subject, user_id].hash
136
136
  end
137
137
 
138
138
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :subject
25
25
 
26
- attr_accessor :inbox_id
27
-
28
26
  attr_accessor :created_at
29
27
 
28
+ attr_accessor :inbox_id
29
+
30
30
  attr_accessor :to
31
31
 
32
32
  attr_accessor :attachments
@@ -44,8 +44,8 @@ module MailSlurpClient
44
44
  :'from' => :'from',
45
45
  :'user_id' => :'userId',
46
46
  :'subject' => :'subject',
47
- :'inbox_id' => :'inboxId',
48
47
  :'created_at' => :'createdAt',
48
+ :'inbox_id' => :'inboxId',
49
49
  :'to' => :'to',
50
50
  :'attachments' => :'attachments',
51
51
  :'bcc' => :'bcc',
@@ -61,8 +61,8 @@ module MailSlurpClient
61
61
  :'from' => :'String',
62
62
  :'user_id' => :'String',
63
63
  :'subject' => :'String',
64
- :'inbox_id' => :'String',
65
64
  :'created_at' => :'DateTime',
65
+ :'inbox_id' => :'String',
66
66
  :'to' => :'Array<String>',
67
67
  :'attachments' => :'Array<String>',
68
68
  :'bcc' => :'Array<String>',
@@ -108,14 +108,14 @@ module MailSlurpClient
108
108
  self.subject = attributes[:'subject']
109
109
  end
110
110
 
111
- if attributes.key?(:'inbox_id')
112
- self.inbox_id = attributes[:'inbox_id']
113
- end
114
-
115
111
  if attributes.key?(:'created_at')
116
112
  self.created_at = attributes[:'created_at']
117
113
  end
118
114
 
115
+ if attributes.key?(:'inbox_id')
116
+ self.inbox_id = attributes[:'inbox_id']
117
+ end
118
+
119
119
  if attributes.key?(:'to')
120
120
  if (value = attributes[:'to']).is_a?(Array)
121
121
  self.to = value
@@ -157,14 +157,14 @@ module MailSlurpClient
157
157
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
158
158
  end
159
159
 
160
- if @inbox_id.nil?
161
- invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
162
- end
163
-
164
160
  if @created_at.nil?
165
161
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
166
162
  end
167
163
 
164
+ if @inbox_id.nil?
165
+ invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
166
+ end
167
+
168
168
  if @to.nil?
169
169
  invalid_properties.push('invalid value for "to", to cannot be nil.')
170
170
  end
@@ -189,8 +189,8 @@ module MailSlurpClient
189
189
  def valid?
190
190
  return false if @id.nil?
191
191
  return false if @user_id.nil?
192
- return false if @inbox_id.nil?
193
192
  return false if @created_at.nil?
193
+ return false if @inbox_id.nil?
194
194
  return false if @to.nil?
195
195
  return false if @attachments.nil?
196
196
  return false if @bcc.nil?
@@ -207,8 +207,8 @@ module MailSlurpClient
207
207
  from == o.from &&
208
208
  user_id == o.user_id &&
209
209
  subject == o.subject &&
210
- inbox_id == o.inbox_id &&
211
210
  created_at == o.created_at &&
211
+ inbox_id == o.inbox_id &&
212
212
  to == o.to &&
213
213
  attachments == o.attachments &&
214
214
  bcc == o.bcc &&
@@ -225,7 +225,7 @@ module MailSlurpClient
225
225
  # Calculates hash code according to all attributes.
226
226
  # @return [Integer] Hash code
227
227
  def hash
228
- [id, from, user_id, subject, inbox_id, created_at, to, attachments, bcc, cc, body_md5_hash].hash
228
+ [id, from, user_id, subject, created_at, inbox_id, to, attachments, bcc, cc, body_md5_hash].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash
@@ -20,18 +20,18 @@ module MailSlurpClient
20
20
 
21
21
  attr_accessor :created_at
22
22
 
23
- attr_accessor :updated_at
24
-
25
23
  attr_accessor :variables
26
24
 
25
+ attr_accessor :updated_at
26
+
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
28
28
  def self.attribute_map
29
29
  {
30
30
  :'name' => :'name',
31
31
  :'id' => :'id',
32
32
  :'created_at' => :'createdAt',
33
- :'updated_at' => :'updatedAt',
34
- :'variables' => :'variables'
33
+ :'variables' => :'variables',
34
+ :'updated_at' => :'updatedAt'
35
35
  }
36
36
  end
37
37
 
@@ -41,8 +41,8 @@ module MailSlurpClient
41
41
  :'name' => :'String',
42
42
  :'id' => :'String',
43
43
  :'created_at' => :'DateTime',
44
- :'updated_at' => :'DateTime',
45
- :'variables' => :'Array<String>'
44
+ :'variables' => :'Array<String>',
45
+ :'updated_at' => :'DateTime'
46
46
  }
47
47
  end
48
48
 
@@ -79,15 +79,15 @@ module MailSlurpClient
79
79
  self.created_at = attributes[:'created_at']
80
80
  end
81
81
 
82
- if attributes.key?(:'updated_at')
83
- self.updated_at = attributes[:'updated_at']
84
- end
85
-
86
82
  if attributes.key?(:'variables')
87
83
  if (value = attributes[:'variables']).is_a?(Array)
88
84
  self.variables = value
89
85
  end
90
86
  end
87
+
88
+ if attributes.key?(:'updated_at')
89
+ self.updated_at = attributes[:'updated_at']
90
+ end
91
91
  end
92
92
 
93
93
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -106,14 +106,14 @@ module MailSlurpClient
106
106
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
107
107
  end
108
108
 
109
- if @updated_at.nil?
110
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
111
- end
112
-
113
109
  if @variables.nil?
114
110
  invalid_properties.push('invalid value for "variables", variables cannot be nil.')
115
111
  end
116
112
 
113
+ if @updated_at.nil?
114
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
115
+ end
116
+
117
117
  invalid_properties
118
118
  end
119
119
 
@@ -123,8 +123,8 @@ module MailSlurpClient
123
123
  return false if @name.nil?
124
124
  return false if @id.nil?
125
125
  return false if @created_at.nil?
126
- return false if @updated_at.nil?
127
126
  return false if @variables.nil?
127
+ return false if @updated_at.nil?
128
128
  true
129
129
  end
130
130
 
@@ -136,8 +136,8 @@ module MailSlurpClient
136
136
  name == o.name &&
137
137
  id == o.id &&
138
138
  created_at == o.created_at &&
139
- updated_at == o.updated_at &&
140
- variables == o.variables
139
+ variables == o.variables &&
140
+ updated_at == o.updated_at
141
141
  end
142
142
 
143
143
  # @see the `==` method
@@ -149,7 +149,7 @@ module MailSlurpClient
149
149
  # Calculates hash code according to all attributes.
150
150
  # @return [Integer] Hash code
151
151
  def hash
152
- [name, id, created_at, updated_at, variables].hash
152
+ [name, id, created_at, variables, updated_at].hash
153
153
  end
154
154
 
155
155
  # Builds the object from hash
@@ -19,14 +19,14 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :id
21
21
 
22
+ attr_accessor :created_at
23
+
22
24
  attr_accessor :subject
23
25
 
24
26
  attr_accessor :user_id
25
27
 
26
28
  attr_accessor :inbox_id
27
29
 
28
- attr_accessor :created_at
29
-
30
30
  attr_accessor :to
31
31
 
32
32
  attr_accessor :bcc
@@ -42,10 +42,10 @@ module MailSlurpClient
42
42
  {
43
43
  :'name' => :'name',
44
44
  :'id' => :'id',
45
+ :'created_at' => :'createdAt',
45
46
  :'subject' => :'subject',
46
47
  :'user_id' => :'userId',
47
48
  :'inbox_id' => :'inboxId',
48
- :'created_at' => :'createdAt',
49
49
  :'to' => :'to',
50
50
  :'bcc' => :'bcc',
51
51
  :'cc' => :'cc',
@@ -59,10 +59,10 @@ module MailSlurpClient
59
59
  {
60
60
  :'name' => :'String',
61
61
  :'id' => :'String',
62
+ :'created_at' => :'DateTime',
62
63
  :'subject' => :'String',
63
64
  :'user_id' => :'String',
64
65
  :'inbox_id' => :'String',
65
- :'created_at' => :'DateTime',
66
66
  :'to' => :'Array<String>',
67
67
  :'bcc' => :'Array<String>',
68
68
  :'cc' => :'Array<String>',
@@ -100,6 +100,10 @@ module MailSlurpClient
100
100
  self.id = attributes[:'id']
101
101
  end
102
102
 
103
+ if attributes.key?(:'created_at')
104
+ self.created_at = attributes[:'created_at']
105
+ end
106
+
103
107
  if attributes.key?(:'subject')
104
108
  self.subject = attributes[:'subject']
105
109
  end
@@ -112,10 +116,6 @@ module MailSlurpClient
112
116
  self.inbox_id = attributes[:'inbox_id']
113
117
  end
114
118
 
115
- if attributes.key?(:'created_at')
116
- self.created_at = attributes[:'created_at']
117
- end
118
-
119
119
  if attributes.key?(:'to')
120
120
  if (value = attributes[:'to']).is_a?(Array)
121
121
  self.to = value
@@ -151,6 +151,10 @@ module MailSlurpClient
151
151
  invalid_properties.push('invalid value for "id", id cannot be nil.')
152
152
  end
153
153
 
154
+ if @created_at.nil?
155
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
156
+ end
157
+
154
158
  if @user_id.nil?
155
159
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
156
160
  end
@@ -159,10 +163,6 @@ module MailSlurpClient
159
163
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
160
164
  end
161
165
 
162
- if @created_at.nil?
163
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
164
- end
165
-
166
166
  if @to.nil?
167
167
  invalid_properties.push('invalid value for "to", to cannot be nil.')
168
168
  end
@@ -182,9 +182,9 @@ module MailSlurpClient
182
182
  # @return true if the model is valid
183
183
  def valid?
184
184
  return false if @id.nil?
185
+ return false if @created_at.nil?
185
186
  return false if @user_id.nil?
186
187
  return false if @inbox_id.nil?
187
- return false if @created_at.nil?
188
188
  return false if @to.nil?
189
189
  return false if @updated_at.nil?
190
190
  return false if @alias_id.nil?
@@ -198,10 +198,10 @@ module MailSlurpClient
198
198
  self.class == o.class &&
199
199
  name == o.name &&
200
200
  id == o.id &&
201
+ created_at == o.created_at &&
201
202
  subject == o.subject &&
202
203
  user_id == o.user_id &&
203
204
  inbox_id == o.inbox_id &&
204
- created_at == o.created_at &&
205
205
  to == o.to &&
206
206
  bcc == o.bcc &&
207
207
  cc == o.cc &&
@@ -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, created_at, to, bcc, cc, updated_at, alias_id].hash
221
+ [name, id, created_at, subject, user_id, inbox_id, to, bcc, cc, updated_at, alias_id].hash
222
222
  end
223
223
 
224
224
  # Builds the object from hash
@@ -18,12 +18,12 @@ module MailSlurpClient
18
18
 
19
19
  attr_accessor :id
20
20
 
21
+ attr_accessor :created_at
22
+
21
23
  attr_accessor :user_id
22
24
 
23
25
  attr_accessor :inbox_id
24
26
 
25
- attr_accessor :created_at
26
-
27
27
  attr_accessor :seen
28
28
 
29
29
  attr_accessor :recipient
@@ -37,9 +37,9 @@ module MailSlurpClient
37
37
  {
38
38
  :'name' => :'name',
39
39
  :'id' => :'id',
40
+ :'created_at' => :'createdAt',
40
41
  :'user_id' => :'userId',
41
42
  :'inbox_id' => :'inboxId',
42
- :'created_at' => :'createdAt',
43
43
  :'seen' => :'seen',
44
44
  :'recipient' => :'recipient',
45
45
  :'seen_at' => :'seenAt',
@@ -52,9 +52,9 @@ module MailSlurpClient
52
52
  {
53
53
  :'name' => :'String',
54
54
  :'id' => :'String',
55
+ :'created_at' => :'DateTime',
55
56
  :'user_id' => :'String',
56
57
  :'inbox_id' => :'String',
57
- :'created_at' => :'DateTime',
58
58
  :'seen' => :'Boolean',
59
59
  :'recipient' => :'String',
60
60
  :'seen_at' => :'DateTime',
@@ -91,6 +91,10 @@ module MailSlurpClient
91
91
  self.id = attributes[:'id']
92
92
  end
93
93
 
94
+ if attributes.key?(:'created_at')
95
+ self.created_at = attributes[:'created_at']
96
+ end
97
+
94
98
  if attributes.key?(:'user_id')
95
99
  self.user_id = attributes[:'user_id']
96
100
  end
@@ -99,10 +103,6 @@ module MailSlurpClient
99
103
  self.inbox_id = attributes[:'inbox_id']
100
104
  end
101
105
 
102
- if attributes.key?(:'created_at')
103
- self.created_at = attributes[:'created_at']
104
- end
105
-
106
106
  if attributes.key?(:'seen')
107
107
  self.seen = attributes[:'seen']
108
108
  end
@@ -128,14 +128,14 @@ module MailSlurpClient
128
128
  invalid_properties.push('invalid value for "id", id cannot be nil.')
129
129
  end
130
130
 
131
- if @user_id.nil?
132
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
133
- end
134
-
135
131
  if @created_at.nil?
136
132
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
137
133
  end
138
134
 
135
+ if @user_id.nil?
136
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
137
+ end
138
+
139
139
  if @seen.nil?
140
140
  invalid_properties.push('invalid value for "seen", seen cannot be nil.')
141
141
  end
@@ -147,8 +147,8 @@ module MailSlurpClient
147
147
  # @return true if the model is valid
148
148
  def valid?
149
149
  return false if @id.nil?
150
- return false if @user_id.nil?
151
150
  return false if @created_at.nil?
151
+ return false if @user_id.nil?
152
152
  return false if @seen.nil?
153
153
  true
154
154
  end
@@ -160,9 +160,9 @@ module MailSlurpClient
160
160
  self.class == o.class &&
161
161
  name == o.name &&
162
162
  id == o.id &&
163
+ created_at == o.created_at &&
163
164
  user_id == o.user_id &&
164
165
  inbox_id == o.inbox_id &&
165
- created_at == o.created_at &&
166
166
  seen == o.seen &&
167
167
  recipient == o.recipient &&
168
168
  seen_at == o.seen_at &&
@@ -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
- [name, id, user_id, inbox_id, created_at, seen, recipient, seen_at, sent_email_id].hash
181
+ [name, id, created_at, user_id, inbox_id, seen, recipient, seen_at, sent_email_id].hash
182
182
  end
183
183
 
184
184
  # Builds the object from hash