Name | Type | Description | Notes |
---|---|---|---|
WalletId | string | The wallet ID. | |
WalletType | WalletType | ||
WalletSubtype | WalletSubtype | ||
Name | string | The wallet name. | |
OrgId | string | The ID of the owning organization. | |
ChainId | Pointer to string | The ID of the chain on which the wallet operates. | [optional] |
SmartContractWalletType | SmartContractWalletType | [default to SMARTCONTRACTWALLETTYPE_SAFEWALLET] | |
SafeAddress | Pointer to string | The Smart Contract Wallet address. | [optional] |
Signers | Pointer to []string | The signers of the Smart Contract Wallet. | [optional] |
Threshold | Pointer to int32 | The minimum number of confirmations required for the Smart Contract Wallet. | [optional] |
CoboSafeAddress | Pointer to string | The address of Cobo Safe. | [optional] |
Initiator | Pointer to SmartContractInitiator | [optional] |
func NewSafeWallet(walletId string, walletType WalletType, walletSubtype WalletSubtype, name string, orgId string, smartContractWalletType SmartContractWalletType, ) *SafeWallet
NewSafeWallet instantiates a new SafeWallet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSafeWalletWithDefaults() *SafeWallet
NewSafeWalletWithDefaults instantiates a new SafeWallet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *SafeWallet) GetWalletId() string
GetWalletId returns the WalletId field if non-nil, zero value otherwise.
func (o *SafeWallet) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetWalletId(v string)
SetWalletId sets WalletId field to given value.
func (o *SafeWallet) GetWalletType() WalletType
GetWalletType returns the WalletType field if non-nil, zero value otherwise.
func (o *SafeWallet) GetWalletTypeOk() (*WalletType, bool)
GetWalletTypeOk returns a tuple with the WalletType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetWalletType(v WalletType)
SetWalletType sets WalletType field to given value.
func (o *SafeWallet) GetWalletSubtype() WalletSubtype
GetWalletSubtype returns the WalletSubtype field if non-nil, zero value otherwise.
func (o *SafeWallet) GetWalletSubtypeOk() (*WalletSubtype, bool)
GetWalletSubtypeOk returns a tuple with the WalletSubtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetWalletSubtype(v WalletSubtype)
SetWalletSubtype sets WalletSubtype field to given value.
func (o *SafeWallet) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SafeWallet) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetName(v string)
SetName sets Name field to given value.
func (o *SafeWallet) GetOrgId() string
GetOrgId returns the OrgId field if non-nil, zero value otherwise.
func (o *SafeWallet) GetOrgIdOk() (*string, bool)
GetOrgIdOk returns a tuple with the OrgId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetOrgId(v string)
SetOrgId sets OrgId field to given value.
func (o *SafeWallet) GetChainId() string
GetChainId returns the ChainId field if non-nil, zero value otherwise.
func (o *SafeWallet) GetChainIdOk() (*string, bool)
GetChainIdOk returns a tuple with the ChainId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetChainId(v string)
SetChainId sets ChainId field to given value.
func (o *SafeWallet) HasChainId() bool
HasChainId returns a boolean if a field has been set.
func (o *SafeWallet) GetSmartContractWalletType() SmartContractWalletType
GetSmartContractWalletType returns the SmartContractWalletType field if non-nil, zero value otherwise.
func (o *SafeWallet) GetSmartContractWalletTypeOk() (*SmartContractWalletType, bool)
GetSmartContractWalletTypeOk returns a tuple with the SmartContractWalletType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetSmartContractWalletType(v SmartContractWalletType)
SetSmartContractWalletType sets SmartContractWalletType field to given value.
func (o *SafeWallet) GetSafeAddress() string
GetSafeAddress returns the SafeAddress field if non-nil, zero value otherwise.
func (o *SafeWallet) GetSafeAddressOk() (*string, bool)
GetSafeAddressOk returns a tuple with the SafeAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetSafeAddress(v string)
SetSafeAddress sets SafeAddress field to given value.
func (o *SafeWallet) HasSafeAddress() bool
HasSafeAddress returns a boolean if a field has been set.
func (o *SafeWallet) GetSigners() []string
GetSigners returns the Signers field if non-nil, zero value otherwise.
func (o *SafeWallet) GetSignersOk() (*[]string, bool)
GetSignersOk returns a tuple with the Signers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetSigners(v []string)
SetSigners sets Signers field to given value.
func (o *SafeWallet) HasSigners() bool
HasSigners returns a boolean if a field has been set.
func (o *SafeWallet) GetThreshold() int32
GetThreshold returns the Threshold field if non-nil, zero value otherwise.
func (o *SafeWallet) GetThresholdOk() (*int32, bool)
GetThresholdOk returns a tuple with the Threshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetThreshold(v int32)
SetThreshold sets Threshold field to given value.
func (o *SafeWallet) HasThreshold() bool
HasThreshold returns a boolean if a field has been set.
func (o *SafeWallet) GetCoboSafeAddress() string
GetCoboSafeAddress returns the CoboSafeAddress field if non-nil, zero value otherwise.
func (o *SafeWallet) GetCoboSafeAddressOk() (*string, bool)
GetCoboSafeAddressOk returns a tuple with the CoboSafeAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetCoboSafeAddress(v string)
SetCoboSafeAddress sets CoboSafeAddress field to given value.
func (o *SafeWallet) HasCoboSafeAddress() bool
HasCoboSafeAddress returns a boolean if a field has been set.
func (o *SafeWallet) GetInitiator() SmartContractInitiator
GetInitiator returns the Initiator field if non-nil, zero value otherwise.
func (o *SafeWallet) GetInitiatorOk() (*SmartContractInitiator, bool)
GetInitiatorOk returns a tuple with the Initiator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SafeWallet) SetInitiator(v SmartContractInitiator)
SetInitiator sets Initiator field to given value.
func (o *SafeWallet) HasInitiator() bool
HasInitiator returns a boolean if a field has been set.