mailslurp_client 15.1.3 → 15.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 714c15cec5a04555b1ac49a46603d5cf36de945900e070c10756e11f8b3de2d5
4
- data.tar.gz: 432e784c1ef7fec0f6ff3f7520f96f96f26627c746784b66bc178ddf204f8f70
3
+ metadata.gz: be190abc4e4e6cfb3ce29fe7007d2244ef5d4f405362c96af50ce683cb35117d
4
+ data.tar.gz: 9c943299957575628e8479fd0fc914299e81f316e345dbf4e568e3ceef874b6c
5
5
  SHA512:
6
- metadata.gz: 99a25738b1f40c22c14c0f830a37ab2bae91fef44a7be6746bc15b3fd850c2330a123c2a69c36ee6a916f6989a25b06baa22a0bfacea71bb51dc9c3796935cfd
7
- data.tar.gz: 1565ff8d77930d534b01addd57ec988535a2c60040b285e9dbe2220ebe775965f3574315e386b742bff8ecc08dedd5339fa7a93c29db6adeadc5eaa2b927c9e3
6
+ metadata.gz: fb13772e325b407bc22b994972f29e3677d66a1c84694a55e004a5bdb73e4536dcdee0b474ea76029faf52c132af800d1b1590b78614f0731c83eafacf551dbf
7
+ data.tar.gz: 7c678f7691759b589bcc147c9da9c294681e37aab5ef9c9248222d5607b507e6d3d4f7ae9525b9bf2cbf36f8ff62801e6a54c260e3048eec0fc476a0d9ee3de6
@@ -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 :user_id
23
25
 
24
26
  attr_accessor :email_address
25
27
 
26
28
  attr_accessor :inbox_id
27
29
 
28
- attr_accessor :created_at
29
-
30
30
  attr_accessor :use_threads
31
31
 
32
32
  attr_accessor :updated_at
@@ -36,10 +36,10 @@ module MailSlurpClient
36
36
  {
37
37
  :'name' => :'name',
38
38
  :'id' => :'id',
39
+ :'created_at' => :'createdAt',
39
40
  :'user_id' => :'userId',
40
41
  :'email_address' => :'emailAddress',
41
42
  :'inbox_id' => :'inboxId',
42
- :'created_at' => :'createdAt',
43
43
  :'use_threads' => :'useThreads',
44
44
  :'updated_at' => :'updatedAt'
45
45
  }
@@ -50,10 +50,10 @@ module MailSlurpClient
50
50
  {
51
51
  :'name' => :'String',
52
52
  :'id' => :'String',
53
+ :'created_at' => :'DateTime',
53
54
  :'user_id' => :'String',
54
55
  :'email_address' => :'String',
55
56
  :'inbox_id' => :'String',
56
- :'created_at' => :'DateTime',
57
57
  :'use_threads' => :'Boolean',
58
58
  :'updated_at' => :'DateTime'
59
59
  }
@@ -88,6 +88,10 @@ module MailSlurpClient
88
88
  self.id = attributes[:'id']
89
89
  end
90
90
 
91
+ if attributes.key?(:'created_at')
92
+ self.created_at = attributes[:'created_at']
93
+ end
94
+
91
95
  if attributes.key?(:'user_id')
92
96
  self.user_id = attributes[:'user_id']
93
97
  end
@@ -100,10 +104,6 @@ module MailSlurpClient
100
104
  self.inbox_id = attributes[:'inbox_id']
101
105
  end
102
106
 
103
- if attributes.key?(:'created_at')
104
- self.created_at = attributes[:'created_at']
105
- end
106
-
107
107
  if attributes.key?(:'use_threads')
108
108
  self.use_threads = attributes[:'use_threads']
109
109
  end
@@ -121,6 +121,10 @@ module MailSlurpClient
121
121
  invalid_properties.push('invalid value for "id", id cannot be nil.')
122
122
  end
123
123
 
124
+ if @created_at.nil?
125
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
126
+ end
127
+
124
128
  if @user_id.nil?
125
129
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
126
130
  end
@@ -133,10 +137,6 @@ module MailSlurpClient
133
137
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
134
138
  end
135
139
 
136
- if @created_at.nil?
137
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
138
- end
139
-
140
140
  if @updated_at.nil?
141
141
  invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
142
142
  end
@@ -148,10 +148,10 @@ 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 @created_at.nil?
151
152
  return false if @user_id.nil?
152
153
  return false if @email_address.nil?
153
154
  return false if @inbox_id.nil?
154
- return false if @created_at.nil?
155
155
  return false if @updated_at.nil?
156
156
  true
157
157
  end
@@ -163,10 +163,10 @@ module MailSlurpClient
163
163
  self.class == o.class &&
164
164
  name == o.name &&
165
165
  id == o.id &&
166
+ created_at == o.created_at &&
166
167
  user_id == o.user_id &&
167
168
  email_address == o.email_address &&
168
169
  inbox_id == o.inbox_id &&
169
- created_at == o.created_at &&
170
170
  use_threads == o.use_threads &&
171
171
  updated_at == o.updated_at
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
- [name, id, user_id, email_address, inbox_id, created_at, use_threads, updated_at].hash
183
+ [name, id, created_at, user_id, email_address, inbox_id, use_threads, updated_at].hash
184
184
  end
185
185
 
186
186
  # Builds the object from hash
@@ -22,13 +22,13 @@ module MailSlurpClient
22
22
  # Content type of attachment.
23
23
  attr_accessor :content_type
24
24
 
25
+ attr_accessor :created_at
26
+
25
27
  attr_accessor :user_id
26
28
 
27
29
  # Attachment ID
28
30
  attr_accessor :attachment_id
29
31
 
30
- attr_accessor :created_at
31
-
32
32
  attr_accessor :updated_at
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -37,9 +37,9 @@ module MailSlurpClient
37
37
  :'name' => :'name',
38
38
  :'content_length' => :'contentLength',
39
39
  :'content_type' => :'contentType',
40
+ :'created_at' => :'createdAt',
40
41
  :'user_id' => :'userId',
41
42
  :'attachment_id' => :'attachmentId',
42
- :'created_at' => :'createdAt',
43
43
  :'updated_at' => :'updatedAt'
44
44
  }
45
45
  end
@@ -50,9 +50,9 @@ module MailSlurpClient
50
50
  :'name' => :'String',
51
51
  :'content_length' => :'Integer',
52
52
  :'content_type' => :'String',
53
+ :'created_at' => :'DateTime',
53
54
  :'user_id' => :'String',
54
55
  :'attachment_id' => :'String',
55
- :'created_at' => :'DateTime',
56
56
  :'updated_at' => :'DateTime'
57
57
  }
58
58
  end
@@ -90,6 +90,10 @@ module MailSlurpClient
90
90
  self.content_type = attributes[:'content_type']
91
91
  end
92
92
 
93
+ if attributes.key?(:'created_at')
94
+ self.created_at = attributes[:'created_at']
95
+ end
96
+
93
97
  if attributes.key?(:'user_id')
94
98
  self.user_id = attributes[:'user_id']
95
99
  end
@@ -98,10 +102,6 @@ module MailSlurpClient
98
102
  self.attachment_id = attributes[:'attachment_id']
99
103
  end
100
104
 
101
- if attributes.key?(:'created_at')
102
- self.created_at = attributes[:'created_at']
103
- end
104
-
105
105
  if attributes.key?(:'updated_at')
106
106
  self.updated_at = attributes[:'updated_at']
107
107
  end
@@ -111,6 +111,10 @@ module MailSlurpClient
111
111
  # @return Array for valid properties with the reasons
112
112
  def list_invalid_properties
113
113
  invalid_properties = Array.new
114
+ if @created_at.nil?
115
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
116
+ end
117
+
114
118
  if @user_id.nil?
115
119
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
116
120
  end
@@ -119,10 +123,6 @@ module MailSlurpClient
119
123
  invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
120
124
  end
121
125
 
122
- if @created_at.nil?
123
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
124
- end
125
-
126
126
  if @updated_at.nil?
127
127
  invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
128
128
  end
@@ -133,9 +133,9 @@ module MailSlurpClient
133
133
  # Check to see if the all the properties in the model are valid
134
134
  # @return true if the model is valid
135
135
  def valid?
136
+ return false if @created_at.nil?
136
137
  return false if @user_id.nil?
137
138
  return false if @attachment_id.nil?
138
- return false if @created_at.nil?
139
139
  return false if @updated_at.nil?
140
140
  true
141
141
  end
@@ -148,9 +148,9 @@ module MailSlurpClient
148
148
  name == o.name &&
149
149
  content_length == o.content_length &&
150
150
  content_type == o.content_type &&
151
+ created_at == o.created_at &&
151
152
  user_id == o.user_id &&
152
153
  attachment_id == o.attachment_id &&
153
- created_at == o.created_at &&
154
154
  updated_at == o.updated_at
155
155
  end
156
156
 
@@ -163,7 +163,7 @@ module MailSlurpClient
163
163
  # Calculates hash code according to all attributes.
164
164
  # @return [Integer] Hash code
165
165
  def hash
166
- [name, content_length, content_type, user_id, attachment_id, created_at, updated_at].hash
166
+ [name, content_length, content_type, created_at, user_id, attachment_id, updated_at].hash
167
167
  end
168
168
 
169
169
  # Builds the object from hash
@@ -16,16 +16,16 @@ module MailSlurpClient
16
16
  class BounceProjection
17
17
  attr_accessor :id
18
18
 
19
- attr_accessor :sender
20
-
21
19
  attr_accessor :created_at
22
20
 
21
+ attr_accessor :sender
22
+
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
26
  :'id' => :'id',
27
- :'sender' => :'sender',
28
- :'created_at' => :'createdAt'
27
+ :'created_at' => :'createdAt',
28
+ :'sender' => :'sender'
29
29
  }
30
30
  end
31
31
 
@@ -33,8 +33,8 @@ module MailSlurpClient
33
33
  def self.openapi_types
34
34
  {
35
35
  :'id' => :'String',
36
- :'sender' => :'String',
37
- :'created_at' => :'DateTime'
36
+ :'created_at' => :'DateTime',
37
+ :'sender' => :'String'
38
38
  }
39
39
  end
40
40
 
@@ -63,35 +63,35 @@ module MailSlurpClient
63
63
  self.id = attributes[:'id']
64
64
  end
65
65
 
66
- if attributes.key?(:'sender')
67
- self.sender = attributes[:'sender']
68
- end
69
-
70
66
  if attributes.key?(:'created_at')
71
67
  self.created_at = attributes[:'created_at']
72
68
  end
69
+
70
+ if attributes.key?(:'sender')
71
+ self.sender = attributes[:'sender']
72
+ end
73
73
  end
74
74
 
75
75
  # Show invalid properties with the reasons. Usually used together with valid?
76
76
  # @return Array for valid properties with the reasons
77
77
  def list_invalid_properties
78
78
  invalid_properties = Array.new
79
- if @sender.nil?
80
- invalid_properties.push('invalid value for "sender", sender cannot be nil.')
81
- end
82
-
83
79
  if @created_at.nil?
84
80
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
85
81
  end
86
82
 
83
+ if @sender.nil?
84
+ invalid_properties.push('invalid value for "sender", sender cannot be nil.')
85
+ end
86
+
87
87
  invalid_properties
88
88
  end
89
89
 
90
90
  # Check to see if the all the properties in the model are valid
91
91
  # @return true if the model is valid
92
92
  def valid?
93
- return false if @sender.nil?
94
93
  return false if @created_at.nil?
94
+ return false if @sender.nil?
95
95
  true
96
96
  end
97
97
 
@@ -101,8 +101,8 @@ module MailSlurpClient
101
101
  return true if self.equal?(o)
102
102
  self.class == o.class &&
103
103
  id == o.id &&
104
- sender == o.sender &&
105
- created_at == o.created_at
104
+ created_at == o.created_at &&
105
+ sender == o.sender
106
106
  end
107
107
 
108
108
  # @see the `==` method
@@ -114,7 +114,7 @@ module MailSlurpClient
114
114
  # Calculates hash code according to all attributes.
115
115
  # @return [Integer] Hash code
116
116
  def hash
117
- [id, sender, created_at].hash
117
+ [id, created_at, sender].hash
118
118
  end
119
119
 
120
120
  # Builds the object from hash
@@ -16,6 +16,8 @@ module MailSlurpClient
16
16
  class ContactProjection
17
17
  attr_accessor :id
18
18
 
19
+ attr_accessor :created_at
20
+
19
21
  attr_accessor :group_id
20
22
 
21
23
  attr_accessor :first_name
@@ -28,19 +30,17 @@ module MailSlurpClient
28
30
 
29
31
  attr_accessor :opt_out
30
32
 
31
- attr_accessor :created_at
32
-
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
36
  :'id' => :'id',
37
+ :'created_at' => :'createdAt',
37
38
  :'group_id' => :'groupId',
38
39
  :'first_name' => :'firstName',
39
40
  :'last_name' => :'lastName',
40
41
  :'company' => :'company',
41
42
  :'email_addresses' => :'emailAddresses',
42
- :'opt_out' => :'optOut',
43
- :'created_at' => :'createdAt'
43
+ :'opt_out' => :'optOut'
44
44
  }
45
45
  end
46
46
 
@@ -48,13 +48,13 @@ module MailSlurpClient
48
48
  def self.openapi_types
49
49
  {
50
50
  :'id' => :'String',
51
+ :'created_at' => :'DateTime',
51
52
  :'group_id' => :'String',
52
53
  :'first_name' => :'String',
53
54
  :'last_name' => :'String',
54
55
  :'company' => :'String',
55
56
  :'email_addresses' => :'Array<String>',
56
- :'opt_out' => :'Boolean',
57
- :'created_at' => :'DateTime'
57
+ :'opt_out' => :'Boolean'
58
58
  }
59
59
  end
60
60
 
@@ -83,6 +83,10 @@ module MailSlurpClient
83
83
  self.id = attributes[:'id']
84
84
  end
85
85
 
86
+ if attributes.key?(:'created_at')
87
+ self.created_at = attributes[:'created_at']
88
+ end
89
+
86
90
  if attributes.key?(:'group_id')
87
91
  self.group_id = attributes[:'group_id']
88
92
  end
@@ -108,10 +112,6 @@ module MailSlurpClient
108
112
  if attributes.key?(:'opt_out')
109
113
  self.opt_out = attributes[:'opt_out']
110
114
  end
111
-
112
- if attributes.key?(:'created_at')
113
- self.created_at = attributes[:'created_at']
114
- end
115
115
  end
116
116
 
117
117
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -143,13 +143,13 @@ module MailSlurpClient
143
143
  return true if self.equal?(o)
144
144
  self.class == o.class &&
145
145
  id == o.id &&
146
+ created_at == o.created_at &&
146
147
  group_id == o.group_id &&
147
148
  first_name == o.first_name &&
148
149
  last_name == o.last_name &&
149
150
  company == o.company &&
150
151
  email_addresses == o.email_addresses &&
151
- opt_out == o.opt_out &&
152
- created_at == o.created_at
152
+ opt_out == o.opt_out
153
153
  end
154
154
 
155
155
  # @see the `==` method
@@ -161,7 +161,7 @@ module MailSlurpClient
161
161
  # Calculates hash code according to all attributes.
162
162
  # @return [Integer] Hash code
163
163
  def hash
164
- [id, group_id, first_name, last_name, company, email_addresses, opt_out, created_at].hash
164
+ [id, created_at, group_id, first_name, last_name, company, email_addresses, opt_out].hash
165
165
  end
166
166
 
167
167
  # Builds the object from hash
@@ -19,6 +19,8 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :from
21
21
 
22
+ attr_accessor :created_at
23
+
22
24
  attr_accessor :subject
23
25
 
24
26
  attr_accessor :inbox_id
@@ -31,8 +33,6 @@ module MailSlurpClient
31
33
 
32
34
  attr_accessor :cc
33
35
 
34
- attr_accessor :created_at
35
-
36
36
  attr_accessor :team_access
37
37
 
38
38
  attr_accessor :read
@@ -46,13 +46,13 @@ module MailSlurpClient
46
46
  {
47
47
  :'id' => :'id',
48
48
  :'from' => :'from',
49
+ :'created_at' => :'createdAt',
49
50
  :'subject' => :'subject',
50
51
  :'inbox_id' => :'inboxId',
51
52
  :'to' => :'to',
52
53
  :'attachments' => :'attachments',
53
54
  :'bcc' => :'bcc',
54
55
  :'cc' => :'cc',
55
- :'created_at' => :'createdAt',
56
56
  :'team_access' => :'teamAccess',
57
57
  :'read' => :'read',
58
58
  :'body_md5_hash' => :'bodyMD5Hash',
@@ -65,13 +65,13 @@ module MailSlurpClient
65
65
  {
66
66
  :'id' => :'String',
67
67
  :'from' => :'String',
68
+ :'created_at' => :'DateTime',
68
69
  :'subject' => :'String',
69
70
  :'inbox_id' => :'String',
70
71
  :'to' => :'Array<String>',
71
72
  :'attachments' => :'Array<String>',
72
73
  :'bcc' => :'Array<String>',
73
74
  :'cc' => :'Array<String>',
74
- :'created_at' => :'DateTime',
75
75
  :'team_access' => :'Boolean',
76
76
  :'read' => :'Boolean',
77
77
  :'body_md5_hash' => :'String',
@@ -108,6 +108,10 @@ module MailSlurpClient
108
108
  self.from = attributes[:'from']
109
109
  end
110
110
 
111
+ if attributes.key?(:'created_at')
112
+ self.created_at = attributes[:'created_at']
113
+ end
114
+
111
115
  if attributes.key?(:'subject')
112
116
  self.subject = attributes[:'subject']
113
117
  end
@@ -140,10 +144,6 @@ module MailSlurpClient
140
144
  end
141
145
  end
142
146
 
143
- if attributes.key?(:'created_at')
144
- self.created_at = attributes[:'created_at']
145
- end
146
-
147
147
  if attributes.key?(:'team_access')
148
148
  self.team_access = attributes[:'team_access']
149
149
  end
@@ -169,6 +169,10 @@ module MailSlurpClient
169
169
  invalid_properties.push('invalid value for "id", id cannot be nil.')
170
170
  end
171
171
 
172
+ if @created_at.nil?
173
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
174
+ end
175
+
172
176
  if @inbox_id.nil?
173
177
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
174
178
  end
@@ -177,10 +181,6 @@ module MailSlurpClient
177
181
  invalid_properties.push('invalid value for "to", to cannot be nil.')
178
182
  end
179
183
 
180
- if @created_at.nil?
181
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
182
- end
183
-
184
184
  invalid_properties
185
185
  end
186
186
 
@@ -188,9 +188,9 @@ module MailSlurpClient
188
188
  # @return true if the model is valid
189
189
  def valid?
190
190
  return false if @id.nil?
191
+ return false if @created_at.nil?
191
192
  return false if @inbox_id.nil?
192
193
  return false if @to.nil?
193
- return false if @created_at.nil?
194
194
  true
195
195
  end
196
196
 
@@ -201,13 +201,13 @@ module MailSlurpClient
201
201
  self.class == o.class &&
202
202
  id == o.id &&
203
203
  from == o.from &&
204
+ created_at == o.created_at &&
204
205
  subject == o.subject &&
205
206
  inbox_id == o.inbox_id &&
206
207
  to == o.to &&
207
208
  attachments == o.attachments &&
208
209
  bcc == o.bcc &&
209
210
  cc == o.cc &&
210
- created_at == o.created_at &&
211
211
  team_access == o.team_access &&
212
212
  read == o.read &&
213
213
  body_md5_hash == o.body_md5_hash &&
@@ -223,7 +223,7 @@ module MailSlurpClient
223
223
  # Calculates hash code according to all attributes.
224
224
  # @return [Integer] Hash code
225
225
  def hash
226
- [id, from, subject, inbox_id, to, attachments, bcc, cc, created_at, team_access, read, body_md5_hash, body_excerpt].hash
226
+ [id, from, created_at, subject, inbox_id, to, attachments, bcc, cc, team_access, read, body_md5_hash, body_excerpt].hash
227
227
  end
228
228
 
229
229
  # Builds the object from hash
@@ -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