Documentation ¶
Index ¶
- type Client
- type LiquidationGetBadRequest
- type LiquidationGetNotFound
- type LiquidationGetOK
- type LiquidationGetParams
- func NewLiquidationGetParams() *LiquidationGetParams
- func NewLiquidationGetParamsWithContext(ctx context.Context) *LiquidationGetParams
- func NewLiquidationGetParamsWithHTTPClient(client *http.Client) *LiquidationGetParams
- func NewLiquidationGetParamsWithTimeout(timeout time.Duration) *LiquidationGetParams
- func (o *LiquidationGetParams) SetColumns(columns *string)
- func (o *LiquidationGetParams) SetContext(ctx context.Context)
- func (o *LiquidationGetParams) SetCount(count *int32)
- func (o *LiquidationGetParams) SetEndTime(endTime *strfmt.DateTime)
- func (o *LiquidationGetParams) SetFilter(filter *string)
- func (o *LiquidationGetParams) SetHTTPClient(client *http.Client)
- func (o *LiquidationGetParams) SetReverse(reverse *bool)
- func (o *LiquidationGetParams) SetStart(start *int32)
- func (o *LiquidationGetParams) SetStartTime(startTime *strfmt.DateTime)
- func (o *LiquidationGetParams) SetSymbol(symbol *string)
- func (o *LiquidationGetParams) SetTimeout(timeout time.Duration)
- func (o *LiquidationGetParams) WithColumns(columns *string) *LiquidationGetParams
- func (o *LiquidationGetParams) WithContext(ctx context.Context) *LiquidationGetParams
- func (o *LiquidationGetParams) WithCount(count *int32) *LiquidationGetParams
- func (o *LiquidationGetParams) WithEndTime(endTime *strfmt.DateTime) *LiquidationGetParams
- func (o *LiquidationGetParams) WithFilter(filter *string) *LiquidationGetParams
- func (o *LiquidationGetParams) WithHTTPClient(client *http.Client) *LiquidationGetParams
- func (o *LiquidationGetParams) WithReverse(reverse *bool) *LiquidationGetParams
- func (o *LiquidationGetParams) WithStart(start *int32) *LiquidationGetParams
- func (o *LiquidationGetParams) WithStartTime(startTime *strfmt.DateTime) *LiquidationGetParams
- func (o *LiquidationGetParams) WithSymbol(symbol *string) *LiquidationGetParams
- func (o *LiquidationGetParams) WithTimeout(timeout time.Duration) *LiquidationGetParams
- func (o *LiquidationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiquidationGetReader
- type LiquidationGetUnauthorized
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 liquidation API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new liquidation API client.
func (*Client) LiquidationGet ¶
func (a *Client) LiquidationGet(params *LiquidationGetParams) (*LiquidationGetOK, error)
LiquidationGet gets liquidation orders
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type LiquidationGetBadRequest ¶
LiquidationGetBadRequest handles this case with default header values.
Parameter Error
func NewLiquidationGetBadRequest ¶
func NewLiquidationGetBadRequest() *LiquidationGetBadRequest
NewLiquidationGetBadRequest creates a LiquidationGetBadRequest with default headers values
func (*LiquidationGetBadRequest) Error ¶
func (o *LiquidationGetBadRequest) Error() string
type LiquidationGetNotFound ¶
LiquidationGetNotFound handles this case with default header values.
Not Found
func NewLiquidationGetNotFound ¶
func NewLiquidationGetNotFound() *LiquidationGetNotFound
NewLiquidationGetNotFound creates a LiquidationGetNotFound with default headers values
func (*LiquidationGetNotFound) Error ¶
func (o *LiquidationGetNotFound) Error() string
type LiquidationGetOK ¶
type LiquidationGetOK struct {
Payload []*models.Liquidation
}
LiquidationGetOK handles this case with default header values.
Request was successful
func NewLiquidationGetOK ¶
func NewLiquidationGetOK() *LiquidationGetOK
NewLiquidationGetOK creates a LiquidationGetOK with default headers values
func (*LiquidationGetOK) Error ¶
func (o *LiquidationGetOK) Error() string
type LiquidationGetParams ¶
type LiquidationGetParams struct { /*Columns Array of column names to fetch. If omitted, will return all columns. Note that this method will always return item keys, even when not specified, so you may receive more columns that you expect. */ Columns *string /*Count Number of results to fetch. */ Count *int32 /*EndTime Ending date filter for results. */ EndTime *strfmt.DateTime /*Filter Generic table filter. Send JSON key/value pairs, such as `{"key": "value"}`. You can key on individual fields, and do more advanced querying on timestamps. See the [Timestamp Docs](https://www.bitmex.com/app/restAPI#Timestamp-Filters) for more details. */ Filter *string /*Reverse If true, will sort results newest first. */ Reverse *bool /*Start Starting point for results. */ Start *int32 /*StartTime Starting date filter for results. */ StartTime *strfmt.DateTime /*Symbol Instrument symbol. Send a bare series (e.g. XBU) to get data for the nearest expiring contract in that series. You can also send a timeframe, e.g. `XBU:monthly`. Timeframes are `daily`, `weekly`, `monthly`, `quarterly`, and `biquarterly`. */ Symbol *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LiquidationGetParams contains all the parameters to send to the API endpoint for the liquidation get operation typically these are written to a http.Request
func NewLiquidationGetParams ¶
func NewLiquidationGetParams() *LiquidationGetParams
NewLiquidationGetParams creates a new LiquidationGetParams object with the default values initialized.
func NewLiquidationGetParamsWithContext ¶
func NewLiquidationGetParamsWithContext(ctx context.Context) *LiquidationGetParams
NewLiquidationGetParamsWithContext creates a new LiquidationGetParams object with the default values initialized, and the ability to set a context for a request
func NewLiquidationGetParamsWithHTTPClient ¶
func NewLiquidationGetParamsWithHTTPClient(client *http.Client) *LiquidationGetParams
NewLiquidationGetParamsWithHTTPClient creates a new LiquidationGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLiquidationGetParamsWithTimeout ¶
func NewLiquidationGetParamsWithTimeout(timeout time.Duration) *LiquidationGetParams
NewLiquidationGetParamsWithTimeout creates a new LiquidationGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*LiquidationGetParams) SetColumns ¶
func (o *LiquidationGetParams) SetColumns(columns *string)
SetColumns adds the columns to the liquidation get params
func (*LiquidationGetParams) SetContext ¶
func (o *LiquidationGetParams) SetContext(ctx context.Context)
SetContext adds the context to the liquidation get params
func (*LiquidationGetParams) SetCount ¶
func (o *LiquidationGetParams) SetCount(count *int32)
SetCount adds the count to the liquidation get params
func (*LiquidationGetParams) SetEndTime ¶
func (o *LiquidationGetParams) SetEndTime(endTime *strfmt.DateTime)
SetEndTime adds the endTime to the liquidation get params
func (*LiquidationGetParams) SetFilter ¶
func (o *LiquidationGetParams) SetFilter(filter *string)
SetFilter adds the filter to the liquidation get params
func (*LiquidationGetParams) SetHTTPClient ¶
func (o *LiquidationGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the liquidation get params
func (*LiquidationGetParams) SetReverse ¶
func (o *LiquidationGetParams) SetReverse(reverse *bool)
SetReverse adds the reverse to the liquidation get params
func (*LiquidationGetParams) SetStart ¶
func (o *LiquidationGetParams) SetStart(start *int32)
SetStart adds the start to the liquidation get params
func (*LiquidationGetParams) SetStartTime ¶
func (o *LiquidationGetParams) SetStartTime(startTime *strfmt.DateTime)
SetStartTime adds the startTime to the liquidation get params
func (*LiquidationGetParams) SetSymbol ¶
func (o *LiquidationGetParams) SetSymbol(symbol *string)
SetSymbol adds the symbol to the liquidation get params
func (*LiquidationGetParams) SetTimeout ¶
func (o *LiquidationGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the liquidation get params
func (*LiquidationGetParams) WithColumns ¶
func (o *LiquidationGetParams) WithColumns(columns *string) *LiquidationGetParams
WithColumns adds the columns to the liquidation get params
func (*LiquidationGetParams) WithContext ¶
func (o *LiquidationGetParams) WithContext(ctx context.Context) *LiquidationGetParams
WithContext adds the context to the liquidation get params
func (*LiquidationGetParams) WithCount ¶
func (o *LiquidationGetParams) WithCount(count *int32) *LiquidationGetParams
WithCount adds the count to the liquidation get params
func (*LiquidationGetParams) WithEndTime ¶
func (o *LiquidationGetParams) WithEndTime(endTime *strfmt.DateTime) *LiquidationGetParams
WithEndTime adds the endTime to the liquidation get params
func (*LiquidationGetParams) WithFilter ¶
func (o *LiquidationGetParams) WithFilter(filter *string) *LiquidationGetParams
WithFilter adds the filter to the liquidation get params
func (*LiquidationGetParams) WithHTTPClient ¶
func (o *LiquidationGetParams) WithHTTPClient(client *http.Client) *LiquidationGetParams
WithHTTPClient adds the HTTPClient to the liquidation get params
func (*LiquidationGetParams) WithReverse ¶
func (o *LiquidationGetParams) WithReverse(reverse *bool) *LiquidationGetParams
WithReverse adds the reverse to the liquidation get params
func (*LiquidationGetParams) WithStart ¶
func (o *LiquidationGetParams) WithStart(start *int32) *LiquidationGetParams
WithStart adds the start to the liquidation get params
func (*LiquidationGetParams) WithStartTime ¶
func (o *LiquidationGetParams) WithStartTime(startTime *strfmt.DateTime) *LiquidationGetParams
WithStartTime adds the startTime to the liquidation get params
func (*LiquidationGetParams) WithSymbol ¶
func (o *LiquidationGetParams) WithSymbol(symbol *string) *LiquidationGetParams
WithSymbol adds the symbol to the liquidation get params
func (*LiquidationGetParams) WithTimeout ¶
func (o *LiquidationGetParams) WithTimeout(timeout time.Duration) *LiquidationGetParams
WithTimeout adds the timeout to the liquidation get params
func (*LiquidationGetParams) WriteToRequest ¶
func (o *LiquidationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LiquidationGetReader ¶
type LiquidationGetReader struct {
// contains filtered or unexported fields
}
LiquidationGetReader is a Reader for the LiquidationGet structure.
func (*LiquidationGetReader) ReadResponse ¶
func (o *LiquidationGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LiquidationGetUnauthorized ¶
type LiquidationGetUnauthorized struct {
}LiquidationGetUnauthorized handles this case with default header values.
Unauthorized
func NewLiquidationGetUnauthorized ¶
func NewLiquidationGetUnauthorized() *LiquidationGetUnauthorized
NewLiquidationGetUnauthorized creates a LiquidationGetUnauthorized with default headers values
func (*LiquidationGetUnauthorized) Error ¶
func (o *LiquidationGetUnauthorized) Error() string