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