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'
|
@@ -15,17 +15,21 @@ module TurnkeyClient
|
|
15
15
|
class CreateSubOrganizationResult
|
16
16
|
attr_accessor :sub_organization_id
|
17
17
|
|
18
|
+
attr_accessor :root_user_ids
|
19
|
+
|
18
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
19
21
|
def self.attribute_map
|
20
22
|
{
|
21
|
-
:'sub_organization_id' => :'subOrganizationId'
|
23
|
+
:'sub_organization_id' => :'subOrganizationId',
|
24
|
+
:'root_user_ids' => :'rootUserIds'
|
22
25
|
}
|
23
26
|
end
|
24
27
|
|
25
28
|
# Attribute type mapping.
|
26
29
|
def self.openapi_types
|
27
30
|
{
|
28
|
-
:'sub_organization_id' => :'Object'
|
31
|
+
:'sub_organization_id' => :'Object',
|
32
|
+
:'root_user_ids' => :'Object'
|
29
33
|
}
|
30
34
|
end
|
31
35
|
|
@@ -53,6 +57,12 @@ module TurnkeyClient
|
|
53
57
|
if attributes.key?(:'sub_organization_id')
|
54
58
|
self.sub_organization_id = attributes[:'sub_organization_id']
|
55
59
|
end
|
60
|
+
|
61
|
+
if attributes.key?(:'root_user_ids')
|
62
|
+
if (value = attributes[:'root_user_ids']).is_a?(Array)
|
63
|
+
self.root_user_ids = value
|
64
|
+
end
|
65
|
+
end
|
56
66
|
end
|
57
67
|
|
58
68
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -78,7 +88,8 @@ module TurnkeyClient
|
|
78
88
|
def ==(o)
|
79
89
|
return true if self.equal?(o)
|
80
90
|
self.class == o.class &&
|
81
|
-
sub_organization_id == o.sub_organization_id
|
91
|
+
sub_organization_id == o.sub_organization_id &&
|
92
|
+
root_user_ids == o.root_user_ids
|
82
93
|
end
|
83
94
|
|
84
95
|
# @see the `==` method
|
@@ -90,7 +101,7 @@ module TurnkeyClient
|
|
90
101
|
# Calculates hash code according to all attributes.
|
91
102
|
# @return [Integer] Hash code
|
92
103
|
def hash
|
93
|
-
[sub_organization_id].hash
|
104
|
+
[sub_organization_id, root_user_ids].hash
|
94
105
|
end
|
95
106
|
|
96
107
|
# 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'
|
@@ -18,11 +18,14 @@ module TurnkeyClient
|
|
18
18
|
# A list of Private Key IDs and addresses.
|
19
19
|
attr_accessor :private_keys
|
20
20
|
|
21
|
+
attr_accessor :root_user_ids
|
22
|
+
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
24
|
def self.attribute_map
|
23
25
|
{
|
24
26
|
:'sub_organization_id' => :'subOrganizationId',
|
25
|
-
:'private_keys' => :'privateKeys'
|
27
|
+
:'private_keys' => :'privateKeys',
|
28
|
+
:'root_user_ids' => :'rootUserIds'
|
26
29
|
}
|
27
30
|
end
|
28
31
|
|
@@ -30,7 +33,8 @@ module TurnkeyClient
|
|
30
33
|
def self.openapi_types
|
31
34
|
{
|
32
35
|
:'sub_organization_id' => :'Object',
|
33
|
-
:'private_keys' => :'Object'
|
36
|
+
:'private_keys' => :'Object',
|
37
|
+
:'root_user_ids' => :'Object'
|
34
38
|
}
|
35
39
|
end
|
36
40
|
|
@@ -64,6 +68,12 @@ module TurnkeyClient
|
|
64
68
|
self.private_keys = value
|
65
69
|
end
|
66
70
|
end
|
71
|
+
|
72
|
+
if attributes.key?(:'root_user_ids')
|
73
|
+
if (value = attributes[:'root_user_ids']).is_a?(Array)
|
74
|
+
self.root_user_ids = value
|
75
|
+
end
|
76
|
+
end
|
67
77
|
end
|
68
78
|
|
69
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -95,7 +105,8 @@ module TurnkeyClient
|
|
95
105
|
return true if self.equal?(o)
|
96
106
|
self.class == o.class &&
|
97
107
|
sub_organization_id == o.sub_organization_id &&
|
98
|
-
private_keys == o.private_keys
|
108
|
+
private_keys == o.private_keys &&
|
109
|
+
root_user_ids == o.root_user_ids
|
99
110
|
end
|
100
111
|
|
101
112
|
# @see the `==` method
|
@@ -107,7 +118,7 @@ module TurnkeyClient
|
|
107
118
|
# Calculates hash code according to all attributes.
|
108
119
|
# @return [Integer] Hash code
|
109
120
|
def hash
|
110
|
-
[sub_organization_id, private_keys].hash
|
121
|
+
[sub_organization_id, private_keys, root_user_ids].hash
|
111
122
|
end
|
112
123
|
|
113
124
|
# 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'
|
@@ -17,11 +17,14 @@ module TurnkeyClient
|
|
17
17
|
|
18
18
|
attr_accessor :wallet
|
19
19
|
|
20
|
+
attr_accessor :root_user_ids
|
21
|
+
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
23
|
def self.attribute_map
|
22
24
|
{
|
23
25
|
:'sub_organization_id' => :'subOrganizationId',
|
24
|
-
:'wallet' => :'wallet'
|
26
|
+
:'wallet' => :'wallet',
|
27
|
+
:'root_user_ids' => :'rootUserIds'
|
25
28
|
}
|
26
29
|
end
|
27
30
|
|
@@ -29,7 +32,8 @@ module TurnkeyClient
|
|
29
32
|
def self.openapi_types
|
30
33
|
{
|
31
34
|
:'sub_organization_id' => :'Object',
|
32
|
-
:'wallet' => :'Object'
|
35
|
+
:'wallet' => :'Object',
|
36
|
+
:'root_user_ids' => :'Object'
|
33
37
|
}
|
34
38
|
end
|
35
39
|
|
@@ -61,6 +65,12 @@ module TurnkeyClient
|
|
61
65
|
if attributes.key?(:'wallet')
|
62
66
|
self.wallet = attributes[:'wallet']
|
63
67
|
end
|
68
|
+
|
69
|
+
if attributes.key?(:'root_user_ids')
|
70
|
+
if (value = attributes[:'root_user_ids']).is_a?(Array)
|
71
|
+
self.root_user_ids = value
|
72
|
+
end
|
73
|
+
end
|
64
74
|
end
|
65
75
|
|
66
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -87,7 +97,8 @@ module TurnkeyClient
|
|
87
97
|
return true if self.equal?(o)
|
88
98
|
self.class == o.class &&
|
89
99
|
sub_organization_id == o.sub_organization_id &&
|
90
|
-
wallet == o.wallet
|
100
|
+
wallet == o.wallet &&
|
101
|
+
root_user_ids == o.root_user_ids
|
91
102
|
end
|
92
103
|
|
93
104
|
# @see the `==` method
|
@@ -99,7 +110,7 @@ module TurnkeyClient
|
|
99
110
|
# Calculates hash code according to all attributes.
|
100
111
|
# @return [Integer] Hash code
|
101
112
|
def hash
|
102
|
-
[sub_organization_id, wallet].hash
|
113
|
+
[sub_organization_id, wallet, root_user_ids].hash
|
103
114
|
end
|
104
115
|
|
105
116
|
# Builds the object from hash
|