mailslurp_client 8.4.1 → 8.4.2

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: 4cb78fa34deefcfbacb0fc0869299b8cbbaed2841bd53cd23b249dc073ef2414
4
- data.tar.gz: b340f56704df070bcf97748a33ddcebb452684e11c745b4b2c289f4e77889d97
3
+ metadata.gz: cb47aef7d9c1b1a45883e93bb8b272440edbc73d10d8449d18ff1cf6723d8e57
4
+ data.tar.gz: bc9ebbad6639ab43767f76d810bf0eb841354036bf31568cfd948458fdb7e55d
5
5
  SHA512:
6
- metadata.gz: d4dd7529896f34076a28e421329676eceafe74e95841c66f2765483a4dad82762345e9c534886398a1a0e69232f62688f44a3028ae85fd69386084957252eeff
7
- data.tar.gz: eb80474a178e52920d3419bc761dce06c585247e36f2a5ad9e8860cd40680015f995b3805c917417cf970f7a0c17e9f18293468eec5ce644772d6946e986c4d3
6
+ metadata.gz: b7db76fa56f6c49d6c4d0321b70d200e2f377ffea2801abf25abfcc5170140d25ebc12114c048f372656aca4ec5531ca2cb961768da58bf735824281df826ab6
7
+ data.tar.gz: 410667490a172e3c9acce218c8f22637506d08b8f5beb0100541eefb85bef1854e7d87b9c4e9ac812fe12fd4a5efdf79e7c9715b7e155ae020d67d6d62b347a0
@@ -15,43 +15,51 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Email alias representation
17
17
  class AliasDto
18
+ attr_accessor :created_at
19
+
20
+ attr_accessor :email_address
21
+
18
22
  attr_accessor :id
19
23
 
20
24
  attr_accessor :inbox_id
21
25
 
26
+ attr_accessor :is_verified
27
+
22
28
  attr_accessor :name
23
29
 
24
- attr_accessor :pending_email_address
30
+ attr_accessor :updated_at
25
31
 
26
32
  attr_accessor :use_threads
27
33
 
28
34
  attr_accessor :user_id
29
35
 
30
- attr_accessor :verified_email_address
31
-
32
36
  # Attribute mapping from ruby-style variable name to JSON key.
33
37
  def self.attribute_map
34
38
  {
39
+ :'created_at' => :'createdAt',
40
+ :'email_address' => :'emailAddress',
35
41
  :'id' => :'id',
36
42
  :'inbox_id' => :'inboxId',
43
+ :'is_verified' => :'isVerified',
37
44
  :'name' => :'name',
38
- :'pending_email_address' => :'pendingEmailAddress',
45
+ :'updated_at' => :'updatedAt',
39
46
  :'use_threads' => :'useThreads',
40
- :'user_id' => :'userId',
41
- :'verified_email_address' => :'verifiedEmailAddress'
47
+ :'user_id' => :'userId'
42
48
  }
43
49
  end
44
50
 
45
51
  # Attribute type mapping.
46
52
  def self.openapi_types
47
53
  {
54
+ :'created_at' => :'DateTime',
55
+ :'email_address' => :'String',
48
56
  :'id' => :'String',
49
57
  :'inbox_id' => :'String',
58
+ :'is_verified' => :'Boolean',
50
59
  :'name' => :'String',
51
- :'pending_email_address' => :'String',
60
+ :'updated_at' => :'DateTime',
52
61
  :'use_threads' => :'Boolean',
53
- :'user_id' => :'String',
54
- :'verified_email_address' => :'String'
62
+ :'user_id' => :'String'
55
63
  }
56
64
  end
57
65
 
@@ -76,6 +84,14 @@ module MailSlurpClient
76
84
  h[k.to_sym] = v
77
85
  }
78
86
 
87
+ if attributes.key?(:'created_at')
88
+ self.created_at = attributes[:'created_at']
89
+ end
90
+
91
+ if attributes.key?(:'email_address')
92
+ self.email_address = attributes[:'email_address']
93
+ end
94
+
79
95
  if attributes.key?(:'id')
80
96
  self.id = attributes[:'id']
81
97
  end
@@ -84,12 +100,16 @@ module MailSlurpClient
84
100
  self.inbox_id = attributes[:'inbox_id']
85
101
  end
86
102
 
103
+ if attributes.key?(:'is_verified')
104
+ self.is_verified = attributes[:'is_verified']
105
+ end
106
+
87
107
  if attributes.key?(:'name')
88
108
  self.name = attributes[:'name']
89
109
  end
90
110
 
91
- if attributes.key?(:'pending_email_address')
92
- self.pending_email_address = attributes[:'pending_email_address']
111
+ if attributes.key?(:'updated_at')
112
+ self.updated_at = attributes[:'updated_at']
93
113
  end
94
114
 
95
115
  if attributes.key?(:'use_threads')
@@ -99,10 +119,6 @@ module MailSlurpClient
99
119
  if attributes.key?(:'user_id')
100
120
  self.user_id = attributes[:'user_id']
101
121
  end
102
-
103
- if attributes.key?(:'verified_email_address')
104
- self.verified_email_address = attributes[:'verified_email_address']
105
- end
106
122
  end
107
123
 
108
124
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -117,6 +133,10 @@ module MailSlurpClient
117
133
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
118
134
  end
119
135
 
136
+ if @is_verified.nil?
137
+ invalid_properties.push('invalid value for "is_verified", is_verified cannot be nil.')
138
+ end
139
+
120
140
  if @user_id.nil?
121
141
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
122
142
  end
@@ -129,6 +149,7 @@ module MailSlurpClient
129
149
  def valid?
130
150
  return false if @id.nil?
131
151
  return false if @inbox_id.nil?
152
+ return false if @is_verified.nil?
132
153
  return false if @user_id.nil?
133
154
  true
134
155
  end
@@ -138,13 +159,15 @@ module MailSlurpClient
138
159
  def ==(o)
139
160
  return true if self.equal?(o)
140
161
  self.class == o.class &&
162
+ created_at == o.created_at &&
163
+ email_address == o.email_address &&
141
164
  id == o.id &&
142
165
  inbox_id == o.inbox_id &&
166
+ is_verified == o.is_verified &&
143
167
  name == o.name &&
144
- pending_email_address == o.pending_email_address &&
168
+ updated_at == o.updated_at &&
145
169
  use_threads == o.use_threads &&
146
- user_id == o.user_id &&
147
- verified_email_address == o.verified_email_address
170
+ user_id == o.user_id
148
171
  end
149
172
 
150
173
  # @see the `==` method
@@ -156,7 +179,7 @@ module MailSlurpClient
156
179
  # Calculates hash code according to all attributes.
157
180
  # @return [Integer] Hash code
158
181
  def hash
159
- [id, inbox_id, name, pending_email_address, use_threads, user_id, verified_email_address].hash
182
+ [created_at, email_address, id, inbox_id, is_verified, name, updated_at, use_threads, user_id].hash
160
183
  end
161
184
 
162
185
  # Builds the object from hash
@@ -15,43 +15,47 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Representation of a alias
17
17
  class AliasProjection
18
+ attr_accessor :created_at
19
+
20
+ attr_accessor :email_address
21
+
18
22
  attr_accessor :id
19
23
 
20
24
  attr_accessor :inbox_id
21
25
 
22
26
  attr_accessor :name
23
27
 
24
- attr_accessor :pending_email_address
28
+ attr_accessor :updated_at
25
29
 
26
30
  attr_accessor :use_threads
27
31
 
28
32
  attr_accessor :user_id
29
33
 
30
- attr_accessor :verified_email_address
31
-
32
34
  # Attribute mapping from ruby-style variable name to JSON key.
33
35
  def self.attribute_map
34
36
  {
37
+ :'created_at' => :'createdAt',
38
+ :'email_address' => :'emailAddress',
35
39
  :'id' => :'id',
36
40
  :'inbox_id' => :'inboxId',
37
41
  :'name' => :'name',
38
- :'pending_email_address' => :'pendingEmailAddress',
42
+ :'updated_at' => :'updatedAt',
39
43
  :'use_threads' => :'useThreads',
40
- :'user_id' => :'userId',
41
- :'verified_email_address' => :'verifiedEmailAddress'
44
+ :'user_id' => :'userId'
42
45
  }
43
46
  end
44
47
 
45
48
  # Attribute type mapping.
46
49
  def self.openapi_types
47
50
  {
51
+ :'created_at' => :'DateTime',
52
+ :'email_address' => :'String',
48
53
  :'id' => :'String',
49
54
  :'inbox_id' => :'String',
50
55
  :'name' => :'String',
51
- :'pending_email_address' => :'String',
56
+ :'updated_at' => :'DateTime',
52
57
  :'use_threads' => :'Boolean',
53
- :'user_id' => :'String',
54
- :'verified_email_address' => :'String'
58
+ :'user_id' => :'String'
55
59
  }
56
60
  end
57
61
 
@@ -76,6 +80,14 @@ module MailSlurpClient
76
80
  h[k.to_sym] = v
77
81
  }
78
82
 
83
+ if attributes.key?(:'created_at')
84
+ self.created_at = attributes[:'created_at']
85
+ end
86
+
87
+ if attributes.key?(:'email_address')
88
+ self.email_address = attributes[:'email_address']
89
+ end
90
+
79
91
  if attributes.key?(:'id')
80
92
  self.id = attributes[:'id']
81
93
  end
@@ -88,8 +100,8 @@ module MailSlurpClient
88
100
  self.name = attributes[:'name']
89
101
  end
90
102
 
91
- if attributes.key?(:'pending_email_address')
92
- self.pending_email_address = attributes[:'pending_email_address']
103
+ if attributes.key?(:'updated_at')
104
+ self.updated_at = attributes[:'updated_at']
93
105
  end
94
106
 
95
107
  if attributes.key?(:'use_threads')
@@ -99,16 +111,20 @@ module MailSlurpClient
99
111
  if attributes.key?(:'user_id')
100
112
  self.user_id = attributes[:'user_id']
101
113
  end
102
-
103
- if attributes.key?(:'verified_email_address')
104
- self.verified_email_address = attributes[:'verified_email_address']
105
- end
106
114
  end
107
115
 
108
116
  # Show invalid properties with the reasons. Usually used together with valid?
109
117
  # @return Array for valid properties with the reasons
110
118
  def list_invalid_properties
111
119
  invalid_properties = Array.new
120
+ if @created_at.nil?
121
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
122
+ end
123
+
124
+ if @email_address.nil?
125
+ invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
126
+ end
127
+
112
128
  if @id.nil?
113
129
  invalid_properties.push('invalid value for "id", id cannot be nil.')
114
130
  end
@@ -117,6 +133,10 @@ module MailSlurpClient
117
133
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
118
134
  end
119
135
 
136
+ if @updated_at.nil?
137
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
138
+ end
139
+
120
140
  if @user_id.nil?
121
141
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
122
142
  end
@@ -127,8 +147,11 @@ module MailSlurpClient
127
147
  # Check to see if the all the properties in the model are valid
128
148
  # @return true if the model is valid
129
149
  def valid?
150
+ return false if @created_at.nil?
151
+ return false if @email_address.nil?
130
152
  return false if @id.nil?
131
153
  return false if @inbox_id.nil?
154
+ return false if @updated_at.nil?
132
155
  return false if @user_id.nil?
133
156
  true
134
157
  end
@@ -138,13 +161,14 @@ module MailSlurpClient
138
161
  def ==(o)
139
162
  return true if self.equal?(o)
140
163
  self.class == o.class &&
164
+ created_at == o.created_at &&
165
+ email_address == o.email_address &&
141
166
  id == o.id &&
142
167
  inbox_id == o.inbox_id &&
143
168
  name == o.name &&
144
- pending_email_address == o.pending_email_address &&
169
+ updated_at == o.updated_at &&
145
170
  use_threads == o.use_threads &&
146
- user_id == o.user_id &&
147
- verified_email_address == o.verified_email_address
171
+ user_id == o.user_id
148
172
  end
149
173
 
150
174
  # @see the `==` method
@@ -156,7 +180,7 @@ module MailSlurpClient
156
180
  # Calculates hash code according to all attributes.
157
181
  # @return [Integer] Hash code
158
182
  def hash
159
- [id, inbox_id, name, pending_email_address, use_threads, user_id, verified_email_address].hash
183
+ [created_at, email_address, id, inbox_id, name, updated_at, use_threads, user_id].hash
160
184
  end
161
185
 
162
186
  # Builds the object from hash
@@ -16,34 +16,31 @@ module MailSlurpClient
16
16
  class ModelAlias
17
17
  attr_accessor :created_at
18
18
 
19
+ attr_accessor :email_address
20
+
19
21
  attr_accessor :id
20
22
 
21
23
  attr_accessor :inbox_id
22
24
 
23
25
  attr_accessor :name
24
26
 
25
- attr_accessor :pending_email_address
26
-
27
27
  attr_accessor :updated_at
28
28
 
29
29
  attr_accessor :use_threads
30
30
 
31
31
  attr_accessor :user_id
32
32
 
33
- attr_accessor :verified_email_address
34
-
35
33
  # Attribute mapping from ruby-style variable name to JSON key.
36
34
  def self.attribute_map
37
35
  {
38
36
  :'created_at' => :'createdAt',
37
+ :'email_address' => :'emailAddress',
39
38
  :'id' => :'id',
40
39
  :'inbox_id' => :'inboxId',
41
40
  :'name' => :'name',
42
- :'pending_email_address' => :'pendingEmailAddress',
43
41
  :'updated_at' => :'updatedAt',
44
42
  :'use_threads' => :'useThreads',
45
- :'user_id' => :'userId',
46
- :'verified_email_address' => :'verifiedEmailAddress'
43
+ :'user_id' => :'userId'
47
44
  }
48
45
  end
49
46
 
@@ -51,14 +48,13 @@ module MailSlurpClient
51
48
  def self.openapi_types
52
49
  {
53
50
  :'created_at' => :'DateTime',
51
+ :'email_address' => :'String',
54
52
  :'id' => :'String',
55
53
  :'inbox_id' => :'String',
56
54
  :'name' => :'String',
57
- :'pending_email_address' => :'String',
58
55
  :'updated_at' => :'DateTime',
59
56
  :'use_threads' => :'Boolean',
60
- :'user_id' => :'String',
61
- :'verified_email_address' => :'String'
57
+ :'user_id' => :'String'
62
58
  }
63
59
  end
64
60
 
@@ -87,6 +83,10 @@ module MailSlurpClient
87
83
  self.created_at = attributes[:'created_at']
88
84
  end
89
85
 
86
+ if attributes.key?(:'email_address')
87
+ self.email_address = attributes[:'email_address']
88
+ end
89
+
90
90
  if attributes.key?(:'id')
91
91
  self.id = attributes[:'id']
92
92
  end
@@ -99,10 +99,6 @@ module MailSlurpClient
99
99
  self.name = attributes[:'name']
100
100
  end
101
101
 
102
- if attributes.key?(:'pending_email_address')
103
- self.pending_email_address = attributes[:'pending_email_address']
104
- end
105
-
106
102
  if attributes.key?(:'updated_at')
107
103
  self.updated_at = attributes[:'updated_at']
108
104
  end
@@ -114,10 +110,6 @@ module MailSlurpClient
114
110
  if attributes.key?(:'user_id')
115
111
  self.user_id = attributes[:'user_id']
116
112
  end
117
-
118
- if attributes.key?(:'verified_email_address')
119
- self.verified_email_address = attributes[:'verified_email_address']
120
- end
121
113
  end
122
114
 
123
115
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -128,6 +120,10 @@ module MailSlurpClient
128
120
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
129
121
  end
130
122
 
123
+ if @email_address.nil?
124
+ invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
125
+ end
126
+
131
127
  if @inbox_id.nil?
132
128
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
133
129
  end
@@ -147,6 +143,7 @@ module MailSlurpClient
147
143
  # @return true if the model is valid
148
144
  def valid?
149
145
  return false if @created_at.nil?
146
+ return false if @email_address.nil?
150
147
  return false if @inbox_id.nil?
151
148
  return false if @updated_at.nil?
152
149
  return false if @user_id.nil?
@@ -159,14 +156,13 @@ module MailSlurpClient
159
156
  return true if self.equal?(o)
160
157
  self.class == o.class &&
161
158
  created_at == o.created_at &&
159
+ email_address == o.email_address &&
162
160
  id == o.id &&
163
161
  inbox_id == o.inbox_id &&
164
162
  name == o.name &&
165
- pending_email_address == o.pending_email_address &&
166
163
  updated_at == o.updated_at &&
167
164
  use_threads == o.use_threads &&
168
- user_id == o.user_id &&
169
- verified_email_address == o.verified_email_address
165
+ user_id == o.user_id
170
166
  end
171
167
 
172
168
  # @see the `==` method
@@ -178,7 +174,7 @@ module MailSlurpClient
178
174
  # Calculates hash code according to all attributes.
179
175
  # @return [Integer] Hash code
180
176
  def hash
181
- [created_at, id, inbox_id, name, pending_email_address, updated_at, use_threads, user_id, verified_email_address].hash
177
+ [created_at, email_address, id, inbox_id, name, updated_at, use_threads, user_id].hash
182
178
  end
183
179
 
184
180
  # Builds the object from hash
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Options for replying to email with API
16
17
  class ReplyToEmailOptions
17
18
  # List of uploaded attachments to send with the reply. Optional.
18
19
  attr_accessor :attachments
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '8.4.1'
14
+ VERSION = '8.4.2'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.4.1
4
+ version: 8.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp