Class: Privy::Models::SmartWalletConfigurationInputEnabled

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/smart_wallet_configuration_input_enabled.rb

Defined Under Namespace

Modules: Enabled

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(configured_networks:, enabled:, smart_wallet_type:, smart_wallet_version: nil) ⇒ Object

An enabled smart wallet configuration input.

Parameters:



# File 'lib/privy/models/smart_wallet_configuration_input_enabled.rb', line 28

Instance Attribute Details

#configured_networksArray<Privy::Models::SmartWalletNetworkConfigurationInput>



9
10
# File 'lib/privy/models/smart_wallet_configuration_input_enabled.rb', line 9

required :configured_networks,
-> { Privy::Internal::Type::ArrayOf[Privy::SmartWalletNetworkConfigurationInput] }

#enabledBoolean, Privy::Models::SmartWalletConfigurationInputEnabled::Enabled



15
# File 'lib/privy/models/smart_wallet_configuration_input_enabled.rb', line 15

required :enabled, enum: -> { Privy::SmartWalletConfigurationInputEnabled::Enabled }

#smart_wallet_typeSymbol, Privy::Models::SmartWalletType

The supported smart wallet providers.

Returns:



21
# File 'lib/privy/models/smart_wallet_configuration_input_enabled.rb', line 21

required :smart_wallet_type, enum: -> { Privy::SmartWalletType }

#smart_wallet_versionString?

Returns:

  • (String, nil)


26
# File 'lib/privy/models/smart_wallet_configuration_input_enabled.rb', line 26

optional :smart_wallet_version, String, nil?: true