Skip to content

Latest commit

 

History

History
312 lines (167 loc) · 8.63 KB

SafeWallet.md

File metadata and controls

312 lines (167 loc) · 8.63 KB

SafeWallet

Properties

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]

Methods

NewSafeWallet

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

NewSafeWalletWithDefaults

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

GetWalletId

func (o *SafeWallet) GetWalletId() string

GetWalletId returns the WalletId field if non-nil, zero value otherwise.

GetWalletIdOk

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.

SetWalletId

func (o *SafeWallet) SetWalletId(v string)

SetWalletId sets WalletId field to given value.

GetWalletType

func (o *SafeWallet) GetWalletType() WalletType

GetWalletType returns the WalletType field if non-nil, zero value otherwise.

GetWalletTypeOk

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.

SetWalletType

func (o *SafeWallet) SetWalletType(v WalletType)

SetWalletType sets WalletType field to given value.

GetWalletSubtype

func (o *SafeWallet) GetWalletSubtype() WalletSubtype

GetWalletSubtype returns the WalletSubtype field if non-nil, zero value otherwise.

GetWalletSubtypeOk

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.

SetWalletSubtype

func (o *SafeWallet) SetWalletSubtype(v WalletSubtype)

SetWalletSubtype sets WalletSubtype field to given value.

GetName

func (o *SafeWallet) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *SafeWallet) SetName(v string)

SetName sets Name field to given value.

GetOrgId

func (o *SafeWallet) GetOrgId() string

GetOrgId returns the OrgId field if non-nil, zero value otherwise.

GetOrgIdOk

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.

SetOrgId

func (o *SafeWallet) SetOrgId(v string)

SetOrgId sets OrgId field to given value.

GetChainId

func (o *SafeWallet) GetChainId() string

GetChainId returns the ChainId field if non-nil, zero value otherwise.

GetChainIdOk

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.

SetChainId

func (o *SafeWallet) SetChainId(v string)

SetChainId sets ChainId field to given value.

HasChainId

func (o *SafeWallet) HasChainId() bool

HasChainId returns a boolean if a field has been set.

GetSmartContractWalletType

func (o *SafeWallet) GetSmartContractWalletType() SmartContractWalletType

GetSmartContractWalletType returns the SmartContractWalletType field if non-nil, zero value otherwise.

GetSmartContractWalletTypeOk

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.

SetSmartContractWalletType

func (o *SafeWallet) SetSmartContractWalletType(v SmartContractWalletType)

SetSmartContractWalletType sets SmartContractWalletType field to given value.

GetSafeAddress

func (o *SafeWallet) GetSafeAddress() string

GetSafeAddress returns the SafeAddress field if non-nil, zero value otherwise.

GetSafeAddressOk

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.

SetSafeAddress

func (o *SafeWallet) SetSafeAddress(v string)

SetSafeAddress sets SafeAddress field to given value.

HasSafeAddress

func (o *SafeWallet) HasSafeAddress() bool

HasSafeAddress returns a boolean if a field has been set.

GetSigners

func (o *SafeWallet) GetSigners() []string

GetSigners returns the Signers field if non-nil, zero value otherwise.

GetSignersOk

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.

SetSigners

func (o *SafeWallet) SetSigners(v []string)

SetSigners sets Signers field to given value.

HasSigners

func (o *SafeWallet) HasSigners() bool

HasSigners returns a boolean if a field has been set.

GetThreshold

func (o *SafeWallet) GetThreshold() int32

GetThreshold returns the Threshold field if non-nil, zero value otherwise.

GetThresholdOk

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.

SetThreshold

func (o *SafeWallet) SetThreshold(v int32)

SetThreshold sets Threshold field to given value.

HasThreshold

func (o *SafeWallet) HasThreshold() bool

HasThreshold returns a boolean if a field has been set.

GetCoboSafeAddress

func (o *SafeWallet) GetCoboSafeAddress() string

GetCoboSafeAddress returns the CoboSafeAddress field if non-nil, zero value otherwise.

GetCoboSafeAddressOk

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.

SetCoboSafeAddress

func (o *SafeWallet) SetCoboSafeAddress(v string)

SetCoboSafeAddress sets CoboSafeAddress field to given value.

HasCoboSafeAddress

func (o *SafeWallet) HasCoboSafeAddress() bool

HasCoboSafeAddress returns a boolean if a field has been set.

GetInitiator

func (o *SafeWallet) GetInitiator() SmartContractInitiator

GetInitiator returns the Initiator field if non-nil, zero value otherwise.

GetInitiatorOk

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.

SetInitiator

func (o *SafeWallet) SetInitiator(v SmartContractInitiator)

SetInitiator sets Initiator field to given value.

HasInitiator

func (o *SafeWallet) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]