private

package
v3.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 private API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new private API client.

func (*Client) GetPrivateBuy

func (a *Client) GetPrivateBuy(params *GetPrivateBuyParams) (*GetPrivateBuyOK, error)

GetPrivateBuy places a buy order for an instrument

func (*Client) GetPrivateCancelTransferByID

func (a *Client) GetPrivateCancelTransferByID(params *GetPrivateCancelTransferByIDParams) (*GetPrivateCancelTransferByIDOK, error)

GetPrivateCancelTransferByID cancels transfer

func (*Client) GetPrivateChangeSubaccountName

func (a *Client) GetPrivateChangeSubaccountName(params *GetPrivateChangeSubaccountNameParams) (*GetPrivateChangeSubaccountNameOK, error)

GetPrivateChangeSubaccountName changes the user name for a subaccount

func (*Client) GetPrivateClosePosition

func (a *Client) GetPrivateClosePosition(params *GetPrivateClosePositionParams) (*GetPrivateClosePositionOK, error)

GetPrivateClosePosition makes closing position reduce only order

func (*Client) GetPrivateCreateSubaccount

func (a *Client) GetPrivateCreateSubaccount(params *GetPrivateCreateSubaccountParams) (*GetPrivateCreateSubaccountOK, error)

GetPrivateCreateSubaccount creates a new subaccount

func (*Client) GetPrivateDisableTfaForSubaccount

func (a *Client) GetPrivateDisableTfaForSubaccount(params *GetPrivateDisableTfaForSubaccountParams) (*GetPrivateDisableTfaForSubaccountOK, error)

GetPrivateDisableTfaForSubaccount disables two factor authentication for a subaccount

func (*Client) GetPrivateGetOrderState

func (a *Client) GetPrivateGetOrderState(params *GetPrivateGetOrderStateParams) (*GetPrivateGetOrderStateOK, error)

GetPrivateGetOrderState retrieves the current state of an order

func (*Client) GetPrivateGetPosition

func (a *Client) GetPrivateGetPosition(params *GetPrivateGetPositionParams) (*GetPrivateGetPositionOK, error)

GetPrivateGetPosition retrieves user position

func (*Client) GetPrivateGetPositions

func (a *Client) GetPrivateGetPositions(params *GetPrivateGetPositionsParams) (*GetPrivateGetPositionsOK, error)

GetPrivateGetPositions retrieves user positions

func (*Client) GetPrivateGetSubaccounts

func (a *Client) GetPrivateGetSubaccounts(params *GetPrivateGetSubaccountsParams) (*GetPrivateGetSubaccountsOK, error)

GetPrivateGetSubaccounts gets information about subaccounts

func (*Client) GetPrivateSell

func (a *Client) GetPrivateSell(params *GetPrivateSellParams) (*GetPrivateSellOK, error)

GetPrivateSell places a sell order for an instrument

func (*Client) GetPrivateSetEmailForSubaccount

func (a *Client) GetPrivateSetEmailForSubaccount(params *GetPrivateSetEmailForSubaccountParams) (*GetPrivateSetEmailForSubaccountOK, error)

GetPrivateSetEmailForSubaccount assigns an email address to a subaccount user will receive an email with confirmation link

func (*Client) GetPrivateSetPasswordForSubaccount

func (a *Client) GetPrivateSetPasswordForSubaccount(params *GetPrivateSetPasswordForSubaccountParams) (*GetPrivateSetPasswordForSubaccountOK, error)

GetPrivateSetPasswordForSubaccount sets the password for the subaccount

func (*Client) GetPrivateSubmitTransferToSubaccount

func (a *Client) GetPrivateSubmitTransferToSubaccount(params *GetPrivateSubmitTransferToSubaccountParams) (*GetPrivateSubmitTransferToSubaccountOK, error)

GetPrivateSubmitTransferToSubaccount transfers funds to a subaccount

func (*Client) GetPrivateSubmitTransferToUser

func (a *Client) GetPrivateSubmitTransferToUser(params *GetPrivateSubmitTransferToUserParams) (*GetPrivateSubmitTransferToUserOK, error)

GetPrivateSubmitTransferToUser transfers funds to a another user

func (*Client) GetPrivateSubscribe

func (a *Client) GetPrivateSubscribe(params *GetPrivateSubscribeParams) (*GetPrivateSubscribeOK, error)

GetPrivateSubscribe subscribes to one or more channels

Subscribe to one or more channels.

The name of the channel determines what information will be provided, and in what form.

func (*Client) GetPrivateToggleNotificationsFromSubaccount

func (a *Client) GetPrivateToggleNotificationsFromSubaccount(params *GetPrivateToggleNotificationsFromSubaccountParams) (*GetPrivateToggleNotificationsFromSubaccountOK, error)

GetPrivateToggleNotificationsFromSubaccount enables or disable sending of notifications for the subaccount

func (*Client) GetPrivateToggleSubaccountLogin

func (a *Client) GetPrivateToggleSubaccountLogin(params *GetPrivateToggleSubaccountLoginParams) (*GetPrivateToggleSubaccountLoginOK, error)

GetPrivateToggleSubaccountLogin enables or disable login for a subaccount if login is disabled and a session for the subaccount exists this session will be terminated

func (*Client) GetPrivateUnsubscribe

func (a *Client) GetPrivateUnsubscribe(params *GetPrivateUnsubscribeParams) (*GetPrivateUnsubscribeOK, error)

GetPrivateUnsubscribe unsubscribes from one or more channels

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetPrivateBuyOK

type GetPrivateBuyOK struct {
	Payload *models.PrivateBuyAndSellResponse
}

GetPrivateBuyOK handles this case with default header values.

ok response

func NewGetPrivateBuyOK

func NewGetPrivateBuyOK() *GetPrivateBuyOK

NewGetPrivateBuyOK creates a GetPrivateBuyOK with default headers values

func (*GetPrivateBuyOK) Error

func (o *GetPrivateBuyOK) Error() string

func (*GetPrivateBuyOK) GetPayload

type GetPrivateBuyParams

type GetPrivateBuyParams struct {

	/*Advanced
	  Advanced option order type. (Only for options)

	*/
	Advanced *string
	/*Amount
	  It represents the requested order size. For perpetual and futures the amount is in USD units, for options it is amount of corresponding cryptocurrency contracts, e.g., BTC or ETH

	*/
	Amount float64
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Label
	  user defined label for the order (maximum 32 characters)

	*/
	Label *string
	/*MaxShow
	  Maximum amount within an order to be shown to other customers, `0` for invisible order

	*/
	MaxShow *float64
	/*PostOnly
	  <p>If true, the order is considered post-only. If the new price would cause the order to be filled immediately (as taker), the price will be changed to be just below the bid.</p> <p>Only valid in combination with time_in_force=`"good_til_cancelled"`</p>

	*/
	PostOnly *bool
	/*Price
	  <p>The order price in base currency (Only for limit and stop_limit orders)</p> <p>When adding order with advanced=usd, the field price should be the option price value in USD.</p> <p>When adding order with advanced=implv, the field price should be a value of implied volatility in percentages. For example,  price=100, means implied volatility of 100%</p>

	*/
	Price *float64
	/*ReduceOnly
	  If `true`, the order is considered reduce-only which is intended to only reduce a current position

	*/
	ReduceOnly *bool
	/*StopPrice
	  Stop price, required for stop limit orders (Only for stop orders)

	*/
	StopPrice *float64
	/*TimeInForce
	  <p>Specifies how long the order remains in effect. Default `"good_til_cancelled"`</p> <ul> <li>`"good_til_cancelled"` - unfilled order remains in order book until cancelled</li> <li>`"fill_or_kill"` - execute a transaction immediately and completely or not at all</li> <li>`"immediate_or_cancel"` - execute a transaction immediately, and any portion of the order that cannot be immediately filled is cancelled</li> </ul>

	*/
	TimeInForce *string
	/*Trigger
	  Defines trigger type, required for `"stop_limit"` order type

	*/
	Trigger *string
	/*Type
	  The order type, default: `"limit"`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateBuyParams contains all the parameters to send to the API endpoint for the get private buy operation typically these are written to a http.Request

func NewGetPrivateBuyParams

func NewGetPrivateBuyParams() *GetPrivateBuyParams

NewGetPrivateBuyParams creates a new GetPrivateBuyParams object with the default values initialized.

func NewGetPrivateBuyParamsWithContext

func NewGetPrivateBuyParamsWithContext(ctx context.Context) *GetPrivateBuyParams

NewGetPrivateBuyParamsWithContext creates a new GetPrivateBuyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateBuyParamsWithHTTPClient

func NewGetPrivateBuyParamsWithHTTPClient(client *http.Client) *GetPrivateBuyParams

NewGetPrivateBuyParamsWithHTTPClient creates a new GetPrivateBuyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateBuyParamsWithTimeout

func NewGetPrivateBuyParamsWithTimeout(timeout time.Duration) *GetPrivateBuyParams

NewGetPrivateBuyParamsWithTimeout creates a new GetPrivateBuyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateBuyParams) SetAdvanced

func (o *GetPrivateBuyParams) SetAdvanced(advanced *string)

SetAdvanced adds the advanced to the get private buy params

func (*GetPrivateBuyParams) SetAmount

func (o *GetPrivateBuyParams) SetAmount(amount float64)

SetAmount adds the amount to the get private buy params

func (*GetPrivateBuyParams) SetContext

func (o *GetPrivateBuyParams) SetContext(ctx context.Context)

SetContext adds the context to the get private buy params

func (*GetPrivateBuyParams) SetHTTPClient

func (o *GetPrivateBuyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private buy params

func (*GetPrivateBuyParams) SetInstrumentName

func (o *GetPrivateBuyParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private buy params

func (*GetPrivateBuyParams) SetLabel

func (o *GetPrivateBuyParams) SetLabel(label *string)

SetLabel adds the label to the get private buy params

func (*GetPrivateBuyParams) SetMaxShow

func (o *GetPrivateBuyParams) SetMaxShow(maxShow *float64)

SetMaxShow adds the maxShow to the get private buy params

func (*GetPrivateBuyParams) SetPostOnly

func (o *GetPrivateBuyParams) SetPostOnly(postOnly *bool)

SetPostOnly adds the postOnly to the get private buy params

func (*GetPrivateBuyParams) SetPrice

func (o *GetPrivateBuyParams) SetPrice(price *float64)

SetPrice adds the price to the get private buy params

func (*GetPrivateBuyParams) SetReduceOnly

func (o *GetPrivateBuyParams) SetReduceOnly(reduceOnly *bool)

SetReduceOnly adds the reduceOnly to the get private buy params

func (*GetPrivateBuyParams) SetStopPrice

func (o *GetPrivateBuyParams) SetStopPrice(stopPrice *float64)

SetStopPrice adds the stopPrice to the get private buy params

func (*GetPrivateBuyParams) SetTimeInForce

func (o *GetPrivateBuyParams) SetTimeInForce(timeInForce *string)

SetTimeInForce adds the timeInForce to the get private buy params

func (*GetPrivateBuyParams) SetTimeout

func (o *GetPrivateBuyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private buy params

func (*GetPrivateBuyParams) SetTrigger

func (o *GetPrivateBuyParams) SetTrigger(trigger *string)

SetTrigger adds the trigger to the get private buy params

func (*GetPrivateBuyParams) SetType

func (o *GetPrivateBuyParams) SetType(typeVar *string)

SetType adds the type to the get private buy params

func (*GetPrivateBuyParams) WithAdvanced

func (o *GetPrivateBuyParams) WithAdvanced(advanced *string) *GetPrivateBuyParams

WithAdvanced adds the advanced to the get private buy params

func (*GetPrivateBuyParams) WithAmount

func (o *GetPrivateBuyParams) WithAmount(amount float64) *GetPrivateBuyParams

WithAmount adds the amount to the get private buy params

func (*GetPrivateBuyParams) WithContext

WithContext adds the context to the get private buy params

func (*GetPrivateBuyParams) WithHTTPClient

func (o *GetPrivateBuyParams) WithHTTPClient(client *http.Client) *GetPrivateBuyParams

WithHTTPClient adds the HTTPClient to the get private buy params

func (*GetPrivateBuyParams) WithInstrumentName

func (o *GetPrivateBuyParams) WithInstrumentName(instrumentName string) *GetPrivateBuyParams

WithInstrumentName adds the instrumentName to the get private buy params

func (*GetPrivateBuyParams) WithLabel

func (o *GetPrivateBuyParams) WithLabel(label *string) *GetPrivateBuyParams

WithLabel adds the label to the get private buy params

func (*GetPrivateBuyParams) WithMaxShow

func (o *GetPrivateBuyParams) WithMaxShow(maxShow *float64) *GetPrivateBuyParams

WithMaxShow adds the maxShow to the get private buy params

func (*GetPrivateBuyParams) WithPostOnly

func (o *GetPrivateBuyParams) WithPostOnly(postOnly *bool) *GetPrivateBuyParams

WithPostOnly adds the postOnly to the get private buy params

func (*GetPrivateBuyParams) WithPrice

func (o *GetPrivateBuyParams) WithPrice(price *float64) *GetPrivateBuyParams

WithPrice adds the price to the get private buy params

func (*GetPrivateBuyParams) WithReduceOnly

func (o *GetPrivateBuyParams) WithReduceOnly(reduceOnly *bool) *GetPrivateBuyParams

WithReduceOnly adds the reduceOnly to the get private buy params

func (*GetPrivateBuyParams) WithStopPrice

func (o *GetPrivateBuyParams) WithStopPrice(stopPrice *float64) *GetPrivateBuyParams

WithStopPrice adds the stopPrice to the get private buy params

func (*GetPrivateBuyParams) WithTimeInForce

func (o *GetPrivateBuyParams) WithTimeInForce(timeInForce *string) *GetPrivateBuyParams

WithTimeInForce adds the timeInForce to the get private buy params

func (*GetPrivateBuyParams) WithTimeout

func (o *GetPrivateBuyParams) WithTimeout(timeout time.Duration) *GetPrivateBuyParams

WithTimeout adds the timeout to the get private buy params

func (*GetPrivateBuyParams) WithTrigger

func (o *GetPrivateBuyParams) WithTrigger(trigger *string) *GetPrivateBuyParams

WithTrigger adds the trigger to the get private buy params

func (*GetPrivateBuyParams) WithType

func (o *GetPrivateBuyParams) WithType(typeVar *string) *GetPrivateBuyParams

WithType adds the typeVar to the get private buy params

func (*GetPrivateBuyParams) WriteToRequest

func (o *GetPrivateBuyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPrivateBuyReader

type GetPrivateBuyReader struct {
	// contains filtered or unexported fields
}

GetPrivateBuyReader is a Reader for the GetPrivateBuy structure.

func (*GetPrivateBuyReader) ReadResponse

func (o *GetPrivateBuyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCancelTransferByIDOK

type GetPrivateCancelTransferByIDOK struct {
	Payload *models.PrivateSubmitTransferResponse
}

GetPrivateCancelTransferByIDOK handles this case with default header values.

ok response

func NewGetPrivateCancelTransferByIDOK

func NewGetPrivateCancelTransferByIDOK() *GetPrivateCancelTransferByIDOK

NewGetPrivateCancelTransferByIDOK creates a GetPrivateCancelTransferByIDOK with default headers values

func (*GetPrivateCancelTransferByIDOK) Error

func (*GetPrivateCancelTransferByIDOK) GetPayload

type GetPrivateCancelTransferByIDParams

type GetPrivateCancelTransferByIDParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*ID
	  Id of transfer

	*/
	ID int64
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCancelTransferByIDParams contains all the parameters to send to the API endpoint for the get private cancel transfer by ID operation typically these are written to a http.Request

func NewGetPrivateCancelTransferByIDParams

func NewGetPrivateCancelTransferByIDParams() *GetPrivateCancelTransferByIDParams

NewGetPrivateCancelTransferByIDParams creates a new GetPrivateCancelTransferByIDParams object with the default values initialized.

func NewGetPrivateCancelTransferByIDParamsWithContext

func NewGetPrivateCancelTransferByIDParamsWithContext(ctx context.Context) *GetPrivateCancelTransferByIDParams

NewGetPrivateCancelTransferByIDParamsWithContext creates a new GetPrivateCancelTransferByIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCancelTransferByIDParamsWithHTTPClient

func NewGetPrivateCancelTransferByIDParamsWithHTTPClient(client *http.Client) *GetPrivateCancelTransferByIDParams

NewGetPrivateCancelTransferByIDParamsWithHTTPClient creates a new GetPrivateCancelTransferByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCancelTransferByIDParamsWithTimeout

func NewGetPrivateCancelTransferByIDParamsWithTimeout(timeout time.Duration) *GetPrivateCancelTransferByIDParams

NewGetPrivateCancelTransferByIDParamsWithTimeout creates a new GetPrivateCancelTransferByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCancelTransferByIDParams) SetContext

SetContext adds the context to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetCurrency

func (o *GetPrivateCancelTransferByIDParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetHTTPClient

func (o *GetPrivateCancelTransferByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetID

SetID adds the id to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetTfa

SetTfa adds the tfa to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) SetTimeout

func (o *GetPrivateCancelTransferByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithContext

WithContext adds the context to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithCurrency

WithCurrency adds the currency to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithID

WithID adds the id to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithTfa

WithTfa adds the tfa to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WithTimeout

WithTimeout adds the timeout to the get private cancel transfer by ID params

func (*GetPrivateCancelTransferByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCancelTransferByIDReader

type GetPrivateCancelTransferByIDReader struct {
	// contains filtered or unexported fields
}

GetPrivateCancelTransferByIDReader is a Reader for the GetPrivateCancelTransferByID structure.

func (*GetPrivateCancelTransferByIDReader) ReadResponse

func (o *GetPrivateCancelTransferByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateChangeSubaccountNameOK

type GetPrivateChangeSubaccountNameOK struct {
	Payload *models.OkResponse
}

GetPrivateChangeSubaccountNameOK handles this case with default header values.

ok response

func NewGetPrivateChangeSubaccountNameOK

func NewGetPrivateChangeSubaccountNameOK() *GetPrivateChangeSubaccountNameOK

NewGetPrivateChangeSubaccountNameOK creates a GetPrivateChangeSubaccountNameOK with default headers values

func (*GetPrivateChangeSubaccountNameOK) Error

func (*GetPrivateChangeSubaccountNameOK) GetPayload

type GetPrivateChangeSubaccountNameParams

type GetPrivateChangeSubaccountNameParams struct {

	/*Name
	  The new user name

	*/
	Name string
	/*Sid
	  The user id for the subaccount

	*/
	Sid int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateChangeSubaccountNameParams contains all the parameters to send to the API endpoint for the get private change subaccount name operation typically these are written to a http.Request

func NewGetPrivateChangeSubaccountNameParams

func NewGetPrivateChangeSubaccountNameParams() *GetPrivateChangeSubaccountNameParams

NewGetPrivateChangeSubaccountNameParams creates a new GetPrivateChangeSubaccountNameParams object with the default values initialized.

func NewGetPrivateChangeSubaccountNameParamsWithContext

func NewGetPrivateChangeSubaccountNameParamsWithContext(ctx context.Context) *GetPrivateChangeSubaccountNameParams

NewGetPrivateChangeSubaccountNameParamsWithContext creates a new GetPrivateChangeSubaccountNameParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateChangeSubaccountNameParamsWithHTTPClient

func NewGetPrivateChangeSubaccountNameParamsWithHTTPClient(client *http.Client) *GetPrivateChangeSubaccountNameParams

NewGetPrivateChangeSubaccountNameParamsWithHTTPClient creates a new GetPrivateChangeSubaccountNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateChangeSubaccountNameParamsWithTimeout

func NewGetPrivateChangeSubaccountNameParamsWithTimeout(timeout time.Duration) *GetPrivateChangeSubaccountNameParams

NewGetPrivateChangeSubaccountNameParamsWithTimeout creates a new GetPrivateChangeSubaccountNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateChangeSubaccountNameParams) SetContext

SetContext adds the context to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) SetHTTPClient

func (o *GetPrivateChangeSubaccountNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) SetName

SetName adds the name to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) SetSid

SetSid adds the sid to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) SetTimeout

func (o *GetPrivateChangeSubaccountNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithContext

WithContext adds the context to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithName

WithName adds the name to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithSid

WithSid adds the sid to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WithTimeout

WithTimeout adds the timeout to the get private change subaccount name params

func (*GetPrivateChangeSubaccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateChangeSubaccountNameReader

type GetPrivateChangeSubaccountNameReader struct {
	// contains filtered or unexported fields
}

GetPrivateChangeSubaccountNameReader is a Reader for the GetPrivateChangeSubaccountName structure.

func (*GetPrivateChangeSubaccountNameReader) ReadResponse

func (o *GetPrivateChangeSubaccountNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateClosePositionOK

type GetPrivateClosePositionOK struct {
	Payload *models.PrivateBuyAndSellResponse
}

GetPrivateClosePositionOK handles this case with default header values.

ok response

func NewGetPrivateClosePositionOK

func NewGetPrivateClosePositionOK() *GetPrivateClosePositionOK

NewGetPrivateClosePositionOK creates a GetPrivateClosePositionOK with default headers values

func (*GetPrivateClosePositionOK) Error

func (o *GetPrivateClosePositionOK) Error() string

func (*GetPrivateClosePositionOK) GetPayload

type GetPrivateClosePositionParams

type GetPrivateClosePositionParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Price
	  Optional price for limit order.

	*/
	Price *float64
	/*Type
	  The order type

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateClosePositionParams contains all the parameters to send to the API endpoint for the get private close position operation typically these are written to a http.Request

func NewGetPrivateClosePositionParams

func NewGetPrivateClosePositionParams() *GetPrivateClosePositionParams

NewGetPrivateClosePositionParams creates a new GetPrivateClosePositionParams object with the default values initialized.

func NewGetPrivateClosePositionParamsWithContext

func NewGetPrivateClosePositionParamsWithContext(ctx context.Context) *GetPrivateClosePositionParams

NewGetPrivateClosePositionParamsWithContext creates a new GetPrivateClosePositionParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateClosePositionParamsWithHTTPClient

func NewGetPrivateClosePositionParamsWithHTTPClient(client *http.Client) *GetPrivateClosePositionParams

NewGetPrivateClosePositionParamsWithHTTPClient creates a new GetPrivateClosePositionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateClosePositionParamsWithTimeout

func NewGetPrivateClosePositionParamsWithTimeout(timeout time.Duration) *GetPrivateClosePositionParams

NewGetPrivateClosePositionParamsWithTimeout creates a new GetPrivateClosePositionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateClosePositionParams) SetContext

func (o *GetPrivateClosePositionParams) SetContext(ctx context.Context)

SetContext adds the context to the get private close position params

func (*GetPrivateClosePositionParams) SetHTTPClient

func (o *GetPrivateClosePositionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private close position params

func (*GetPrivateClosePositionParams) SetInstrumentName

func (o *GetPrivateClosePositionParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private close position params

func (*GetPrivateClosePositionParams) SetPrice

func (o *GetPrivateClosePositionParams) SetPrice(price *float64)

SetPrice adds the price to the get private close position params

func (*GetPrivateClosePositionParams) SetTimeout

func (o *GetPrivateClosePositionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private close position params

func (*GetPrivateClosePositionParams) SetType

func (o *GetPrivateClosePositionParams) SetType(typeVar string)

SetType adds the type to the get private close position params

func (*GetPrivateClosePositionParams) WithContext

WithContext adds the context to the get private close position params

func (*GetPrivateClosePositionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private close position params

func (*GetPrivateClosePositionParams) WithInstrumentName

func (o *GetPrivateClosePositionParams) WithInstrumentName(instrumentName string) *GetPrivateClosePositionParams

WithInstrumentName adds the instrumentName to the get private close position params

func (*GetPrivateClosePositionParams) WithPrice

WithPrice adds the price to the get private close position params

func (*GetPrivateClosePositionParams) WithTimeout

WithTimeout adds the timeout to the get private close position params

func (*GetPrivateClosePositionParams) WithType

WithType adds the typeVar to the get private close position params

func (*GetPrivateClosePositionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateClosePositionReader

type GetPrivateClosePositionReader struct {
	// contains filtered or unexported fields
}

GetPrivateClosePositionReader is a Reader for the GetPrivateClosePosition structure.

func (*GetPrivateClosePositionReader) ReadResponse

func (o *GetPrivateClosePositionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCreateSubaccountOK

type GetPrivateCreateSubaccountOK struct {
	Payload *models.PrivateCreateSubaccountResponse
}

GetPrivateCreateSubaccountOK handles this case with default header values.

ok response

func NewGetPrivateCreateSubaccountOK

func NewGetPrivateCreateSubaccountOK() *GetPrivateCreateSubaccountOK

NewGetPrivateCreateSubaccountOK creates a GetPrivateCreateSubaccountOK with default headers values

func (*GetPrivateCreateSubaccountOK) Error

func (*GetPrivateCreateSubaccountOK) GetPayload

type GetPrivateCreateSubaccountParams

type GetPrivateCreateSubaccountParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCreateSubaccountParams contains all the parameters to send to the API endpoint for the get private create subaccount operation typically these are written to a http.Request

func NewGetPrivateCreateSubaccountParams

func NewGetPrivateCreateSubaccountParams() *GetPrivateCreateSubaccountParams

NewGetPrivateCreateSubaccountParams creates a new GetPrivateCreateSubaccountParams object with the default values initialized.

func NewGetPrivateCreateSubaccountParamsWithContext

func NewGetPrivateCreateSubaccountParamsWithContext(ctx context.Context) *GetPrivateCreateSubaccountParams

NewGetPrivateCreateSubaccountParamsWithContext creates a new GetPrivateCreateSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCreateSubaccountParamsWithHTTPClient

func NewGetPrivateCreateSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateCreateSubaccountParams

NewGetPrivateCreateSubaccountParamsWithHTTPClient creates a new GetPrivateCreateSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCreateSubaccountParamsWithTimeout

func NewGetPrivateCreateSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateCreateSubaccountParams

NewGetPrivateCreateSubaccountParamsWithTimeout creates a new GetPrivateCreateSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCreateSubaccountParams) SetContext

SetContext adds the context to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) SetHTTPClient

func (o *GetPrivateCreateSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) SetTimeout

func (o *GetPrivateCreateSubaccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) WithContext

WithContext adds the context to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private create subaccount params

func (*GetPrivateCreateSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCreateSubaccountReader

type GetPrivateCreateSubaccountReader struct {
	// contains filtered or unexported fields
}

GetPrivateCreateSubaccountReader is a Reader for the GetPrivateCreateSubaccount structure.

func (*GetPrivateCreateSubaccountReader) ReadResponse

func (o *GetPrivateCreateSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateDisableTfaForSubaccountOK

type GetPrivateDisableTfaForSubaccountOK struct {
	Payload *models.OkResponse
}

GetPrivateDisableTfaForSubaccountOK handles this case with default header values.

ok response

func NewGetPrivateDisableTfaForSubaccountOK

func NewGetPrivateDisableTfaForSubaccountOK() *GetPrivateDisableTfaForSubaccountOK

NewGetPrivateDisableTfaForSubaccountOK creates a GetPrivateDisableTfaForSubaccountOK with default headers values

func (*GetPrivateDisableTfaForSubaccountOK) Error

func (*GetPrivateDisableTfaForSubaccountOK) GetPayload

type GetPrivateDisableTfaForSubaccountParams

type GetPrivateDisableTfaForSubaccountParams struct {

	/*Sid
	  The user id for the subaccount

	*/
	Sid int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateDisableTfaForSubaccountParams contains all the parameters to send to the API endpoint for the get private disable tfa for subaccount operation typically these are written to a http.Request

func NewGetPrivateDisableTfaForSubaccountParams

func NewGetPrivateDisableTfaForSubaccountParams() *GetPrivateDisableTfaForSubaccountParams

NewGetPrivateDisableTfaForSubaccountParams creates a new GetPrivateDisableTfaForSubaccountParams object with the default values initialized.

func NewGetPrivateDisableTfaForSubaccountParamsWithContext

func NewGetPrivateDisableTfaForSubaccountParamsWithContext(ctx context.Context) *GetPrivateDisableTfaForSubaccountParams

NewGetPrivateDisableTfaForSubaccountParamsWithContext creates a new GetPrivateDisableTfaForSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateDisableTfaForSubaccountParamsWithHTTPClient

func NewGetPrivateDisableTfaForSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateDisableTfaForSubaccountParams

NewGetPrivateDisableTfaForSubaccountParamsWithHTTPClient creates a new GetPrivateDisableTfaForSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateDisableTfaForSubaccountParamsWithTimeout

func NewGetPrivateDisableTfaForSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateDisableTfaForSubaccountParams

NewGetPrivateDisableTfaForSubaccountParamsWithTimeout creates a new GetPrivateDisableTfaForSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateDisableTfaForSubaccountParams) SetContext

SetContext adds the context to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) SetHTTPClient

func (o *GetPrivateDisableTfaForSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) SetSid

SetSid adds the sid to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) SetTimeout

func (o *GetPrivateDisableTfaForSubaccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WithContext

WithContext adds the context to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WithSid

WithSid adds the sid to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private disable tfa for subaccount params

func (*GetPrivateDisableTfaForSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateDisableTfaForSubaccountReader

type GetPrivateDisableTfaForSubaccountReader struct {
	// contains filtered or unexported fields
}

GetPrivateDisableTfaForSubaccountReader is a Reader for the GetPrivateDisableTfaForSubaccount structure.

func (*GetPrivateDisableTfaForSubaccountReader) ReadResponse

func (o *GetPrivateDisableTfaForSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetOrderStateBadRequest

type GetPrivateGetOrderStateBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateGetOrderStateBadRequest handles this case with default header values.

result when used via rest/HTTP

func NewGetPrivateGetOrderStateBadRequest

func NewGetPrivateGetOrderStateBadRequest() *GetPrivateGetOrderStateBadRequest

NewGetPrivateGetOrderStateBadRequest creates a GetPrivateGetOrderStateBadRequest with default headers values

func (*GetPrivateGetOrderStateBadRequest) Error

func (*GetPrivateGetOrderStateBadRequest) GetPayload

type GetPrivateGetOrderStateOK

type GetPrivateGetOrderStateOK struct {
	Payload *models.PrivateGetOrderStateResponse
}

GetPrivateGetOrderStateOK handles this case with default header values.

ok response

func NewGetPrivateGetOrderStateOK

func NewGetPrivateGetOrderStateOK() *GetPrivateGetOrderStateOK

NewGetPrivateGetOrderStateOK creates a GetPrivateGetOrderStateOK with default headers values

func (*GetPrivateGetOrderStateOK) Error

func (o *GetPrivateGetOrderStateOK) Error() string

func (*GetPrivateGetOrderStateOK) GetPayload

type GetPrivateGetOrderStateParams

type GetPrivateGetOrderStateParams struct {

	/*OrderID
	  The order id

	*/
	OrderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetOrderStateParams contains all the parameters to send to the API endpoint for the get private get order state operation typically these are written to a http.Request

func NewGetPrivateGetOrderStateParams

func NewGetPrivateGetOrderStateParams() *GetPrivateGetOrderStateParams

NewGetPrivateGetOrderStateParams creates a new GetPrivateGetOrderStateParams object with the default values initialized.

func NewGetPrivateGetOrderStateParamsWithContext

func NewGetPrivateGetOrderStateParamsWithContext(ctx context.Context) *GetPrivateGetOrderStateParams

NewGetPrivateGetOrderStateParamsWithContext creates a new GetPrivateGetOrderStateParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetOrderStateParamsWithHTTPClient

func NewGetPrivateGetOrderStateParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderStateParams

NewGetPrivateGetOrderStateParamsWithHTTPClient creates a new GetPrivateGetOrderStateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetOrderStateParamsWithTimeout

func NewGetPrivateGetOrderStateParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderStateParams

NewGetPrivateGetOrderStateParamsWithTimeout creates a new GetPrivateGetOrderStateParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetOrderStateParams) SetContext

func (o *GetPrivateGetOrderStateParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get order state params

func (*GetPrivateGetOrderStateParams) SetHTTPClient

func (o *GetPrivateGetOrderStateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get order state params

func (*GetPrivateGetOrderStateParams) SetOrderID

func (o *GetPrivateGetOrderStateParams) SetOrderID(orderID string)

SetOrderID adds the orderId to the get private get order state params

func (*GetPrivateGetOrderStateParams) SetTimeout

func (o *GetPrivateGetOrderStateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get order state params

func (*GetPrivateGetOrderStateParams) WithContext

WithContext adds the context to the get private get order state params

func (*GetPrivateGetOrderStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get order state params

func (*GetPrivateGetOrderStateParams) WithOrderID

WithOrderID adds the orderID to the get private get order state params

func (*GetPrivateGetOrderStateParams) WithTimeout

WithTimeout adds the timeout to the get private get order state params

func (*GetPrivateGetOrderStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetOrderStateReader

type GetPrivateGetOrderStateReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetOrderStateReader is a Reader for the GetPrivateGetOrderState structure.

func (*GetPrivateGetOrderStateReader) ReadResponse

func (o *GetPrivateGetOrderStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetPositionBadRequest

type GetPrivateGetPositionBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateGetPositionBadRequest handles this case with default header values.

When some error occurs

func NewGetPrivateGetPositionBadRequest

func NewGetPrivateGetPositionBadRequest() *GetPrivateGetPositionBadRequest

NewGetPrivateGetPositionBadRequest creates a GetPrivateGetPositionBadRequest with default headers values

func (*GetPrivateGetPositionBadRequest) Error

func (*GetPrivateGetPositionBadRequest) GetPayload

type GetPrivateGetPositionOK

type GetPrivateGetPositionOK struct {
	Payload *models.PrivateGetPositionResponse
}

GetPrivateGetPositionOK handles this case with default header values.

When successful returns position

func NewGetPrivateGetPositionOK

func NewGetPrivateGetPositionOK() *GetPrivateGetPositionOK

NewGetPrivateGetPositionOK creates a GetPrivateGetPositionOK with default headers values

func (*GetPrivateGetPositionOK) Error

func (o *GetPrivateGetPositionOK) Error() string

func (*GetPrivateGetPositionOK) GetPayload

type GetPrivateGetPositionParams

type GetPrivateGetPositionParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetPositionParams contains all the parameters to send to the API endpoint for the get private get position operation typically these are written to a http.Request

func NewGetPrivateGetPositionParams

func NewGetPrivateGetPositionParams() *GetPrivateGetPositionParams

NewGetPrivateGetPositionParams creates a new GetPrivateGetPositionParams object with the default values initialized.

func NewGetPrivateGetPositionParamsWithContext

func NewGetPrivateGetPositionParamsWithContext(ctx context.Context) *GetPrivateGetPositionParams

NewGetPrivateGetPositionParamsWithContext creates a new GetPrivateGetPositionParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetPositionParamsWithHTTPClient

func NewGetPrivateGetPositionParamsWithHTTPClient(client *http.Client) *GetPrivateGetPositionParams

NewGetPrivateGetPositionParamsWithHTTPClient creates a new GetPrivateGetPositionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetPositionParamsWithTimeout

func NewGetPrivateGetPositionParamsWithTimeout(timeout time.Duration) *GetPrivateGetPositionParams

NewGetPrivateGetPositionParamsWithTimeout creates a new GetPrivateGetPositionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetPositionParams) SetContext

func (o *GetPrivateGetPositionParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get position params

func (*GetPrivateGetPositionParams) SetHTTPClient

func (o *GetPrivateGetPositionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get position params

func (*GetPrivateGetPositionParams) SetInstrumentName

func (o *GetPrivateGetPositionParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private get position params

func (*GetPrivateGetPositionParams) SetTimeout

func (o *GetPrivateGetPositionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get position params

func (*GetPrivateGetPositionParams) WithContext

WithContext adds the context to the get private get position params

func (*GetPrivateGetPositionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get position params

func (*GetPrivateGetPositionParams) WithInstrumentName

func (o *GetPrivateGetPositionParams) WithInstrumentName(instrumentName string) *GetPrivateGetPositionParams

WithInstrumentName adds the instrumentName to the get private get position params

func (*GetPrivateGetPositionParams) WithTimeout

WithTimeout adds the timeout to the get private get position params

func (*GetPrivateGetPositionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetPositionReader

type GetPrivateGetPositionReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetPositionReader is a Reader for the GetPrivateGetPosition structure.

func (*GetPrivateGetPositionReader) ReadResponse

func (o *GetPrivateGetPositionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetPositionsBadRequest

type GetPrivateGetPositionsBadRequest struct {
	Payload *models.ErrorMessage
}

GetPrivateGetPositionsBadRequest handles this case with default header values.

When some error occurs

func NewGetPrivateGetPositionsBadRequest

func NewGetPrivateGetPositionsBadRequest() *GetPrivateGetPositionsBadRequest

NewGetPrivateGetPositionsBadRequest creates a GetPrivateGetPositionsBadRequest with default headers values

func (*GetPrivateGetPositionsBadRequest) Error

func (*GetPrivateGetPositionsBadRequest) GetPayload

type GetPrivateGetPositionsOK

type GetPrivateGetPositionsOK struct {
	Payload *models.PrivateGetPositionsResponse
}

GetPrivateGetPositionsOK handles this case with default header values.

When successful returns array of positions

func NewGetPrivateGetPositionsOK

func NewGetPrivateGetPositionsOK() *GetPrivateGetPositionsOK

NewGetPrivateGetPositionsOK creates a GetPrivateGetPositionsOK with default headers values

func (*GetPrivateGetPositionsOK) Error

func (o *GetPrivateGetPositionsOK) Error() string

func (*GetPrivateGetPositionsOK) GetPayload

type GetPrivateGetPositionsParams

type GetPrivateGetPositionsParams struct {

	/*Currency*/
	Currency string
	/*Kind
	  Kind filter on positions

	*/
	Kind *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetPositionsParams contains all the parameters to send to the API endpoint for the get private get positions operation typically these are written to a http.Request

func NewGetPrivateGetPositionsParams

func NewGetPrivateGetPositionsParams() *GetPrivateGetPositionsParams

NewGetPrivateGetPositionsParams creates a new GetPrivateGetPositionsParams object with the default values initialized.

func NewGetPrivateGetPositionsParamsWithContext

func NewGetPrivateGetPositionsParamsWithContext(ctx context.Context) *GetPrivateGetPositionsParams

NewGetPrivateGetPositionsParamsWithContext creates a new GetPrivateGetPositionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetPositionsParamsWithHTTPClient

func NewGetPrivateGetPositionsParamsWithHTTPClient(client *http.Client) *GetPrivateGetPositionsParams

NewGetPrivateGetPositionsParamsWithHTTPClient creates a new GetPrivateGetPositionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetPositionsParamsWithTimeout

func NewGetPrivateGetPositionsParamsWithTimeout(timeout time.Duration) *GetPrivateGetPositionsParams

NewGetPrivateGetPositionsParamsWithTimeout creates a new GetPrivateGetPositionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetPositionsParams) SetContext

func (o *GetPrivateGetPositionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get positions params

func (*GetPrivateGetPositionsParams) SetCurrency

func (o *GetPrivateGetPositionsParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get positions params

func (*GetPrivateGetPositionsParams) SetHTTPClient

func (o *GetPrivateGetPositionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get positions params

func (*GetPrivateGetPositionsParams) SetKind

func (o *GetPrivateGetPositionsParams) SetKind(kind *string)

SetKind adds the kind to the get private get positions params

func (*GetPrivateGetPositionsParams) SetTimeout

func (o *GetPrivateGetPositionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get positions params

func (*GetPrivateGetPositionsParams) WithContext

WithContext adds the context to the get private get positions params

func (*GetPrivateGetPositionsParams) WithCurrency

WithCurrency adds the currency to the get private get positions params

func (*GetPrivateGetPositionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get positions params

func (*GetPrivateGetPositionsParams) WithKind

WithKind adds the kind to the get private get positions params

func (*GetPrivateGetPositionsParams) WithTimeout

WithTimeout adds the timeout to the get private get positions params

func (*GetPrivateGetPositionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetPositionsReader

type GetPrivateGetPositionsReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetPositionsReader is a Reader for the GetPrivateGetPositions structure.

func (*GetPrivateGetPositionsReader) ReadResponse

func (o *GetPrivateGetPositionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetSubaccountsOK

type GetPrivateGetSubaccountsOK struct {
	Payload *models.PrivateGetSubaccountsResponse
}

GetPrivateGetSubaccountsOK handles this case with default header values.

ok response

func NewGetPrivateGetSubaccountsOK

func NewGetPrivateGetSubaccountsOK() *GetPrivateGetSubaccountsOK

NewGetPrivateGetSubaccountsOK creates a GetPrivateGetSubaccountsOK with default headers values

func (*GetPrivateGetSubaccountsOK) Error

func (*GetPrivateGetSubaccountsOK) GetPayload

type GetPrivateGetSubaccountsParams

type GetPrivateGetSubaccountsParams struct {

	/*WithPortfolio*/
	WithPortfolio *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetSubaccountsParams contains all the parameters to send to the API endpoint for the get private get subaccounts operation typically these are written to a http.Request

func NewGetPrivateGetSubaccountsParams

func NewGetPrivateGetSubaccountsParams() *GetPrivateGetSubaccountsParams

NewGetPrivateGetSubaccountsParams creates a new GetPrivateGetSubaccountsParams object with the default values initialized.

func NewGetPrivateGetSubaccountsParamsWithContext

func NewGetPrivateGetSubaccountsParamsWithContext(ctx context.Context) *GetPrivateGetSubaccountsParams

NewGetPrivateGetSubaccountsParamsWithContext creates a new GetPrivateGetSubaccountsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetSubaccountsParamsWithHTTPClient

func NewGetPrivateGetSubaccountsParamsWithHTTPClient(client *http.Client) *GetPrivateGetSubaccountsParams

NewGetPrivateGetSubaccountsParamsWithHTTPClient creates a new GetPrivateGetSubaccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetSubaccountsParamsWithTimeout

func NewGetPrivateGetSubaccountsParamsWithTimeout(timeout time.Duration) *GetPrivateGetSubaccountsParams

NewGetPrivateGetSubaccountsParamsWithTimeout creates a new GetPrivateGetSubaccountsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetSubaccountsParams) SetContext

func (o *GetPrivateGetSubaccountsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) SetHTTPClient

func (o *GetPrivateGetSubaccountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) SetTimeout

func (o *GetPrivateGetSubaccountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) SetWithPortfolio

func (o *GetPrivateGetSubaccountsParams) SetWithPortfolio(withPortfolio *bool)

SetWithPortfolio adds the withPortfolio to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WithContext

WithContext adds the context to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WithTimeout

WithTimeout adds the timeout to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WithWithPortfolio

func (o *GetPrivateGetSubaccountsParams) WithWithPortfolio(withPortfolio *bool) *GetPrivateGetSubaccountsParams

WithWithPortfolio adds the withPortfolio to the get private get subaccounts params

func (*GetPrivateGetSubaccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetSubaccountsReader

type GetPrivateGetSubaccountsReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetSubaccountsReader is a Reader for the GetPrivateGetSubaccounts structure.

func (*GetPrivateGetSubaccountsReader) ReadResponse

func (o *GetPrivateGetSubaccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetSubaccountsUnauthorized

type GetPrivateGetSubaccountsUnauthorized struct {
	Payload *models.ErrorMessage
}

GetPrivateGetSubaccountsUnauthorized handles this case with default header values.

not authorised

func NewGetPrivateGetSubaccountsUnauthorized

func NewGetPrivateGetSubaccountsUnauthorized() *GetPrivateGetSubaccountsUnauthorized

NewGetPrivateGetSubaccountsUnauthorized creates a GetPrivateGetSubaccountsUnauthorized with default headers values

func (*GetPrivateGetSubaccountsUnauthorized) Error

func (*GetPrivateGetSubaccountsUnauthorized) GetPayload

type GetPrivateSellOK

type GetPrivateSellOK struct {
	Payload *models.PrivateBuyAndSellResponse
}

GetPrivateSellOK handles this case with default header values.

ok response

func NewGetPrivateSellOK

func NewGetPrivateSellOK() *GetPrivateSellOK

NewGetPrivateSellOK creates a GetPrivateSellOK with default headers values

func (*GetPrivateSellOK) Error

func (o *GetPrivateSellOK) Error() string

func (*GetPrivateSellOK) GetPayload

type GetPrivateSellParams

type GetPrivateSellParams struct {

	/*Advanced
	  Advanced option order type. (Only for options)

	*/
	Advanced *string
	/*Amount
	  It represents the requested order size. For perpetual and futures the amount is in USD units, for options it is amount of corresponding cryptocurrency contracts, e.g., BTC or ETH

	*/
	Amount float64
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*Label
	  user defined label for the order (maximum 32 characters)

	*/
	Label *string
	/*MaxShow
	  Maximum amount within an order to be shown to other customers, `0` for invisible order

	*/
	MaxShow *float64
	/*PostOnly
	  <p>If true, the order is considered post-only. If the new price would cause the order to be filled immediately (as taker), the price will be changed to be just below the bid.</p> <p>Only valid in combination with time_in_force=`"good_til_cancelled"`</p>

	*/
	PostOnly *bool
	/*Price
	  <p>The order price in base currency (Only for limit and stop_limit orders)</p> <p>When adding order with advanced=usd, the field price should be the option price value in USD.</p> <p>When adding order with advanced=implv, the field price should be a value of implied volatility in percentages. For example,  price=100, means implied volatility of 100%</p>

	*/
	Price *float64
	/*ReduceOnly
	  If `true`, the order is considered reduce-only which is intended to only reduce a current position

	*/
	ReduceOnly *bool
	/*StopPrice
	  Stop price, required for stop limit orders (Only for stop orders)

	*/
	StopPrice *float64
	/*TimeInForce
	  <p>Specifies how long the order remains in effect. Default `"good_til_cancelled"`</p> <ul> <li>`"good_til_cancelled"` - unfilled order remains in order book until cancelled</li> <li>`"fill_or_kill"` - execute a transaction immediately and completely or not at all</li> <li>`"immediate_or_cancel"` - execute a transaction immediately, and any portion of the order that cannot be immediately filled is cancelled</li> </ul>

	*/
	TimeInForce *string
	/*Trigger
	  Defines trigger type, required for `"stop_limit"` order type

	*/
	Trigger *string
	/*Type
	  The order type, default: `"limit"`

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSellParams contains all the parameters to send to the API endpoint for the get private sell operation typically these are written to a http.Request

func NewGetPrivateSellParams

func NewGetPrivateSellParams() *GetPrivateSellParams

NewGetPrivateSellParams creates a new GetPrivateSellParams object with the default values initialized.

func NewGetPrivateSellParamsWithContext

func NewGetPrivateSellParamsWithContext(ctx context.Context) *GetPrivateSellParams

NewGetPrivateSellParamsWithContext creates a new GetPrivateSellParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSellParamsWithHTTPClient

func NewGetPrivateSellParamsWithHTTPClient(client *http.Client) *GetPrivateSellParams

NewGetPrivateSellParamsWithHTTPClient creates a new GetPrivateSellParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSellParamsWithTimeout

func NewGetPrivateSellParamsWithTimeout(timeout time.Duration) *GetPrivateSellParams

NewGetPrivateSellParamsWithTimeout creates a new GetPrivateSellParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSellParams) SetAdvanced

func (o *GetPrivateSellParams) SetAdvanced(advanced *string)

SetAdvanced adds the advanced to the get private sell params

func (*GetPrivateSellParams) SetAmount

func (o *GetPrivateSellParams) SetAmount(amount float64)

SetAmount adds the amount to the get private sell params

func (*GetPrivateSellParams) SetContext

func (o *GetPrivateSellParams) SetContext(ctx context.Context)

SetContext adds the context to the get private sell params

func (*GetPrivateSellParams) SetHTTPClient

func (o *GetPrivateSellParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private sell params

func (*GetPrivateSellParams) SetInstrumentName

func (o *GetPrivateSellParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get private sell params

func (*GetPrivateSellParams) SetLabel

func (o *GetPrivateSellParams) SetLabel(label *string)

SetLabel adds the label to the get private sell params

func (*GetPrivateSellParams) SetMaxShow

func (o *GetPrivateSellParams) SetMaxShow(maxShow *float64)

SetMaxShow adds the maxShow to the get private sell params

func (*GetPrivateSellParams) SetPostOnly

func (o *GetPrivateSellParams) SetPostOnly(postOnly *bool)

SetPostOnly adds the postOnly to the get private sell params

func (*GetPrivateSellParams) SetPrice

func (o *GetPrivateSellParams) SetPrice(price *float64)

SetPrice adds the price to the get private sell params

func (*GetPrivateSellParams) SetReduceOnly

func (o *GetPrivateSellParams) SetReduceOnly(reduceOnly *bool)

SetReduceOnly adds the reduceOnly to the get private sell params

func (*GetPrivateSellParams) SetStopPrice

func (o *GetPrivateSellParams) SetStopPrice(stopPrice *float64)

SetStopPrice adds the stopPrice to the get private sell params

func (*GetPrivateSellParams) SetTimeInForce

func (o *GetPrivateSellParams) SetTimeInForce(timeInForce *string)

SetTimeInForce adds the timeInForce to the get private sell params

func (*GetPrivateSellParams) SetTimeout

func (o *GetPrivateSellParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private sell params

func (*GetPrivateSellParams) SetTrigger

func (o *GetPrivateSellParams) SetTrigger(trigger *string)

SetTrigger adds the trigger to the get private sell params

func (*GetPrivateSellParams) SetType

func (o *GetPrivateSellParams) SetType(typeVar *string)

SetType adds the type to the get private sell params

func (*GetPrivateSellParams) WithAdvanced

func (o *GetPrivateSellParams) WithAdvanced(advanced *string) *GetPrivateSellParams

WithAdvanced adds the advanced to the get private sell params

func (*GetPrivateSellParams) WithAmount

func (o *GetPrivateSellParams) WithAmount(amount float64) *GetPrivateSellParams

WithAmount adds the amount to the get private sell params

func (*GetPrivateSellParams) WithContext

WithContext adds the context to the get private sell params

func (*GetPrivateSellParams) WithHTTPClient

func (o *GetPrivateSellParams) WithHTTPClient(client *http.Client) *GetPrivateSellParams

WithHTTPClient adds the HTTPClient to the get private sell params

func (*GetPrivateSellParams) WithInstrumentName

func (o *GetPrivateSellParams) WithInstrumentName(instrumentName string) *GetPrivateSellParams

WithInstrumentName adds the instrumentName to the get private sell params

func (*GetPrivateSellParams) WithLabel

func (o *GetPrivateSellParams) WithLabel(label *string) *GetPrivateSellParams

WithLabel adds the label to the get private sell params

func (*GetPrivateSellParams) WithMaxShow

func (o *GetPrivateSellParams) WithMaxShow(maxShow *float64) *GetPrivateSellParams

WithMaxShow adds the maxShow to the get private sell params

func (*GetPrivateSellParams) WithPostOnly

func (o *GetPrivateSellParams) WithPostOnly(postOnly *bool) *GetPrivateSellParams

WithPostOnly adds the postOnly to the get private sell params

func (*GetPrivateSellParams) WithPrice

func (o *GetPrivateSellParams) WithPrice(price *float64) *GetPrivateSellParams

WithPrice adds the price to the get private sell params

func (*GetPrivateSellParams) WithReduceOnly

func (o *GetPrivateSellParams) WithReduceOnly(reduceOnly *bool) *GetPrivateSellParams

WithReduceOnly adds the reduceOnly to the get private sell params

func (*GetPrivateSellParams) WithStopPrice

func (o *GetPrivateSellParams) WithStopPrice(stopPrice *float64) *GetPrivateSellParams

WithStopPrice adds the stopPrice to the get private sell params

func (*GetPrivateSellParams) WithTimeInForce

func (o *GetPrivateSellParams) WithTimeInForce(timeInForce *string) *GetPrivateSellParams

WithTimeInForce adds the timeInForce to the get private sell params

func (*GetPrivateSellParams) WithTimeout

func (o *GetPrivateSellParams) WithTimeout(timeout time.Duration) *GetPrivateSellParams

WithTimeout adds the timeout to the get private sell params

func (*GetPrivateSellParams) WithTrigger

func (o *GetPrivateSellParams) WithTrigger(trigger *string) *GetPrivateSellParams

WithTrigger adds the trigger to the get private sell params

func (*GetPrivateSellParams) WithType

func (o *GetPrivateSellParams) WithType(typeVar *string) *GetPrivateSellParams

WithType adds the typeVar to the get private sell params

func (*GetPrivateSellParams) WriteToRequest

func (o *GetPrivateSellParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPrivateSellReader

type GetPrivateSellReader struct {
	// contains filtered or unexported fields
}

GetPrivateSellReader is a Reader for the GetPrivateSell structure.

func (*GetPrivateSellReader) ReadResponse

func (o *GetPrivateSellReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSetEmailForSubaccountOK

type GetPrivateSetEmailForSubaccountOK struct {
	Payload *models.OkResponse
}

GetPrivateSetEmailForSubaccountOK handles this case with default header values.

ok response

func NewGetPrivateSetEmailForSubaccountOK

func NewGetPrivateSetEmailForSubaccountOK() *GetPrivateSetEmailForSubaccountOK

NewGetPrivateSetEmailForSubaccountOK creates a GetPrivateSetEmailForSubaccountOK with default headers values

func (*GetPrivateSetEmailForSubaccountOK) Error

func (*GetPrivateSetEmailForSubaccountOK) GetPayload

type GetPrivateSetEmailForSubaccountParams

type GetPrivateSetEmailForSubaccountParams struct {

	/*Email
	  The email address for the subaccount

	*/
	Email string
	/*Sid
	  The user id for the subaccount

	*/
	Sid int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSetEmailForSubaccountParams contains all the parameters to send to the API endpoint for the get private set email for subaccount operation typically these are written to a http.Request

func NewGetPrivateSetEmailForSubaccountParams

func NewGetPrivateSetEmailForSubaccountParams() *GetPrivateSetEmailForSubaccountParams

NewGetPrivateSetEmailForSubaccountParams creates a new GetPrivateSetEmailForSubaccountParams object with the default values initialized.

func NewGetPrivateSetEmailForSubaccountParamsWithContext

func NewGetPrivateSetEmailForSubaccountParamsWithContext(ctx context.Context) *GetPrivateSetEmailForSubaccountParams

NewGetPrivateSetEmailForSubaccountParamsWithContext creates a new GetPrivateSetEmailForSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSetEmailForSubaccountParamsWithHTTPClient

func NewGetPrivateSetEmailForSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateSetEmailForSubaccountParams

NewGetPrivateSetEmailForSubaccountParamsWithHTTPClient creates a new GetPrivateSetEmailForSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSetEmailForSubaccountParamsWithTimeout

func NewGetPrivateSetEmailForSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateSetEmailForSubaccountParams

NewGetPrivateSetEmailForSubaccountParamsWithTimeout creates a new GetPrivateSetEmailForSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSetEmailForSubaccountParams) SetContext

SetContext adds the context to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) SetEmail

func (o *GetPrivateSetEmailForSubaccountParams) SetEmail(email string)

SetEmail adds the email to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) SetHTTPClient

func (o *GetPrivateSetEmailForSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) SetSid

SetSid adds the sid to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) SetTimeout

func (o *GetPrivateSetEmailForSubaccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithContext

WithContext adds the context to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithEmail

WithEmail adds the email to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithSid

WithSid adds the sid to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private set email for subaccount params

func (*GetPrivateSetEmailForSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSetEmailForSubaccountReader

type GetPrivateSetEmailForSubaccountReader struct {
	// contains filtered or unexported fields
}

GetPrivateSetEmailForSubaccountReader is a Reader for the GetPrivateSetEmailForSubaccount structure.

func (*GetPrivateSetEmailForSubaccountReader) ReadResponse

func (o *GetPrivateSetEmailForSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSetPasswordForSubaccountOK

type GetPrivateSetPasswordForSubaccountOK struct {
	Payload *models.OkResponse
}

GetPrivateSetPasswordForSubaccountOK handles this case with default header values.

ok response

func NewGetPrivateSetPasswordForSubaccountOK

func NewGetPrivateSetPasswordForSubaccountOK() *GetPrivateSetPasswordForSubaccountOK

NewGetPrivateSetPasswordForSubaccountOK creates a GetPrivateSetPasswordForSubaccountOK with default headers values

func (*GetPrivateSetPasswordForSubaccountOK) Error

func (*GetPrivateSetPasswordForSubaccountOK) GetPayload

type GetPrivateSetPasswordForSubaccountParams

type GetPrivateSetPasswordForSubaccountParams struct {

	/*Password
	  The password for the subaccount

	*/
	Password string
	/*Sid
	  The user id for the subaccount

	*/
	Sid int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSetPasswordForSubaccountParams contains all the parameters to send to the API endpoint for the get private set password for subaccount operation typically these are written to a http.Request

func NewGetPrivateSetPasswordForSubaccountParams

func NewGetPrivateSetPasswordForSubaccountParams() *GetPrivateSetPasswordForSubaccountParams

NewGetPrivateSetPasswordForSubaccountParams creates a new GetPrivateSetPasswordForSubaccountParams object with the default values initialized.

func NewGetPrivateSetPasswordForSubaccountParamsWithContext

func NewGetPrivateSetPasswordForSubaccountParamsWithContext(ctx context.Context) *GetPrivateSetPasswordForSubaccountParams

NewGetPrivateSetPasswordForSubaccountParamsWithContext creates a new GetPrivateSetPasswordForSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSetPasswordForSubaccountParamsWithHTTPClient

func NewGetPrivateSetPasswordForSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateSetPasswordForSubaccountParams

NewGetPrivateSetPasswordForSubaccountParamsWithHTTPClient creates a new GetPrivateSetPasswordForSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSetPasswordForSubaccountParamsWithTimeout

func NewGetPrivateSetPasswordForSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateSetPasswordForSubaccountParams

NewGetPrivateSetPasswordForSubaccountParamsWithTimeout creates a new GetPrivateSetPasswordForSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSetPasswordForSubaccountParams) SetContext

SetContext adds the context to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) SetHTTPClient

func (o *GetPrivateSetPasswordForSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) SetPassword

func (o *GetPrivateSetPasswordForSubaccountParams) SetPassword(password string)

SetPassword adds the password to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) SetSid

SetSid adds the sid to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) SetTimeout

SetTimeout adds the timeout to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithContext

WithContext adds the context to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithPassword

WithPassword adds the password to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithSid

WithSid adds the sid to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private set password for subaccount params

func (*GetPrivateSetPasswordForSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSetPasswordForSubaccountReader

type GetPrivateSetPasswordForSubaccountReader struct {
	// contains filtered or unexported fields
}

GetPrivateSetPasswordForSubaccountReader is a Reader for the GetPrivateSetPasswordForSubaccount structure.

func (*GetPrivateSetPasswordForSubaccountReader) ReadResponse

func (o *GetPrivateSetPasswordForSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSubmitTransferToSubaccountOK

type GetPrivateSubmitTransferToSubaccountOK struct {
	Payload *models.PrivateSubmitTransferResponse
}

GetPrivateSubmitTransferToSubaccountOK handles this case with default header values.

ok response

func NewGetPrivateSubmitTransferToSubaccountOK

func NewGetPrivateSubmitTransferToSubaccountOK() *GetPrivateSubmitTransferToSubaccountOK

NewGetPrivateSubmitTransferToSubaccountOK creates a GetPrivateSubmitTransferToSubaccountOK with default headers values

func (*GetPrivateSubmitTransferToSubaccountOK) Error

func (*GetPrivateSubmitTransferToSubaccountOK) GetPayload

type GetPrivateSubmitTransferToSubaccountParams

type GetPrivateSubmitTransferToSubaccountParams struct {

	/*Amount
	  Amount of funds to be transferred

	*/
	Amount float64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Destination
	  Id of destination subaccount

	*/
	Destination int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSubmitTransferToSubaccountParams contains all the parameters to send to the API endpoint for the get private submit transfer to subaccount operation typically these are written to a http.Request

func NewGetPrivateSubmitTransferToSubaccountParams

func NewGetPrivateSubmitTransferToSubaccountParams() *GetPrivateSubmitTransferToSubaccountParams

NewGetPrivateSubmitTransferToSubaccountParams creates a new GetPrivateSubmitTransferToSubaccountParams object with the default values initialized.

func NewGetPrivateSubmitTransferToSubaccountParamsWithContext

func NewGetPrivateSubmitTransferToSubaccountParamsWithContext(ctx context.Context) *GetPrivateSubmitTransferToSubaccountParams

NewGetPrivateSubmitTransferToSubaccountParamsWithContext creates a new GetPrivateSubmitTransferToSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSubmitTransferToSubaccountParamsWithHTTPClient

func NewGetPrivateSubmitTransferToSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateSubmitTransferToSubaccountParams

NewGetPrivateSubmitTransferToSubaccountParamsWithHTTPClient creates a new GetPrivateSubmitTransferToSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSubmitTransferToSubaccountParamsWithTimeout

func NewGetPrivateSubmitTransferToSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateSubmitTransferToSubaccountParams

NewGetPrivateSubmitTransferToSubaccountParamsWithTimeout creates a new GetPrivateSubmitTransferToSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSubmitTransferToSubaccountParams) SetAmount

SetAmount adds the amount to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetContext

SetContext adds the context to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetCurrency

func (o *GetPrivateSubmitTransferToSubaccountParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetDestination

func (o *GetPrivateSubmitTransferToSubaccountParams) SetDestination(destination int64)

SetDestination adds the destination to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetHTTPClient

func (o *GetPrivateSubmitTransferToSubaccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) SetTimeout

SetTimeout adds the timeout to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithAmount

WithAmount adds the amount to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithContext

WithContext adds the context to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithCurrency

WithCurrency adds the currency to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithDestination

WithDestination adds the destination to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private submit transfer to subaccount params

func (*GetPrivateSubmitTransferToSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSubmitTransferToSubaccountReader

type GetPrivateSubmitTransferToSubaccountReader struct {
	// contains filtered or unexported fields
}

GetPrivateSubmitTransferToSubaccountReader is a Reader for the GetPrivateSubmitTransferToSubaccount structure.

func (*GetPrivateSubmitTransferToSubaccountReader) ReadResponse

func (o *GetPrivateSubmitTransferToSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSubmitTransferToUserOK

type GetPrivateSubmitTransferToUserOK struct {
	Payload *models.PrivateSubmitTransferResponse
}

GetPrivateSubmitTransferToUserOK handles this case with default header values.

GetPrivateSubmitTransferToUserOK get private submit transfer to user o k

func NewGetPrivateSubmitTransferToUserOK

func NewGetPrivateSubmitTransferToUserOK() *GetPrivateSubmitTransferToUserOK

NewGetPrivateSubmitTransferToUserOK creates a GetPrivateSubmitTransferToUserOK with default headers values

func (*GetPrivateSubmitTransferToUserOK) Error

func (*GetPrivateSubmitTransferToUserOK) GetPayload

type GetPrivateSubmitTransferToUserParams

type GetPrivateSubmitTransferToUserParams struct {

	/*Amount
	  Amount of funds to be transferred

	*/
	Amount float64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Destination
	  Destination address from address book

	*/
	Destination string
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSubmitTransferToUserParams contains all the parameters to send to the API endpoint for the get private submit transfer to user operation typically these are written to a http.Request

func NewGetPrivateSubmitTransferToUserParams

func NewGetPrivateSubmitTransferToUserParams() *GetPrivateSubmitTransferToUserParams

NewGetPrivateSubmitTransferToUserParams creates a new GetPrivateSubmitTransferToUserParams object with the default values initialized.

func NewGetPrivateSubmitTransferToUserParamsWithContext

func NewGetPrivateSubmitTransferToUserParamsWithContext(ctx context.Context) *GetPrivateSubmitTransferToUserParams

NewGetPrivateSubmitTransferToUserParamsWithContext creates a new GetPrivateSubmitTransferToUserParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSubmitTransferToUserParamsWithHTTPClient

func NewGetPrivateSubmitTransferToUserParamsWithHTTPClient(client *http.Client) *GetPrivateSubmitTransferToUserParams

NewGetPrivateSubmitTransferToUserParamsWithHTTPClient creates a new GetPrivateSubmitTransferToUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSubmitTransferToUserParamsWithTimeout

func NewGetPrivateSubmitTransferToUserParamsWithTimeout(timeout time.Duration) *GetPrivateSubmitTransferToUserParams

NewGetPrivateSubmitTransferToUserParamsWithTimeout creates a new GetPrivateSubmitTransferToUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSubmitTransferToUserParams) SetAmount

func (o *GetPrivateSubmitTransferToUserParams) SetAmount(amount float64)

SetAmount adds the amount to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetContext

SetContext adds the context to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetCurrency

func (o *GetPrivateSubmitTransferToUserParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetDestination

func (o *GetPrivateSubmitTransferToUserParams) SetDestination(destination string)

SetDestination adds the destination to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetHTTPClient

func (o *GetPrivateSubmitTransferToUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetTfa

SetTfa adds the tfa to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) SetTimeout

func (o *GetPrivateSubmitTransferToUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithAmount

WithAmount adds the amount to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithContext

WithContext adds the context to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithCurrency

WithCurrency adds the currency to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithDestination

WithDestination adds the destination to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithTfa

WithTfa adds the tfa to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WithTimeout

WithTimeout adds the timeout to the get private submit transfer to user params

func (*GetPrivateSubmitTransferToUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSubmitTransferToUserReader

type GetPrivateSubmitTransferToUserReader struct {
	// contains filtered or unexported fields
}

GetPrivateSubmitTransferToUserReader is a Reader for the GetPrivateSubmitTransferToUser structure.

func (*GetPrivateSubmitTransferToUserReader) ReadResponse

func (o *GetPrivateSubmitTransferToUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSubscribeOK

type GetPrivateSubscribeOK struct {
	Payload *models.PrivateSubscribeResponse
}

GetPrivateSubscribeOK handles this case with default header values.

ok response

func NewGetPrivateSubscribeOK

func NewGetPrivateSubscribeOK() *GetPrivateSubscribeOK

NewGetPrivateSubscribeOK creates a GetPrivateSubscribeOK with default headers values

func (*GetPrivateSubscribeOK) Error

func (o *GetPrivateSubscribeOK) Error() string

func (*GetPrivateSubscribeOK) GetPayload

type GetPrivateSubscribeParams

type GetPrivateSubscribeParams struct {

	/*Channels
	  A list of channels to subscribe to.

	*/
	Channels []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateSubscribeParams contains all the parameters to send to the API endpoint for the get private subscribe operation typically these are written to a http.Request

func NewGetPrivateSubscribeParams

func NewGetPrivateSubscribeParams() *GetPrivateSubscribeParams

NewGetPrivateSubscribeParams creates a new GetPrivateSubscribeParams object with the default values initialized.

func NewGetPrivateSubscribeParamsWithContext

func NewGetPrivateSubscribeParamsWithContext(ctx context.Context) *GetPrivateSubscribeParams

NewGetPrivateSubscribeParamsWithContext creates a new GetPrivateSubscribeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateSubscribeParamsWithHTTPClient

func NewGetPrivateSubscribeParamsWithHTTPClient(client *http.Client) *GetPrivateSubscribeParams

NewGetPrivateSubscribeParamsWithHTTPClient creates a new GetPrivateSubscribeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateSubscribeParamsWithTimeout

func NewGetPrivateSubscribeParamsWithTimeout(timeout time.Duration) *GetPrivateSubscribeParams

NewGetPrivateSubscribeParamsWithTimeout creates a new GetPrivateSubscribeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateSubscribeParams) SetChannels

func (o *GetPrivateSubscribeParams) SetChannels(channels []string)

SetChannels adds the channels to the get private subscribe params

func (*GetPrivateSubscribeParams) SetContext

func (o *GetPrivateSubscribeParams) SetContext(ctx context.Context)

SetContext adds the context to the get private subscribe params

func (*GetPrivateSubscribeParams) SetHTTPClient

func (o *GetPrivateSubscribeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private subscribe params

func (*GetPrivateSubscribeParams) SetTimeout

func (o *GetPrivateSubscribeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private subscribe params

func (*GetPrivateSubscribeParams) WithChannels

func (o *GetPrivateSubscribeParams) WithChannels(channels []string) *GetPrivateSubscribeParams

WithChannels adds the channels to the get private subscribe params

func (*GetPrivateSubscribeParams) WithContext

WithContext adds the context to the get private subscribe params

func (*GetPrivateSubscribeParams) WithHTTPClient

func (o *GetPrivateSubscribeParams) WithHTTPClient(client *http.Client) *GetPrivateSubscribeParams

WithHTTPClient adds the HTTPClient to the get private subscribe params

func (*GetPrivateSubscribeParams) WithTimeout

WithTimeout adds the timeout to the get private subscribe params

func (*GetPrivateSubscribeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateSubscribeReader

type GetPrivateSubscribeReader struct {
	// contains filtered or unexported fields
}

GetPrivateSubscribeReader is a Reader for the GetPrivateSubscribe structure.

func (*GetPrivateSubscribeReader) ReadResponse

func (o *GetPrivateSubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateSubscribeUnauthorized

type GetPrivateSubscribeUnauthorized struct {
	Payload *models.ErrorMessage
}

GetPrivateSubscribeUnauthorized handles this case with default header values.

not authorised

func NewGetPrivateSubscribeUnauthorized

func NewGetPrivateSubscribeUnauthorized() *GetPrivateSubscribeUnauthorized

NewGetPrivateSubscribeUnauthorized creates a GetPrivateSubscribeUnauthorized with default headers values

func (*GetPrivateSubscribeUnauthorized) Error

func (*GetPrivateSubscribeUnauthorized) GetPayload

type GetPrivateToggleNotificationsFromSubaccountOK

type GetPrivateToggleNotificationsFromSubaccountOK struct {
	Payload *models.OkResponse
}

GetPrivateToggleNotificationsFromSubaccountOK handles this case with default header values.

ok response

func NewGetPrivateToggleNotificationsFromSubaccountOK

func NewGetPrivateToggleNotificationsFromSubaccountOK() *GetPrivateToggleNotificationsFromSubaccountOK

NewGetPrivateToggleNotificationsFromSubaccountOK creates a GetPrivateToggleNotificationsFromSubaccountOK with default headers values

func (*GetPrivateToggleNotificationsFromSubaccountOK) Error

func (*GetPrivateToggleNotificationsFromSubaccountOK) GetPayload

type GetPrivateToggleNotificationsFromSubaccountParams

type GetPrivateToggleNotificationsFromSubaccountParams struct {

	/*Sid
	  The user id for the subaccount

	*/
	Sid int64
	/*State
	  enable (`true`) or disable (`false`) notifications

	*/
	State bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateToggleNotificationsFromSubaccountParams contains all the parameters to send to the API endpoint for the get private toggle notifications from subaccount operation typically these are written to a http.Request

func NewGetPrivateToggleNotificationsFromSubaccountParams

func NewGetPrivateToggleNotificationsFromSubaccountParams() *GetPrivateToggleNotificationsFromSubaccountParams

NewGetPrivateToggleNotificationsFromSubaccountParams creates a new GetPrivateToggleNotificationsFromSubaccountParams object with the default values initialized.

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithContext

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithContext(ctx context.Context) *GetPrivateToggleNotificationsFromSubaccountParams

NewGetPrivateToggleNotificationsFromSubaccountParamsWithContext creates a new GetPrivateToggleNotificationsFromSubaccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithHTTPClient

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithHTTPClient(client *http.Client) *GetPrivateToggleNotificationsFromSubaccountParams

NewGetPrivateToggleNotificationsFromSubaccountParamsWithHTTPClient creates a new GetPrivateToggleNotificationsFromSubaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithTimeout

func NewGetPrivateToggleNotificationsFromSubaccountParamsWithTimeout(timeout time.Duration) *GetPrivateToggleNotificationsFromSubaccountParams

NewGetPrivateToggleNotificationsFromSubaccountParamsWithTimeout creates a new GetPrivateToggleNotificationsFromSubaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetContext

SetContext adds the context to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetSid

SetSid adds the sid to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetState

SetState adds the state to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) SetTimeout

SetTimeout adds the timeout to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithContext

WithContext adds the context to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithSid

WithSid adds the sid to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithState

WithState adds the state to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WithTimeout

WithTimeout adds the timeout to the get private toggle notifications from subaccount params

func (*GetPrivateToggleNotificationsFromSubaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateToggleNotificationsFromSubaccountReader

type GetPrivateToggleNotificationsFromSubaccountReader struct {
	// contains filtered or unexported fields
}

GetPrivateToggleNotificationsFromSubaccountReader is a Reader for the GetPrivateToggleNotificationsFromSubaccount structure.

func (*GetPrivateToggleNotificationsFromSubaccountReader) ReadResponse

func (o *GetPrivateToggleNotificationsFromSubaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateToggleSubaccountLoginOK

type GetPrivateToggleSubaccountLoginOK struct {
	Payload *models.OkResponse
}

GetPrivateToggleSubaccountLoginOK handles this case with default header values.

ok response

func NewGetPrivateToggleSubaccountLoginOK

func NewGetPrivateToggleSubaccountLoginOK() *GetPrivateToggleSubaccountLoginOK

NewGetPrivateToggleSubaccountLoginOK creates a GetPrivateToggleSubaccountLoginOK with default headers values

func (*GetPrivateToggleSubaccountLoginOK) Error

func (*GetPrivateToggleSubaccountLoginOK) GetPayload

type GetPrivateToggleSubaccountLoginParams

type GetPrivateToggleSubaccountLoginParams struct {

	/*Sid
	  The user id for the subaccount

	*/
	Sid int64
	/*State
	  enable or disable login.

	*/
	State string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateToggleSubaccountLoginParams contains all the parameters to send to the API endpoint for the get private toggle subaccount login operation typically these are written to a http.Request

func NewGetPrivateToggleSubaccountLoginParams

func NewGetPrivateToggleSubaccountLoginParams() *GetPrivateToggleSubaccountLoginParams

NewGetPrivateToggleSubaccountLoginParams creates a new GetPrivateToggleSubaccountLoginParams object with the default values initialized.

func NewGetPrivateToggleSubaccountLoginParamsWithContext

func NewGetPrivateToggleSubaccountLoginParamsWithContext(ctx context.Context) *GetPrivateToggleSubaccountLoginParams

NewGetPrivateToggleSubaccountLoginParamsWithContext creates a new GetPrivateToggleSubaccountLoginParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateToggleSubaccountLoginParamsWithHTTPClient

func NewGetPrivateToggleSubaccountLoginParamsWithHTTPClient(client *http.Client) *GetPrivateToggleSubaccountLoginParams

NewGetPrivateToggleSubaccountLoginParamsWithHTTPClient creates a new GetPrivateToggleSubaccountLoginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateToggleSubaccountLoginParamsWithTimeout

func NewGetPrivateToggleSubaccountLoginParamsWithTimeout(timeout time.Duration) *GetPrivateToggleSubaccountLoginParams

NewGetPrivateToggleSubaccountLoginParamsWithTimeout creates a new GetPrivateToggleSubaccountLoginParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateToggleSubaccountLoginParams) SetContext

SetContext adds the context to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) SetHTTPClient

func (o *GetPrivateToggleSubaccountLoginParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) SetSid

SetSid adds the sid to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) SetState

func (o *GetPrivateToggleSubaccountLoginParams) SetState(state string)

SetState adds the state to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) SetTimeout

func (o *GetPrivateToggleSubaccountLoginParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithContext

WithContext adds the context to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithSid

WithSid adds the sid to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithState

WithState adds the state to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WithTimeout

WithTimeout adds the timeout to the get private toggle subaccount login params

func (*GetPrivateToggleSubaccountLoginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateToggleSubaccountLoginReader

type GetPrivateToggleSubaccountLoginReader struct {
	// contains filtered or unexported fields
}

GetPrivateToggleSubaccountLoginReader is a Reader for the GetPrivateToggleSubaccountLogin structure.

func (*GetPrivateToggleSubaccountLoginReader) ReadResponse

func (o *GetPrivateToggleSubaccountLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateUnsubscribeOK

type GetPrivateUnsubscribeOK struct {
	Payload *models.PrivateSubscribeResponse
}

GetPrivateUnsubscribeOK handles this case with default header values.

ok response

func NewGetPrivateUnsubscribeOK

func NewGetPrivateUnsubscribeOK() *GetPrivateUnsubscribeOK

NewGetPrivateUnsubscribeOK creates a GetPrivateUnsubscribeOK with default headers values

func (*GetPrivateUnsubscribeOK) Error

func (o *GetPrivateUnsubscribeOK) Error() string

func (*GetPrivateUnsubscribeOK) GetPayload

type GetPrivateUnsubscribeParams

type GetPrivateUnsubscribeParams struct {

	/*Channels
	  A list of channels to unsubscribe from.

	*/
	Channels []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateUnsubscribeParams contains all the parameters to send to the API endpoint for the get private unsubscribe operation typically these are written to a http.Request

func NewGetPrivateUnsubscribeParams

func NewGetPrivateUnsubscribeParams() *GetPrivateUnsubscribeParams

NewGetPrivateUnsubscribeParams creates a new GetPrivateUnsubscribeParams object with the default values initialized.

func NewGetPrivateUnsubscribeParamsWithContext

func NewGetPrivateUnsubscribeParamsWithContext(ctx context.Context) *GetPrivateUnsubscribeParams

NewGetPrivateUnsubscribeParamsWithContext creates a new GetPrivateUnsubscribeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateUnsubscribeParamsWithHTTPClient

func NewGetPrivateUnsubscribeParamsWithHTTPClient(client *http.Client) *GetPrivateUnsubscribeParams

NewGetPrivateUnsubscribeParamsWithHTTPClient creates a new GetPrivateUnsubscribeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateUnsubscribeParamsWithTimeout

func NewGetPrivateUnsubscribeParamsWithTimeout(timeout time.Duration) *GetPrivateUnsubscribeParams

NewGetPrivateUnsubscribeParamsWithTimeout creates a new GetPrivateUnsubscribeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateUnsubscribeParams) SetChannels

func (o *GetPrivateUnsubscribeParams) SetChannels(channels []string)

SetChannels adds the channels to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) SetContext

func (o *GetPrivateUnsubscribeParams) SetContext(ctx context.Context)

SetContext adds the context to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) SetHTTPClient

func (o *GetPrivateUnsubscribeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) SetTimeout

func (o *GetPrivateUnsubscribeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WithChannels

func (o *GetPrivateUnsubscribeParams) WithChannels(channels []string) *GetPrivateUnsubscribeParams

WithChannels adds the channels to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WithContext

WithContext adds the context to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WithTimeout

WithTimeout adds the timeout to the get private unsubscribe params

func (*GetPrivateUnsubscribeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateUnsubscribeReader

type GetPrivateUnsubscribeReader struct {
	// contains filtered or unexported fields
}

GetPrivateUnsubscribeReader is a Reader for the GetPrivateUnsubscribe structure.

func (*GetPrivateUnsubscribeReader) ReadResponse

func (o *GetPrivateUnsubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateUnsubscribeUnauthorized

type GetPrivateUnsubscribeUnauthorized struct {
	Payload *models.ErrorMessage
}

GetPrivateUnsubscribeUnauthorized handles this case with default header values.

not authorised

func NewGetPrivateUnsubscribeUnauthorized

func NewGetPrivateUnsubscribeUnauthorized() *GetPrivateUnsubscribeUnauthorized

NewGetPrivateUnsubscribeUnauthorized creates a GetPrivateUnsubscribeUnauthorized with default headers values

func (*GetPrivateUnsubscribeUnauthorized) Error

func (*GetPrivateUnsubscribeUnauthorized) GetPayload

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL