turnkey_client 0.0.4 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/lib/turnkey_client/api/organizations_api.rb +58 -0
  3. data/lib/turnkey_client/api/policies_api.rb +58 -0
  4. data/lib/turnkey_client/api/sessions_api.rb +116 -0
  5. data/lib/turnkey_client/api/signing_api.rb +58 -0
  6. data/lib/turnkey_client/api/users_api.rb +232 -0
  7. data/lib/turnkey_client/models/activity.rb +13 -4
  8. data/lib/turnkey_client/models/activity_type.rb +11 -0
  9. data/lib/turnkey_client/models/any.rb +200 -0
  10. data/lib/turnkey_client/models/api_key_curve.rb +28 -0
  11. data/lib/turnkey_client/models/api_key_params_v2.rb +250 -0
  12. data/lib/turnkey_client/models/config.rb +216 -0
  13. data/lib/turnkey_client/models/create_api_keys_intent_v2.rb +228 -0
  14. data/lib/turnkey_client/models/create_api_keys_request.rb +2 -2
  15. data/lib/turnkey_client/models/create_oauth_providers_intent.rb +228 -0
  16. data/lib/turnkey_client/models/create_oauth_providers_request.rb +288 -0
  17. data/lib/turnkey_client/models/create_oauth_providers_result.rb +213 -0
  18. data/lib/turnkey_client/models/create_policies_intent.rb +213 -0
  19. data/lib/turnkey_client/models/create_policies_request.rb +288 -0
  20. data/lib/turnkey_client/models/create_policies_result.rb +213 -0
  21. data/lib/turnkey_client/models/create_read_only_session_intent.rb +196 -0
  22. data/lib/turnkey_client/models/create_read_only_session_request.rb +288 -0
  23. data/lib/turnkey_client/models/create_read_only_session_result.rb +286 -0
  24. data/lib/turnkey_client/models/create_read_write_session_intent.rb +246 -0
  25. data/lib/turnkey_client/models/create_read_write_session_request.rb +288 -0
  26. data/lib/turnkey_client/models/create_read_write_session_result.rb +286 -0
  27. data/lib/turnkey_client/models/create_sub_organization_intent_v5.rb +272 -0
  28. data/lib/turnkey_client/models/create_sub_organization_intent_v6.rb +272 -0
  29. data/lib/turnkey_client/models/create_sub_organization_request.rb +2 -2
  30. data/lib/turnkey_client/models/create_sub_organization_result_v5.rb +230 -0
  31. data/lib/turnkey_client/models/create_sub_organization_result_v6.rb +230 -0
  32. data/lib/turnkey_client/models/credential_type.rb +3 -0
  33. data/lib/turnkey_client/models/delete_oauth_providers_intent.rb +228 -0
  34. data/lib/turnkey_client/models/delete_oauth_providers_request.rb +288 -0
  35. data/lib/turnkey_client/models/delete_oauth_providers_result.rb +213 -0
  36. data/lib/turnkey_client/models/email_auth_intent.rb +14 -4
  37. data/lib/turnkey_client/models/email_auth_intent_v2.rb +265 -0
  38. data/lib/turnkey_client/models/email_auth_request.rb +2 -2
  39. data/lib/turnkey_client/models/email_customization_params.rb +1 -1
  40. data/lib/turnkey_client/models/external_data_v1_quorum.rb +228 -0
  41. data/lib/turnkey_client/models/get_oauth_providers_request.rb +221 -0
  42. data/lib/turnkey_client/models/get_oauth_providers_response.rb +213 -0
  43. data/lib/turnkey_client/models/get_organization_configs_request.rb +211 -0
  44. data/lib/turnkey_client/models/get_organization_configs_response.rb +210 -0
  45. data/lib/turnkey_client/models/get_sub_org_ids_request.rb +1 -1
  46. data/lib/turnkey_client/models/intent.rb +103 -9
  47. data/lib/turnkey_client/models/oauth_intent.rb +246 -0
  48. data/lib/turnkey_client/models/oauth_provider.rb +299 -0
  49. data/lib/turnkey_client/models/oauth_provider_params.rb +226 -0
  50. data/lib/turnkey_client/models/oauth_request.rb +288 -0
  51. data/lib/turnkey_client/models/oauth_result.rb +241 -0
  52. data/lib/turnkey_client/models/result.rb +85 -4
  53. data/lib/turnkey_client/models/root_user_params_v2.rb +272 -0
  54. data/lib/turnkey_client/models/root_user_params_v3.rb +272 -0
  55. data/lib/turnkey_client/models/sign_raw_payloads_intent.rb +256 -0
  56. data/lib/turnkey_client/models/sign_raw_payloads_request.rb +288 -0
  57. data/lib/turnkey_client/models/sign_raw_payloads_result.rb +207 -0
  58. data/lib/turnkey_client/models/status.rb +225 -0
  59. data/lib/turnkey_client/models/user.rb +18 -1
  60. data/lib/turnkey_client/models/wallet_account.rb +4 -19
  61. data/lib/turnkey_client/version.rb +1 -1
  62. data/lib/turnkey_client.rb +41 -0
  63. data/turnkey_client-0.0.4.gem +0 -0
  64. metadata +44 -2
@@ -0,0 +1,207 @@
1
+ =begin
2
+ #API Reference
3
+
4
+ #Review our [API Introduction](../api-introduction) to get started.
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ =end
10
+
11
+ require 'date'
12
+
13
+ module TurnkeyClient
14
+ class SignRawPayloadsResult
15
+ attr_accessor :signatures
16
+
17
+ # Attribute mapping from ruby-style variable name to JSON key.
18
+ def self.attribute_map
19
+ {
20
+ :'signatures' => :'signatures'
21
+ }
22
+ end
23
+
24
+ # Attribute type mapping.
25
+ def self.openapi_types
26
+ {
27
+ :'signatures' => :'Object'
28
+ }
29
+ end
30
+
31
+ # List of attributes with nullable: true
32
+ def self.openapi_nullable
33
+ Set.new([
34
+ ])
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ if (!attributes.is_a?(Hash))
41
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::SignRawPayloadsResult` initialize method"
42
+ end
43
+
44
+ # check to see if the attribute exists and convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h|
46
+ if (!self.class.attribute_map.key?(k.to_sym))
47
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::SignRawPayloadsResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
48
+ end
49
+ h[k.to_sym] = v
50
+ }
51
+
52
+ if attributes.key?(:'signatures')
53
+ if (value = attributes[:'signatures']).is_a?(Array)
54
+ self.signatures = value
55
+ end
56
+ end
57
+ end
58
+
59
+ # Show invalid properties with the reasons. Usually used together with valid?
60
+ # @return Array for valid properties with the reasons
61
+ def list_invalid_properties
62
+ invalid_properties = Array.new
63
+ invalid_properties
64
+ end
65
+
66
+ # Check to see if the all the properties in the model are valid
67
+ # @return true if the model is valid
68
+ def valid?
69
+ true
70
+ end
71
+
72
+ # Checks equality by comparing each attribute.
73
+ # @param [Object] Object to be compared
74
+ def ==(o)
75
+ return true if self.equal?(o)
76
+ self.class == o.class &&
77
+ signatures == o.signatures
78
+ end
79
+
80
+ # @see the `==` method
81
+ # @param [Object] Object to be compared
82
+ def eql?(o)
83
+ self == o
84
+ end
85
+
86
+ # Calculates hash code according to all attributes.
87
+ # @return [Integer] Hash code
88
+ def hash
89
+ [signatures].hash
90
+ end
91
+
92
+ # Builds the object from hash
93
+ # @param [Hash] attributes Model attributes in the form of hash
94
+ # @return [Object] Returns the model itself
95
+ def self.build_from_hash(attributes)
96
+ new.build_from_hash(attributes)
97
+ end
98
+
99
+ # Builds the object from hash
100
+ # @param [Hash] attributes Model attributes in the form of hash
101
+ # @return [Object] Returns the model itself
102
+ def build_from_hash(attributes)
103
+ return nil unless attributes.is_a?(Hash)
104
+ self.class.openapi_types.each_pair do |key, type|
105
+ if type =~ /\AArray<(.*)>/i
106
+ # check to ensure the input is an array given that the attribute
107
+ # is documented as an array but the input is not
108
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
109
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
110
+ end
111
+ elsif !attributes[self.class.attribute_map[key]].nil?
112
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
113
+ elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
114
+ self.send("#{key}=", nil)
115
+ end
116
+ end
117
+
118
+ self
119
+ end
120
+
121
+ # Deserializes the data based on type
122
+ # @param string type Data type
123
+ # @param string value Value to be deserialized
124
+ # @return [Object] Deserialized data
125
+ def _deserialize(type, value)
126
+ case type.to_sym
127
+ when :DateTime
128
+ DateTime.parse(value)
129
+ when :Date
130
+ Date.parse(value)
131
+ when :String
132
+ value.to_s
133
+ when :Integer
134
+ value.to_i
135
+ when :Float
136
+ value.to_f
137
+ when :Boolean
138
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
139
+ true
140
+ else
141
+ false
142
+ end
143
+ when :Object
144
+ # generic object (usually a Hash), return directly
145
+ value
146
+ when /\AArray<(?<inner_type>.+)>\z/
147
+ inner_type = Regexp.last_match[:inner_type]
148
+ value.map { |v| _deserialize(inner_type, v) }
149
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
150
+ k_type = Regexp.last_match[:k_type]
151
+ v_type = Regexp.last_match[:v_type]
152
+ {}.tap do |hash|
153
+ value.each do |k, v|
154
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
155
+ end
156
+ end
157
+ else # model
158
+ TurnkeyClient.const_get(type).build_from_hash(value)
159
+ end
160
+ end
161
+
162
+ # Returns the string representation of the object
163
+ # @return [String] String presentation of the object
164
+ def to_s
165
+ to_hash.to_s
166
+ end
167
+
168
+ # to_body is an alias to to_hash (backward compatibility)
169
+ # @return [Hash] Returns the object in the form of hash
170
+ def to_body
171
+ to_hash
172
+ end
173
+
174
+ # Returns the object in the form of hash
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_hash
177
+ hash = {}
178
+ self.class.attribute_map.each_pair do |attr, param|
179
+ value = self.send(attr)
180
+ if value.nil?
181
+ is_nullable = self.class.openapi_nullable.include?(attr)
182
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
183
+ end
184
+
185
+ hash[param] = _to_hash(value)
186
+ end
187
+ hash
188
+ end
189
+
190
+ # Outputs non-array value in the form of hash
191
+ # For object, use to_hash. Otherwise, just return the value
192
+ # @param [Object] value Any valid value
193
+ # @return [Hash] Returns the value in the form of hash
194
+ def _to_hash(value)
195
+ if value.is_a?(Array)
196
+ value.compact.map { |v| _to_hash(v) }
197
+ elsif value.is_a?(Hash)
198
+ {}.tap do |hash|
199
+ value.each { |k, v| hash[k] = _to_hash(v) }
200
+ end
201
+ elsif value.respond_to? :to_hash
202
+ value.to_hash
203
+ else
204
+ value
205
+ end
206
+ end end
207
+ end
@@ -0,0 +1,225 @@
1
+ =begin
2
+ #API Reference
3
+
4
+ #Review our [API Introduction](../api-introduction) to get started.
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ =end
10
+
11
+ require 'date'
12
+
13
+ module TurnkeyClient
14
+ class Status
15
+ attr_accessor :code
16
+
17
+ attr_accessor :message
18
+
19
+ attr_accessor :details
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'code' => :'code',
25
+ :'message' => :'message',
26
+ :'details' => :'details'
27
+ }
28
+ end
29
+
30
+ # Attribute type mapping.
31
+ def self.openapi_types
32
+ {
33
+ :'code' => :'Object',
34
+ :'message' => :'Object',
35
+ :'details' => :'Object'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::Status` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::Status`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'code')
61
+ self.code = attributes[:'code']
62
+ end
63
+
64
+ if attributes.key?(:'message')
65
+ self.message = attributes[:'message']
66
+ end
67
+
68
+ if attributes.key?(:'details')
69
+ if (value = attributes[:'details']).is_a?(Array)
70
+ self.details = value
71
+ end
72
+ end
73
+ end
74
+
75
+ # Show invalid properties with the reasons. Usually used together with valid?
76
+ # @return Array for valid properties with the reasons
77
+ def list_invalid_properties
78
+ invalid_properties = Array.new
79
+ invalid_properties
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ def valid?
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ code == o.code &&
94
+ message == o.message &&
95
+ details == o.details
96
+ end
97
+
98
+ # @see the `==` method
99
+ # @param [Object] Object to be compared
100
+ def eql?(o)
101
+ self == o
102
+ end
103
+
104
+ # Calculates hash code according to all attributes.
105
+ # @return [Integer] Hash code
106
+ def hash
107
+ [code, message, details].hash
108
+ end
109
+
110
+ # Builds the object from hash
111
+ # @param [Hash] attributes Model attributes in the form of hash
112
+ # @return [Object] Returns the model itself
113
+ def self.build_from_hash(attributes)
114
+ new.build_from_hash(attributes)
115
+ end
116
+
117
+ # Builds the object from hash
118
+ # @param [Hash] attributes Model attributes in the form of hash
119
+ # @return [Object] Returns the model itself
120
+ def build_from_hash(attributes)
121
+ return nil unless attributes.is_a?(Hash)
122
+ self.class.openapi_types.each_pair do |key, type|
123
+ if type =~ /\AArray<(.*)>/i
124
+ # check to ensure the input is an array given that the attribute
125
+ # is documented as an array but the input is not
126
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
127
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
128
+ end
129
+ elsif !attributes[self.class.attribute_map[key]].nil?
130
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
131
+ elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
132
+ self.send("#{key}=", nil)
133
+ end
134
+ end
135
+
136
+ self
137
+ end
138
+
139
+ # Deserializes the data based on type
140
+ # @param string type Data type
141
+ # @param string value Value to be deserialized
142
+ # @return [Object] Deserialized data
143
+ def _deserialize(type, value)
144
+ case type.to_sym
145
+ when :DateTime
146
+ DateTime.parse(value)
147
+ when :Date
148
+ Date.parse(value)
149
+ when :String
150
+ value.to_s
151
+ when :Integer
152
+ value.to_i
153
+ when :Float
154
+ value.to_f
155
+ when :Boolean
156
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
157
+ true
158
+ else
159
+ false
160
+ end
161
+ when :Object
162
+ # generic object (usually a Hash), return directly
163
+ value
164
+ when /\AArray<(?<inner_type>.+)>\z/
165
+ inner_type = Regexp.last_match[:inner_type]
166
+ value.map { |v| _deserialize(inner_type, v) }
167
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
168
+ k_type = Regexp.last_match[:k_type]
169
+ v_type = Regexp.last_match[:v_type]
170
+ {}.tap do |hash|
171
+ value.each do |k, v|
172
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
173
+ end
174
+ end
175
+ else # model
176
+ TurnkeyClient.const_get(type).build_from_hash(value)
177
+ end
178
+ end
179
+
180
+ # Returns the string representation of the object
181
+ # @return [String] String presentation of the object
182
+ def to_s
183
+ to_hash.to_s
184
+ end
185
+
186
+ # to_body is an alias to to_hash (backward compatibility)
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_body
189
+ to_hash
190
+ end
191
+
192
+ # Returns the object in the form of hash
193
+ # @return [Hash] Returns the object in the form of hash
194
+ def to_hash
195
+ hash = {}
196
+ self.class.attribute_map.each_pair do |attr, param|
197
+ value = self.send(attr)
198
+ if value.nil?
199
+ is_nullable = self.class.openapi_nullable.include?(attr)
200
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
201
+ end
202
+
203
+ hash[param] = _to_hash(value)
204
+ end
205
+ hash
206
+ end
207
+
208
+ # Outputs non-array value in the form of hash
209
+ # For object, use to_hash. Otherwise, just return the value
210
+ # @param [Object] value Any valid value
211
+ # @return [Hash] Returns the value in the form of hash
212
+ def _to_hash(value)
213
+ if value.is_a?(Array)
214
+ value.compact.map { |v| _to_hash(v) }
215
+ elsif value.is_a?(Hash)
216
+ {}.tap do |hash|
217
+ value.each { |k, v| hash[k] = _to_hash(v) }
218
+ end
219
+ elsif value.respond_to? :to_hash
220
+ value.to_hash
221
+ else
222
+ value
223
+ end
224
+ end end
225
+ end
@@ -30,6 +30,9 @@ module TurnkeyClient
30
30
  # A list of User Tag IDs.
31
31
  attr_accessor :user_tags
32
32
 
33
+ # A list of Oauth Providers.
34
+ attr_accessor :oauth_providers
35
+
33
36
  attr_accessor :created_at
34
37
 
35
38
  attr_accessor :updated_at
@@ -43,6 +46,7 @@ module TurnkeyClient
43
46
  :'authenticators' => :'authenticators',
44
47
  :'api_keys' => :'apiKeys',
45
48
  :'user_tags' => :'userTags',
49
+ :'oauth_providers' => :'oauthProviders',
46
50
  :'created_at' => :'createdAt',
47
51
  :'updated_at' => :'updatedAt'
48
52
  }
@@ -57,6 +61,7 @@ module TurnkeyClient
57
61
  :'authenticators' => :'Object',
58
62
  :'api_keys' => :'Object',
59
63
  :'user_tags' => :'Object',
64
+ :'oauth_providers' => :'Object',
60
65
  :'created_at' => :'Object',
61
66
  :'updated_at' => :'Object'
62
67
  }
@@ -113,6 +118,12 @@ module TurnkeyClient
113
118
  end
114
119
  end
115
120
 
121
+ if attributes.key?(:'oauth_providers')
122
+ if (value = attributes[:'oauth_providers']).is_a?(Array)
123
+ self.oauth_providers = value
124
+ end
125
+ end
126
+
116
127
  if attributes.key?(:'created_at')
117
128
  self.created_at = attributes[:'created_at']
118
129
  end
@@ -146,6 +157,10 @@ module TurnkeyClient
146
157
  invalid_properties.push('invalid value for "user_tags", user_tags cannot be nil.')
147
158
  end
148
159
 
160
+ if @oauth_providers.nil?
161
+ invalid_properties.push('invalid value for "oauth_providers", oauth_providers cannot be nil.')
162
+ end
163
+
149
164
  if @created_at.nil?
150
165
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
151
166
  end
@@ -165,6 +180,7 @@ module TurnkeyClient
165
180
  return false if @authenticators.nil?
166
181
  return false if @api_keys.nil?
167
182
  return false if @user_tags.nil?
183
+ return false if @oauth_providers.nil?
168
184
  return false if @created_at.nil?
169
185
  return false if @updated_at.nil?
170
186
  true
@@ -181,6 +197,7 @@ module TurnkeyClient
181
197
  authenticators == o.authenticators &&
182
198
  api_keys == o.api_keys &&
183
199
  user_tags == o.user_tags &&
200
+ oauth_providers == o.oauth_providers &&
184
201
  created_at == o.created_at &&
185
202
  updated_at == o.updated_at
186
203
  end
@@ -194,7 +211,7 @@ module TurnkeyClient
194
211
  # Calculates hash code according to all attributes.
195
212
  # @return [Integer] Hash code
196
213
  def hash
197
- [user_id, user_name, user_email, authenticators, api_keys, user_tags, created_at, updated_at].hash
214
+ [user_id, user_name, user_email, authenticators, api_keys, user_tags, oauth_providers, created_at, updated_at].hash
198
215
  end
199
216
 
200
217
  # Builds the object from hash
@@ -34,9 +34,6 @@ module TurnkeyClient
34
34
 
35
35
  attr_accessor :updated_at
36
36
 
37
- # True when a given Account is exported, false otherwise.
38
- attr_accessor :exported
39
-
40
37
  # Attribute mapping from ruby-style variable name to JSON key.
41
38
  def self.attribute_map
42
39
  {
@@ -48,8 +45,7 @@ module TurnkeyClient
48
45
  :'address_format' => :'addressFormat',
49
46
  :'address' => :'address',
50
47
  :'created_at' => :'createdAt',
51
- :'updated_at' => :'updatedAt',
52
- :'exported' => :'exported'
48
+ :'updated_at' => :'updatedAt'
53
49
  }
54
50
  end
55
51
 
@@ -64,8 +60,7 @@ module TurnkeyClient
64
60
  :'address_format' => :'Object',
65
61
  :'address' => :'Object',
66
62
  :'created_at' => :'Object',
67
- :'updated_at' => :'Object',
68
- :'exported' => :'Object'
63
+ :'updated_at' => :'Object'
69
64
  }
70
65
  end
71
66
 
@@ -125,10 +120,6 @@ module TurnkeyClient
125
120
  if attributes.key?(:'updated_at')
126
121
  self.updated_at = attributes[:'updated_at']
127
122
  end
128
-
129
- if attributes.key?(:'exported')
130
- self.exported = attributes[:'exported']
131
- end
132
123
  end
133
124
 
134
125
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -171,10 +162,6 @@ module TurnkeyClient
171
162
  invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
172
163
  end
173
164
 
174
- if @exported.nil?
175
- invalid_properties.push('invalid value for "exported", exported cannot be nil.')
176
- end
177
-
178
165
  invalid_properties
179
166
  end
180
167
 
@@ -190,7 +177,6 @@ module TurnkeyClient
190
177
  return false if @address.nil?
191
178
  return false if @created_at.nil?
192
179
  return false if @updated_at.nil?
193
- return false if @exported.nil?
194
180
  true
195
181
  end
196
182
 
@@ -207,8 +193,7 @@ module TurnkeyClient
207
193
  address_format == o.address_format &&
208
194
  address == o.address &&
209
195
  created_at == o.created_at &&
210
- updated_at == o.updated_at &&
211
- exported == o.exported
196
+ updated_at == o.updated_at
212
197
  end
213
198
 
214
199
  # @see the `==` method
@@ -220,7 +205,7 @@ module TurnkeyClient
220
205
  # Calculates hash code according to all attributes.
221
206
  # @return [Integer] Hash code
222
207
  def hash
223
- [organization_id, wallet_id, curve, path_format, path, address_format, address, created_at, updated_at, exported].hash
208
+ [organization_id, wallet_id, curve, path_format, path, address_format, address, created_at, updated_at].hash
224
209
  end
225
210
 
226
211
  # Builds the object from hash
@@ -9,5 +9,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  =end
10
10
 
11
11
  module TurnkeyClient
12
- VERSION = '0.0.4'
12
+ VERSION = '0.0.7'
13
13
  end