Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UserCancelWithdrawal(params *UserCancelWithdrawalParams) (*UserCancelWithdrawalOK, error)
- func (a *Client) UserCheckReferralCode(params *UserCheckReferralCodeParams) (*UserCheckReferralCodeOK, error)
- func (a *Client) UserConfirm(params *UserConfirmParams) (*UserConfirmOK, error)
- func (a *Client) UserConfirmEnableTFA(params *UserConfirmEnableTFAParams, authInfo runtime.ClientAuthInfoWriter) (*UserConfirmEnableTFAOK, error)
- func (a *Client) UserConfirmWithdrawal(params *UserConfirmWithdrawalParams) (*UserConfirmWithdrawalOK, error)
- func (a *Client) UserDisableTFA(params *UserDisableTFAParams, authInfo runtime.ClientAuthInfoWriter) (*UserDisableTFAOK, error)
- func (a *Client) UserGet(params *UserGetParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetOK, error)
- func (a *Client) UserGetAffiliateStatus(params *UserGetAffiliateStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetAffiliateStatusOK, error)
- func (a *Client) UserGetCommission(params *UserGetCommissionParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetCommissionOK, error)
- func (a *Client) UserGetDepositAddress(params *UserGetDepositAddressParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetDepositAddressOK, error)
- func (a *Client) UserGetMargin(params *UserGetMarginParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetMarginOK, error)
- func (a *Client) UserGetWallet(params *UserGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetWalletOK, error)
- func (a *Client) UserGetWalletHistory(params *UserGetWalletHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetWalletHistoryOK, error)
- func (a *Client) UserGetWalletSummary(params *UserGetWalletSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetWalletSummaryOK, error)
- func (a *Client) UserLogout(params *UserLogoutParams) (*UserLogoutOK, error)
- func (a *Client) UserLogoutAll(params *UserLogoutAllParams, authInfo runtime.ClientAuthInfoWriter) (*UserLogoutAllOK, error)
- func (a *Client) UserMinWithdrawalFee(params *UserMinWithdrawalFeeParams) (*UserMinWithdrawalFeeOK, error)
- func (a *Client) UserRequestEnableTFA(params *UserRequestEnableTFAParams, authInfo runtime.ClientAuthInfoWriter) (*UserRequestEnableTFAOK, error)
- func (a *Client) UserRequestWithdrawal(params *UserRequestWithdrawalParams, authInfo runtime.ClientAuthInfoWriter) (*UserRequestWithdrawalOK, error)
- func (a *Client) UserSavePreferences(params *UserSavePreferencesParams, authInfo runtime.ClientAuthInfoWriter) (*UserSavePreferencesOK, error)
- func (a *Client) UserUpdate(params *UserUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*UserUpdateOK, error)
- type UserCancelWithdrawalOK
- type UserCancelWithdrawalParams
- func NewUserCancelWithdrawalParams() *UserCancelWithdrawalParams
- func NewUserCancelWithdrawalParamsWithContext(ctx context.Context) *UserCancelWithdrawalParams
- func NewUserCancelWithdrawalParamsWithHTTPClient(client *http.Client) *UserCancelWithdrawalParams
- func NewUserCancelWithdrawalParamsWithTimeout(timeout time.Duration) *UserCancelWithdrawalParams
- func (o *UserCancelWithdrawalParams) SetContext(ctx context.Context)
- func (o *UserCancelWithdrawalParams) SetHTTPClient(client *http.Client)
- func (o *UserCancelWithdrawalParams) SetTimeout(timeout time.Duration)
- func (o *UserCancelWithdrawalParams) SetToken(token string)
- func (o *UserCancelWithdrawalParams) WithContext(ctx context.Context) *UserCancelWithdrawalParams
- func (o *UserCancelWithdrawalParams) WithHTTPClient(client *http.Client) *UserCancelWithdrawalParams
- func (o *UserCancelWithdrawalParams) WithTimeout(timeout time.Duration) *UserCancelWithdrawalParams
- func (o *UserCancelWithdrawalParams) WithToken(token string) *UserCancelWithdrawalParams
- func (o *UserCancelWithdrawalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserCancelWithdrawalReader
- type UserCheckReferralCodeOK
- type UserCheckReferralCodeParams
- func NewUserCheckReferralCodeParams() *UserCheckReferralCodeParams
- func NewUserCheckReferralCodeParamsWithContext(ctx context.Context) *UserCheckReferralCodeParams
- func NewUserCheckReferralCodeParamsWithHTTPClient(client *http.Client) *UserCheckReferralCodeParams
- func NewUserCheckReferralCodeParamsWithTimeout(timeout time.Duration) *UserCheckReferralCodeParams
- func (o *UserCheckReferralCodeParams) SetContext(ctx context.Context)
- func (o *UserCheckReferralCodeParams) SetHTTPClient(client *http.Client)
- func (o *UserCheckReferralCodeParams) SetReferralCode(referralCode *string)
- func (o *UserCheckReferralCodeParams) SetTimeout(timeout time.Duration)
- func (o *UserCheckReferralCodeParams) WithContext(ctx context.Context) *UserCheckReferralCodeParams
- func (o *UserCheckReferralCodeParams) WithHTTPClient(client *http.Client) *UserCheckReferralCodeParams
- func (o *UserCheckReferralCodeParams) WithReferralCode(referralCode *string) *UserCheckReferralCodeParams
- func (o *UserCheckReferralCodeParams) WithTimeout(timeout time.Duration) *UserCheckReferralCodeParams
- func (o *UserCheckReferralCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserCheckReferralCodeReader
- type UserConfirmEnableTFAOK
- type UserConfirmEnableTFAParams
- func NewUserConfirmEnableTFAParams() *UserConfirmEnableTFAParams
- func NewUserConfirmEnableTFAParamsWithContext(ctx context.Context) *UserConfirmEnableTFAParams
- func NewUserConfirmEnableTFAParamsWithHTTPClient(client *http.Client) *UserConfirmEnableTFAParams
- func NewUserConfirmEnableTFAParamsWithTimeout(timeout time.Duration) *UserConfirmEnableTFAParams
- func (o *UserConfirmEnableTFAParams) SetContext(ctx context.Context)
- func (o *UserConfirmEnableTFAParams) SetHTTPClient(client *http.Client)
- func (o *UserConfirmEnableTFAParams) SetTimeout(timeout time.Duration)
- func (o *UserConfirmEnableTFAParams) SetToken(token string)
- func (o *UserConfirmEnableTFAParams) SetType(typeVar *string)
- func (o *UserConfirmEnableTFAParams) WithContext(ctx context.Context) *UserConfirmEnableTFAParams
- func (o *UserConfirmEnableTFAParams) WithHTTPClient(client *http.Client) *UserConfirmEnableTFAParams
- func (o *UserConfirmEnableTFAParams) WithTimeout(timeout time.Duration) *UserConfirmEnableTFAParams
- func (o *UserConfirmEnableTFAParams) WithToken(token string) *UserConfirmEnableTFAParams
- func (o *UserConfirmEnableTFAParams) WithType(typeVar *string) *UserConfirmEnableTFAParams
- func (o *UserConfirmEnableTFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserConfirmEnableTFAReader
- type UserConfirmOK
- type UserConfirmParams
- func (o *UserConfirmParams) SetContext(ctx context.Context)
- func (o *UserConfirmParams) SetHTTPClient(client *http.Client)
- func (o *UserConfirmParams) SetTimeout(timeout time.Duration)
- func (o *UserConfirmParams) SetToken(token string)
- func (o *UserConfirmParams) WithContext(ctx context.Context) *UserConfirmParams
- func (o *UserConfirmParams) WithHTTPClient(client *http.Client) *UserConfirmParams
- func (o *UserConfirmParams) WithTimeout(timeout time.Duration) *UserConfirmParams
- func (o *UserConfirmParams) WithToken(token string) *UserConfirmParams
- func (o *UserConfirmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserConfirmReader
- type UserConfirmWithdrawalOK
- type UserConfirmWithdrawalParams
- func NewUserConfirmWithdrawalParams() *UserConfirmWithdrawalParams
- func NewUserConfirmWithdrawalParamsWithContext(ctx context.Context) *UserConfirmWithdrawalParams
- func NewUserConfirmWithdrawalParamsWithHTTPClient(client *http.Client) *UserConfirmWithdrawalParams
- func NewUserConfirmWithdrawalParamsWithTimeout(timeout time.Duration) *UserConfirmWithdrawalParams
- func (o *UserConfirmWithdrawalParams) SetContext(ctx context.Context)
- func (o *UserConfirmWithdrawalParams) SetHTTPClient(client *http.Client)
- func (o *UserConfirmWithdrawalParams) SetTimeout(timeout time.Duration)
- func (o *UserConfirmWithdrawalParams) SetToken(token string)
- func (o *UserConfirmWithdrawalParams) WithContext(ctx context.Context) *UserConfirmWithdrawalParams
- func (o *UserConfirmWithdrawalParams) WithHTTPClient(client *http.Client) *UserConfirmWithdrawalParams
- func (o *UserConfirmWithdrawalParams) WithTimeout(timeout time.Duration) *UserConfirmWithdrawalParams
- func (o *UserConfirmWithdrawalParams) WithToken(token string) *UserConfirmWithdrawalParams
- func (o *UserConfirmWithdrawalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserConfirmWithdrawalReader
- type UserDisableTFAOK
- type UserDisableTFAParams
- func NewUserDisableTFAParams() *UserDisableTFAParams
- func NewUserDisableTFAParamsWithContext(ctx context.Context) *UserDisableTFAParams
- func NewUserDisableTFAParamsWithHTTPClient(client *http.Client) *UserDisableTFAParams
- func NewUserDisableTFAParamsWithTimeout(timeout time.Duration) *UserDisableTFAParams
- func (o *UserDisableTFAParams) SetContext(ctx context.Context)
- func (o *UserDisableTFAParams) SetHTTPClient(client *http.Client)
- func (o *UserDisableTFAParams) SetTimeout(timeout time.Duration)
- func (o *UserDisableTFAParams) SetToken(token string)
- func (o *UserDisableTFAParams) SetType(typeVar *string)
- func (o *UserDisableTFAParams) WithContext(ctx context.Context) *UserDisableTFAParams
- func (o *UserDisableTFAParams) WithHTTPClient(client *http.Client) *UserDisableTFAParams
- func (o *UserDisableTFAParams) WithTimeout(timeout time.Duration) *UserDisableTFAParams
- func (o *UserDisableTFAParams) WithToken(token string) *UserDisableTFAParams
- func (o *UserDisableTFAParams) WithType(typeVar *string) *UserDisableTFAParams
- func (o *UserDisableTFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserDisableTFAReader
- type UserGetAffiliateStatusOK
- type UserGetAffiliateStatusParams
- func NewUserGetAffiliateStatusParams() *UserGetAffiliateStatusParams
- func NewUserGetAffiliateStatusParamsWithContext(ctx context.Context) *UserGetAffiliateStatusParams
- func NewUserGetAffiliateStatusParamsWithHTTPClient(client *http.Client) *UserGetAffiliateStatusParams
- func NewUserGetAffiliateStatusParamsWithTimeout(timeout time.Duration) *UserGetAffiliateStatusParams
- func (o *UserGetAffiliateStatusParams) SetContext(ctx context.Context)
- func (o *UserGetAffiliateStatusParams) SetHTTPClient(client *http.Client)
- func (o *UserGetAffiliateStatusParams) SetTimeout(timeout time.Duration)
- func (o *UserGetAffiliateStatusParams) WithContext(ctx context.Context) *UserGetAffiliateStatusParams
- func (o *UserGetAffiliateStatusParams) WithHTTPClient(client *http.Client) *UserGetAffiliateStatusParams
- func (o *UserGetAffiliateStatusParams) WithTimeout(timeout time.Duration) *UserGetAffiliateStatusParams
- func (o *UserGetAffiliateStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetAffiliateStatusReader
- type UserGetCommissionOK
- type UserGetCommissionParams
- func NewUserGetCommissionParams() *UserGetCommissionParams
- func NewUserGetCommissionParamsWithContext(ctx context.Context) *UserGetCommissionParams
- func NewUserGetCommissionParamsWithHTTPClient(client *http.Client) *UserGetCommissionParams
- func NewUserGetCommissionParamsWithTimeout(timeout time.Duration) *UserGetCommissionParams
- func (o *UserGetCommissionParams) SetContext(ctx context.Context)
- func (o *UserGetCommissionParams) SetHTTPClient(client *http.Client)
- func (o *UserGetCommissionParams) SetTimeout(timeout time.Duration)
- func (o *UserGetCommissionParams) WithContext(ctx context.Context) *UserGetCommissionParams
- func (o *UserGetCommissionParams) WithHTTPClient(client *http.Client) *UserGetCommissionParams
- func (o *UserGetCommissionParams) WithTimeout(timeout time.Duration) *UserGetCommissionParams
- func (o *UserGetCommissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetCommissionReader
- type UserGetDepositAddressOK
- type UserGetDepositAddressParams
- func NewUserGetDepositAddressParams() *UserGetDepositAddressParams
- func NewUserGetDepositAddressParamsWithContext(ctx context.Context) *UserGetDepositAddressParams
- func NewUserGetDepositAddressParamsWithHTTPClient(client *http.Client) *UserGetDepositAddressParams
- func NewUserGetDepositAddressParamsWithTimeout(timeout time.Duration) *UserGetDepositAddressParams
- func (o *UserGetDepositAddressParams) SetContext(ctx context.Context)
- func (o *UserGetDepositAddressParams) SetCurrency(currency *string)
- func (o *UserGetDepositAddressParams) SetHTTPClient(client *http.Client)
- func (o *UserGetDepositAddressParams) SetTimeout(timeout time.Duration)
- func (o *UserGetDepositAddressParams) WithContext(ctx context.Context) *UserGetDepositAddressParams
- func (o *UserGetDepositAddressParams) WithCurrency(currency *string) *UserGetDepositAddressParams
- func (o *UserGetDepositAddressParams) WithHTTPClient(client *http.Client) *UserGetDepositAddressParams
- func (o *UserGetDepositAddressParams) WithTimeout(timeout time.Duration) *UserGetDepositAddressParams
- func (o *UserGetDepositAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetDepositAddressReader
- type UserGetMarginOK
- type UserGetMarginParams
- func (o *UserGetMarginParams) SetContext(ctx context.Context)
- func (o *UserGetMarginParams) SetCurrency(currency *string)
- func (o *UserGetMarginParams) SetHTTPClient(client *http.Client)
- func (o *UserGetMarginParams) SetTimeout(timeout time.Duration)
- func (o *UserGetMarginParams) WithContext(ctx context.Context) *UserGetMarginParams
- func (o *UserGetMarginParams) WithCurrency(currency *string) *UserGetMarginParams
- func (o *UserGetMarginParams) WithHTTPClient(client *http.Client) *UserGetMarginParams
- func (o *UserGetMarginParams) WithTimeout(timeout time.Duration) *UserGetMarginParams
- func (o *UserGetMarginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetMarginReader
- type UserGetOK
- type UserGetParams
- func (o *UserGetParams) SetContext(ctx context.Context)
- func (o *UserGetParams) SetHTTPClient(client *http.Client)
- func (o *UserGetParams) SetTimeout(timeout time.Duration)
- func (o *UserGetParams) WithContext(ctx context.Context) *UserGetParams
- func (o *UserGetParams) WithHTTPClient(client *http.Client) *UserGetParams
- func (o *UserGetParams) WithTimeout(timeout time.Duration) *UserGetParams
- func (o *UserGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetReader
- type UserGetWalletHistoryOK
- type UserGetWalletHistoryParams
- func NewUserGetWalletHistoryParams() *UserGetWalletHistoryParams
- func NewUserGetWalletHistoryParamsWithContext(ctx context.Context) *UserGetWalletHistoryParams
- func NewUserGetWalletHistoryParamsWithHTTPClient(client *http.Client) *UserGetWalletHistoryParams
- func NewUserGetWalletHistoryParamsWithTimeout(timeout time.Duration) *UserGetWalletHistoryParams
- func (o *UserGetWalletHistoryParams) SetContext(ctx context.Context)
- func (o *UserGetWalletHistoryParams) SetCurrency(currency *string)
- func (o *UserGetWalletHistoryParams) SetHTTPClient(client *http.Client)
- func (o *UserGetWalletHistoryParams) SetTimeout(timeout time.Duration)
- func (o *UserGetWalletHistoryParams) WithContext(ctx context.Context) *UserGetWalletHistoryParams
- func (o *UserGetWalletHistoryParams) WithCurrency(currency *string) *UserGetWalletHistoryParams
- func (o *UserGetWalletHistoryParams) WithHTTPClient(client *http.Client) *UserGetWalletHistoryParams
- func (o *UserGetWalletHistoryParams) WithTimeout(timeout time.Duration) *UserGetWalletHistoryParams
- func (o *UserGetWalletHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetWalletHistoryReader
- type UserGetWalletOK
- type UserGetWalletParams
- func (o *UserGetWalletParams) SetContext(ctx context.Context)
- func (o *UserGetWalletParams) SetCurrency(currency *string)
- func (o *UserGetWalletParams) SetHTTPClient(client *http.Client)
- func (o *UserGetWalletParams) SetTimeout(timeout time.Duration)
- func (o *UserGetWalletParams) WithContext(ctx context.Context) *UserGetWalletParams
- func (o *UserGetWalletParams) WithCurrency(currency *string) *UserGetWalletParams
- func (o *UserGetWalletParams) WithHTTPClient(client *http.Client) *UserGetWalletParams
- func (o *UserGetWalletParams) WithTimeout(timeout time.Duration) *UserGetWalletParams
- func (o *UserGetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetWalletReader
- type UserGetWalletSummaryOK
- type UserGetWalletSummaryParams
- func NewUserGetWalletSummaryParams() *UserGetWalletSummaryParams
- func NewUserGetWalletSummaryParamsWithContext(ctx context.Context) *UserGetWalletSummaryParams
- func NewUserGetWalletSummaryParamsWithHTTPClient(client *http.Client) *UserGetWalletSummaryParams
- func NewUserGetWalletSummaryParamsWithTimeout(timeout time.Duration) *UserGetWalletSummaryParams
- func (o *UserGetWalletSummaryParams) SetContext(ctx context.Context)
- func (o *UserGetWalletSummaryParams) SetCurrency(currency *string)
- func (o *UserGetWalletSummaryParams) SetHTTPClient(client *http.Client)
- func (o *UserGetWalletSummaryParams) SetTimeout(timeout time.Duration)
- func (o *UserGetWalletSummaryParams) WithContext(ctx context.Context) *UserGetWalletSummaryParams
- func (o *UserGetWalletSummaryParams) WithCurrency(currency *string) *UserGetWalletSummaryParams
- func (o *UserGetWalletSummaryParams) WithHTTPClient(client *http.Client) *UserGetWalletSummaryParams
- func (o *UserGetWalletSummaryParams) WithTimeout(timeout time.Duration) *UserGetWalletSummaryParams
- func (o *UserGetWalletSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetWalletSummaryReader
- type UserLogoutAllOK
- type UserLogoutAllParams
- func (o *UserLogoutAllParams) SetContext(ctx context.Context)
- func (o *UserLogoutAllParams) SetHTTPClient(client *http.Client)
- func (o *UserLogoutAllParams) SetTimeout(timeout time.Duration)
- func (o *UserLogoutAllParams) WithContext(ctx context.Context) *UserLogoutAllParams
- func (o *UserLogoutAllParams) WithHTTPClient(client *http.Client) *UserLogoutAllParams
- func (o *UserLogoutAllParams) WithTimeout(timeout time.Duration) *UserLogoutAllParams
- func (o *UserLogoutAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserLogoutAllReader
- type UserLogoutOK
- type UserLogoutParams
- func (o *UserLogoutParams) SetContext(ctx context.Context)
- func (o *UserLogoutParams) SetHTTPClient(client *http.Client)
- func (o *UserLogoutParams) SetTimeout(timeout time.Duration)
- func (o *UserLogoutParams) WithContext(ctx context.Context) *UserLogoutParams
- func (o *UserLogoutParams) WithHTTPClient(client *http.Client) *UserLogoutParams
- func (o *UserLogoutParams) WithTimeout(timeout time.Duration) *UserLogoutParams
- func (o *UserLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserLogoutReader
- type UserMinWithdrawalFeeOK
- type UserMinWithdrawalFeeParams
- func NewUserMinWithdrawalFeeParams() *UserMinWithdrawalFeeParams
- func NewUserMinWithdrawalFeeParamsWithContext(ctx context.Context) *UserMinWithdrawalFeeParams
- func NewUserMinWithdrawalFeeParamsWithHTTPClient(client *http.Client) *UserMinWithdrawalFeeParams
- func NewUserMinWithdrawalFeeParamsWithTimeout(timeout time.Duration) *UserMinWithdrawalFeeParams
- func (o *UserMinWithdrawalFeeParams) SetContext(ctx context.Context)
- func (o *UserMinWithdrawalFeeParams) SetCurrency(currency *string)
- func (o *UserMinWithdrawalFeeParams) SetHTTPClient(client *http.Client)
- func (o *UserMinWithdrawalFeeParams) SetTimeout(timeout time.Duration)
- func (o *UserMinWithdrawalFeeParams) WithContext(ctx context.Context) *UserMinWithdrawalFeeParams
- func (o *UserMinWithdrawalFeeParams) WithCurrency(currency *string) *UserMinWithdrawalFeeParams
- func (o *UserMinWithdrawalFeeParams) WithHTTPClient(client *http.Client) *UserMinWithdrawalFeeParams
- func (o *UserMinWithdrawalFeeParams) WithTimeout(timeout time.Duration) *UserMinWithdrawalFeeParams
- func (o *UserMinWithdrawalFeeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserMinWithdrawalFeeReader
- type UserRequestEnableTFAOK
- type UserRequestEnableTFAParams
- func NewUserRequestEnableTFAParams() *UserRequestEnableTFAParams
- func NewUserRequestEnableTFAParamsWithContext(ctx context.Context) *UserRequestEnableTFAParams
- func NewUserRequestEnableTFAParamsWithHTTPClient(client *http.Client) *UserRequestEnableTFAParams
- func NewUserRequestEnableTFAParamsWithTimeout(timeout time.Duration) *UserRequestEnableTFAParams
- func (o *UserRequestEnableTFAParams) SetContext(ctx context.Context)
- func (o *UserRequestEnableTFAParams) SetHTTPClient(client *http.Client)
- func (o *UserRequestEnableTFAParams) SetTimeout(timeout time.Duration)
- func (o *UserRequestEnableTFAParams) SetType(typeVar *string)
- func (o *UserRequestEnableTFAParams) WithContext(ctx context.Context) *UserRequestEnableTFAParams
- func (o *UserRequestEnableTFAParams) WithHTTPClient(client *http.Client) *UserRequestEnableTFAParams
- func (o *UserRequestEnableTFAParams) WithTimeout(timeout time.Duration) *UserRequestEnableTFAParams
- func (o *UserRequestEnableTFAParams) WithType(typeVar *string) *UserRequestEnableTFAParams
- func (o *UserRequestEnableTFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserRequestEnableTFAReader
- type UserRequestWithdrawalOK
- type UserRequestWithdrawalParams
- func NewUserRequestWithdrawalParams() *UserRequestWithdrawalParams
- func NewUserRequestWithdrawalParamsWithContext(ctx context.Context) *UserRequestWithdrawalParams
- func NewUserRequestWithdrawalParamsWithHTTPClient(client *http.Client) *UserRequestWithdrawalParams
- func NewUserRequestWithdrawalParamsWithTimeout(timeout time.Duration) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) SetAddress(address string)
- func (o *UserRequestWithdrawalParams) SetAmount(amount int64)
- func (o *UserRequestWithdrawalParams) SetContext(ctx context.Context)
- func (o *UserRequestWithdrawalParams) SetCurrency(currency string)
- func (o *UserRequestWithdrawalParams) SetFee(fee *float64)
- func (o *UserRequestWithdrawalParams) SetHTTPClient(client *http.Client)
- func (o *UserRequestWithdrawalParams) SetOtpToken(otpToken *string)
- func (o *UserRequestWithdrawalParams) SetTimeout(timeout time.Duration)
- func (o *UserRequestWithdrawalParams) WithAddress(address string) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) WithAmount(amount int64) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) WithContext(ctx context.Context) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) WithCurrency(currency string) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) WithFee(fee *float64) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) WithHTTPClient(client *http.Client) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) WithOtpToken(otpToken *string) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) WithTimeout(timeout time.Duration) *UserRequestWithdrawalParams
- func (o *UserRequestWithdrawalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserRequestWithdrawalReader
- type UserSavePreferencesOK
- type UserSavePreferencesParams
- func NewUserSavePreferencesParams() *UserSavePreferencesParams
- func NewUserSavePreferencesParamsWithContext(ctx context.Context) *UserSavePreferencesParams
- func NewUserSavePreferencesParamsWithHTTPClient(client *http.Client) *UserSavePreferencesParams
- func NewUserSavePreferencesParamsWithTimeout(timeout time.Duration) *UserSavePreferencesParams
- func (o *UserSavePreferencesParams) SetContext(ctx context.Context)
- func (o *UserSavePreferencesParams) SetHTTPClient(client *http.Client)
- func (o *UserSavePreferencesParams) SetOverwrite(overwrite *bool)
- func (o *UserSavePreferencesParams) SetPrefs(prefs string)
- func (o *UserSavePreferencesParams) SetTimeout(timeout time.Duration)
- func (o *UserSavePreferencesParams) WithContext(ctx context.Context) *UserSavePreferencesParams
- func (o *UserSavePreferencesParams) WithHTTPClient(client *http.Client) *UserSavePreferencesParams
- func (o *UserSavePreferencesParams) WithOverwrite(overwrite *bool) *UserSavePreferencesParams
- func (o *UserSavePreferencesParams) WithPrefs(prefs string) *UserSavePreferencesParams
- func (o *UserSavePreferencesParams) WithTimeout(timeout time.Duration) *UserSavePreferencesParams
- func (o *UserSavePreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserSavePreferencesReader
- type UserUpdateOK
- type UserUpdateParams
- func (o *UserUpdateParams) SetContext(ctx context.Context)
- func (o *UserUpdateParams) SetCountry(country *string)
- func (o *UserUpdateParams) SetFirstname(firstname *string)
- func (o *UserUpdateParams) SetHTTPClient(client *http.Client)
- func (o *UserUpdateParams) SetLastname(lastname *string)
- func (o *UserUpdateParams) SetNewPassword(newPassword *string)
- func (o *UserUpdateParams) SetNewPasswordConfirm(newPasswordConfirm *string)
- func (o *UserUpdateParams) SetOldPassword(oldPassword *string)
- func (o *UserUpdateParams) SetPgpPubKey(pgpPubKey *string)
- func (o *UserUpdateParams) SetTimeout(timeout time.Duration)
- func (o *UserUpdateParams) SetUsername(username *string)
- func (o *UserUpdateParams) WithContext(ctx context.Context) *UserUpdateParams
- func (o *UserUpdateParams) WithCountry(country *string) *UserUpdateParams
- func (o *UserUpdateParams) WithFirstname(firstname *string) *UserUpdateParams
- func (o *UserUpdateParams) WithHTTPClient(client *http.Client) *UserUpdateParams
- func (o *UserUpdateParams) WithLastname(lastname *string) *UserUpdateParams
- func (o *UserUpdateParams) WithNewPassword(newPassword *string) *UserUpdateParams
- func (o *UserUpdateParams) WithNewPasswordConfirm(newPasswordConfirm *string) *UserUpdateParams
- func (o *UserUpdateParams) WithOldPassword(oldPassword *string) *UserUpdateParams
- func (o *UserUpdateParams) WithPgpPubKey(pgpPubKey *string) *UserUpdateParams
- func (o *UserUpdateParams) WithTimeout(timeout time.Duration) *UserUpdateParams
- func (o *UserUpdateParams) WithUsername(username *string) *UserUpdateParams
- func (o *UserUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserUpdateReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new user API client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UserCancelWithdrawal ¶
func (a *Client) UserCancelWithdrawal(params *UserCancelWithdrawalParams) (*UserCancelWithdrawalOK, error)
UserCancelWithdrawal cancels a withdrawal
func (*Client) UserCheckReferralCode ¶
func (a *Client) UserCheckReferralCode(params *UserCheckReferralCodeParams) (*UserCheckReferralCodeOK, error)
UserCheckReferralCode checks if a referral code is valid
If the code is valid, responds with the referral code's discount (e.g. `0.1` for 10%). Otherwise, will return a 404.
func (*Client) UserConfirm ¶
func (a *Client) UserConfirm(params *UserConfirmParams) (*UserConfirmOK, error)
UserConfirm confirms your email address with a token
func (*Client) UserConfirmEnableTFA ¶
func (a *Client) UserConfirmEnableTFA(params *UserConfirmEnableTFAParams, authInfo runtime.ClientAuthInfoWriter) (*UserConfirmEnableTFAOK, error)
UserConfirmEnableTFA confirms two factor auth for this account if using a yubikey simply send a token to this endpoint
func (*Client) UserConfirmWithdrawal ¶
func (a *Client) UserConfirmWithdrawal(params *UserConfirmWithdrawalParams) (*UserConfirmWithdrawalOK, error)
UserConfirmWithdrawal confirms a withdrawal
func (*Client) UserDisableTFA ¶
func (a *Client) UserDisableTFA(params *UserDisableTFAParams, authInfo runtime.ClientAuthInfoWriter) (*UserDisableTFAOK, error)
UserDisableTFA disables two factor auth for this account
func (*Client) UserGet ¶
func (a *Client) UserGet(params *UserGetParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetOK, error)
UserGet gets your user model
func (*Client) UserGetAffiliateStatus ¶
func (a *Client) UserGetAffiliateStatus(params *UserGetAffiliateStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetAffiliateStatusOK, error)
UserGetAffiliateStatus gets your current affiliate referral status
func (*Client) UserGetCommission ¶
func (a *Client) UserGetCommission(params *UserGetCommissionParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetCommissionOK, error)
UserGetCommission gets your account s commission status
func (*Client) UserGetDepositAddress ¶
func (a *Client) UserGetDepositAddress(params *UserGetDepositAddressParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetDepositAddressOK, error)
UserGetDepositAddress gets a deposit address
func (*Client) UserGetMargin ¶
func (a *Client) UserGetMargin(params *UserGetMarginParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetMarginOK, error)
UserGetMargin gets your account s margin status send a currency of all to receive an array of all supported currencies
func (*Client) UserGetWallet ¶
func (a *Client) UserGetWallet(params *UserGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetWalletOK, error)
UserGetWallet gets your current wallet information
func (*Client) UserGetWalletHistory ¶
func (a *Client) UserGetWalletHistory(params *UserGetWalletHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetWalletHistoryOK, error)
UserGetWalletHistory gets a history of all of your wallet transactions deposits withdrawals p n l
func (*Client) UserGetWalletSummary ¶
func (a *Client) UserGetWalletSummary(params *UserGetWalletSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetWalletSummaryOK, error)
UserGetWalletSummary gets a summary of all of your wallet transactions deposits withdrawals p n l
func (*Client) UserLogout ¶
func (a *Client) UserLogout(params *UserLogoutParams) (*UserLogoutOK, error)
UserLogout logs out of bit m e x
func (*Client) UserLogoutAll ¶
func (a *Client) UserLogoutAll(params *UserLogoutAllParams, authInfo runtime.ClientAuthInfoWriter) (*UserLogoutAllOK, error)
UserLogoutAll logs all systems out of bit m e x this will revoke all of your account s access tokens logging you out on all devices
func (*Client) UserMinWithdrawalFee ¶
func (a *Client) UserMinWithdrawalFee(params *UserMinWithdrawalFeeParams) (*UserMinWithdrawalFeeOK, error)
UserMinWithdrawalFee gets the minimum withdrawal fee for a currency
This is changed based on network conditions to ensure timely withdrawals. During network congestion, this may be high. The fee is returned in the same currency.
func (*Client) UserRequestEnableTFA ¶
func (a *Client) UserRequestEnableTFA(params *UserRequestEnableTFAParams, authInfo runtime.ClientAuthInfoWriter) (*UserRequestEnableTFAOK, error)
UserRequestEnableTFA gets secret key for setting up two factor auth
Use /confirmEnableTFA directly for Yubikeys. This fails if TFA is already enabled.
func (*Client) UserRequestWithdrawal ¶
func (a *Client) UserRequestWithdrawal(params *UserRequestWithdrawalParams, authInfo runtime.ClientAuthInfoWriter) (*UserRequestWithdrawalOK, error)
UserRequestWithdrawal requests a withdrawal to an external wallet
This will send a confirmation email to the email address on record, unless requested via an API Key with the `withdraw` permission.
func (*Client) UserSavePreferences ¶
func (a *Client) UserSavePreferences(params *UserSavePreferencesParams, authInfo runtime.ClientAuthInfoWriter) (*UserSavePreferencesOK, error)
UserSavePreferences saves user preferences
func (*Client) UserUpdate ¶
func (a *Client) UserUpdate(params *UserUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*UserUpdateOK, error)
UserUpdate updates your password name and other attributes
type UserCancelWithdrawalOK ¶
type UserCancelWithdrawalOK struct {
Payload *models.Transaction
}
UserCancelWithdrawalOK handles this case with default header values.
Request was successful
func NewUserCancelWithdrawalOK ¶
func NewUserCancelWithdrawalOK() *UserCancelWithdrawalOK
NewUserCancelWithdrawalOK creates a UserCancelWithdrawalOK with default headers values
func (*UserCancelWithdrawalOK) Error ¶
func (o *UserCancelWithdrawalOK) Error() string
type UserCancelWithdrawalParams ¶
type UserCancelWithdrawalParams struct { /*Token*/ Token string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserCancelWithdrawalParams contains all the parameters to send to the API endpoint for the user cancel withdrawal operation typically these are written to a http.Request
func NewUserCancelWithdrawalParams ¶
func NewUserCancelWithdrawalParams() *UserCancelWithdrawalParams
NewUserCancelWithdrawalParams creates a new UserCancelWithdrawalParams object with the default values initialized.
func NewUserCancelWithdrawalParamsWithContext ¶
func NewUserCancelWithdrawalParamsWithContext(ctx context.Context) *UserCancelWithdrawalParams
NewUserCancelWithdrawalParamsWithContext creates a new UserCancelWithdrawalParams object with the default values initialized, and the ability to set a context for a request
func NewUserCancelWithdrawalParamsWithHTTPClient ¶
func NewUserCancelWithdrawalParamsWithHTTPClient(client *http.Client) *UserCancelWithdrawalParams
NewUserCancelWithdrawalParamsWithHTTPClient creates a new UserCancelWithdrawalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserCancelWithdrawalParamsWithTimeout ¶
func NewUserCancelWithdrawalParamsWithTimeout(timeout time.Duration) *UserCancelWithdrawalParams
NewUserCancelWithdrawalParamsWithTimeout creates a new UserCancelWithdrawalParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserCancelWithdrawalParams) SetContext ¶
func (o *UserCancelWithdrawalParams) SetContext(ctx context.Context)
SetContext adds the context to the user cancel withdrawal params
func (*UserCancelWithdrawalParams) SetHTTPClient ¶
func (o *UserCancelWithdrawalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user cancel withdrawal params
func (*UserCancelWithdrawalParams) SetTimeout ¶
func (o *UserCancelWithdrawalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user cancel withdrawal params
func (*UserCancelWithdrawalParams) SetToken ¶
func (o *UserCancelWithdrawalParams) SetToken(token string)
SetToken adds the token to the user cancel withdrawal params
func (*UserCancelWithdrawalParams) WithContext ¶
func (o *UserCancelWithdrawalParams) WithContext(ctx context.Context) *UserCancelWithdrawalParams
WithContext adds the context to the user cancel withdrawal params
func (*UserCancelWithdrawalParams) WithHTTPClient ¶
func (o *UserCancelWithdrawalParams) WithHTTPClient(client *http.Client) *UserCancelWithdrawalParams
WithHTTPClient adds the HTTPClient to the user cancel withdrawal params
func (*UserCancelWithdrawalParams) WithTimeout ¶
func (o *UserCancelWithdrawalParams) WithTimeout(timeout time.Duration) *UserCancelWithdrawalParams
WithTimeout adds the timeout to the user cancel withdrawal params
func (*UserCancelWithdrawalParams) WithToken ¶
func (o *UserCancelWithdrawalParams) WithToken(token string) *UserCancelWithdrawalParams
WithToken adds the token to the user cancel withdrawal params
func (*UserCancelWithdrawalParams) WriteToRequest ¶
func (o *UserCancelWithdrawalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserCancelWithdrawalReader ¶
type UserCancelWithdrawalReader struct {
// contains filtered or unexported fields
}
UserCancelWithdrawalReader is a Reader for the UserCancelWithdrawal structure.
func (*UserCancelWithdrawalReader) ReadResponse ¶
func (o *UserCancelWithdrawalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserCheckReferralCodeOK ¶
type UserCheckReferralCodeOK struct {
Payload float64
}
UserCheckReferralCodeOK handles this case with default header values.
Request was successful
func NewUserCheckReferralCodeOK ¶
func NewUserCheckReferralCodeOK() *UserCheckReferralCodeOK
NewUserCheckReferralCodeOK creates a UserCheckReferralCodeOK with default headers values
func (*UserCheckReferralCodeOK) Error ¶
func (o *UserCheckReferralCodeOK) Error() string
type UserCheckReferralCodeParams ¶
type UserCheckReferralCodeParams struct { /*ReferralCode*/ ReferralCode *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserCheckReferralCodeParams contains all the parameters to send to the API endpoint for the user check referral code operation typically these are written to a http.Request
func NewUserCheckReferralCodeParams ¶
func NewUserCheckReferralCodeParams() *UserCheckReferralCodeParams
NewUserCheckReferralCodeParams creates a new UserCheckReferralCodeParams object with the default values initialized.
func NewUserCheckReferralCodeParamsWithContext ¶
func NewUserCheckReferralCodeParamsWithContext(ctx context.Context) *UserCheckReferralCodeParams
NewUserCheckReferralCodeParamsWithContext creates a new UserCheckReferralCodeParams object with the default values initialized, and the ability to set a context for a request
func NewUserCheckReferralCodeParamsWithHTTPClient ¶
func NewUserCheckReferralCodeParamsWithHTTPClient(client *http.Client) *UserCheckReferralCodeParams
NewUserCheckReferralCodeParamsWithHTTPClient creates a new UserCheckReferralCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserCheckReferralCodeParamsWithTimeout ¶
func NewUserCheckReferralCodeParamsWithTimeout(timeout time.Duration) *UserCheckReferralCodeParams
NewUserCheckReferralCodeParamsWithTimeout creates a new UserCheckReferralCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserCheckReferralCodeParams) SetContext ¶
func (o *UserCheckReferralCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the user check referral code params
func (*UserCheckReferralCodeParams) SetHTTPClient ¶
func (o *UserCheckReferralCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user check referral code params
func (*UserCheckReferralCodeParams) SetReferralCode ¶
func (o *UserCheckReferralCodeParams) SetReferralCode(referralCode *string)
SetReferralCode adds the referralCode to the user check referral code params
func (*UserCheckReferralCodeParams) SetTimeout ¶
func (o *UserCheckReferralCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user check referral code params
func (*UserCheckReferralCodeParams) WithContext ¶
func (o *UserCheckReferralCodeParams) WithContext(ctx context.Context) *UserCheckReferralCodeParams
WithContext adds the context to the user check referral code params
func (*UserCheckReferralCodeParams) WithHTTPClient ¶
func (o *UserCheckReferralCodeParams) WithHTTPClient(client *http.Client) *UserCheckReferralCodeParams
WithHTTPClient adds the HTTPClient to the user check referral code params
func (*UserCheckReferralCodeParams) WithReferralCode ¶
func (o *UserCheckReferralCodeParams) WithReferralCode(referralCode *string) *UserCheckReferralCodeParams
WithReferralCode adds the referralCode to the user check referral code params
func (*UserCheckReferralCodeParams) WithTimeout ¶
func (o *UserCheckReferralCodeParams) WithTimeout(timeout time.Duration) *UserCheckReferralCodeParams
WithTimeout adds the timeout to the user check referral code params
func (*UserCheckReferralCodeParams) WriteToRequest ¶
func (o *UserCheckReferralCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserCheckReferralCodeReader ¶
type UserCheckReferralCodeReader struct {
// contains filtered or unexported fields
}
UserCheckReferralCodeReader is a Reader for the UserCheckReferralCode structure.
func (*UserCheckReferralCodeReader) ReadResponse ¶
func (o *UserCheckReferralCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserConfirmEnableTFAOK ¶
type UserConfirmEnableTFAOK struct {
Payload bool
}
UserConfirmEnableTFAOK handles this case with default header values.
Request was successful
func NewUserConfirmEnableTFAOK ¶
func NewUserConfirmEnableTFAOK() *UserConfirmEnableTFAOK
NewUserConfirmEnableTFAOK creates a UserConfirmEnableTFAOK with default headers values
func (*UserConfirmEnableTFAOK) Error ¶
func (o *UserConfirmEnableTFAOK) Error() string
type UserConfirmEnableTFAParams ¶
type UserConfirmEnableTFAParams struct { /*Token Token from your selected TFA type. */ Token string /*Type Two-factor auth type. Supported types: 'GA' (Google Authenticator), 'Yubikey' */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserConfirmEnableTFAParams contains all the parameters to send to the API endpoint for the user confirm enable t f a operation typically these are written to a http.Request
func NewUserConfirmEnableTFAParams ¶
func NewUserConfirmEnableTFAParams() *UserConfirmEnableTFAParams
NewUserConfirmEnableTFAParams creates a new UserConfirmEnableTFAParams object with the default values initialized.
func NewUserConfirmEnableTFAParamsWithContext ¶
func NewUserConfirmEnableTFAParamsWithContext(ctx context.Context) *UserConfirmEnableTFAParams
NewUserConfirmEnableTFAParamsWithContext creates a new UserConfirmEnableTFAParams object with the default values initialized, and the ability to set a context for a request
func NewUserConfirmEnableTFAParamsWithHTTPClient ¶
func NewUserConfirmEnableTFAParamsWithHTTPClient(client *http.Client) *UserConfirmEnableTFAParams
NewUserConfirmEnableTFAParamsWithHTTPClient creates a new UserConfirmEnableTFAParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserConfirmEnableTFAParamsWithTimeout ¶
func NewUserConfirmEnableTFAParamsWithTimeout(timeout time.Duration) *UserConfirmEnableTFAParams
NewUserConfirmEnableTFAParamsWithTimeout creates a new UserConfirmEnableTFAParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserConfirmEnableTFAParams) SetContext ¶
func (o *UserConfirmEnableTFAParams) SetContext(ctx context.Context)
SetContext adds the context to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) SetHTTPClient ¶
func (o *UserConfirmEnableTFAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) SetTimeout ¶
func (o *UserConfirmEnableTFAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) SetToken ¶
func (o *UserConfirmEnableTFAParams) SetToken(token string)
SetToken adds the token to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) SetType ¶
func (o *UserConfirmEnableTFAParams) SetType(typeVar *string)
SetType adds the type to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) WithContext ¶
func (o *UserConfirmEnableTFAParams) WithContext(ctx context.Context) *UserConfirmEnableTFAParams
WithContext adds the context to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) WithHTTPClient ¶
func (o *UserConfirmEnableTFAParams) WithHTTPClient(client *http.Client) *UserConfirmEnableTFAParams
WithHTTPClient adds the HTTPClient to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) WithTimeout ¶
func (o *UserConfirmEnableTFAParams) WithTimeout(timeout time.Duration) *UserConfirmEnableTFAParams
WithTimeout adds the timeout to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) WithToken ¶
func (o *UserConfirmEnableTFAParams) WithToken(token string) *UserConfirmEnableTFAParams
WithToken adds the token to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) WithType ¶
func (o *UserConfirmEnableTFAParams) WithType(typeVar *string) *UserConfirmEnableTFAParams
WithType adds the typeVar to the user confirm enable t f a params
func (*UserConfirmEnableTFAParams) WriteToRequest ¶
func (o *UserConfirmEnableTFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserConfirmEnableTFAReader ¶
type UserConfirmEnableTFAReader struct {
// contains filtered or unexported fields
}
UserConfirmEnableTFAReader is a Reader for the UserConfirmEnableTFA structure.
func (*UserConfirmEnableTFAReader) ReadResponse ¶
func (o *UserConfirmEnableTFAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserConfirmOK ¶
type UserConfirmOK struct {
Payload *models.AccessToken
}
UserConfirmOK handles this case with default header values.
Request was successful
func NewUserConfirmOK ¶
func NewUserConfirmOK() *UserConfirmOK
NewUserConfirmOK creates a UserConfirmOK with default headers values
func (*UserConfirmOK) Error ¶
func (o *UserConfirmOK) Error() string
type UserConfirmParams ¶
type UserConfirmParams struct { /*Token*/ Token string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserConfirmParams contains all the parameters to send to the API endpoint for the user confirm operation typically these are written to a http.Request
func NewUserConfirmParams ¶
func NewUserConfirmParams() *UserConfirmParams
NewUserConfirmParams creates a new UserConfirmParams object with the default values initialized.
func NewUserConfirmParamsWithContext ¶
func NewUserConfirmParamsWithContext(ctx context.Context) *UserConfirmParams
NewUserConfirmParamsWithContext creates a new UserConfirmParams object with the default values initialized, and the ability to set a context for a request
func NewUserConfirmParamsWithHTTPClient ¶
func NewUserConfirmParamsWithHTTPClient(client *http.Client) *UserConfirmParams
NewUserConfirmParamsWithHTTPClient creates a new UserConfirmParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserConfirmParamsWithTimeout ¶
func NewUserConfirmParamsWithTimeout(timeout time.Duration) *UserConfirmParams
NewUserConfirmParamsWithTimeout creates a new UserConfirmParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserConfirmParams) SetContext ¶
func (o *UserConfirmParams) SetContext(ctx context.Context)
SetContext adds the context to the user confirm params
func (*UserConfirmParams) SetHTTPClient ¶
func (o *UserConfirmParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user confirm params
func (*UserConfirmParams) SetTimeout ¶
func (o *UserConfirmParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user confirm params
func (*UserConfirmParams) SetToken ¶
func (o *UserConfirmParams) SetToken(token string)
SetToken adds the token to the user confirm params
func (*UserConfirmParams) WithContext ¶
func (o *UserConfirmParams) WithContext(ctx context.Context) *UserConfirmParams
WithContext adds the context to the user confirm params
func (*UserConfirmParams) WithHTTPClient ¶
func (o *UserConfirmParams) WithHTTPClient(client *http.Client) *UserConfirmParams
WithHTTPClient adds the HTTPClient to the user confirm params
func (*UserConfirmParams) WithTimeout ¶
func (o *UserConfirmParams) WithTimeout(timeout time.Duration) *UserConfirmParams
WithTimeout adds the timeout to the user confirm params
func (*UserConfirmParams) WithToken ¶
func (o *UserConfirmParams) WithToken(token string) *UserConfirmParams
WithToken adds the token to the user confirm params
func (*UserConfirmParams) WriteToRequest ¶
func (o *UserConfirmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserConfirmReader ¶
type UserConfirmReader struct {
// contains filtered or unexported fields
}
UserConfirmReader is a Reader for the UserConfirm structure.
func (*UserConfirmReader) ReadResponse ¶
func (o *UserConfirmReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserConfirmWithdrawalOK ¶
type UserConfirmWithdrawalOK struct {
Payload *models.Transaction
}
UserConfirmWithdrawalOK handles this case with default header values.
Request was successful
func NewUserConfirmWithdrawalOK ¶
func NewUserConfirmWithdrawalOK() *UserConfirmWithdrawalOK
NewUserConfirmWithdrawalOK creates a UserConfirmWithdrawalOK with default headers values
func (*UserConfirmWithdrawalOK) Error ¶
func (o *UserConfirmWithdrawalOK) Error() string
type UserConfirmWithdrawalParams ¶
type UserConfirmWithdrawalParams struct { /*Token*/ Token string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserConfirmWithdrawalParams contains all the parameters to send to the API endpoint for the user confirm withdrawal operation typically these are written to a http.Request
func NewUserConfirmWithdrawalParams ¶
func NewUserConfirmWithdrawalParams() *UserConfirmWithdrawalParams
NewUserConfirmWithdrawalParams creates a new UserConfirmWithdrawalParams object with the default values initialized.
func NewUserConfirmWithdrawalParamsWithContext ¶
func NewUserConfirmWithdrawalParamsWithContext(ctx context.Context) *UserConfirmWithdrawalParams
NewUserConfirmWithdrawalParamsWithContext creates a new UserConfirmWithdrawalParams object with the default values initialized, and the ability to set a context for a request
func NewUserConfirmWithdrawalParamsWithHTTPClient ¶
func NewUserConfirmWithdrawalParamsWithHTTPClient(client *http.Client) *UserConfirmWithdrawalParams
NewUserConfirmWithdrawalParamsWithHTTPClient creates a new UserConfirmWithdrawalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserConfirmWithdrawalParamsWithTimeout ¶
func NewUserConfirmWithdrawalParamsWithTimeout(timeout time.Duration) *UserConfirmWithdrawalParams
NewUserConfirmWithdrawalParamsWithTimeout creates a new UserConfirmWithdrawalParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserConfirmWithdrawalParams) SetContext ¶
func (o *UserConfirmWithdrawalParams) SetContext(ctx context.Context)
SetContext adds the context to the user confirm withdrawal params
func (*UserConfirmWithdrawalParams) SetHTTPClient ¶
func (o *UserConfirmWithdrawalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user confirm withdrawal params
func (*UserConfirmWithdrawalParams) SetTimeout ¶
func (o *UserConfirmWithdrawalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user confirm withdrawal params
func (*UserConfirmWithdrawalParams) SetToken ¶
func (o *UserConfirmWithdrawalParams) SetToken(token string)
SetToken adds the token to the user confirm withdrawal params
func (*UserConfirmWithdrawalParams) WithContext ¶
func (o *UserConfirmWithdrawalParams) WithContext(ctx context.Context) *UserConfirmWithdrawalParams
WithContext adds the context to the user confirm withdrawal params
func (*UserConfirmWithdrawalParams) WithHTTPClient ¶
func (o *UserConfirmWithdrawalParams) WithHTTPClient(client *http.Client) *UserConfirmWithdrawalParams
WithHTTPClient adds the HTTPClient to the user confirm withdrawal params
func (*UserConfirmWithdrawalParams) WithTimeout ¶
func (o *UserConfirmWithdrawalParams) WithTimeout(timeout time.Duration) *UserConfirmWithdrawalParams
WithTimeout adds the timeout to the user confirm withdrawal params
func (*UserConfirmWithdrawalParams) WithToken ¶
func (o *UserConfirmWithdrawalParams) WithToken(token string) *UserConfirmWithdrawalParams
WithToken adds the token to the user confirm withdrawal params
func (*UserConfirmWithdrawalParams) WriteToRequest ¶
func (o *UserConfirmWithdrawalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserConfirmWithdrawalReader ¶
type UserConfirmWithdrawalReader struct {
// contains filtered or unexported fields
}
UserConfirmWithdrawalReader is a Reader for the UserConfirmWithdrawal structure.
func (*UserConfirmWithdrawalReader) ReadResponse ¶
func (o *UserConfirmWithdrawalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserDisableTFAOK ¶
type UserDisableTFAOK struct {
Payload bool
}
UserDisableTFAOK handles this case with default header values.
Request was successful
func NewUserDisableTFAOK ¶
func NewUserDisableTFAOK() *UserDisableTFAOK
NewUserDisableTFAOK creates a UserDisableTFAOK with default headers values
func (*UserDisableTFAOK) Error ¶
func (o *UserDisableTFAOK) Error() string
type UserDisableTFAParams ¶
type UserDisableTFAParams struct { /*Token Token from your selected TFA type. */ Token string /*Type Two-factor auth type. Supported types: 'GA' (Google Authenticator) */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserDisableTFAParams contains all the parameters to send to the API endpoint for the user disable t f a operation typically these are written to a http.Request
func NewUserDisableTFAParams ¶
func NewUserDisableTFAParams() *UserDisableTFAParams
NewUserDisableTFAParams creates a new UserDisableTFAParams object with the default values initialized.
func NewUserDisableTFAParamsWithContext ¶
func NewUserDisableTFAParamsWithContext(ctx context.Context) *UserDisableTFAParams
NewUserDisableTFAParamsWithContext creates a new UserDisableTFAParams object with the default values initialized, and the ability to set a context for a request
func NewUserDisableTFAParamsWithHTTPClient ¶
func NewUserDisableTFAParamsWithHTTPClient(client *http.Client) *UserDisableTFAParams
NewUserDisableTFAParamsWithHTTPClient creates a new UserDisableTFAParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserDisableTFAParamsWithTimeout ¶
func NewUserDisableTFAParamsWithTimeout(timeout time.Duration) *UserDisableTFAParams
NewUserDisableTFAParamsWithTimeout creates a new UserDisableTFAParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserDisableTFAParams) SetContext ¶
func (o *UserDisableTFAParams) SetContext(ctx context.Context)
SetContext adds the context to the user disable t f a params
func (*UserDisableTFAParams) SetHTTPClient ¶
func (o *UserDisableTFAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user disable t f a params
func (*UserDisableTFAParams) SetTimeout ¶
func (o *UserDisableTFAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user disable t f a params
func (*UserDisableTFAParams) SetToken ¶
func (o *UserDisableTFAParams) SetToken(token string)
SetToken adds the token to the user disable t f a params
func (*UserDisableTFAParams) SetType ¶
func (o *UserDisableTFAParams) SetType(typeVar *string)
SetType adds the type to the user disable t f a params
func (*UserDisableTFAParams) WithContext ¶
func (o *UserDisableTFAParams) WithContext(ctx context.Context) *UserDisableTFAParams
WithContext adds the context to the user disable t f a params
func (*UserDisableTFAParams) WithHTTPClient ¶
func (o *UserDisableTFAParams) WithHTTPClient(client *http.Client) *UserDisableTFAParams
WithHTTPClient adds the HTTPClient to the user disable t f a params
func (*UserDisableTFAParams) WithTimeout ¶
func (o *UserDisableTFAParams) WithTimeout(timeout time.Duration) *UserDisableTFAParams
WithTimeout adds the timeout to the user disable t f a params
func (*UserDisableTFAParams) WithToken ¶
func (o *UserDisableTFAParams) WithToken(token string) *UserDisableTFAParams
WithToken adds the token to the user disable t f a params
func (*UserDisableTFAParams) WithType ¶
func (o *UserDisableTFAParams) WithType(typeVar *string) *UserDisableTFAParams
WithType adds the typeVar to the user disable t f a params
func (*UserDisableTFAParams) WriteToRequest ¶
func (o *UserDisableTFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserDisableTFAReader ¶
type UserDisableTFAReader struct {
// contains filtered or unexported fields
}
UserDisableTFAReader is a Reader for the UserDisableTFA structure.
func (*UserDisableTFAReader) ReadResponse ¶
func (o *UserDisableTFAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetAffiliateStatusOK ¶
UserGetAffiliateStatusOK handles this case with default header values.
Request was successful
func NewUserGetAffiliateStatusOK ¶
func NewUserGetAffiliateStatusOK() *UserGetAffiliateStatusOK
NewUserGetAffiliateStatusOK creates a UserGetAffiliateStatusOK with default headers values
func (*UserGetAffiliateStatusOK) Error ¶
func (o *UserGetAffiliateStatusOK) Error() string
type UserGetAffiliateStatusParams ¶
type UserGetAffiliateStatusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetAffiliateStatusParams contains all the parameters to send to the API endpoint for the user get affiliate status operation typically these are written to a http.Request
func NewUserGetAffiliateStatusParams ¶
func NewUserGetAffiliateStatusParams() *UserGetAffiliateStatusParams
NewUserGetAffiliateStatusParams creates a new UserGetAffiliateStatusParams object with the default values initialized.
func NewUserGetAffiliateStatusParamsWithContext ¶
func NewUserGetAffiliateStatusParamsWithContext(ctx context.Context) *UserGetAffiliateStatusParams
NewUserGetAffiliateStatusParamsWithContext creates a new UserGetAffiliateStatusParams object with the default values initialized, and the ability to set a context for a request
func NewUserGetAffiliateStatusParamsWithHTTPClient ¶
func NewUserGetAffiliateStatusParamsWithHTTPClient(client *http.Client) *UserGetAffiliateStatusParams
NewUserGetAffiliateStatusParamsWithHTTPClient creates a new UserGetAffiliateStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserGetAffiliateStatusParamsWithTimeout ¶
func NewUserGetAffiliateStatusParamsWithTimeout(timeout time.Duration) *UserGetAffiliateStatusParams
NewUserGetAffiliateStatusParamsWithTimeout creates a new UserGetAffiliateStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserGetAffiliateStatusParams) SetContext ¶
func (o *UserGetAffiliateStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the user get affiliate status params
func (*UserGetAffiliateStatusParams) SetHTTPClient ¶
func (o *UserGetAffiliateStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get affiliate status params
func (*UserGetAffiliateStatusParams) SetTimeout ¶
func (o *UserGetAffiliateStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get affiliate status params
func (*UserGetAffiliateStatusParams) WithContext ¶
func (o *UserGetAffiliateStatusParams) WithContext(ctx context.Context) *UserGetAffiliateStatusParams
WithContext adds the context to the user get affiliate status params
func (*UserGetAffiliateStatusParams) WithHTTPClient ¶
func (o *UserGetAffiliateStatusParams) WithHTTPClient(client *http.Client) *UserGetAffiliateStatusParams
WithHTTPClient adds the HTTPClient to the user get affiliate status params
func (*UserGetAffiliateStatusParams) WithTimeout ¶
func (o *UserGetAffiliateStatusParams) WithTimeout(timeout time.Duration) *UserGetAffiliateStatusParams
WithTimeout adds the timeout to the user get affiliate status params
func (*UserGetAffiliateStatusParams) WriteToRequest ¶
func (o *UserGetAffiliateStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetAffiliateStatusReader ¶
type UserGetAffiliateStatusReader struct {
// contains filtered or unexported fields
}
UserGetAffiliateStatusReader is a Reader for the UserGetAffiliateStatus structure.
func (*UserGetAffiliateStatusReader) ReadResponse ¶
func (o *UserGetAffiliateStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetCommissionOK ¶
type UserGetCommissionOK struct {
Payload []*models.UserCommission
}
UserGetCommissionOK handles this case with default header values.
Request was successful
func NewUserGetCommissionOK ¶
func NewUserGetCommissionOK() *UserGetCommissionOK
NewUserGetCommissionOK creates a UserGetCommissionOK with default headers values
func (*UserGetCommissionOK) Error ¶
func (o *UserGetCommissionOK) Error() string
type UserGetCommissionParams ¶
type UserGetCommissionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetCommissionParams contains all the parameters to send to the API endpoint for the user get commission operation typically these are written to a http.Request
func NewUserGetCommissionParams ¶
func NewUserGetCommissionParams() *UserGetCommissionParams
NewUserGetCommissionParams creates a new UserGetCommissionParams object with the default values initialized.
func NewUserGetCommissionParamsWithContext ¶
func NewUserGetCommissionParamsWithContext(ctx context.Context) *UserGetCommissionParams
NewUserGetCommissionParamsWithContext creates a new UserGetCommissionParams object with the default values initialized, and the ability to set a context for a request
func NewUserGetCommissionParamsWithHTTPClient ¶
func NewUserGetCommissionParamsWithHTTPClient(client *http.Client) *UserGetCommissionParams
NewUserGetCommissionParamsWithHTTPClient creates a new UserGetCommissionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserGetCommissionParamsWithTimeout ¶
func NewUserGetCommissionParamsWithTimeout(timeout time.Duration) *UserGetCommissionParams
NewUserGetCommissionParamsWithTimeout creates a new UserGetCommissionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserGetCommissionParams) SetContext ¶
func (o *UserGetCommissionParams) SetContext(ctx context.Context)
SetContext adds the context to the user get commission params
func (*UserGetCommissionParams) SetHTTPClient ¶
func (o *UserGetCommissionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get commission params
func (*UserGetCommissionParams) SetTimeout ¶
func (o *UserGetCommissionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get commission params
func (*UserGetCommissionParams) WithContext ¶
func (o *UserGetCommissionParams) WithContext(ctx context.Context) *UserGetCommissionParams
WithContext adds the context to the user get commission params
func (*UserGetCommissionParams) WithHTTPClient ¶
func (o *UserGetCommissionParams) WithHTTPClient(client *http.Client) *UserGetCommissionParams
WithHTTPClient adds the HTTPClient to the user get commission params
func (*UserGetCommissionParams) WithTimeout ¶
func (o *UserGetCommissionParams) WithTimeout(timeout time.Duration) *UserGetCommissionParams
WithTimeout adds the timeout to the user get commission params
func (*UserGetCommissionParams) WriteToRequest ¶
func (o *UserGetCommissionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetCommissionReader ¶
type UserGetCommissionReader struct {
// contains filtered or unexported fields
}
UserGetCommissionReader is a Reader for the UserGetCommission structure.
func (*UserGetCommissionReader) ReadResponse ¶
func (o *UserGetCommissionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetDepositAddressOK ¶
type UserGetDepositAddressOK struct {
Payload string
}
UserGetDepositAddressOK handles this case with default header values.
Request was successful
func NewUserGetDepositAddressOK ¶
func NewUserGetDepositAddressOK() *UserGetDepositAddressOK
NewUserGetDepositAddressOK creates a UserGetDepositAddressOK with default headers values
func (*UserGetDepositAddressOK) Error ¶
func (o *UserGetDepositAddressOK) Error() string
type UserGetDepositAddressParams ¶
type UserGetDepositAddressParams struct { /*Currency*/ Currency *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetDepositAddressParams contains all the parameters to send to the API endpoint for the user get deposit address operation typically these are written to a http.Request
func NewUserGetDepositAddressParams ¶
func NewUserGetDepositAddressParams() *UserGetDepositAddressParams
NewUserGetDepositAddressParams creates a new UserGetDepositAddressParams object with the default values initialized.
func NewUserGetDepositAddressParamsWithContext ¶
func NewUserGetDepositAddressParamsWithContext(ctx context.Context) *UserGetDepositAddressParams
NewUserGetDepositAddressParamsWithContext creates a new UserGetDepositAddressParams object with the default values initialized, and the ability to set a context for a request
func NewUserGetDepositAddressParamsWithHTTPClient ¶
func NewUserGetDepositAddressParamsWithHTTPClient(client *http.Client) *UserGetDepositAddressParams
NewUserGetDepositAddressParamsWithHTTPClient creates a new UserGetDepositAddressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserGetDepositAddressParamsWithTimeout ¶
func NewUserGetDepositAddressParamsWithTimeout(timeout time.Duration) *UserGetDepositAddressParams
NewUserGetDepositAddressParamsWithTimeout creates a new UserGetDepositAddressParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserGetDepositAddressParams) SetContext ¶
func (o *UserGetDepositAddressParams) SetContext(ctx context.Context)
SetContext adds the context to the user get deposit address params
func (*UserGetDepositAddressParams) SetCurrency ¶
func (o *UserGetDepositAddressParams) SetCurrency(currency *string)
SetCurrency adds the currency to the user get deposit address params
func (*UserGetDepositAddressParams) SetHTTPClient ¶
func (o *UserGetDepositAddressParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get deposit address params
func (*UserGetDepositAddressParams) SetTimeout ¶
func (o *UserGetDepositAddressParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get deposit address params
func (*UserGetDepositAddressParams) WithContext ¶
func (o *UserGetDepositAddressParams) WithContext(ctx context.Context) *UserGetDepositAddressParams
WithContext adds the context to the user get deposit address params
func (*UserGetDepositAddressParams) WithCurrency ¶
func (o *UserGetDepositAddressParams) WithCurrency(currency *string) *UserGetDepositAddressParams
WithCurrency adds the currency to the user get deposit address params
func (*UserGetDepositAddressParams) WithHTTPClient ¶
func (o *UserGetDepositAddressParams) WithHTTPClient(client *http.Client) *UserGetDepositAddressParams
WithHTTPClient adds the HTTPClient to the user get deposit address params
func (*UserGetDepositAddressParams) WithTimeout ¶
func (o *UserGetDepositAddressParams) WithTimeout(timeout time.Duration) *UserGetDepositAddressParams
WithTimeout adds the timeout to the user get deposit address params
func (*UserGetDepositAddressParams) WriteToRequest ¶
func (o *UserGetDepositAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetDepositAddressReader ¶
type UserGetDepositAddressReader struct {
// contains filtered or unexported fields
}
UserGetDepositAddressReader is a Reader for the UserGetDepositAddress structure.
func (*UserGetDepositAddressReader) ReadResponse ¶
func (o *UserGetDepositAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetMarginOK ¶
UserGetMarginOK handles this case with default header values.
Request was successful
func NewUserGetMarginOK ¶
func NewUserGetMarginOK() *UserGetMarginOK
NewUserGetMarginOK creates a UserGetMarginOK with default headers values
func (*UserGetMarginOK) Error ¶
func (o *UserGetMarginOK) Error() string
type UserGetMarginParams ¶
type UserGetMarginParams struct { /*Currency*/ Currency *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetMarginParams contains all the parameters to send to the API endpoint for the user get margin operation typically these are written to a http.Request
func NewUserGetMarginParams ¶
func NewUserGetMarginParams() *UserGetMarginParams
NewUserGetMarginParams creates a new UserGetMarginParams object with the default values initialized.
func NewUserGetMarginParamsWithContext ¶
func NewUserGetMarginParamsWithContext(ctx context.Context) *UserGetMarginParams
NewUserGetMarginParamsWithContext creates a new UserGetMarginParams object with the default values initialized, and the ability to set a context for a request
func NewUserGetMarginParamsWithHTTPClient ¶
func NewUserGetMarginParamsWithHTTPClient(client *http.Client) *UserGetMarginParams
NewUserGetMarginParamsWithHTTPClient creates a new UserGetMarginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserGetMarginParamsWithTimeout ¶
func NewUserGetMarginParamsWithTimeout(timeout time.Duration) *UserGetMarginParams
NewUserGetMarginParamsWithTimeout creates a new UserGetMarginParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserGetMarginParams) SetContext ¶
func (o *UserGetMarginParams) SetContext(ctx context.Context)
SetContext adds the context to the user get margin params
func (*UserGetMarginParams) SetCurrency ¶
func (o *UserGetMarginParams) SetCurrency(currency *string)
SetCurrency adds the currency to the user get margin params
func (*UserGetMarginParams) SetHTTPClient ¶
func (o *UserGetMarginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get margin params
func (*UserGetMarginParams) SetTimeout ¶
func (o *UserGetMarginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get margin params
func (*UserGetMarginParams) WithContext ¶
func (o *UserGetMarginParams) WithContext(ctx context.Context) *UserGetMarginParams
WithContext adds the context to the user get margin params
func (*UserGetMarginParams) WithCurrency ¶
func (o *UserGetMarginParams) WithCurrency(currency *string) *UserGetMarginParams
WithCurrency adds the currency to the user get margin params
func (*UserGetMarginParams) WithHTTPClient ¶
func (o *UserGetMarginParams) WithHTTPClient(client *http.Client) *UserGetMarginParams
WithHTTPClient adds the HTTPClient to the user get margin params
func (*UserGetMarginParams) WithTimeout ¶
func (o *UserGetMarginParams) WithTimeout(timeout time.Duration) *UserGetMarginParams
WithTimeout adds the timeout to the user get margin params
func (*UserGetMarginParams) WriteToRequest ¶
func (o *UserGetMarginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetMarginReader ¶
type UserGetMarginReader struct {
// contains filtered or unexported fields
}
UserGetMarginReader is a Reader for the UserGetMargin structure.
func (*UserGetMarginReader) ReadResponse ¶
func (o *UserGetMarginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetOK ¶
UserGetOK handles this case with default header values.
Request was successful
func NewUserGetOK ¶
func NewUserGetOK() *UserGetOK
NewUserGetOK creates a UserGetOK with default headers values
type UserGetParams ¶
type UserGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetParams contains all the parameters to send to the API endpoint for the user get operation typically these are written to a http.Request
func NewUserGetParams ¶
func NewUserGetParams() *UserGetParams
NewUserGetParams creates a new UserGetParams object with the default values initialized.
func NewUserGetParamsWithContext ¶
func NewUserGetParamsWithContext(ctx context.Context) *UserGetParams
NewUserGetParamsWithContext creates a new UserGetParams object with the default values initialized, and the ability to set a context for a request
func NewUserGetParamsWithHTTPClient ¶
func NewUserGetParamsWithHTTPClient(client *http.Client) *UserGetParams
NewUserGetParamsWithHTTPClient creates a new UserGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserGetParamsWithTimeout ¶
func NewUserGetParamsWithTimeout(timeout time.Duration) *UserGetParams
NewUserGetParamsWithTimeout creates a new UserGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserGetParams) SetContext ¶
func (o *UserGetParams) SetContext(ctx context.Context)
SetContext adds the context to the user get params
func (*UserGetParams) SetHTTPClient ¶
func (o *UserGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get params
func (*UserGetParams) SetTimeout ¶
func (o *UserGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get params
func (*UserGetParams) WithContext ¶
func (o *UserGetParams) WithContext(ctx context.Context) *UserGetParams
WithContext adds the context to the user get params
func (*UserGetParams) WithHTTPClient ¶
func (o *UserGetParams) WithHTTPClient(client *http.Client) *UserGetParams
WithHTTPClient adds the HTTPClient to the user get params
func (*UserGetParams) WithTimeout ¶
func (o *UserGetParams) WithTimeout(timeout time.Duration) *UserGetParams
WithTimeout adds the timeout to the user get params
func (*UserGetParams) WriteToRequest ¶
func (o *UserGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetReader ¶
type UserGetReader struct {
// contains filtered or unexported fields
}
UserGetReader is a Reader for the UserGet structure.
func (*UserGetReader) ReadResponse ¶
func (o *UserGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetWalletHistoryOK ¶
type UserGetWalletHistoryOK struct {
Payload []*models.Transaction
}
UserGetWalletHistoryOK handles this case with default header values.
Request was successful
func NewUserGetWalletHistoryOK ¶
func NewUserGetWalletHistoryOK() *UserGetWalletHistoryOK
NewUserGetWalletHistoryOK creates a UserGetWalletHistoryOK with default headers values
func (*UserGetWalletHistoryOK) Error ¶
func (o *UserGetWalletHistoryOK) Error() string
type UserGetWalletHistoryParams ¶
type UserGetWalletHistoryParams struct { /*Currency*/ Currency *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetWalletHistoryParams contains all the parameters to send to the API endpoint for the user get wallet history operation typically these are written to a http.Request
func NewUserGetWalletHistoryParams ¶
func NewUserGetWalletHistoryParams() *UserGetWalletHistoryParams
NewUserGetWalletHistoryParams creates a new UserGetWalletHistoryParams object with the default values initialized.
func NewUserGetWalletHistoryParamsWithContext ¶
func NewUserGetWalletHistoryParamsWithContext(ctx context.Context) *UserGetWalletHistoryParams
NewUserGetWalletHistoryParamsWithContext creates a new UserGetWalletHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewUserGetWalletHistoryParamsWithHTTPClient ¶
func NewUserGetWalletHistoryParamsWithHTTPClient(client *http.Client) *UserGetWalletHistoryParams
NewUserGetWalletHistoryParamsWithHTTPClient creates a new UserGetWalletHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserGetWalletHistoryParamsWithTimeout ¶
func NewUserGetWalletHistoryParamsWithTimeout(timeout time.Duration) *UserGetWalletHistoryParams
NewUserGetWalletHistoryParamsWithTimeout creates a new UserGetWalletHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserGetWalletHistoryParams) SetContext ¶
func (o *UserGetWalletHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the user get wallet history params
func (*UserGetWalletHistoryParams) SetCurrency ¶
func (o *UserGetWalletHistoryParams) SetCurrency(currency *string)
SetCurrency adds the currency to the user get wallet history params
func (*UserGetWalletHistoryParams) SetHTTPClient ¶
func (o *UserGetWalletHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get wallet history params
func (*UserGetWalletHistoryParams) SetTimeout ¶
func (o *UserGetWalletHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get wallet history params
func (*UserGetWalletHistoryParams) WithContext ¶
func (o *UserGetWalletHistoryParams) WithContext(ctx context.Context) *UserGetWalletHistoryParams
WithContext adds the context to the user get wallet history params
func (*UserGetWalletHistoryParams) WithCurrency ¶
func (o *UserGetWalletHistoryParams) WithCurrency(currency *string) *UserGetWalletHistoryParams
WithCurrency adds the currency to the user get wallet history params
func (*UserGetWalletHistoryParams) WithHTTPClient ¶
func (o *UserGetWalletHistoryParams) WithHTTPClient(client *http.Client) *UserGetWalletHistoryParams
WithHTTPClient adds the HTTPClient to the user get wallet history params
func (*UserGetWalletHistoryParams) WithTimeout ¶
func (o *UserGetWalletHistoryParams) WithTimeout(timeout time.Duration) *UserGetWalletHistoryParams
WithTimeout adds the timeout to the user get wallet history params
func (*UserGetWalletHistoryParams) WriteToRequest ¶
func (o *UserGetWalletHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetWalletHistoryReader ¶
type UserGetWalletHistoryReader struct {
// contains filtered or unexported fields
}
UserGetWalletHistoryReader is a Reader for the UserGetWalletHistory structure.
func (*UserGetWalletHistoryReader) ReadResponse ¶
func (o *UserGetWalletHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetWalletOK ¶
UserGetWalletOK handles this case with default header values.
Request was successful
func NewUserGetWalletOK ¶
func NewUserGetWalletOK() *UserGetWalletOK
NewUserGetWalletOK creates a UserGetWalletOK with default headers values
func (*UserGetWalletOK) Error ¶
func (o *UserGetWalletOK) Error() string
type UserGetWalletParams ¶
type UserGetWalletParams struct { /*Currency*/ Currency *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetWalletParams contains all the parameters to send to the API endpoint for the user get wallet operation typically these are written to a http.Request
func NewUserGetWalletParams ¶
func NewUserGetWalletParams() *UserGetWalletParams
NewUserGetWalletParams creates a new UserGetWalletParams object with the default values initialized.
func NewUserGetWalletParamsWithContext ¶
func NewUserGetWalletParamsWithContext(ctx context.Context) *UserGetWalletParams
NewUserGetWalletParamsWithContext creates a new UserGetWalletParams object with the default values initialized, and the ability to set a context for a request
func NewUserGetWalletParamsWithHTTPClient ¶
func NewUserGetWalletParamsWithHTTPClient(client *http.Client) *UserGetWalletParams
NewUserGetWalletParamsWithHTTPClient creates a new UserGetWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserGetWalletParamsWithTimeout ¶
func NewUserGetWalletParamsWithTimeout(timeout time.Duration) *UserGetWalletParams
NewUserGetWalletParamsWithTimeout creates a new UserGetWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserGetWalletParams) SetContext ¶
func (o *UserGetWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the user get wallet params
func (*UserGetWalletParams) SetCurrency ¶
func (o *UserGetWalletParams) SetCurrency(currency *string)
SetCurrency adds the currency to the user get wallet params
func (*UserGetWalletParams) SetHTTPClient ¶
func (o *UserGetWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get wallet params
func (*UserGetWalletParams) SetTimeout ¶
func (o *UserGetWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get wallet params
func (*UserGetWalletParams) WithContext ¶
func (o *UserGetWalletParams) WithContext(ctx context.Context) *UserGetWalletParams
WithContext adds the context to the user get wallet params
func (*UserGetWalletParams) WithCurrency ¶
func (o *UserGetWalletParams) WithCurrency(currency *string) *UserGetWalletParams
WithCurrency adds the currency to the user get wallet params
func (*UserGetWalletParams) WithHTTPClient ¶
func (o *UserGetWalletParams) WithHTTPClient(client *http.Client) *UserGetWalletParams
WithHTTPClient adds the HTTPClient to the user get wallet params
func (*UserGetWalletParams) WithTimeout ¶
func (o *UserGetWalletParams) WithTimeout(timeout time.Duration) *UserGetWalletParams
WithTimeout adds the timeout to the user get wallet params
func (*UserGetWalletParams) WriteToRequest ¶
func (o *UserGetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetWalletReader ¶
type UserGetWalletReader struct {
// contains filtered or unexported fields
}
UserGetWalletReader is a Reader for the UserGetWallet structure.
func (*UserGetWalletReader) ReadResponse ¶
func (o *UserGetWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetWalletSummaryOK ¶
type UserGetWalletSummaryOK struct {
Payload []*models.Transaction
}
UserGetWalletSummaryOK handles this case with default header values.
Request was successful
func NewUserGetWalletSummaryOK ¶
func NewUserGetWalletSummaryOK() *UserGetWalletSummaryOK
NewUserGetWalletSummaryOK creates a UserGetWalletSummaryOK with default headers values
func (*UserGetWalletSummaryOK) Error ¶
func (o *UserGetWalletSummaryOK) Error() string
type UserGetWalletSummaryParams ¶
type UserGetWalletSummaryParams struct { /*Currency*/ Currency *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserGetWalletSummaryParams contains all the parameters to send to the API endpoint for the user get wallet summary operation typically these are written to a http.Request
func NewUserGetWalletSummaryParams ¶
func NewUserGetWalletSummaryParams() *UserGetWalletSummaryParams
NewUserGetWalletSummaryParams creates a new UserGetWalletSummaryParams object with the default values initialized.
func NewUserGetWalletSummaryParamsWithContext ¶
func NewUserGetWalletSummaryParamsWithContext(ctx context.Context) *UserGetWalletSummaryParams
NewUserGetWalletSummaryParamsWithContext creates a new UserGetWalletSummaryParams object with the default values initialized, and the ability to set a context for a request
func NewUserGetWalletSummaryParamsWithHTTPClient ¶
func NewUserGetWalletSummaryParamsWithHTTPClient(client *http.Client) *UserGetWalletSummaryParams
NewUserGetWalletSummaryParamsWithHTTPClient creates a new UserGetWalletSummaryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserGetWalletSummaryParamsWithTimeout ¶
func NewUserGetWalletSummaryParamsWithTimeout(timeout time.Duration) *UserGetWalletSummaryParams
NewUserGetWalletSummaryParamsWithTimeout creates a new UserGetWalletSummaryParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserGetWalletSummaryParams) SetContext ¶
func (o *UserGetWalletSummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the user get wallet summary params
func (*UserGetWalletSummaryParams) SetCurrency ¶
func (o *UserGetWalletSummaryParams) SetCurrency(currency *string)
SetCurrency adds the currency to the user get wallet summary params
func (*UserGetWalletSummaryParams) SetHTTPClient ¶
func (o *UserGetWalletSummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get wallet summary params
func (*UserGetWalletSummaryParams) SetTimeout ¶
func (o *UserGetWalletSummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get wallet summary params
func (*UserGetWalletSummaryParams) WithContext ¶
func (o *UserGetWalletSummaryParams) WithContext(ctx context.Context) *UserGetWalletSummaryParams
WithContext adds the context to the user get wallet summary params
func (*UserGetWalletSummaryParams) WithCurrency ¶
func (o *UserGetWalletSummaryParams) WithCurrency(currency *string) *UserGetWalletSummaryParams
WithCurrency adds the currency to the user get wallet summary params
func (*UserGetWalletSummaryParams) WithHTTPClient ¶
func (o *UserGetWalletSummaryParams) WithHTTPClient(client *http.Client) *UserGetWalletSummaryParams
WithHTTPClient adds the HTTPClient to the user get wallet summary params
func (*UserGetWalletSummaryParams) WithTimeout ¶
func (o *UserGetWalletSummaryParams) WithTimeout(timeout time.Duration) *UserGetWalletSummaryParams
WithTimeout adds the timeout to the user get wallet summary params
func (*UserGetWalletSummaryParams) WriteToRequest ¶
func (o *UserGetWalletSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetWalletSummaryReader ¶
type UserGetWalletSummaryReader struct {
// contains filtered or unexported fields
}
UserGetWalletSummaryReader is a Reader for the UserGetWalletSummary structure.
func (*UserGetWalletSummaryReader) ReadResponse ¶
func (o *UserGetWalletSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserLogoutAllOK ¶
type UserLogoutAllOK struct {
Payload float64
}
UserLogoutAllOK handles this case with default header values.
Request was successful
func NewUserLogoutAllOK ¶
func NewUserLogoutAllOK() *UserLogoutAllOK
NewUserLogoutAllOK creates a UserLogoutAllOK with default headers values
func (*UserLogoutAllOK) Error ¶
func (o *UserLogoutAllOK) Error() string
type UserLogoutAllParams ¶
type UserLogoutAllParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserLogoutAllParams contains all the parameters to send to the API endpoint for the user logout all operation typically these are written to a http.Request
func NewUserLogoutAllParams ¶
func NewUserLogoutAllParams() *UserLogoutAllParams
NewUserLogoutAllParams creates a new UserLogoutAllParams object with the default values initialized.
func NewUserLogoutAllParamsWithContext ¶
func NewUserLogoutAllParamsWithContext(ctx context.Context) *UserLogoutAllParams
NewUserLogoutAllParamsWithContext creates a new UserLogoutAllParams object with the default values initialized, and the ability to set a context for a request
func NewUserLogoutAllParamsWithHTTPClient ¶
func NewUserLogoutAllParamsWithHTTPClient(client *http.Client) *UserLogoutAllParams
NewUserLogoutAllParamsWithHTTPClient creates a new UserLogoutAllParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserLogoutAllParamsWithTimeout ¶
func NewUserLogoutAllParamsWithTimeout(timeout time.Duration) *UserLogoutAllParams
NewUserLogoutAllParamsWithTimeout creates a new UserLogoutAllParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserLogoutAllParams) SetContext ¶
func (o *UserLogoutAllParams) SetContext(ctx context.Context)
SetContext adds the context to the user logout all params
func (*UserLogoutAllParams) SetHTTPClient ¶
func (o *UserLogoutAllParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user logout all params
func (*UserLogoutAllParams) SetTimeout ¶
func (o *UserLogoutAllParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user logout all params
func (*UserLogoutAllParams) WithContext ¶
func (o *UserLogoutAllParams) WithContext(ctx context.Context) *UserLogoutAllParams
WithContext adds the context to the user logout all params
func (*UserLogoutAllParams) WithHTTPClient ¶
func (o *UserLogoutAllParams) WithHTTPClient(client *http.Client) *UserLogoutAllParams
WithHTTPClient adds the HTTPClient to the user logout all params
func (*UserLogoutAllParams) WithTimeout ¶
func (o *UserLogoutAllParams) WithTimeout(timeout time.Duration) *UserLogoutAllParams
WithTimeout adds the timeout to the user logout all params
func (*UserLogoutAllParams) WriteToRequest ¶
func (o *UserLogoutAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserLogoutAllReader ¶
type UserLogoutAllReader struct {
// contains filtered or unexported fields
}
UserLogoutAllReader is a Reader for the UserLogoutAll structure.
func (*UserLogoutAllReader) ReadResponse ¶
func (o *UserLogoutAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserLogoutOK ¶
type UserLogoutOK struct {
Payload interface{}
}
UserLogoutOK handles this case with default header values.
Request was successful
func NewUserLogoutOK ¶
func NewUserLogoutOK() *UserLogoutOK
NewUserLogoutOK creates a UserLogoutOK with default headers values
func (*UserLogoutOK) Error ¶
func (o *UserLogoutOK) Error() string
type UserLogoutParams ¶
type UserLogoutParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserLogoutParams contains all the parameters to send to the API endpoint for the user logout operation typically these are written to a http.Request
func NewUserLogoutParams ¶
func NewUserLogoutParams() *UserLogoutParams
NewUserLogoutParams creates a new UserLogoutParams object with the default values initialized.
func NewUserLogoutParamsWithContext ¶
func NewUserLogoutParamsWithContext(ctx context.Context) *UserLogoutParams
NewUserLogoutParamsWithContext creates a new UserLogoutParams object with the default values initialized, and the ability to set a context for a request
func NewUserLogoutParamsWithHTTPClient ¶
func NewUserLogoutParamsWithHTTPClient(client *http.Client) *UserLogoutParams
NewUserLogoutParamsWithHTTPClient creates a new UserLogoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserLogoutParamsWithTimeout ¶
func NewUserLogoutParamsWithTimeout(timeout time.Duration) *UserLogoutParams
NewUserLogoutParamsWithTimeout creates a new UserLogoutParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserLogoutParams) SetContext ¶
func (o *UserLogoutParams) SetContext(ctx context.Context)
SetContext adds the context to the user logout params
func (*UserLogoutParams) SetHTTPClient ¶
func (o *UserLogoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user logout params
func (*UserLogoutParams) SetTimeout ¶
func (o *UserLogoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user logout params
func (*UserLogoutParams) WithContext ¶
func (o *UserLogoutParams) WithContext(ctx context.Context) *UserLogoutParams
WithContext adds the context to the user logout params
func (*UserLogoutParams) WithHTTPClient ¶
func (o *UserLogoutParams) WithHTTPClient(client *http.Client) *UserLogoutParams
WithHTTPClient adds the HTTPClient to the user logout params
func (*UserLogoutParams) WithTimeout ¶
func (o *UserLogoutParams) WithTimeout(timeout time.Duration) *UserLogoutParams
WithTimeout adds the timeout to the user logout params
func (*UserLogoutParams) WriteToRequest ¶
func (o *UserLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserLogoutReader ¶
type UserLogoutReader struct {
// contains filtered or unexported fields
}
UserLogoutReader is a Reader for the UserLogout structure.
func (*UserLogoutReader) ReadResponse ¶
func (o *UserLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserMinWithdrawalFeeOK ¶
type UserMinWithdrawalFeeOK struct {
Payload interface{}
}
UserMinWithdrawalFeeOK handles this case with default header values.
Request was successful
func NewUserMinWithdrawalFeeOK ¶
func NewUserMinWithdrawalFeeOK() *UserMinWithdrawalFeeOK
NewUserMinWithdrawalFeeOK creates a UserMinWithdrawalFeeOK with default headers values
func (*UserMinWithdrawalFeeOK) Error ¶
func (o *UserMinWithdrawalFeeOK) Error() string
type UserMinWithdrawalFeeParams ¶
type UserMinWithdrawalFeeParams struct { /*Currency*/ Currency *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserMinWithdrawalFeeParams contains all the parameters to send to the API endpoint for the user min withdrawal fee operation typically these are written to a http.Request
func NewUserMinWithdrawalFeeParams ¶
func NewUserMinWithdrawalFeeParams() *UserMinWithdrawalFeeParams
NewUserMinWithdrawalFeeParams creates a new UserMinWithdrawalFeeParams object with the default values initialized.
func NewUserMinWithdrawalFeeParamsWithContext ¶
func NewUserMinWithdrawalFeeParamsWithContext(ctx context.Context) *UserMinWithdrawalFeeParams
NewUserMinWithdrawalFeeParamsWithContext creates a new UserMinWithdrawalFeeParams object with the default values initialized, and the ability to set a context for a request
func NewUserMinWithdrawalFeeParamsWithHTTPClient ¶
func NewUserMinWithdrawalFeeParamsWithHTTPClient(client *http.Client) *UserMinWithdrawalFeeParams
NewUserMinWithdrawalFeeParamsWithHTTPClient creates a new UserMinWithdrawalFeeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserMinWithdrawalFeeParamsWithTimeout ¶
func NewUserMinWithdrawalFeeParamsWithTimeout(timeout time.Duration) *UserMinWithdrawalFeeParams
NewUserMinWithdrawalFeeParamsWithTimeout creates a new UserMinWithdrawalFeeParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserMinWithdrawalFeeParams) SetContext ¶
func (o *UserMinWithdrawalFeeParams) SetContext(ctx context.Context)
SetContext adds the context to the user min withdrawal fee params
func (*UserMinWithdrawalFeeParams) SetCurrency ¶
func (o *UserMinWithdrawalFeeParams) SetCurrency(currency *string)
SetCurrency adds the currency to the user min withdrawal fee params
func (*UserMinWithdrawalFeeParams) SetHTTPClient ¶
func (o *UserMinWithdrawalFeeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user min withdrawal fee params
func (*UserMinWithdrawalFeeParams) SetTimeout ¶
func (o *UserMinWithdrawalFeeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user min withdrawal fee params
func (*UserMinWithdrawalFeeParams) WithContext ¶
func (o *UserMinWithdrawalFeeParams) WithContext(ctx context.Context) *UserMinWithdrawalFeeParams
WithContext adds the context to the user min withdrawal fee params
func (*UserMinWithdrawalFeeParams) WithCurrency ¶
func (o *UserMinWithdrawalFeeParams) WithCurrency(currency *string) *UserMinWithdrawalFeeParams
WithCurrency adds the currency to the user min withdrawal fee params
func (*UserMinWithdrawalFeeParams) WithHTTPClient ¶
func (o *UserMinWithdrawalFeeParams) WithHTTPClient(client *http.Client) *UserMinWithdrawalFeeParams
WithHTTPClient adds the HTTPClient to the user min withdrawal fee params
func (*UserMinWithdrawalFeeParams) WithTimeout ¶
func (o *UserMinWithdrawalFeeParams) WithTimeout(timeout time.Duration) *UserMinWithdrawalFeeParams
WithTimeout adds the timeout to the user min withdrawal fee params
func (*UserMinWithdrawalFeeParams) WriteToRequest ¶
func (o *UserMinWithdrawalFeeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserMinWithdrawalFeeReader ¶
type UserMinWithdrawalFeeReader struct {
// contains filtered or unexported fields
}
UserMinWithdrawalFeeReader is a Reader for the UserMinWithdrawalFee structure.
func (*UserMinWithdrawalFeeReader) ReadResponse ¶
func (o *UserMinWithdrawalFeeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserRequestEnableTFAOK ¶
type UserRequestEnableTFAOK struct {
Payload bool
}
UserRequestEnableTFAOK handles this case with default header values.
Request was successful
func NewUserRequestEnableTFAOK ¶
func NewUserRequestEnableTFAOK() *UserRequestEnableTFAOK
NewUserRequestEnableTFAOK creates a UserRequestEnableTFAOK with default headers values
func (*UserRequestEnableTFAOK) Error ¶
func (o *UserRequestEnableTFAOK) Error() string
type UserRequestEnableTFAParams ¶
type UserRequestEnableTFAParams struct { /*Type Two-factor auth type. Supported types: 'GA' (Google Authenticator) */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserRequestEnableTFAParams contains all the parameters to send to the API endpoint for the user request enable t f a operation typically these are written to a http.Request
func NewUserRequestEnableTFAParams ¶
func NewUserRequestEnableTFAParams() *UserRequestEnableTFAParams
NewUserRequestEnableTFAParams creates a new UserRequestEnableTFAParams object with the default values initialized.
func NewUserRequestEnableTFAParamsWithContext ¶
func NewUserRequestEnableTFAParamsWithContext(ctx context.Context) *UserRequestEnableTFAParams
NewUserRequestEnableTFAParamsWithContext creates a new UserRequestEnableTFAParams object with the default values initialized, and the ability to set a context for a request
func NewUserRequestEnableTFAParamsWithHTTPClient ¶
func NewUserRequestEnableTFAParamsWithHTTPClient(client *http.Client) *UserRequestEnableTFAParams
NewUserRequestEnableTFAParamsWithHTTPClient creates a new UserRequestEnableTFAParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserRequestEnableTFAParamsWithTimeout ¶
func NewUserRequestEnableTFAParamsWithTimeout(timeout time.Duration) *UserRequestEnableTFAParams
NewUserRequestEnableTFAParamsWithTimeout creates a new UserRequestEnableTFAParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserRequestEnableTFAParams) SetContext ¶
func (o *UserRequestEnableTFAParams) SetContext(ctx context.Context)
SetContext adds the context to the user request enable t f a params
func (*UserRequestEnableTFAParams) SetHTTPClient ¶
func (o *UserRequestEnableTFAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user request enable t f a params
func (*UserRequestEnableTFAParams) SetTimeout ¶
func (o *UserRequestEnableTFAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user request enable t f a params
func (*UserRequestEnableTFAParams) SetType ¶
func (o *UserRequestEnableTFAParams) SetType(typeVar *string)
SetType adds the type to the user request enable t f a params
func (*UserRequestEnableTFAParams) WithContext ¶
func (o *UserRequestEnableTFAParams) WithContext(ctx context.Context) *UserRequestEnableTFAParams
WithContext adds the context to the user request enable t f a params
func (*UserRequestEnableTFAParams) WithHTTPClient ¶
func (o *UserRequestEnableTFAParams) WithHTTPClient(client *http.Client) *UserRequestEnableTFAParams
WithHTTPClient adds the HTTPClient to the user request enable t f a params
func (*UserRequestEnableTFAParams) WithTimeout ¶
func (o *UserRequestEnableTFAParams) WithTimeout(timeout time.Duration) *UserRequestEnableTFAParams
WithTimeout adds the timeout to the user request enable t f a params
func (*UserRequestEnableTFAParams) WithType ¶
func (o *UserRequestEnableTFAParams) WithType(typeVar *string) *UserRequestEnableTFAParams
WithType adds the typeVar to the user request enable t f a params
func (*UserRequestEnableTFAParams) WriteToRequest ¶
func (o *UserRequestEnableTFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserRequestEnableTFAReader ¶
type UserRequestEnableTFAReader struct {
// contains filtered or unexported fields
}
UserRequestEnableTFAReader is a Reader for the UserRequestEnableTFA structure.
func (*UserRequestEnableTFAReader) ReadResponse ¶
func (o *UserRequestEnableTFAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserRequestWithdrawalOK ¶
type UserRequestWithdrawalOK struct {
Payload *models.Transaction
}
UserRequestWithdrawalOK handles this case with default header values.
Request was successful
func NewUserRequestWithdrawalOK ¶
func NewUserRequestWithdrawalOK() *UserRequestWithdrawalOK
NewUserRequestWithdrawalOK creates a UserRequestWithdrawalOK with default headers values
func (*UserRequestWithdrawalOK) Error ¶
func (o *UserRequestWithdrawalOK) Error() string
type UserRequestWithdrawalParams ¶
type UserRequestWithdrawalParams struct { /*Address Destination Address. */ Address string /*Amount Amount of withdrawal currency. */ Amount int64 /*Currency Currency you're withdrawing. Options: `XBt` */ Currency string /*Fee Network fee for Bitcoin withdrawals. If not specified, a default value will be calculated based on Bitcoin network conditions. You will have a chance to confirm this via email. */ Fee *float64 /*OtpToken 2FA token. Required if 2FA is enabled on your account. */ OtpToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserRequestWithdrawalParams contains all the parameters to send to the API endpoint for the user request withdrawal operation typically these are written to a http.Request
func NewUserRequestWithdrawalParams ¶
func NewUserRequestWithdrawalParams() *UserRequestWithdrawalParams
NewUserRequestWithdrawalParams creates a new UserRequestWithdrawalParams object with the default values initialized.
func NewUserRequestWithdrawalParamsWithContext ¶
func NewUserRequestWithdrawalParamsWithContext(ctx context.Context) *UserRequestWithdrawalParams
NewUserRequestWithdrawalParamsWithContext creates a new UserRequestWithdrawalParams object with the default values initialized, and the ability to set a context for a request
func NewUserRequestWithdrawalParamsWithHTTPClient ¶
func NewUserRequestWithdrawalParamsWithHTTPClient(client *http.Client) *UserRequestWithdrawalParams
NewUserRequestWithdrawalParamsWithHTTPClient creates a new UserRequestWithdrawalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserRequestWithdrawalParamsWithTimeout ¶
func NewUserRequestWithdrawalParamsWithTimeout(timeout time.Duration) *UserRequestWithdrawalParams
NewUserRequestWithdrawalParamsWithTimeout creates a new UserRequestWithdrawalParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserRequestWithdrawalParams) SetAddress ¶
func (o *UserRequestWithdrawalParams) SetAddress(address string)
SetAddress adds the address to the user request withdrawal params
func (*UserRequestWithdrawalParams) SetAmount ¶
func (o *UserRequestWithdrawalParams) SetAmount(amount int64)
SetAmount adds the amount to the user request withdrawal params
func (*UserRequestWithdrawalParams) SetContext ¶
func (o *UserRequestWithdrawalParams) SetContext(ctx context.Context)
SetContext adds the context to the user request withdrawal params
func (*UserRequestWithdrawalParams) SetCurrency ¶
func (o *UserRequestWithdrawalParams) SetCurrency(currency string)
SetCurrency adds the currency to the user request withdrawal params
func (*UserRequestWithdrawalParams) SetFee ¶
func (o *UserRequestWithdrawalParams) SetFee(fee *float64)
SetFee adds the fee to the user request withdrawal params
func (*UserRequestWithdrawalParams) SetHTTPClient ¶
func (o *UserRequestWithdrawalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user request withdrawal params
func (*UserRequestWithdrawalParams) SetOtpToken ¶
func (o *UserRequestWithdrawalParams) SetOtpToken(otpToken *string)
SetOtpToken adds the otpToken to the user request withdrawal params
func (*UserRequestWithdrawalParams) SetTimeout ¶
func (o *UserRequestWithdrawalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user request withdrawal params
func (*UserRequestWithdrawalParams) WithAddress ¶
func (o *UserRequestWithdrawalParams) WithAddress(address string) *UserRequestWithdrawalParams
WithAddress adds the address to the user request withdrawal params
func (*UserRequestWithdrawalParams) WithAmount ¶
func (o *UserRequestWithdrawalParams) WithAmount(amount int64) *UserRequestWithdrawalParams
WithAmount adds the amount to the user request withdrawal params
func (*UserRequestWithdrawalParams) WithContext ¶
func (o *UserRequestWithdrawalParams) WithContext(ctx context.Context) *UserRequestWithdrawalParams
WithContext adds the context to the user request withdrawal params
func (*UserRequestWithdrawalParams) WithCurrency ¶
func (o *UserRequestWithdrawalParams) WithCurrency(currency string) *UserRequestWithdrawalParams
WithCurrency adds the currency to the user request withdrawal params
func (*UserRequestWithdrawalParams) WithFee ¶
func (o *UserRequestWithdrawalParams) WithFee(fee *float64) *UserRequestWithdrawalParams
WithFee adds the fee to the user request withdrawal params
func (*UserRequestWithdrawalParams) WithHTTPClient ¶
func (o *UserRequestWithdrawalParams) WithHTTPClient(client *http.Client) *UserRequestWithdrawalParams
WithHTTPClient adds the HTTPClient to the user request withdrawal params
func (*UserRequestWithdrawalParams) WithOtpToken ¶
func (o *UserRequestWithdrawalParams) WithOtpToken(otpToken *string) *UserRequestWithdrawalParams
WithOtpToken adds the otpToken to the user request withdrawal params
func (*UserRequestWithdrawalParams) WithTimeout ¶
func (o *UserRequestWithdrawalParams) WithTimeout(timeout time.Duration) *UserRequestWithdrawalParams
WithTimeout adds the timeout to the user request withdrawal params
func (*UserRequestWithdrawalParams) WriteToRequest ¶
func (o *UserRequestWithdrawalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserRequestWithdrawalReader ¶
type UserRequestWithdrawalReader struct {
// contains filtered or unexported fields
}
UserRequestWithdrawalReader is a Reader for the UserRequestWithdrawal structure.
func (*UserRequestWithdrawalReader) ReadResponse ¶
func (o *UserRequestWithdrawalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserSavePreferencesOK ¶
UserSavePreferencesOK handles this case with default header values.
Request was successful
func NewUserSavePreferencesOK ¶
func NewUserSavePreferencesOK() *UserSavePreferencesOK
NewUserSavePreferencesOK creates a UserSavePreferencesOK with default headers values
func (*UserSavePreferencesOK) Error ¶
func (o *UserSavePreferencesOK) Error() string
type UserSavePreferencesParams ¶
type UserSavePreferencesParams struct { /*Overwrite If true, will overwrite all existing preferences. */ Overwrite *bool /*Prefs*/ Prefs string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserSavePreferencesParams contains all the parameters to send to the API endpoint for the user save preferences operation typically these are written to a http.Request
func NewUserSavePreferencesParams ¶
func NewUserSavePreferencesParams() *UserSavePreferencesParams
NewUserSavePreferencesParams creates a new UserSavePreferencesParams object with the default values initialized.
func NewUserSavePreferencesParamsWithContext ¶
func NewUserSavePreferencesParamsWithContext(ctx context.Context) *UserSavePreferencesParams
NewUserSavePreferencesParamsWithContext creates a new UserSavePreferencesParams object with the default values initialized, and the ability to set a context for a request
func NewUserSavePreferencesParamsWithHTTPClient ¶
func NewUserSavePreferencesParamsWithHTTPClient(client *http.Client) *UserSavePreferencesParams
NewUserSavePreferencesParamsWithHTTPClient creates a new UserSavePreferencesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserSavePreferencesParamsWithTimeout ¶
func NewUserSavePreferencesParamsWithTimeout(timeout time.Duration) *UserSavePreferencesParams
NewUserSavePreferencesParamsWithTimeout creates a new UserSavePreferencesParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserSavePreferencesParams) SetContext ¶
func (o *UserSavePreferencesParams) SetContext(ctx context.Context)
SetContext adds the context to the user save preferences params
func (*UserSavePreferencesParams) SetHTTPClient ¶
func (o *UserSavePreferencesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user save preferences params
func (*UserSavePreferencesParams) SetOverwrite ¶
func (o *UserSavePreferencesParams) SetOverwrite(overwrite *bool)
SetOverwrite adds the overwrite to the user save preferences params
func (*UserSavePreferencesParams) SetPrefs ¶
func (o *UserSavePreferencesParams) SetPrefs(prefs string)
SetPrefs adds the prefs to the user save preferences params
func (*UserSavePreferencesParams) SetTimeout ¶
func (o *UserSavePreferencesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user save preferences params
func (*UserSavePreferencesParams) WithContext ¶
func (o *UserSavePreferencesParams) WithContext(ctx context.Context) *UserSavePreferencesParams
WithContext adds the context to the user save preferences params
func (*UserSavePreferencesParams) WithHTTPClient ¶
func (o *UserSavePreferencesParams) WithHTTPClient(client *http.Client) *UserSavePreferencesParams
WithHTTPClient adds the HTTPClient to the user save preferences params
func (*UserSavePreferencesParams) WithOverwrite ¶
func (o *UserSavePreferencesParams) WithOverwrite(overwrite *bool) *UserSavePreferencesParams
WithOverwrite adds the overwrite to the user save preferences params
func (*UserSavePreferencesParams) WithPrefs ¶
func (o *UserSavePreferencesParams) WithPrefs(prefs string) *UserSavePreferencesParams
WithPrefs adds the prefs to the user save preferences params
func (*UserSavePreferencesParams) WithTimeout ¶
func (o *UserSavePreferencesParams) WithTimeout(timeout time.Duration) *UserSavePreferencesParams
WithTimeout adds the timeout to the user save preferences params
func (*UserSavePreferencesParams) WriteToRequest ¶
func (o *UserSavePreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserSavePreferencesReader ¶
type UserSavePreferencesReader struct {
// contains filtered or unexported fields
}
UserSavePreferencesReader is a Reader for the UserSavePreferences structure.
func (*UserSavePreferencesReader) ReadResponse ¶
func (o *UserSavePreferencesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserUpdateOK ¶
UserUpdateOK handles this case with default header values.
Request was successful
func NewUserUpdateOK ¶
func NewUserUpdateOK() *UserUpdateOK
NewUserUpdateOK creates a UserUpdateOK with default headers values
func (*UserUpdateOK) Error ¶
func (o *UserUpdateOK) Error() string
type UserUpdateParams ¶
type UserUpdateParams struct { /*Country Country of residence. */ Country *string /*Firstname*/ Firstname *string /*Lastname*/ Lastname *string /*NewPassword*/ NewPassword *string /*NewPasswordConfirm*/ NewPasswordConfirm *string /*OldPassword*/ OldPassword *string /*PgpPubKey PGP Public Key. If specified, automated emails will be sentwith this key. */ PgpPubKey *string /*Username Username can only be set once. To reset, email support. */ Username *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserUpdateParams contains all the parameters to send to the API endpoint for the user update operation typically these are written to a http.Request
func NewUserUpdateParams ¶
func NewUserUpdateParams() *UserUpdateParams
NewUserUpdateParams creates a new UserUpdateParams object with the default values initialized.
func NewUserUpdateParamsWithContext ¶
func NewUserUpdateParamsWithContext(ctx context.Context) *UserUpdateParams
NewUserUpdateParamsWithContext creates a new UserUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewUserUpdateParamsWithHTTPClient ¶
func NewUserUpdateParamsWithHTTPClient(client *http.Client) *UserUpdateParams
NewUserUpdateParamsWithHTTPClient creates a new UserUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserUpdateParamsWithTimeout ¶
func NewUserUpdateParamsWithTimeout(timeout time.Duration) *UserUpdateParams
NewUserUpdateParamsWithTimeout creates a new UserUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserUpdateParams) SetContext ¶
func (o *UserUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the user update params
func (*UserUpdateParams) SetCountry ¶
func (o *UserUpdateParams) SetCountry(country *string)
SetCountry adds the country to the user update params
func (*UserUpdateParams) SetFirstname ¶
func (o *UserUpdateParams) SetFirstname(firstname *string)
SetFirstname adds the firstname to the user update params
func (*UserUpdateParams) SetHTTPClient ¶
func (o *UserUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user update params
func (*UserUpdateParams) SetLastname ¶
func (o *UserUpdateParams) SetLastname(lastname *string)
SetLastname adds the lastname to the user update params
func (*UserUpdateParams) SetNewPassword ¶
func (o *UserUpdateParams) SetNewPassword(newPassword *string)
SetNewPassword adds the newPassword to the user update params
func (*UserUpdateParams) SetNewPasswordConfirm ¶
func (o *UserUpdateParams) SetNewPasswordConfirm(newPasswordConfirm *string)
SetNewPasswordConfirm adds the newPasswordConfirm to the user update params
func (*UserUpdateParams) SetOldPassword ¶
func (o *UserUpdateParams) SetOldPassword(oldPassword *string)
SetOldPassword adds the oldPassword to the user update params
func (*UserUpdateParams) SetPgpPubKey ¶
func (o *UserUpdateParams) SetPgpPubKey(pgpPubKey *string)
SetPgpPubKey adds the pgpPubKey to the user update params
func (*UserUpdateParams) SetTimeout ¶
func (o *UserUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user update params
func (*UserUpdateParams) SetUsername ¶
func (o *UserUpdateParams) SetUsername(username *string)
SetUsername adds the username to the user update params
func (*UserUpdateParams) WithContext ¶
func (o *UserUpdateParams) WithContext(ctx context.Context) *UserUpdateParams
WithContext adds the context to the user update params
func (*UserUpdateParams) WithCountry ¶
func (o *UserUpdateParams) WithCountry(country *string) *UserUpdateParams
WithCountry adds the country to the user update params
func (*UserUpdateParams) WithFirstname ¶
func (o *UserUpdateParams) WithFirstname(firstname *string) *UserUpdateParams
WithFirstname adds the firstname to the user update params
func (*UserUpdateParams) WithHTTPClient ¶
func (o *UserUpdateParams) WithHTTPClient(client *http.Client) *UserUpdateParams
WithHTTPClient adds the HTTPClient to the user update params
func (*UserUpdateParams) WithLastname ¶
func (o *UserUpdateParams) WithLastname(lastname *string) *UserUpdateParams
WithLastname adds the lastname to the user update params
func (*UserUpdateParams) WithNewPassword ¶
func (o *UserUpdateParams) WithNewPassword(newPassword *string) *UserUpdateParams
WithNewPassword adds the newPassword to the user update params
func (*UserUpdateParams) WithNewPasswordConfirm ¶
func (o *UserUpdateParams) WithNewPasswordConfirm(newPasswordConfirm *string) *UserUpdateParams
WithNewPasswordConfirm adds the newPasswordConfirm to the user update params
func (*UserUpdateParams) WithOldPassword ¶
func (o *UserUpdateParams) WithOldPassword(oldPassword *string) *UserUpdateParams
WithOldPassword adds the oldPassword to the user update params
func (*UserUpdateParams) WithPgpPubKey ¶
func (o *UserUpdateParams) WithPgpPubKey(pgpPubKey *string) *UserUpdateParams
WithPgpPubKey adds the pgpPubKey to the user update params
func (*UserUpdateParams) WithTimeout ¶
func (o *UserUpdateParams) WithTimeout(timeout time.Duration) *UserUpdateParams
WithTimeout adds the timeout to the user update params
func (*UserUpdateParams) WithUsername ¶
func (o *UserUpdateParams) WithUsername(username *string) *UserUpdateParams
WithUsername adds the username to the user update params
func (*UserUpdateParams) WriteToRequest ¶
func (o *UserUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserUpdateReader ¶
type UserUpdateReader struct {
// contains filtered or unexported fields
}
UserUpdateReader is a Reader for the UserUpdate structure.
func (*UserUpdateReader) ReadResponse ¶
func (o *UserUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- user_cancel_withdrawal_parameters.go
- user_cancel_withdrawal_responses.go
- user_check_referral_code_parameters.go
- user_check_referral_code_responses.go
- user_client.go
- user_confirm_enable_t_f_a_parameters.go
- user_confirm_enable_t_f_a_responses.go
- user_confirm_parameters.go
- user_confirm_responses.go
- user_confirm_withdrawal_parameters.go
- user_confirm_withdrawal_responses.go
- user_disable_t_f_a_parameters.go
- user_disable_t_f_a_responses.go
- user_get_affiliate_status_parameters.go
- user_get_affiliate_status_responses.go
- user_get_commission_parameters.go
- user_get_commission_responses.go
- user_get_deposit_address_parameters.go
- user_get_deposit_address_responses.go
- user_get_margin_parameters.go
- user_get_margin_responses.go
- user_get_parameters.go
- user_get_responses.go
- user_get_wallet_history_parameters.go
- user_get_wallet_history_responses.go
- user_get_wallet_parameters.go
- user_get_wallet_responses.go
- user_get_wallet_summary_parameters.go
- user_get_wallet_summary_responses.go
- user_logout_all_parameters.go
- user_logout_all_responses.go
- user_logout_parameters.go
- user_logout_responses.go
- user_min_withdrawal_fee_parameters.go
- user_min_withdrawal_fee_responses.go
- user_request_enable_t_f_a_parameters.go
- user_request_enable_t_f_a_responses.go
- user_request_withdrawal_parameters.go
- user_request_withdrawal_responses.go
- user_save_preferences_parameters.go
- user_save_preferences_responses.go
- user_update_parameters.go
- user_update_responses.go