Name | Type | Description | Notes |
---|---|---|---|
Name | string | The wallet name. | |
WalletType | WalletType | ||
WalletSubtype | WalletSubtype | ||
VaultId | string | The ID of the owning vault. You can call List all vaults to retrieve all vault IDs under your organization. | |
ExchangeId | ExchangeId | ||
Apikey | string | The API key of your exchange account. | |
Secret | string | The API secret of your exchange account. | |
Passphrase | Pointer to string | The passphrase of your exchange account. | [optional] |
Memo | Pointer to string | The memo you use when applying for the API key of your exchange account. | [optional] |
AccountIdentify | Pointer to string | The identifier of your exchange account. - For Binance, this is email address of your exchange account. - For OKX, this is the user name of your exchange account. | [optional] |
GaCode | Pointer to string | The GA code for the exchange. | [optional] |
MainWalletId | Pointer to string | The ID of the Exchange Wallet (Main Account). | [optional] |
func NewCreateWalletParams(name string, walletType WalletType, walletSubtype WalletSubtype, vaultId string, exchangeId ExchangeId, apikey string, secret string, ) *CreateWalletParams
NewCreateWalletParams instantiates a new CreateWalletParams 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 NewCreateWalletParamsWithDefaults() *CreateWalletParams
NewCreateWalletParamsWithDefaults instantiates a new CreateWalletParams 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 *CreateWalletParams) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateWalletParams) 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 *CreateWalletParams) SetName(v string)
SetName sets Name field to given value.
func (o *CreateWalletParams) GetWalletType() WalletType
GetWalletType returns the WalletType field if non-nil, zero value otherwise.
func (o *CreateWalletParams) 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 *CreateWalletParams) SetWalletType(v WalletType)
SetWalletType sets WalletType field to given value.
func (o *CreateWalletParams) GetWalletSubtype() WalletSubtype
GetWalletSubtype returns the WalletSubtype field if non-nil, zero value otherwise.
func (o *CreateWalletParams) 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 *CreateWalletParams) SetWalletSubtype(v WalletSubtype)
SetWalletSubtype sets WalletSubtype field to given value.
func (o *CreateWalletParams) GetVaultId() string
GetVaultId returns the VaultId field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetVaultIdOk() (*string, bool)
GetVaultIdOk returns a tuple with the VaultId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetVaultId(v string)
SetVaultId sets VaultId field to given value.
func (o *CreateWalletParams) GetExchangeId() ExchangeId
GetExchangeId returns the ExchangeId field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetExchangeIdOk() (*ExchangeId, bool)
GetExchangeIdOk returns a tuple with the ExchangeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetExchangeId(v ExchangeId)
SetExchangeId sets ExchangeId field to given value.
func (o *CreateWalletParams) GetApikey() string
GetApikey returns the Apikey field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetApikeyOk() (*string, bool)
GetApikeyOk returns a tuple with the Apikey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetApikey(v string)
SetApikey sets Apikey field to given value.
func (o *CreateWalletParams) GetSecret() string
GetSecret returns the Secret field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetSecretOk() (*string, bool)
GetSecretOk returns a tuple with the Secret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetSecret(v string)
SetSecret sets Secret field to given value.
func (o *CreateWalletParams) GetPassphrase() string
GetPassphrase returns the Passphrase field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetPassphraseOk() (*string, bool)
GetPassphraseOk returns a tuple with the Passphrase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetPassphrase(v string)
SetPassphrase sets Passphrase field to given value.
func (o *CreateWalletParams) HasPassphrase() bool
HasPassphrase returns a boolean if a field has been set.
func (o *CreateWalletParams) GetMemo() string
GetMemo returns the Memo field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetMemoOk() (*string, bool)
GetMemoOk returns a tuple with the Memo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetMemo(v string)
SetMemo sets Memo field to given value.
func (o *CreateWalletParams) HasMemo() bool
HasMemo returns a boolean if a field has been set.
func (o *CreateWalletParams) GetAccountIdentify() string
GetAccountIdentify returns the AccountIdentify field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetAccountIdentifyOk() (*string, bool)
GetAccountIdentifyOk returns a tuple with the AccountIdentify field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetAccountIdentify(v string)
SetAccountIdentify sets AccountIdentify field to given value.
func (o *CreateWalletParams) HasAccountIdentify() bool
HasAccountIdentify returns a boolean if a field has been set.
func (o *CreateWalletParams) GetGaCode() string
GetGaCode returns the GaCode field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetGaCodeOk() (*string, bool)
GetGaCodeOk returns a tuple with the GaCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetGaCode(v string)
SetGaCode sets GaCode field to given value.
func (o *CreateWalletParams) HasGaCode() bool
HasGaCode returns a boolean if a field has been set.
func (o *CreateWalletParams) GetMainWalletId() string
GetMainWalletId returns the MainWalletId field if non-nil, zero value otherwise.
func (o *CreateWalletParams) GetMainWalletIdOk() (*string, bool)
GetMainWalletIdOk returns a tuple with the MainWalletId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateWalletParams) SetMainWalletId(v string)
SetMainWalletId sets MainWalletId field to given value.
func (o *CreateWalletParams) HasMainWalletId() bool
HasMainWalletId returns a boolean if a field has been set.