turnkey_client 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/turnkey_client/api/activities_api.rb +1 -1
- data/lib/turnkey_client/api/api_keys_api.rb +1 -1
- data/lib/turnkey_client/api/authenticators_api.rb +1 -1
- data/lib/turnkey_client/api/consensus_api.rb +1 -1
- data/lib/turnkey_client/api/features_api.rb +1 -1
- data/lib/turnkey_client/api/invitations_api.rb +1 -1
- data/lib/turnkey_client/api/organizations_api.rb +59 -1
- data/lib/turnkey_client/api/policies_api.rb +1 -1
- data/lib/turnkey_client/api/private_key_tags_api.rb +1 -1
- data/lib/turnkey_client/api/private_keys_api.rb +117 -1
- data/lib/turnkey_client/api/sessions_api.rb +1 -1
- data/lib/turnkey_client/api/signing_api.rb +1 -1
- data/lib/turnkey_client/api/user_auth_api.rb +1 -1
- data/lib/turnkey_client/api/user_recovery_api.rb +1 -1
- data/lib/turnkey_client/api/user_tags_api.rb +1 -1
- data/lib/turnkey_client/api/users_api.rb +1 -1
- data/lib/turnkey_client/api/wallets_api.rb +1 -1
- data/lib/turnkey_client/api_client.rb +1 -1
- data/lib/turnkey_client/api_error.rb +1 -1
- data/lib/turnkey_client/configuration.rb +1 -1
- data/lib/turnkey_client/models/accept_invitation_intent.rb +1 -1
- data/lib/turnkey_client/models/accept_invitation_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/accept_invitation_result.rb +1 -1
- data/lib/turnkey_client/models/access_type.rb +1 -1
- data/lib/turnkey_client/models/activate_billing_tier_intent.rb +1 -1
- data/lib/turnkey_client/models/activate_billing_tier_result.rb +1 -1
- data/lib/turnkey_client/models/activity.rb +1 -1
- data/lib/turnkey_client/models/activity_response.rb +1 -1
- data/lib/turnkey_client/models/activity_status.rb +1 -1
- data/lib/turnkey_client/models/activity_type.rb +3 -1
- data/lib/turnkey_client/models/activity_v1_address.rb +1 -1
- data/lib/turnkey_client/models/address_format.rb +1 -1
- data/lib/turnkey_client/models/api_key.rb +1 -1
- data/lib/turnkey_client/models/api_key_params.rb +1 -1
- data/lib/turnkey_client/models/api_only_user_params.rb +1 -1
- data/lib/turnkey_client/models/approve_activity_intent.rb +1 -1
- data/lib/turnkey_client/models/approve_activity_request.rb +1 -1
- data/lib/turnkey_client/models/attestation.rb +1 -1
- data/lib/turnkey_client/models/authenticator.rb +1 -1
- data/lib/turnkey_client/models/authenticator_attestation_response.rb +1 -1
- data/lib/turnkey_client/models/authenticator_params.rb +1 -1
- data/lib/turnkey_client/models/authenticator_params_v2.rb +1 -1
- data/lib/turnkey_client/models/authenticator_transport.rb +1 -1
- data/lib/turnkey_client/models/create_api_keys_intent.rb +1 -1
- data/lib/turnkey_client/models/create_api_keys_request.rb +1 -1
- data/lib/turnkey_client/models/create_api_keys_result.rb +1 -1
- data/lib/turnkey_client/models/create_api_only_users_intent.rb +1 -1
- data/lib/turnkey_client/models/create_api_only_users_result.rb +1 -1
- data/lib/turnkey_client/models/create_authenticators_intent.rb +1 -1
- data/lib/turnkey_client/models/create_authenticators_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/create_authenticators_request.rb +1 -1
- data/lib/turnkey_client/models/create_authenticators_result.rb +1 -1
- data/lib/turnkey_client/models/create_invitations_intent.rb +1 -1
- data/lib/turnkey_client/models/create_invitations_request.rb +1 -1
- data/lib/turnkey_client/models/create_invitations_result.rb +1 -1
- data/lib/turnkey_client/models/create_organization_intent.rb +1 -1
- data/lib/turnkey_client/models/create_organization_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/create_organization_result.rb +1 -1
- data/lib/turnkey_client/models/create_policy_intent.rb +1 -1
- data/lib/turnkey_client/models/create_policy_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/create_policy_intent_v3.rb +1 -1
- data/lib/turnkey_client/models/create_policy_request.rb +1 -1
- data/lib/turnkey_client/models/create_policy_result.rb +1 -1
- data/lib/turnkey_client/models/create_private_key_tag_intent.rb +1 -1
- data/lib/turnkey_client/models/create_private_key_tag_request.rb +1 -1
- data/lib/turnkey_client/models/create_private_key_tag_result.rb +1 -1
- data/lib/turnkey_client/models/create_private_keys_intent.rb +1 -1
- data/lib/turnkey_client/models/create_private_keys_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/create_private_keys_request.rb +1 -1
- data/lib/turnkey_client/models/create_private_keys_result.rb +1 -1
- data/lib/turnkey_client/models/create_private_keys_result_v2.rb +1 -1
- data/lib/turnkey_client/models/create_sub_organization_intent.rb +1 -1
- data/lib/turnkey_client/models/create_sub_organization_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/create_sub_organization_intent_v3.rb +1 -1
- data/lib/turnkey_client/models/create_sub_organization_intent_v4.rb +1 -1
- data/lib/turnkey_client/models/create_sub_organization_request.rb +1 -1
- data/lib/turnkey_client/models/create_sub_organization_result.rb +16 -5
- data/lib/turnkey_client/models/create_sub_organization_result_v3.rb +16 -5
- data/lib/turnkey_client/models/create_sub_organization_result_v4.rb +16 -5
- data/lib/turnkey_client/models/create_user_tag_intent.rb +1 -1
- data/lib/turnkey_client/models/create_user_tag_request.rb +1 -1
- data/lib/turnkey_client/models/create_user_tag_result.rb +1 -1
- data/lib/turnkey_client/models/create_users_intent.rb +1 -1
- data/lib/turnkey_client/models/create_users_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/create_users_request.rb +1 -1
- data/lib/turnkey_client/models/create_users_result.rb +1 -1
- data/lib/turnkey_client/models/create_wallet_accounts_intent.rb +1 -1
- data/lib/turnkey_client/models/create_wallet_accounts_request.rb +1 -1
- data/lib/turnkey_client/models/create_wallet_accounts_result.rb +1 -1
- data/lib/turnkey_client/models/create_wallet_intent.rb +1 -1
- data/lib/turnkey_client/models/create_wallet_request.rb +1 -1
- data/lib/turnkey_client/models/create_wallet_result.rb +1 -1
- data/lib/turnkey_client/models/cred_props_authentication_extensions_client_outputs.rb +1 -1
- data/lib/turnkey_client/models/credential_type.rb +1 -1
- data/lib/turnkey_client/models/curve.rb +1 -1
- data/lib/turnkey_client/models/data_v1_address.rb +1 -1
- data/lib/turnkey_client/models/delete_api_keys_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_api_keys_request.rb +1 -1
- data/lib/turnkey_client/models/delete_api_keys_result.rb +1 -1
- data/lib/turnkey_client/models/delete_authenticators_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_authenticators_request.rb +1 -1
- data/lib/turnkey_client/models/delete_authenticators_result.rb +1 -1
- data/lib/turnkey_client/models/delete_invitation_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_invitation_request.rb +1 -1
- data/lib/turnkey_client/models/delete_invitation_result.rb +1 -1
- data/lib/turnkey_client/models/delete_organization_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_organization_result.rb +1 -1
- data/lib/turnkey_client/models/delete_payment_method_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_payment_method_result.rb +1 -1
- data/lib/turnkey_client/models/delete_policy_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_policy_request.rb +1 -1
- data/lib/turnkey_client/models/delete_policy_result.rb +1 -1
- data/lib/turnkey_client/models/delete_private_key_tags_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_private_key_tags_request.rb +1 -1
- data/lib/turnkey_client/models/delete_private_key_tags_result.rb +1 -1
- data/lib/turnkey_client/models/delete_user_tags_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_user_tags_request.rb +1 -1
- data/lib/turnkey_client/models/delete_user_tags_result.rb +1 -1
- data/lib/turnkey_client/models/delete_users_intent.rb +1 -1
- data/lib/turnkey_client/models/delete_users_request.rb +1 -1
- data/lib/turnkey_client/models/delete_users_result.rb +1 -1
- data/lib/turnkey_client/models/disable_private_key_intent.rb +1 -1
- data/lib/turnkey_client/models/disable_private_key_result.rb +1 -1
- data/lib/turnkey_client/models/effect.rb +1 -1
- data/lib/turnkey_client/models/email_auth_intent.rb +1 -1
- data/lib/turnkey_client/models/email_auth_request.rb +1 -1
- data/lib/turnkey_client/models/email_auth_result.rb +1 -1
- data/lib/turnkey_client/models/email_customization_params.rb +1 -1
- data/lib/turnkey_client/models/export_private_key_intent.rb +1 -1
- data/lib/turnkey_client/models/export_private_key_request.rb +1 -1
- data/lib/turnkey_client/models/export_private_key_result.rb +1 -1
- data/lib/turnkey_client/models/export_wallet_account_intent.rb +1 -1
- data/lib/turnkey_client/models/export_wallet_account_request.rb +1 -1
- data/lib/turnkey_client/models/export_wallet_account_result.rb +1 -1
- data/lib/turnkey_client/models/export_wallet_intent.rb +1 -1
- data/lib/turnkey_client/models/export_wallet_request.rb +1 -1
- data/lib/turnkey_client/models/export_wallet_result.rb +1 -1
- data/lib/turnkey_client/models/external_data_v1_credential.rb +1 -1
- data/lib/turnkey_client/models/external_data_v1_timestamp.rb +1 -1
- data/lib/turnkey_client/models/feature.rb +1 -1
- data/lib/turnkey_client/models/feature_name.rb +2 -1
- data/lib/turnkey_client/models/get_activities_request.rb +1 -1
- data/lib/turnkey_client/models/get_activities_response.rb +1 -1
- data/lib/turnkey_client/models/get_activity_request.rb +1 -1
- data/lib/turnkey_client/models/get_api_key_request.rb +1 -1
- data/lib/turnkey_client/models/get_api_key_response.rb +1 -1
- data/lib/turnkey_client/models/get_api_keys_request.rb +1 -1
- data/lib/turnkey_client/models/get_api_keys_response.rb +1 -1
- data/lib/turnkey_client/models/get_authenticator_request.rb +1 -1
- data/lib/turnkey_client/models/get_authenticator_response.rb +1 -1
- data/lib/turnkey_client/models/get_authenticators_request.rb +1 -1
- data/lib/turnkey_client/models/get_authenticators_response.rb +1 -1
- data/lib/turnkey_client/models/get_policies_request.rb +1 -1
- data/lib/turnkey_client/models/get_policies_response.rb +1 -1
- data/lib/turnkey_client/models/get_policy_request.rb +1 -1
- data/lib/turnkey_client/models/get_policy_response.rb +1 -1
- data/lib/turnkey_client/models/get_private_key_request.rb +1 -1
- data/lib/turnkey_client/models/get_private_key_response.rb +1 -1
- data/lib/turnkey_client/models/get_private_keys_request.rb +1 -1
- data/lib/turnkey_client/models/get_private_keys_response.rb +1 -1
- data/lib/turnkey_client/models/get_sub_org_ids_request.rb +232 -0
- data/lib/turnkey_client/models/get_sub_org_ids_response.rb +214 -0
- data/lib/turnkey_client/models/get_user_request.rb +1 -1
- data/lib/turnkey_client/models/get_user_response.rb +1 -1
- data/lib/turnkey_client/models/get_users_request.rb +1 -1
- data/lib/turnkey_client/models/get_users_response.rb +1 -1
- data/lib/turnkey_client/models/get_wallet_accounts_request.rb +1 -1
- data/lib/turnkey_client/models/get_wallet_accounts_response.rb +1 -1
- data/lib/turnkey_client/models/get_wallet_request.rb +1 -1
- data/lib/turnkey_client/models/get_wallet_response.rb +1 -1
- data/lib/turnkey_client/models/get_wallets_request.rb +1 -1
- data/lib/turnkey_client/models/get_wallets_response.rb +1 -1
- data/lib/turnkey_client/models/get_whoami_request.rb +1 -1
- data/lib/turnkey_client/models/get_whoami_response.rb +1 -1
- data/lib/turnkey_client/models/hash_function.rb +1 -1
- data/lib/turnkey_client/models/import_private_key_intent.rb +273 -0
- data/lib/turnkey_client/models/import_private_key_request.rb +289 -0
- data/lib/turnkey_client/models/import_private_key_result.rb +229 -0
- data/lib/turnkey_client/models/import_wallet_intent.rb +1 -1
- data/lib/turnkey_client/models/import_wallet_request.rb +1 -1
- data/lib/turnkey_client/models/import_wallet_result.rb +1 -1
- data/lib/turnkey_client/models/init_import_private_key_intent.rb +212 -0
- data/lib/turnkey_client/models/init_import_private_key_request.rb +289 -0
- data/lib/turnkey_client/models/init_import_private_key_result.rb +212 -0
- data/lib/turnkey_client/models/init_import_wallet_intent.rb +1 -1
- data/lib/turnkey_client/models/init_import_wallet_request.rb +1 -1
- data/lib/turnkey_client/models/init_import_wallet_result.rb +1 -1
- data/lib/turnkey_client/models/init_user_email_recovery_intent.rb +14 -5
- data/lib/turnkey_client/models/init_user_email_recovery_request.rb +1 -1
- data/lib/turnkey_client/models/init_user_email_recovery_result.rb +1 -1
- data/lib/turnkey_client/models/intent.rb +23 -5
- data/lib/turnkey_client/models/invitation_params.rb +1 -1
- data/lib/turnkey_client/models/list_private_key_tags_request.rb +1 -1
- data/lib/turnkey_client/models/list_private_key_tags_response.rb +1 -1
- data/lib/turnkey_client/models/list_user_tags_request.rb +1 -1
- data/lib/turnkey_client/models/list_user_tags_response.rb +1 -1
- data/lib/turnkey_client/models/mnemonic_language.rb +1 -1
- data/lib/turnkey_client/models/operator.rb +1 -1
- data/lib/turnkey_client/models/pagination.rb +1 -1
- data/lib/turnkey_client/models/path_format.rb +1 -1
- data/lib/turnkey_client/models/payload_encoding.rb +1 -1
- data/lib/turnkey_client/models/policy.rb +1 -1
- data/lib/turnkey_client/models/private_key.rb +20 -5
- data/lib/turnkey_client/models/private_key_params.rb +1 -1
- data/lib/turnkey_client/models/private_key_result.rb +1 -1
- data/lib/turnkey_client/models/public_key_credential_with_attestation.rb +1 -1
- data/lib/turnkey_client/models/recover_user_intent.rb +1 -1
- data/lib/turnkey_client/models/recover_user_request.rb +1 -1
- data/lib/turnkey_client/models/recover_user_result.rb +1 -1
- data/lib/turnkey_client/models/reject_activity_intent.rb +1 -1
- data/lib/turnkey_client/models/reject_activity_request.rb +1 -1
- data/lib/turnkey_client/models/remove_organization_feature_intent.rb +1 -1
- data/lib/turnkey_client/models/remove_organization_feature_request.rb +1 -1
- data/lib/turnkey_client/models/remove_organization_feature_result.rb +1 -1
- data/lib/turnkey_client/models/result.rb +23 -5
- data/lib/turnkey_client/models/root_user_params.rb +1 -1
- data/lib/turnkey_client/models/selector.rb +1 -1
- data/lib/turnkey_client/models/selector_v2.rb +1 -1
- data/lib/turnkey_client/models/set_organization_feature_intent.rb +1 -1
- data/lib/turnkey_client/models/set_organization_feature_request.rb +1 -1
- data/lib/turnkey_client/models/set_organization_feature_result.rb +1 -1
- data/lib/turnkey_client/models/set_payment_method_intent.rb +1 -1
- data/lib/turnkey_client/models/set_payment_method_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/set_payment_method_result.rb +1 -1
- data/lib/turnkey_client/models/sign_raw_payload_intent.rb +1 -1
- data/lib/turnkey_client/models/sign_raw_payload_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/sign_raw_payload_request.rb +1 -1
- data/lib/turnkey_client/models/sign_raw_payload_result.rb +1 -1
- data/lib/turnkey_client/models/sign_transaction_intent.rb +1 -1
- data/lib/turnkey_client/models/sign_transaction_intent_v2.rb +1 -1
- data/lib/turnkey_client/models/sign_transaction_request.rb +1 -1
- data/lib/turnkey_client/models/sign_transaction_result.rb +1 -1
- data/lib/turnkey_client/models/simple_client_extension_results.rb +1 -1
- data/lib/turnkey_client/models/tag_type.rb +1 -1
- data/lib/turnkey_client/models/transaction_type.rb +1 -1
- data/lib/turnkey_client/models/update_allowed_origins_intent.rb +1 -1
- data/lib/turnkey_client/models/update_allowed_origins_result.rb +1 -1
- data/lib/turnkey_client/models/update_policy_intent.rb +1 -1
- data/lib/turnkey_client/models/update_policy_request.rb +1 -1
- data/lib/turnkey_client/models/update_policy_result.rb +1 -1
- data/lib/turnkey_client/models/update_private_key_tag_intent.rb +1 -1
- data/lib/turnkey_client/models/update_private_key_tag_request.rb +1 -1
- data/lib/turnkey_client/models/update_private_key_tag_result.rb +1 -1
- data/lib/turnkey_client/models/update_root_quorum_intent.rb +1 -1
- data/lib/turnkey_client/models/update_root_quorum_request.rb +1 -1
- data/lib/turnkey_client/models/update_root_quorum_result.rb +1 -1
- data/lib/turnkey_client/models/update_user_intent.rb +1 -1
- data/lib/turnkey_client/models/update_user_request.rb +1 -1
- data/lib/turnkey_client/models/update_user_result.rb +1 -1
- data/lib/turnkey_client/models/update_user_tag_intent.rb +1 -1
- data/lib/turnkey_client/models/update_user_tag_request.rb +1 -1
- data/lib/turnkey_client/models/update_user_tag_result.rb +1 -1
- data/lib/turnkey_client/models/user.rb +1 -1
- data/lib/turnkey_client/models/user_params.rb +1 -1
- data/lib/turnkey_client/models/user_params_v2.rb +1 -1
- data/lib/turnkey_client/models/v1_tag.rb +1 -1
- data/lib/turnkey_client/models/vote.rb +1 -1
- data/lib/turnkey_client/models/wallet.rb +1 -1
- data/lib/turnkey_client/models/wallet_account.rb +1 -1
- data/lib/turnkey_client/models/wallet_account_params.rb +1 -1
- data/lib/turnkey_client/models/wallet_params.rb +1 -1
- data/lib/turnkey_client/models/wallet_result.rb +1 -1
- data/lib/turnkey_client/version.rb +2 -2
- data/lib/turnkey_client.rb +9 -1
- data/turnkey_client-0.0.2.gem +0 -0
- data/turnkey_client.gemspec +1 -1
- metadata +11 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.54
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'date'
|
@@ -37,6 +37,9 @@ module TurnkeyClient
|
|
37
37
|
# True when a given Private Key is exported, false otherwise.
|
38
38
|
attr_accessor :exported
|
39
39
|
|
40
|
+
# True when a given Private Key is imported, false otherwise.
|
41
|
+
attr_accessor :imported
|
42
|
+
|
40
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
44
|
def self.attribute_map
|
42
45
|
{
|
@@ -48,7 +51,8 @@ module TurnkeyClient
|
|
48
51
|
:'private_key_tags' => :'privateKeyTags',
|
49
52
|
:'created_at' => :'createdAt',
|
50
53
|
:'updated_at' => :'updatedAt',
|
51
|
-
:'exported' => :'exported'
|
54
|
+
:'exported' => :'exported',
|
55
|
+
:'imported' => :'imported'
|
52
56
|
}
|
53
57
|
end
|
54
58
|
|
@@ -63,7 +67,8 @@ module TurnkeyClient
|
|
63
67
|
:'private_key_tags' => :'Object',
|
64
68
|
:'created_at' => :'Object',
|
65
69
|
:'updated_at' => :'Object',
|
66
|
-
:'exported' => :'Object'
|
70
|
+
:'exported' => :'Object',
|
71
|
+
:'imported' => :'Object'
|
67
72
|
}
|
68
73
|
end
|
69
74
|
|
@@ -127,6 +132,10 @@ module TurnkeyClient
|
|
127
132
|
if attributes.key?(:'exported')
|
128
133
|
self.exported = attributes[:'exported']
|
129
134
|
end
|
135
|
+
|
136
|
+
if attributes.key?(:'imported')
|
137
|
+
self.imported = attributes[:'imported']
|
138
|
+
end
|
130
139
|
end
|
131
140
|
|
132
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -169,6 +178,10 @@ module TurnkeyClient
|
|
169
178
|
invalid_properties.push('invalid value for "exported", exported cannot be nil.')
|
170
179
|
end
|
171
180
|
|
181
|
+
if @imported.nil?
|
182
|
+
invalid_properties.push('invalid value for "imported", imported cannot be nil.')
|
183
|
+
end
|
184
|
+
|
172
185
|
invalid_properties
|
173
186
|
end
|
174
187
|
|
@@ -184,6 +197,7 @@ module TurnkeyClient
|
|
184
197
|
return false if @created_at.nil?
|
185
198
|
return false if @updated_at.nil?
|
186
199
|
return false if @exported.nil?
|
200
|
+
return false if @imported.nil?
|
187
201
|
true
|
188
202
|
end
|
189
203
|
|
@@ -200,7 +214,8 @@ module TurnkeyClient
|
|
200
214
|
private_key_tags == o.private_key_tags &&
|
201
215
|
created_at == o.created_at &&
|
202
216
|
updated_at == o.updated_at &&
|
203
|
-
exported == o.exported
|
217
|
+
exported == o.exported &&
|
218
|
+
imported == o.imported
|
204
219
|
end
|
205
220
|
|
206
221
|
# @see the `==` method
|
@@ -212,7 +227,7 @@ module TurnkeyClient
|
|
212
227
|
# Calculates hash code according to all attributes.
|
213
228
|
# @return [Integer] Hash code
|
214
229
|
def hash
|
215
|
-
[private_key_id, public_key, private_key_name, curve, addresses, private_key_tags, created_at, updated_at, exported].hash
|
230
|
+
[private_key_id, public_key, private_key_name, curve, addresses, private_key_tags, created_at, updated_at, exported, imported].hash
|
216
231
|
end
|
217
232
|
|
218
233
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.54
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'date'
|
@@ -107,6 +107,10 @@ module TurnkeyClient
|
|
107
107
|
|
108
108
|
attr_accessor :import_wallet_result
|
109
109
|
|
110
|
+
attr_accessor :init_import_private_key_result
|
111
|
+
|
112
|
+
attr_accessor :import_private_key_result
|
113
|
+
|
110
114
|
# Attribute mapping from ruby-style variable name to JSON key.
|
111
115
|
def self.attribute_map
|
112
116
|
{
|
@@ -156,7 +160,9 @@ module TurnkeyClient
|
|
156
160
|
:'email_auth_result' => :'emailAuthResult',
|
157
161
|
:'export_wallet_account_result' => :'exportWalletAccountResult',
|
158
162
|
:'init_import_wallet_result' => :'initImportWalletResult',
|
159
|
-
:'import_wallet_result' => :'importWalletResult'
|
163
|
+
:'import_wallet_result' => :'importWalletResult',
|
164
|
+
:'init_import_private_key_result' => :'initImportPrivateKeyResult',
|
165
|
+
:'import_private_key_result' => :'importPrivateKeyResult'
|
160
166
|
}
|
161
167
|
end
|
162
168
|
|
@@ -209,7 +215,9 @@ module TurnkeyClient
|
|
209
215
|
:'email_auth_result' => :'Object',
|
210
216
|
:'export_wallet_account_result' => :'Object',
|
211
217
|
:'init_import_wallet_result' => :'Object',
|
212
|
-
:'import_wallet_result' => :'Object'
|
218
|
+
:'import_wallet_result' => :'Object',
|
219
|
+
:'init_import_private_key_result' => :'Object',
|
220
|
+
:'import_private_key_result' => :'Object'
|
213
221
|
}
|
214
222
|
end
|
215
223
|
|
@@ -421,6 +429,14 @@ module TurnkeyClient
|
|
421
429
|
if attributes.key?(:'import_wallet_result')
|
422
430
|
self.import_wallet_result = attributes[:'import_wallet_result']
|
423
431
|
end
|
432
|
+
|
433
|
+
if attributes.key?(:'init_import_private_key_result')
|
434
|
+
self.init_import_private_key_result = attributes[:'init_import_private_key_result']
|
435
|
+
end
|
436
|
+
|
437
|
+
if attributes.key?(:'import_private_key_result')
|
438
|
+
self.import_private_key_result = attributes[:'import_private_key_result']
|
439
|
+
end
|
424
440
|
end
|
425
441
|
|
426
442
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -487,7 +503,9 @@ module TurnkeyClient
|
|
487
503
|
email_auth_result == o.email_auth_result &&
|
488
504
|
export_wallet_account_result == o.export_wallet_account_result &&
|
489
505
|
init_import_wallet_result == o.init_import_wallet_result &&
|
490
|
-
import_wallet_result == o.import_wallet_result
|
506
|
+
import_wallet_result == o.import_wallet_result &&
|
507
|
+
init_import_private_key_result == o.init_import_private_key_result &&
|
508
|
+
import_private_key_result == o.import_private_key_result
|
491
509
|
end
|
492
510
|
|
493
511
|
# @see the `==` method
|
@@ -499,7 +517,7 @@ module TurnkeyClient
|
|
499
517
|
# Calculates hash code according to all attributes.
|
500
518
|
# @return [Integer] Hash code
|
501
519
|
def hash
|
502
|
-
[create_organization_result, create_authenticators_result, create_users_result, create_private_keys_result, create_invitations_result, accept_invitation_result, sign_raw_payload_result, create_policy_result, disable_private_key_result, delete_users_result, delete_authenticators_result, delete_invitation_result, delete_organization_result, delete_policy_result, create_user_tag_result, delete_user_tags_result, sign_transaction_result, delete_api_keys_result, create_api_keys_result, create_private_key_tag_result, delete_private_key_tags_result, set_payment_method_result, activate_billing_tier_result, delete_payment_method_result, create_api_only_users_result, update_root_quorum_result, update_user_tag_result, update_private_key_tag_result, create_sub_organization_result, update_allowed_origins_result, create_private_keys_result_v2, update_user_result, update_policy_result, create_sub_organization_result_v3, create_wallet_result, create_wallet_accounts_result, init_user_email_recovery_result, recover_user_result, set_organization_feature_result, remove_organization_feature_result, export_private_key_result, export_wallet_result, create_sub_organization_result_v4, email_auth_result, export_wallet_account_result, init_import_wallet_result, import_wallet_result].hash
|
520
|
+
[create_organization_result, create_authenticators_result, create_users_result, create_private_keys_result, create_invitations_result, accept_invitation_result, sign_raw_payload_result, create_policy_result, disable_private_key_result, delete_users_result, delete_authenticators_result, delete_invitation_result, delete_organization_result, delete_policy_result, create_user_tag_result, delete_user_tags_result, sign_transaction_result, delete_api_keys_result, create_api_keys_result, create_private_key_tag_result, delete_private_key_tags_result, set_payment_method_result, activate_billing_tier_result, delete_payment_method_result, create_api_only_users_result, update_root_quorum_result, update_user_tag_result, update_private_key_tag_result, create_sub_organization_result, update_allowed_origins_result, create_private_keys_result_v2, update_user_result, update_policy_result, create_sub_organization_result_v3, create_wallet_result, create_wallet_accounts_result, init_user_email_recovery_result, recover_user_result, set_organization_feature_result, remove_organization_feature_result, export_private_key_result, export_wallet_result, create_sub_organization_result_v4, email_auth_result, export_wallet_account_result, init_import_wallet_result, import_wallet_result, init_import_private_key_result, import_private_key_result].hash
|
503
521
|
end
|
504
522
|
|
505
523
|
# Builds the object from hash
|