mailslurp_client 15.8.0 → 15.8.1

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: 0cd94528b624d05b2418a77d42dda159fb84dd1190ad634ee0a0a26727815476
4
- data.tar.gz: fb9d8fe02d0fd089bcb14f288182122f52ae85f9426432fd08301255c1f9cd13
3
+ metadata.gz: 4c57b9ba3a7c06a9bf126689e80920a1e0eae9be28a03bdea3b724cad4ab100f
4
+ data.tar.gz: 1290b7e2f2e09d23c22f1be518b6cad3299c473f0bb5abb6b8b455c59852a5be
5
5
  SHA512:
6
- metadata.gz: 5eac32cda727ea19453a202f6a8030b215f1bd899f76e4e4a8e0abb20837d73961cc55b6ddec1ad3ca039e81d815c651fba39282a188283056c7bd0dd35fdad1
7
- data.tar.gz: 2a286f8a8426ba315c3a16aa7b4c70928c5daeff1af918eb461059f85d81a7d580518d8cb5ab1c928eda9cb7d85aa53a665bb236594ae643a9021d7515be7e8a
6
+ metadata.gz: 9a3027477ae43a11e1298f6c06c69ca79ec9858732375c06b70b283d0ae4414f83367f7471ba3751c7842ff4b44aafb9c553344d6564cd65d220087639144cb6
7
+ data.tar.gz: ea9ae376f7209b22aa3c9cf54769ba16f15bda619ce2bb78e4a19f4b7b5bda04a804c8fef92114b6733327a1f323d0767eeb2cfd26aead8e1e1e0e89554d9f05
@@ -21,15 +21,15 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :inbox_id
23
23
 
24
- attr_accessor :user_id
25
-
26
24
  attr_accessor :email_address
27
25
 
28
- attr_accessor :updated_at
26
+ attr_accessor :user_id
27
+
28
+ attr_accessor :use_threads
29
29
 
30
30
  attr_accessor :created_at
31
31
 
32
- attr_accessor :use_threads
32
+ attr_accessor :updated_at
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
@@ -37,11 +37,11 @@ module MailSlurpClient
37
37
  :'name' => :'name',
38
38
  :'id' => :'id',
39
39
  :'inbox_id' => :'inboxId',
40
- :'user_id' => :'userId',
41
40
  :'email_address' => :'emailAddress',
42
- :'updated_at' => :'updatedAt',
41
+ :'user_id' => :'userId',
42
+ :'use_threads' => :'useThreads',
43
43
  :'created_at' => :'createdAt',
44
- :'use_threads' => :'useThreads'
44
+ :'updated_at' => :'updatedAt'
45
45
  }
46
46
  end
47
47
 
@@ -51,11 +51,11 @@ module MailSlurpClient
51
51
  :'name' => :'String',
52
52
  :'id' => :'String',
53
53
  :'inbox_id' => :'String',
54
- :'user_id' => :'String',
55
54
  :'email_address' => :'String',
56
- :'updated_at' => :'DateTime',
55
+ :'user_id' => :'String',
56
+ :'use_threads' => :'Boolean',
57
57
  :'created_at' => :'DateTime',
58
- :'use_threads' => :'Boolean'
58
+ :'updated_at' => :'DateTime'
59
59
  }
60
60
  end
61
61
 
@@ -92,24 +92,24 @@ module MailSlurpClient
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']
97
- end
98
-
99
95
  if attributes.key?(:'email_address')
100
96
  self.email_address = attributes[:'email_address']
101
97
  end
102
98
 
103
- if attributes.key?(:'updated_at')
104
- self.updated_at = attributes[:'updated_at']
99
+ if attributes.key?(:'user_id')
100
+ self.user_id = attributes[:'user_id']
101
+ end
102
+
103
+ if attributes.key?(:'use_threads')
104
+ self.use_threads = attributes[:'use_threads']
105
105
  end
106
106
 
107
107
  if attributes.key?(:'created_at')
108
108
  self.created_at = attributes[:'created_at']
109
109
  end
110
110
 
111
- if attributes.key?(:'use_threads')
112
- self.use_threads = attributes[:'use_threads']
111
+ if attributes.key?(:'updated_at')
112
+ self.updated_at = attributes[:'updated_at']
113
113
  end
114
114
  end
115
115
 
@@ -125,22 +125,22 @@ module MailSlurpClient
125
125
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
126
126
  end
127
127
 
128
- if @user_id.nil?
129
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
130
- end
131
-
132
128
  if @email_address.nil?
133
129
  invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
134
130
  end
135
131
 
136
- if @updated_at.nil?
137
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
132
+ if @user_id.nil?
133
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
138
134
  end
139
135
 
140
136
  if @created_at.nil?
141
137
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
142
138
  end
143
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
 
@@ -149,10 +149,10 @@ module MailSlurpClient
149
149
  def valid?
150
150
  return false if @id.nil?
151
151
  return false if @inbox_id.nil?
152
- return false if @user_id.nil?
153
152
  return false if @email_address.nil?
154
- return false if @updated_at.nil?
153
+ return false if @user_id.nil?
155
154
  return false if @created_at.nil?
155
+ return false if @updated_at.nil?
156
156
  true
157
157
  end
158
158
 
@@ -164,11 +164,11 @@ module MailSlurpClient
164
164
  name == o.name &&
165
165
  id == o.id &&
166
166
  inbox_id == o.inbox_id &&
167
- user_id == o.user_id &&
168
167
  email_address == o.email_address &&
169
- updated_at == o.updated_at &&
168
+ user_id == o.user_id &&
169
+ use_threads == o.use_threads &&
170
170
  created_at == o.created_at &&
171
- use_threads == o.use_threads
171
+ updated_at == o.updated_at
172
172
  end
173
173
 
174
174
  # @see the `==` method
@@ -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, inbox_id, user_id, email_address, updated_at, created_at, use_threads].hash
183
+ [name, id, inbox_id, email_address, user_id, use_threads, created_at, updated_at].hash
184
184
  end
185
185
 
186
186
  # Builds the object from hash
@@ -25,10 +25,10 @@ module MailSlurpClient
25
25
  # Attachment ID
26
26
  attr_accessor :attachment_id
27
27
 
28
- attr_accessor :updated_at
29
-
30
28
  attr_accessor :created_at
31
29
 
30
+ attr_accessor :updated_at
31
+
32
32
  # Content type of attachment.
33
33
  attr_accessor :content_type
34
34
 
@@ -39,8 +39,8 @@ module MailSlurpClient
39
39
  :'content_length' => :'contentLength',
40
40
  :'user_id' => :'userId',
41
41
  :'attachment_id' => :'attachmentId',
42
- :'updated_at' => :'updatedAt',
43
42
  :'created_at' => :'createdAt',
43
+ :'updated_at' => :'updatedAt',
44
44
  :'content_type' => :'contentType'
45
45
  }
46
46
  end
@@ -52,8 +52,8 @@ module MailSlurpClient
52
52
  :'content_length' => :'Integer',
53
53
  :'user_id' => :'String',
54
54
  :'attachment_id' => :'String',
55
- :'updated_at' => :'DateTime',
56
55
  :'created_at' => :'DateTime',
56
+ :'updated_at' => :'DateTime',
57
57
  :'content_type' => :'String'
58
58
  }
59
59
  end
@@ -95,14 +95,14 @@ module MailSlurpClient
95
95
  self.attachment_id = attributes[:'attachment_id']
96
96
  end
97
97
 
98
- if attributes.key?(:'updated_at')
99
- self.updated_at = attributes[:'updated_at']
100
- end
101
-
102
98
  if attributes.key?(:'created_at')
103
99
  self.created_at = attributes[:'created_at']
104
100
  end
105
101
 
102
+ if attributes.key?(:'updated_at')
103
+ self.updated_at = attributes[:'updated_at']
104
+ end
105
+
106
106
  if attributes.key?(:'content_type')
107
107
  self.content_type = attributes[:'content_type']
108
108
  end
@@ -120,14 +120,14 @@ module MailSlurpClient
120
120
  invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
121
121
  end
122
122
 
123
- if @updated_at.nil?
124
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
125
- end
126
-
127
123
  if @created_at.nil?
128
124
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
129
125
  end
130
126
 
127
+ if @updated_at.nil?
128
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
129
+ end
130
+
131
131
  invalid_properties
132
132
  end
133
133
 
@@ -136,8 +136,8 @@ module MailSlurpClient
136
136
  def valid?
137
137
  return false if @user_id.nil?
138
138
  return false if @attachment_id.nil?
139
- return false if @updated_at.nil?
140
139
  return false if @created_at.nil?
140
+ return false if @updated_at.nil?
141
141
  true
142
142
  end
143
143
 
@@ -150,8 +150,8 @@ module MailSlurpClient
150
150
  content_length == o.content_length &&
151
151
  user_id == o.user_id &&
152
152
  attachment_id == o.attachment_id &&
153
- updated_at == o.updated_at &&
154
153
  created_at == o.created_at &&
154
+ updated_at == o.updated_at &&
155
155
  content_type == o.content_type
156
156
  end
157
157
 
@@ -164,7 +164,7 @@ module MailSlurpClient
164
164
  # Calculates hash code according to all attributes.
165
165
  # @return [Integer] Hash code
166
166
  def hash
167
- [name, content_length, user_id, attachment_id, updated_at, created_at, content_type].hash
167
+ [name, content_length, user_id, attachment_id, created_at, updated_at, content_type].hash
168
168
  end
169
169
 
170
170
  # Builds the object from hash
@@ -19,8 +19,6 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :group_id
21
21
 
22
- attr_accessor :created_at
23
-
24
22
  attr_accessor :first_name
25
23
 
26
24
  attr_accessor :last_name
@@ -31,17 +29,19 @@ module MailSlurpClient
31
29
 
32
30
  attr_accessor :opt_out
33
31
 
32
+ attr_accessor :created_at
33
+
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
36
  {
37
37
  :'id' => :'id',
38
38
  :'group_id' => :'groupId',
39
- :'created_at' => :'createdAt',
40
39
  :'first_name' => :'firstName',
41
40
  :'last_name' => :'lastName',
42
41
  :'company' => :'company',
43
42
  :'email_addresses' => :'emailAddresses',
44
- :'opt_out' => :'optOut'
43
+ :'opt_out' => :'optOut',
44
+ :'created_at' => :'createdAt'
45
45
  }
46
46
  end
47
47
 
@@ -50,12 +50,12 @@ module MailSlurpClient
50
50
  {
51
51
  :'id' => :'String',
52
52
  :'group_id' => :'String',
53
- :'created_at' => :'DateTime',
54
53
  :'first_name' => :'String',
55
54
  :'last_name' => :'String',
56
55
  :'company' => :'String',
57
56
  :'email_addresses' => :'Array<String>',
58
- :'opt_out' => :'Boolean'
57
+ :'opt_out' => :'Boolean',
58
+ :'created_at' => :'DateTime'
59
59
  }
60
60
  end
61
61
 
@@ -88,10 +88,6 @@ module MailSlurpClient
88
88
  self.group_id = attributes[:'group_id']
89
89
  end
90
90
 
91
- if attributes.key?(:'created_at')
92
- self.created_at = attributes[:'created_at']
93
- end
94
-
95
91
  if attributes.key?(:'first_name')
96
92
  self.first_name = attributes[:'first_name']
97
93
  end
@@ -113,6 +109,10 @@ module MailSlurpClient
113
109
  if attributes.key?(:'opt_out')
114
110
  self.opt_out = attributes[:'opt_out']
115
111
  end
112
+
113
+ if attributes.key?(:'created_at')
114
+ self.created_at = attributes[:'created_at']
115
+ end
116
116
  end
117
117
 
118
118
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -145,12 +145,12 @@ module MailSlurpClient
145
145
  self.class == o.class &&
146
146
  id == o.id &&
147
147
  group_id == o.group_id &&
148
- created_at == o.created_at &&
149
148
  first_name == o.first_name &&
150
149
  last_name == o.last_name &&
151
150
  company == o.company &&
152
151
  email_addresses == o.email_addresses &&
153
- opt_out == o.opt_out
152
+ opt_out == o.opt_out &&
153
+ created_at == o.created_at
154
154
  end
155
155
 
156
156
  # @see the `==` method
@@ -162,7 +162,7 @@ module MailSlurpClient
162
162
  # Calculates hash code according to all attributes.
163
163
  # @return [Integer] Hash code
164
164
  def hash
165
- [id, group_id, created_at, first_name, last_name, company, email_addresses, opt_out].hash
165
+ [id, group_id, first_name, last_name, company, email_addresses, opt_out, created_at].hash
166
166
  end
167
167
 
168
168
  # Builds the object from hash
@@ -27,6 +27,12 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :to
29
29
 
30
+ attr_accessor :bcc
31
+
32
+ attr_accessor :cc
33
+
34
+ attr_accessor :created_at
35
+
30
36
  attr_accessor :team_access
31
37
 
32
38
  attr_accessor :read
@@ -35,12 +41,6 @@ module MailSlurpClient
35
41
 
36
42
  attr_accessor :body_excerpt
37
43
 
38
- attr_accessor :created_at
39
-
40
- attr_accessor :bcc
41
-
42
- attr_accessor :cc
43
-
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
@@ -50,13 +50,13 @@ module MailSlurpClient
50
50
  :'inbox_id' => :'inboxId',
51
51
  :'attachments' => :'attachments',
52
52
  :'to' => :'to',
53
+ :'bcc' => :'bcc',
54
+ :'cc' => :'cc',
55
+ :'created_at' => :'createdAt',
53
56
  :'team_access' => :'teamAccess',
54
57
  :'read' => :'read',
55
58
  :'body_md5_hash' => :'bodyMD5Hash',
56
- :'body_excerpt' => :'bodyExcerpt',
57
- :'created_at' => :'createdAt',
58
- :'bcc' => :'bcc',
59
- :'cc' => :'cc'
59
+ :'body_excerpt' => :'bodyExcerpt'
60
60
  }
61
61
  end
62
62
 
@@ -69,13 +69,13 @@ module MailSlurpClient
69
69
  :'inbox_id' => :'String',
70
70
  :'attachments' => :'Array<String>',
71
71
  :'to' => :'Array<String>',
72
+ :'bcc' => :'Array<String>',
73
+ :'cc' => :'Array<String>',
74
+ :'created_at' => :'DateTime',
72
75
  :'team_access' => :'Boolean',
73
76
  :'read' => :'Boolean',
74
77
  :'body_md5_hash' => :'String',
75
- :'body_excerpt' => :'String',
76
- :'created_at' => :'DateTime',
77
- :'bcc' => :'Array<String>',
78
- :'cc' => :'Array<String>'
78
+ :'body_excerpt' => :'String'
79
79
  }
80
80
  end
81
81
 
@@ -128,6 +128,22 @@ module MailSlurpClient
128
128
  end
129
129
  end
130
130
 
131
+ if attributes.key?(:'bcc')
132
+ if (value = attributes[:'bcc']).is_a?(Array)
133
+ self.bcc = value
134
+ end
135
+ end
136
+
137
+ if attributes.key?(:'cc')
138
+ if (value = attributes[:'cc']).is_a?(Array)
139
+ self.cc = value
140
+ end
141
+ end
142
+
143
+ if attributes.key?(:'created_at')
144
+ self.created_at = attributes[:'created_at']
145
+ end
146
+
131
147
  if attributes.key?(:'team_access')
132
148
  self.team_access = attributes[:'team_access']
133
149
  end
@@ -143,22 +159,6 @@ module MailSlurpClient
143
159
  if attributes.key?(:'body_excerpt')
144
160
  self.body_excerpt = attributes[:'body_excerpt']
145
161
  end
146
-
147
- if attributes.key?(:'created_at')
148
- self.created_at = attributes[:'created_at']
149
- end
150
-
151
- if attributes.key?(:'bcc')
152
- if (value = attributes[:'bcc']).is_a?(Array)
153
- self.bcc = value
154
- end
155
- end
156
-
157
- if attributes.key?(:'cc')
158
- if (value = attributes[:'cc']).is_a?(Array)
159
- self.cc = value
160
- end
161
- end
162
162
  end
163
163
 
164
164
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -205,13 +205,13 @@ module MailSlurpClient
205
205
  inbox_id == o.inbox_id &&
206
206
  attachments == o.attachments &&
207
207
  to == o.to &&
208
+ bcc == o.bcc &&
209
+ cc == o.cc &&
210
+ created_at == o.created_at &&
208
211
  team_access == o.team_access &&
209
212
  read == o.read &&
210
213
  body_md5_hash == o.body_md5_hash &&
211
- body_excerpt == o.body_excerpt &&
212
- created_at == o.created_at &&
213
- bcc == o.bcc &&
214
- cc == o.cc
214
+ body_excerpt == o.body_excerpt
215
215
  end
216
216
 
217
217
  # @see the `==` method
@@ -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, attachments, to, team_access, read, body_md5_hash, body_excerpt, created_at, bcc, cc].hash
226
+ [id, from, subject, inbox_id, attachments, to, bcc, cc, created_at, team_access, read, body_md5_hash, body_excerpt].hash
227
227
  end
228
228
 
229
229
  # Builds the object from hash
@@ -17,18 +17,18 @@ module MailSlurpClient
17
17
  class ExpiredInboxRecordProjection
18
18
  attr_accessor :id
19
19
 
20
- attr_accessor :user_id
21
-
22
20
  attr_accessor :email_address
23
21
 
22
+ attr_accessor :user_id
23
+
24
24
  attr_accessor :created_at
25
25
 
26
26
  # Attribute mapping from ruby-style variable name to JSON key.
27
27
  def self.attribute_map
28
28
  {
29
29
  :'id' => :'id',
30
- :'user_id' => :'userId',
31
30
  :'email_address' => :'emailAddress',
31
+ :'user_id' => :'userId',
32
32
  :'created_at' => :'createdAt'
33
33
  }
34
34
  end
@@ -37,8 +37,8 @@ module MailSlurpClient
37
37
  def self.openapi_types
38
38
  {
39
39
  :'id' => :'String',
40
- :'user_id' => :'String',
41
40
  :'email_address' => :'String',
41
+ :'user_id' => :'String',
42
42
  :'created_at' => :'DateTime'
43
43
  }
44
44
  end
@@ -68,14 +68,14 @@ module MailSlurpClient
68
68
  self.id = attributes[:'id']
69
69
  end
70
70
 
71
- if attributes.key?(:'user_id')
72
- self.user_id = attributes[:'user_id']
73
- end
74
-
75
71
  if attributes.key?(:'email_address')
76
72
  self.email_address = attributes[:'email_address']
77
73
  end
78
74
 
75
+ if attributes.key?(:'user_id')
76
+ self.user_id = attributes[:'user_id']
77
+ end
78
+
79
79
  if attributes.key?(:'created_at')
80
80
  self.created_at = attributes[:'created_at']
81
81
  end
@@ -89,14 +89,14 @@ module MailSlurpClient
89
89
  invalid_properties.push('invalid value for "id", id cannot be nil.')
90
90
  end
91
91
 
92
- if @user_id.nil?
93
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
94
- end
95
-
96
92
  if @email_address.nil?
97
93
  invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
98
94
  end
99
95
 
96
+ if @user_id.nil?
97
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
98
+ end
99
+
100
100
  if @created_at.nil?
101
101
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
102
102
  end
@@ -108,8 +108,8 @@ module MailSlurpClient
108
108
  # @return true if the model is valid
109
109
  def valid?
110
110
  return false if @id.nil?
111
- return false if @user_id.nil?
112
111
  return false if @email_address.nil?
112
+ return false if @user_id.nil?
113
113
  return false if @created_at.nil?
114
114
  true
115
115
  end
@@ -120,8 +120,8 @@ module MailSlurpClient
120
120
  return true if self.equal?(o)
121
121
  self.class == o.class &&
122
122
  id == o.id &&
123
- user_id == o.user_id &&
124
123
  email_address == o.email_address &&
124
+ user_id == o.user_id &&
125
125
  created_at == o.created_at
126
126
  end
127
127
 
@@ -134,7 +134,7 @@ module MailSlurpClient
134
134
  # Calculates hash code according to all attributes.
135
135
  # @return [Integer] Hash code
136
136
  def hash
137
- [id, user_id, email_address, created_at].hash
137
+ [id, email_address, user_id, created_at].hash
138
138
  end
139
139
 
140
140
  # Builds the object from hash
@@ -23,20 +23,20 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :subject
25
25
 
26
- attr_accessor :to
27
-
28
- attr_accessor :inbox_id
29
-
30
26
  attr_accessor :attachments
31
27
 
32
- attr_accessor :body_md5_hash
28
+ attr_accessor :inbox_id
33
29
 
34
- attr_accessor :created_at
30
+ attr_accessor :to
35
31
 
36
32
  attr_accessor :bcc
37
33
 
38
34
  attr_accessor :cc
39
35
 
36
+ attr_accessor :created_at
37
+
38
+ attr_accessor :body_md5_hash
39
+
40
40
  attr_accessor :virtual_send
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,13 +46,13 @@ module MailSlurpClient
46
46
  :'from' => :'from',
47
47
  :'user_id' => :'userId',
48
48
  :'subject' => :'subject',
49
- :'to' => :'to',
50
- :'inbox_id' => :'inboxId',
51
49
  :'attachments' => :'attachments',
52
- :'body_md5_hash' => :'bodyMD5Hash',
53
- :'created_at' => :'createdAt',
50
+ :'inbox_id' => :'inboxId',
51
+ :'to' => :'to',
54
52
  :'bcc' => :'bcc',
55
53
  :'cc' => :'cc',
54
+ :'created_at' => :'createdAt',
55
+ :'body_md5_hash' => :'bodyMD5Hash',
56
56
  :'virtual_send' => :'virtualSend'
57
57
  }
58
58
  end
@@ -64,13 +64,13 @@ module MailSlurpClient
64
64
  :'from' => :'String',
65
65
  :'user_id' => :'String',
66
66
  :'subject' => :'String',
67
- :'to' => :'Array<String>',
68
- :'inbox_id' => :'String',
69
67
  :'attachments' => :'Array<String>',
70
- :'body_md5_hash' => :'String',
71
- :'created_at' => :'DateTime',
68
+ :'inbox_id' => :'String',
69
+ :'to' => :'Array<String>',
72
70
  :'bcc' => :'Array<String>',
73
71
  :'cc' => :'Array<String>',
72
+ :'created_at' => :'DateTime',
73
+ :'body_md5_hash' => :'String',
74
74
  :'virtual_send' => :'Boolean'
75
75
  }
76
76
  end
@@ -112,28 +112,20 @@ module MailSlurpClient
112
112
  self.subject = attributes[:'subject']
113
113
  end
114
114
 
115
- if attributes.key?(:'to')
116
- if (value = attributes[:'to']).is_a?(Array)
117
- self.to = value
118
- end
119
- end
120
-
121
- if attributes.key?(:'inbox_id')
122
- self.inbox_id = attributes[:'inbox_id']
123
- end
124
-
125
115
  if attributes.key?(:'attachments')
126
116
  if (value = attributes[:'attachments']).is_a?(Array)
127
117
  self.attachments = value
128
118
  end
129
119
  end
130
120
 
131
- if attributes.key?(:'body_md5_hash')
132
- self.body_md5_hash = attributes[:'body_md5_hash']
121
+ if attributes.key?(:'inbox_id')
122
+ self.inbox_id = attributes[:'inbox_id']
133
123
  end
134
124
 
135
- if attributes.key?(:'created_at')
136
- self.created_at = attributes[:'created_at']
125
+ if attributes.key?(:'to')
126
+ if (value = attributes[:'to']).is_a?(Array)
127
+ self.to = value
128
+ end
137
129
  end
138
130
 
139
131
  if attributes.key?(:'bcc')
@@ -148,6 +140,14 @@ module MailSlurpClient
148
140
  end
149
141
  end
150
142
 
143
+ if attributes.key?(:'created_at')
144
+ self.created_at = attributes[:'created_at']
145
+ end
146
+
147
+ if attributes.key?(:'body_md5_hash')
148
+ self.body_md5_hash = attributes[:'body_md5_hash']
149
+ end
150
+
151
151
  if attributes.key?(:'virtual_send')
152
152
  self.virtual_send = attributes[:'virtual_send']
153
153
  end
@@ -165,20 +165,16 @@ module MailSlurpClient
165
165
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
166
166
  end
167
167
 
168
- if @to.nil?
169
- invalid_properties.push('invalid value for "to", to cannot be nil.')
168
+ if @attachments.nil?
169
+ invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
170
170
  end
171
171
 
172
172
  if @inbox_id.nil?
173
173
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
174
174
  end
175
175
 
176
- if @attachments.nil?
177
- invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
178
- end
179
-
180
- if @created_at.nil?
181
- invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
176
+ if @to.nil?
177
+ invalid_properties.push('invalid value for "to", to cannot be nil.')
182
178
  end
183
179
 
184
180
  if @bcc.nil?
@@ -189,6 +185,10 @@ module MailSlurpClient
189
185
  invalid_properties.push('invalid value for "cc", cc cannot be nil.')
190
186
  end
191
187
 
188
+ if @created_at.nil?
189
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
190
+ end
191
+
192
192
  invalid_properties
193
193
  end
194
194
 
@@ -197,12 +197,12 @@ module MailSlurpClient
197
197
  def valid?
198
198
  return false if @id.nil?
199
199
  return false if @user_id.nil?
200
- return false if @to.nil?
201
- return false if @inbox_id.nil?
202
200
  return false if @attachments.nil?
203
- return false if @created_at.nil?
201
+ return false if @inbox_id.nil?
202
+ return false if @to.nil?
204
203
  return false if @bcc.nil?
205
204
  return false if @cc.nil?
205
+ return false if @created_at.nil?
206
206
  true
207
207
  end
208
208
 
@@ -215,13 +215,13 @@ module MailSlurpClient
215
215
  from == o.from &&
216
216
  user_id == o.user_id &&
217
217
  subject == o.subject &&
218
- to == o.to &&
219
- inbox_id == o.inbox_id &&
220
218
  attachments == o.attachments &&
221
- body_md5_hash == o.body_md5_hash &&
222
- created_at == o.created_at &&
219
+ inbox_id == o.inbox_id &&
220
+ to == o.to &&
223
221
  bcc == o.bcc &&
224
222
  cc == o.cc &&
223
+ created_at == o.created_at &&
224
+ body_md5_hash == o.body_md5_hash &&
225
225
  virtual_send == o.virtual_send
226
226
  end
227
227
 
@@ -234,7 +234,7 @@ module MailSlurpClient
234
234
  # Calculates hash code according to all attributes.
235
235
  # @return [Integer] Hash code
236
236
  def hash
237
- [id, from, user_id, subject, to, inbox_id, attachments, body_md5_hash, created_at, bcc, cc, virtual_send].hash
237
+ [id, from, user_id, subject, attachments, inbox_id, to, bcc, cc, created_at, body_md5_hash, virtual_send].hash
238
238
  end
239
239
 
240
240
  # Builds the object from hash
@@ -19,20 +19,20 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :id
21
21
 
22
- attr_accessor :updated_at
23
-
24
22
  attr_accessor :created_at
25
23
 
26
24
  attr_accessor :variables
27
25
 
26
+ attr_accessor :updated_at
27
+
28
28
  # Attribute mapping from ruby-style variable name to JSON key.
29
29
  def self.attribute_map
30
30
  {
31
31
  :'name' => :'name',
32
32
  :'id' => :'id',
33
- :'updated_at' => :'updatedAt',
34
33
  :'created_at' => :'createdAt',
35
- :'variables' => :'variables'
34
+ :'variables' => :'variables',
35
+ :'updated_at' => :'updatedAt'
36
36
  }
37
37
  end
38
38
 
@@ -41,9 +41,9 @@ module MailSlurpClient
41
41
  {
42
42
  :'name' => :'String',
43
43
  :'id' => :'String',
44
- :'updated_at' => :'DateTime',
45
44
  :'created_at' => :'DateTime',
46
- :'variables' => :'Array<String>'
45
+ :'variables' => :'Array<String>',
46
+ :'updated_at' => :'DateTime'
47
47
  }
48
48
  end
49
49
 
@@ -76,10 +76,6 @@ module MailSlurpClient
76
76
  self.id = attributes[:'id']
77
77
  end
78
78
 
79
- if attributes.key?(:'updated_at')
80
- self.updated_at = attributes[:'updated_at']
81
- end
82
-
83
79
  if attributes.key?(:'created_at')
84
80
  self.created_at = attributes[:'created_at']
85
81
  end
@@ -89,6 +85,10 @@ module MailSlurpClient
89
85
  self.variables = value
90
86
  end
91
87
  end
88
+
89
+ if attributes.key?(:'updated_at')
90
+ self.updated_at = attributes[:'updated_at']
91
+ end
92
92
  end
93
93
 
94
94
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -103,10 +103,6 @@ module MailSlurpClient
103
103
  invalid_properties.push('invalid value for "id", id cannot be nil.')
104
104
  end
105
105
 
106
- if @updated_at.nil?
107
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
108
- end
109
-
110
106
  if @created_at.nil?
111
107
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
112
108
  end
@@ -115,6 +111,10 @@ module MailSlurpClient
115
111
  invalid_properties.push('invalid value for "variables", variables cannot be nil.')
116
112
  end
117
113
 
114
+ if @updated_at.nil?
115
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
116
+ end
117
+
118
118
  invalid_properties
119
119
  end
120
120
 
@@ -123,9 +123,9 @@ module MailSlurpClient
123
123
  def valid?
124
124
  return false if @name.nil?
125
125
  return false if @id.nil?
126
- return false if @updated_at.nil?
127
126
  return false if @created_at.nil?
128
127
  return false if @variables.nil?
128
+ return false if @updated_at.nil?
129
129
  true
130
130
  end
131
131
 
@@ -136,9 +136,9 @@ module MailSlurpClient
136
136
  self.class == o.class &&
137
137
  name == o.name &&
138
138
  id == o.id &&
139
- updated_at == o.updated_at &&
140
139
  created_at == o.created_at &&
141
- variables == o.variables
140
+ variables == o.variables &&
141
+ updated_at == o.updated_at
142
142
  end
143
143
 
144
144
  # @see the `==` method
@@ -150,7 +150,7 @@ module MailSlurpClient
150
150
  # Calculates hash code according to all attributes.
151
151
  # @return [Integer] Hash code
152
152
  def hash
153
- [name, id, updated_at, created_at, variables].hash
153
+ [name, id, created_at, variables, updated_at].hash
154
154
  end
155
155
 
156
156
  # Builds the object from hash
@@ -33,18 +33,18 @@ module MailSlurpClient
33
33
  # To recipients
34
34
  attr_accessor :to
35
35
 
36
- # Updated at DateTime
37
- attr_accessor :updated_at
38
-
39
- # Created at DateTime
40
- attr_accessor :created_at
41
-
42
36
  # BCC recipients
43
37
  attr_accessor :bcc
44
38
 
45
39
  # CC recipients
46
40
  attr_accessor :cc
47
41
 
42
+ # Created at DateTime
43
+ attr_accessor :created_at
44
+
45
+ # Updated at DateTime
46
+ attr_accessor :updated_at
47
+
48
48
  # Alias ID
49
49
  attr_accessor :alias_id
50
50
 
@@ -57,10 +57,10 @@ module MailSlurpClient
57
57
  :'inbox_id' => :'inboxId',
58
58
  :'user_id' => :'userId',
59
59
  :'to' => :'to',
60
- :'updated_at' => :'updatedAt',
61
- :'created_at' => :'createdAt',
62
60
  :'bcc' => :'bcc',
63
61
  :'cc' => :'cc',
62
+ :'created_at' => :'createdAt',
63
+ :'updated_at' => :'updatedAt',
64
64
  :'alias_id' => :'aliasId'
65
65
  }
66
66
  end
@@ -74,10 +74,10 @@ module MailSlurpClient
74
74
  :'inbox_id' => :'String',
75
75
  :'user_id' => :'String',
76
76
  :'to' => :'Array<String>',
77
- :'updated_at' => :'DateTime',
78
- :'created_at' => :'DateTime',
79
77
  :'bcc' => :'Array<String>',
80
78
  :'cc' => :'Array<String>',
79
+ :'created_at' => :'DateTime',
80
+ :'updated_at' => :'DateTime',
81
81
  :'alias_id' => :'String'
82
82
  }
83
83
  end
@@ -129,14 +129,6 @@ module MailSlurpClient
129
129
  end
130
130
  end
131
131
 
132
- if attributes.key?(:'updated_at')
133
- self.updated_at = attributes[:'updated_at']
134
- end
135
-
136
- if attributes.key?(:'created_at')
137
- self.created_at = attributes[:'created_at']
138
- end
139
-
140
132
  if attributes.key?(:'bcc')
141
133
  if (value = attributes[:'bcc']).is_a?(Array)
142
134
  self.bcc = value
@@ -149,6 +141,14 @@ module MailSlurpClient
149
141
  end
150
142
  end
151
143
 
144
+ if attributes.key?(:'created_at')
145
+ self.created_at = attributes[:'created_at']
146
+ end
147
+
148
+ if attributes.key?(:'updated_at')
149
+ self.updated_at = attributes[:'updated_at']
150
+ end
151
+
152
152
  if attributes.key?(:'alias_id')
153
153
  self.alias_id = attributes[:'alias_id']
154
154
  end
@@ -174,14 +174,14 @@ module MailSlurpClient
174
174
  invalid_properties.push('invalid value for "to", to cannot be nil.')
175
175
  end
176
176
 
177
- if @updated_at.nil?
178
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
179
- end
180
-
181
177
  if @created_at.nil?
182
178
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
183
179
  end
184
180
 
181
+ if @updated_at.nil?
182
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
183
+ end
184
+
185
185
  if @alias_id.nil?
186
186
  invalid_properties.push('invalid value for "alias_id", alias_id cannot be nil.')
187
187
  end
@@ -196,8 +196,8 @@ module MailSlurpClient
196
196
  return false if @inbox_id.nil?
197
197
  return false if @user_id.nil?
198
198
  return false if @to.nil?
199
- return false if @updated_at.nil?
200
199
  return false if @created_at.nil?
200
+ return false if @updated_at.nil?
201
201
  return false if @alias_id.nil?
202
202
  true
203
203
  end
@@ -213,10 +213,10 @@ module MailSlurpClient
213
213
  inbox_id == o.inbox_id &&
214
214
  user_id == o.user_id &&
215
215
  to == o.to &&
216
- updated_at == o.updated_at &&
217
- created_at == o.created_at &&
218
216
  bcc == o.bcc &&
219
217
  cc == o.cc &&
218
+ created_at == o.created_at &&
219
+ updated_at == o.updated_at &&
220
220
  alias_id == o.alias_id
221
221
  end
222
222
 
@@ -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, inbox_id, user_id, to, updated_at, created_at, bcc, cc, alias_id].hash
232
+ [name, id, subject, inbox_id, user_id, to, bcc, cc, created_at, updated_at, alias_id].hash
233
233
  end
234
234
 
235
235
  # Builds the object from hash
@@ -25,10 +25,10 @@ module MailSlurpClient
25
25
 
26
26
  attr_accessor :event_name
27
27
 
28
- attr_accessor :updated_at
29
-
30
28
  attr_accessor :created_at
31
29
 
30
+ attr_accessor :updated_at
31
+
32
32
  class EnumAttributeValidator
33
33
  attr_reader :datatype
34
34
  attr_reader :allowable_values
@@ -59,8 +59,8 @@ module MailSlurpClient
59
59
  :'url' => :'url',
60
60
  :'inbox_id' => :'inboxId',
61
61
  :'event_name' => :'eventName',
62
- :'updated_at' => :'updatedAt',
63
- :'created_at' => :'createdAt'
62
+ :'created_at' => :'createdAt',
63
+ :'updated_at' => :'updatedAt'
64
64
  }
65
65
  end
66
66
 
@@ -72,8 +72,8 @@ module MailSlurpClient
72
72
  :'url' => :'String',
73
73
  :'inbox_id' => :'String',
74
74
  :'event_name' => :'String',
75
- :'updated_at' => :'DateTime',
76
- :'created_at' => :'DateTime'
75
+ :'created_at' => :'DateTime',
76
+ :'updated_at' => :'DateTime'
77
77
  }
78
78
  end
79
79
 
@@ -118,13 +118,13 @@ module MailSlurpClient
118
118
  self.event_name = attributes[:'event_name']
119
119
  end
120
120
 
121
- if attributes.key?(:'updated_at')
122
- self.updated_at = attributes[:'updated_at']
123
- end
124
-
125
121
  if attributes.key?(:'created_at')
126
122
  self.created_at = attributes[:'created_at']
127
123
  end
124
+
125
+ if attributes.key?(:'updated_at')
126
+ self.updated_at = attributes[:'updated_at']
127
+ end
128
128
  end
129
129
 
130
130
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -139,14 +139,14 @@ module MailSlurpClient
139
139
  invalid_properties.push('invalid value for "url", url cannot be nil.')
140
140
  end
141
141
 
142
- if @updated_at.nil?
143
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
144
- end
145
-
146
142
  if @created_at.nil?
147
143
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
148
144
  end
149
145
 
146
+ if @updated_at.nil?
147
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
148
+ end
149
+
150
150
  invalid_properties
151
151
  end
152
152
 
@@ -157,8 +157,8 @@ module MailSlurpClient
157
157
  return false if @url.nil?
158
158
  event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
159
159
  return false unless event_name_validator.valid?(@event_name)
160
- return false if @updated_at.nil?
161
160
  return false if @created_at.nil?
161
+ return false if @updated_at.nil?
162
162
  true
163
163
  end
164
164
 
@@ -182,8 +182,8 @@ module MailSlurpClient
182
182
  url == o.url &&
183
183
  inbox_id == o.inbox_id &&
184
184
  event_name == o.event_name &&
185
- updated_at == o.updated_at &&
186
- created_at == o.created_at
185
+ created_at == o.created_at &&
186
+ updated_at == o.updated_at
187
187
  end
188
188
 
189
189
  # @see the `==` method
@@ -195,7 +195,7 @@ module MailSlurpClient
195
195
  # Calculates hash code according to all attributes.
196
196
  # @return [Integer] Hash code
197
197
  def hash
198
- [name, id, url, inbox_id, event_name, updated_at, created_at].hash
198
+ [name, id, url, inbox_id, event_name, created_at, updated_at].hash
199
199
  end
200
200
 
201
201
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '15.8.0'
14
+ VERSION = '15.8.1'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.8.0
4
+ version: 15.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-19 00:00:00.000000000 Z
11
+ date: 2022-05-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create emails addresses in Ruby then send and receive real emails and
14
14
  attachments. See https://www.mailslurp.com/docs/ruby/ for full Ruby documentation.