mailslurp_client 15.7.0 → 15.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0d35c779b2b85687c432d712c9615075b5de46a0e6f7d15e669d5285061f513
4
- data.tar.gz: 6473b4221b3405410342202f851ddfb3f863e42f7c37209f53a9518b1d647088
3
+ metadata.gz: 61b0c7fb512ec0bd1c8598d1a50c2438451f0db5c7874e35c165b161e8ea4c0d
4
+ data.tar.gz: 284e8143b70410c1623246bd4d7bde36173082e4dfead7d72d9fe51a484fe1a3
5
5
  SHA512:
6
- metadata.gz: 465538f16e1098413fea5c36bc4a1a03f22f2e03e6dc04b5debc074a9e9c68362acb221e1ef513dbbd8049ac1ea8d905d8644b8b57354c2880d9271f76315e92
7
- data.tar.gz: a9d683048ede49d73e788baced4e401e7b68a071eda174406d967f67a558b1105c2333a425f6fc0931bde3044575bf6081cca7e93ac40869237a64ee9d576998
6
+ metadata.gz: accdc97106588224928cbdedaca5b7033eb47b6bef1ff5718679b4e077df3cb60931cc8d3ad590ff8503d593b82c79b1050000336c3f04fa287a7e8a016648a3
7
+ data.tar.gz: a44b10c46d0b259cf5b5e63e7090f8e0d63cd617fe7a085bd1a9ab9ec39b9e4a23b13eb3217c9fd9fb5093a9dd633a08f6276e29312ab112c478ac3ab238d912
@@ -25,12 +25,12 @@ module MailSlurpClient
25
25
 
26
26
  attr_accessor :inbox_id
27
27
 
28
+ attr_accessor :use_threads
29
+
28
30
  attr_accessor :created_at
29
31
 
30
32
  attr_accessor :updated_at
31
33
 
32
- attr_accessor :use_threads
33
-
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
36
  {
@@ -39,9 +39,9 @@ module MailSlurpClient
39
39
  :'user_id' => :'userId',
40
40
  :'email_address' => :'emailAddress',
41
41
  :'inbox_id' => :'inboxId',
42
+ :'use_threads' => :'useThreads',
42
43
  :'created_at' => :'createdAt',
43
- :'updated_at' => :'updatedAt',
44
- :'use_threads' => :'useThreads'
44
+ :'updated_at' => :'updatedAt'
45
45
  }
46
46
  end
47
47
 
@@ -53,9 +53,9 @@ module MailSlurpClient
53
53
  :'user_id' => :'String',
54
54
  :'email_address' => :'String',
55
55
  :'inbox_id' => :'String',
56
+ :'use_threads' => :'Boolean',
56
57
  :'created_at' => :'DateTime',
57
- :'updated_at' => :'DateTime',
58
- :'use_threads' => :'Boolean'
58
+ :'updated_at' => :'DateTime'
59
59
  }
60
60
  end
61
61
 
@@ -100,6 +100,10 @@ module MailSlurpClient
100
100
  self.inbox_id = attributes[:'inbox_id']
101
101
  end
102
102
 
103
+ if attributes.key?(:'use_threads')
104
+ self.use_threads = attributes[:'use_threads']
105
+ end
106
+
103
107
  if attributes.key?(:'created_at')
104
108
  self.created_at = attributes[:'created_at']
105
109
  end
@@ -107,10 +111,6 @@ module MailSlurpClient
107
111
  if attributes.key?(:'updated_at')
108
112
  self.updated_at = attributes[:'updated_at']
109
113
  end
110
-
111
- if attributes.key?(:'use_threads')
112
- self.use_threads = attributes[:'use_threads']
113
- end
114
114
  end
115
115
 
116
116
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -166,9 +166,9 @@ module MailSlurpClient
166
166
  user_id == o.user_id &&
167
167
  email_address == o.email_address &&
168
168
  inbox_id == o.inbox_id &&
169
+ use_threads == o.use_threads &&
169
170
  created_at == o.created_at &&
170
- updated_at == o.updated_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, user_id, email_address, inbox_id, created_at, updated_at, use_threads].hash
183
+ [name, id, user_id, email_address, inbox_id, use_threads, created_at, updated_at].hash
184
184
  end
185
185
 
186
186
  # 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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '15.7.0'
14
+ VERSION = '15.7.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.7.0
4
+ version: 15.7.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-03-02 00:00:00.000000000 Z
11
+ date: 2022-03-07 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.