Documentation
¶
Index ¶
- type Client
- func (a *Client) GetPrivateDisableCancelOnDisconnect(params *GetPrivateDisableCancelOnDisconnectParams) (*GetPrivateDisableCancelOnDisconnectOK, error)
- func (a *Client) GetPrivateEnableCancelOnDisconnect(params *GetPrivateEnableCancelOnDisconnectParams) (*GetPrivateEnableCancelOnDisconnectOK, error)
- func (a *Client) GetPrivateLogout(params *GetPrivateLogoutParams) (*GetPrivateLogoutOK, error)
- func (a *Client) GetPublicDisableHeartbeat(params *GetPublicDisableHeartbeatParams) (*GetPublicDisableHeartbeatOK, error)
- func (a *Client) GetPublicUnsubscribe(params *GetPublicUnsubscribeParams) (*GetPublicUnsubscribeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetPrivateDisableCancelOnDisconnectBadRequest
- type GetPrivateDisableCancelOnDisconnectOK
- type GetPrivateDisableCancelOnDisconnectParams
- func NewGetPrivateDisableCancelOnDisconnectParams() *GetPrivateDisableCancelOnDisconnectParams
- func NewGetPrivateDisableCancelOnDisconnectParamsWithContext(ctx context.Context) *GetPrivateDisableCancelOnDisconnectParams
- func NewGetPrivateDisableCancelOnDisconnectParamsWithHTTPClient(client *http.Client) *GetPrivateDisableCancelOnDisconnectParams
- func NewGetPrivateDisableCancelOnDisconnectParamsWithTimeout(timeout time.Duration) *GetPrivateDisableCancelOnDisconnectParams
- func (o *GetPrivateDisableCancelOnDisconnectParams) SetContext(ctx context.Context)
- func (o *GetPrivateDisableCancelOnDisconnectParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateDisableCancelOnDisconnectParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateDisableCancelOnDisconnectParams) WithContext(ctx context.Context) *GetPrivateDisableCancelOnDisconnectParams
- func (o *GetPrivateDisableCancelOnDisconnectParams) WithHTTPClient(client *http.Client) *GetPrivateDisableCancelOnDisconnectParams
- func (o *GetPrivateDisableCancelOnDisconnectParams) WithTimeout(timeout time.Duration) *GetPrivateDisableCancelOnDisconnectParams
- func (o *GetPrivateDisableCancelOnDisconnectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateDisableCancelOnDisconnectReader
- type GetPrivateEnableCancelOnDisconnectBadRequest
- type GetPrivateEnableCancelOnDisconnectOK
- type GetPrivateEnableCancelOnDisconnectParams
- func NewGetPrivateEnableCancelOnDisconnectParams() *GetPrivateEnableCancelOnDisconnectParams
- func NewGetPrivateEnableCancelOnDisconnectParamsWithContext(ctx context.Context) *GetPrivateEnableCancelOnDisconnectParams
- func NewGetPrivateEnableCancelOnDisconnectParamsWithHTTPClient(client *http.Client) *GetPrivateEnableCancelOnDisconnectParams
- func NewGetPrivateEnableCancelOnDisconnectParamsWithTimeout(timeout time.Duration) *GetPrivateEnableCancelOnDisconnectParams
- func (o *GetPrivateEnableCancelOnDisconnectParams) SetContext(ctx context.Context)
- func (o *GetPrivateEnableCancelOnDisconnectParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateEnableCancelOnDisconnectParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateEnableCancelOnDisconnectParams) WithContext(ctx context.Context) *GetPrivateEnableCancelOnDisconnectParams
- func (o *GetPrivateEnableCancelOnDisconnectParams) WithHTTPClient(client *http.Client) *GetPrivateEnableCancelOnDisconnectParams
- func (o *GetPrivateEnableCancelOnDisconnectParams) WithTimeout(timeout time.Duration) *GetPrivateEnableCancelOnDisconnectParams
- func (o *GetPrivateEnableCancelOnDisconnectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateEnableCancelOnDisconnectReader
- type GetPrivateLogoutBadRequest
- type GetPrivateLogoutOK
- type GetPrivateLogoutParams
- func NewGetPrivateLogoutParams() *GetPrivateLogoutParams
- func NewGetPrivateLogoutParamsWithContext(ctx context.Context) *GetPrivateLogoutParams
- func NewGetPrivateLogoutParamsWithHTTPClient(client *http.Client) *GetPrivateLogoutParams
- func NewGetPrivateLogoutParamsWithTimeout(timeout time.Duration) *GetPrivateLogoutParams
- func (o *GetPrivateLogoutParams) SetContext(ctx context.Context)
- func (o *GetPrivateLogoutParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateLogoutParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateLogoutParams) WithContext(ctx context.Context) *GetPrivateLogoutParams
- func (o *GetPrivateLogoutParams) WithHTTPClient(client *http.Client) *GetPrivateLogoutParams
- func (o *GetPrivateLogoutParams) WithTimeout(timeout time.Duration) *GetPrivateLogoutParams
- func (o *GetPrivateLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateLogoutReader
- type GetPublicDisableHeartbeatBadRequest
- type GetPublicDisableHeartbeatOK
- type GetPublicDisableHeartbeatParams
- func NewGetPublicDisableHeartbeatParams() *GetPublicDisableHeartbeatParams
- func NewGetPublicDisableHeartbeatParamsWithContext(ctx context.Context) *GetPublicDisableHeartbeatParams
- func NewGetPublicDisableHeartbeatParamsWithHTTPClient(client *http.Client) *GetPublicDisableHeartbeatParams
- func NewGetPublicDisableHeartbeatParamsWithTimeout(timeout time.Duration) *GetPublicDisableHeartbeatParams
- func (o *GetPublicDisableHeartbeatParams) SetContext(ctx context.Context)
- func (o *GetPublicDisableHeartbeatParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicDisableHeartbeatParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicDisableHeartbeatParams) WithContext(ctx context.Context) *GetPublicDisableHeartbeatParams
- func (o *GetPublicDisableHeartbeatParams) WithHTTPClient(client *http.Client) *GetPublicDisableHeartbeatParams
- func (o *GetPublicDisableHeartbeatParams) WithTimeout(timeout time.Duration) *GetPublicDisableHeartbeatParams
- func (o *GetPublicDisableHeartbeatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicDisableHeartbeatReader
- type GetPublicUnsubscribeOK
- type GetPublicUnsubscribeParams
- func NewGetPublicUnsubscribeParams() *GetPublicUnsubscribeParams
- func NewGetPublicUnsubscribeParamsWithContext(ctx context.Context) *GetPublicUnsubscribeParams
- func NewGetPublicUnsubscribeParamsWithHTTPClient(client *http.Client) *GetPublicUnsubscribeParams
- func NewGetPublicUnsubscribeParamsWithTimeout(timeout time.Duration) *GetPublicUnsubscribeParams
- func (o *GetPublicUnsubscribeParams) SetChannels(channels []string)
- func (o *GetPublicUnsubscribeParams) SetContext(ctx context.Context)
- func (o *GetPublicUnsubscribeParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicUnsubscribeParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicUnsubscribeParams) WithChannels(channels []string) *GetPublicUnsubscribeParams
- func (o *GetPublicUnsubscribeParams) WithContext(ctx context.Context) *GetPublicUnsubscribeParams
- func (o *GetPublicUnsubscribeParams) WithHTTPClient(client *http.Client) *GetPublicUnsubscribeParams
- func (o *GetPublicUnsubscribeParams) WithTimeout(timeout time.Duration) *GetPublicUnsubscribeParams
- func (o *GetPublicUnsubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicUnsubscribeReader
- type GetPublicUnsubscribeUnauthorized
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 websocket only API
func (*Client) GetPrivateDisableCancelOnDisconnect ¶
func (a *Client) GetPrivateDisableCancelOnDisconnect(params *GetPrivateDisableCancelOnDisconnectParams) (*GetPrivateDisableCancelOnDisconnectOK, error)
GetPrivateDisableCancelOnDisconnect disables cancel on disconnect for the connection this does not change the default account setting
func (*Client) GetPrivateEnableCancelOnDisconnect ¶
func (a *Client) GetPrivateEnableCancelOnDisconnect(params *GetPrivateEnableCancelOnDisconnectParams) (*GetPrivateEnableCancelOnDisconnectOK, error)
GetPrivateEnableCancelOnDisconnect enables cancel on disconnect for the connection this does not change the default account setting after enabling cancel on disconnect all orders created by the connection will be removed when connection is closed br br n o t i c e it does not affect orders created by other connections they will remain active bang
func (*Client) GetPrivateLogout ¶
func (a *Client) GetPrivateLogout(params *GetPrivateLogoutParams) (*GetPrivateLogoutOK, error)
GetPrivateLogout gracefullies close websocket connection when c o d cancel on disconnect is enabled orders are not cancelled
func (*Client) GetPublicDisableHeartbeat ¶
func (a *Client) GetPublicDisableHeartbeat(params *GetPublicDisableHeartbeatParams) (*GetPublicDisableHeartbeatOK, error)
GetPublicDisableHeartbeat stops sending heartbeat messages
func (*Client) GetPublicUnsubscribe ¶
func (a *Client) GetPublicUnsubscribe(params *GetPublicUnsubscribeParams) (*GetPublicUnsubscribeOK, error)
GetPublicUnsubscribe unsubscribes from one or more channels
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetPrivateDisableCancelOnDisconnect(params *GetPrivateDisableCancelOnDisconnectParams) (*GetPrivateDisableCancelOnDisconnectOK, error) GetPrivateEnableCancelOnDisconnect(params *GetPrivateEnableCancelOnDisconnectParams) (*GetPrivateEnableCancelOnDisconnectOK, error) GetPrivateLogout(params *GetPrivateLogoutParams) (*GetPrivateLogoutOK, error) GetPublicDisableHeartbeat(params *GetPublicDisableHeartbeatParams) (*GetPublicDisableHeartbeatOK, error) GetPublicUnsubscribe(params *GetPublicUnsubscribeParams) (*GetPublicUnsubscribeOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new websocket only API client.
type GetPrivateDisableCancelOnDisconnectBadRequest ¶
type GetPrivateDisableCancelOnDisconnectBadRequest struct {
Payload *models.ErrorMessage
}
GetPrivateDisableCancelOnDisconnectBadRequest handles this case with default header values.
result when used via rest/HTTP
func NewGetPrivateDisableCancelOnDisconnectBadRequest ¶
func NewGetPrivateDisableCancelOnDisconnectBadRequest() *GetPrivateDisableCancelOnDisconnectBadRequest
NewGetPrivateDisableCancelOnDisconnectBadRequest creates a GetPrivateDisableCancelOnDisconnectBadRequest with default headers values
func (*GetPrivateDisableCancelOnDisconnectBadRequest) Error ¶
func (o *GetPrivateDisableCancelOnDisconnectBadRequest) Error() string
func (*GetPrivateDisableCancelOnDisconnectBadRequest) GetPayload ¶
func (o *GetPrivateDisableCancelOnDisconnectBadRequest) GetPayload() *models.ErrorMessage
type GetPrivateDisableCancelOnDisconnectOK ¶
type GetPrivateDisableCancelOnDisconnectOK struct {
Payload *models.OkResponse
}
GetPrivateDisableCancelOnDisconnectOK handles this case with default header values.
ok response
func NewGetPrivateDisableCancelOnDisconnectOK ¶
func NewGetPrivateDisableCancelOnDisconnectOK() *GetPrivateDisableCancelOnDisconnectOK
NewGetPrivateDisableCancelOnDisconnectOK creates a GetPrivateDisableCancelOnDisconnectOK with default headers values
func (*GetPrivateDisableCancelOnDisconnectOK) Error ¶
func (o *GetPrivateDisableCancelOnDisconnectOK) Error() string
func (*GetPrivateDisableCancelOnDisconnectOK) GetPayload ¶
func (o *GetPrivateDisableCancelOnDisconnectOK) GetPayload() *models.OkResponse
type GetPrivateDisableCancelOnDisconnectParams ¶
type GetPrivateDisableCancelOnDisconnectParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateDisableCancelOnDisconnectParams contains all the parameters to send to the API endpoint for the get private disable cancel on disconnect operation typically these are written to a http.Request
func NewGetPrivateDisableCancelOnDisconnectParams ¶
func NewGetPrivateDisableCancelOnDisconnectParams() *GetPrivateDisableCancelOnDisconnectParams
NewGetPrivateDisableCancelOnDisconnectParams creates a new GetPrivateDisableCancelOnDisconnectParams object with the default values initialized.
func NewGetPrivateDisableCancelOnDisconnectParamsWithContext ¶
func NewGetPrivateDisableCancelOnDisconnectParamsWithContext(ctx context.Context) *GetPrivateDisableCancelOnDisconnectParams
NewGetPrivateDisableCancelOnDisconnectParamsWithContext creates a new GetPrivateDisableCancelOnDisconnectParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateDisableCancelOnDisconnectParamsWithHTTPClient ¶
func NewGetPrivateDisableCancelOnDisconnectParamsWithHTTPClient(client *http.Client) *GetPrivateDisableCancelOnDisconnectParams
NewGetPrivateDisableCancelOnDisconnectParamsWithHTTPClient creates a new GetPrivateDisableCancelOnDisconnectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateDisableCancelOnDisconnectParamsWithTimeout ¶
func NewGetPrivateDisableCancelOnDisconnectParamsWithTimeout(timeout time.Duration) *GetPrivateDisableCancelOnDisconnectParams
NewGetPrivateDisableCancelOnDisconnectParamsWithTimeout creates a new GetPrivateDisableCancelOnDisconnectParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateDisableCancelOnDisconnectParams) SetContext ¶
func (o *GetPrivateDisableCancelOnDisconnectParams) SetContext(ctx context.Context)
SetContext adds the context to the get private disable cancel on disconnect params
func (*GetPrivateDisableCancelOnDisconnectParams) SetHTTPClient ¶
func (o *GetPrivateDisableCancelOnDisconnectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private disable cancel on disconnect params
func (*GetPrivateDisableCancelOnDisconnectParams) SetTimeout ¶
func (o *GetPrivateDisableCancelOnDisconnectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private disable cancel on disconnect params
func (*GetPrivateDisableCancelOnDisconnectParams) WithContext ¶
func (o *GetPrivateDisableCancelOnDisconnectParams) WithContext(ctx context.Context) *GetPrivateDisableCancelOnDisconnectParams
WithContext adds the context to the get private disable cancel on disconnect params
func (*GetPrivateDisableCancelOnDisconnectParams) WithHTTPClient ¶
func (o *GetPrivateDisableCancelOnDisconnectParams) WithHTTPClient(client *http.Client) *GetPrivateDisableCancelOnDisconnectParams
WithHTTPClient adds the HTTPClient to the get private disable cancel on disconnect params
func (*GetPrivateDisableCancelOnDisconnectParams) WithTimeout ¶
func (o *GetPrivateDisableCancelOnDisconnectParams) WithTimeout(timeout time.Duration) *GetPrivateDisableCancelOnDisconnectParams
WithTimeout adds the timeout to the get private disable cancel on disconnect params
func (*GetPrivateDisableCancelOnDisconnectParams) WriteToRequest ¶
func (o *GetPrivateDisableCancelOnDisconnectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateDisableCancelOnDisconnectReader ¶
type GetPrivateDisableCancelOnDisconnectReader struct {
// contains filtered or unexported fields
}
GetPrivateDisableCancelOnDisconnectReader is a Reader for the GetPrivateDisableCancelOnDisconnect structure.
func (*GetPrivateDisableCancelOnDisconnectReader) ReadResponse ¶
func (o *GetPrivateDisableCancelOnDisconnectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateEnableCancelOnDisconnectBadRequest ¶
type GetPrivateEnableCancelOnDisconnectBadRequest struct {
Payload *models.ErrorMessage
}
GetPrivateEnableCancelOnDisconnectBadRequest handles this case with default header values.
result when used via rest/HTTP
func NewGetPrivateEnableCancelOnDisconnectBadRequest ¶
func NewGetPrivateEnableCancelOnDisconnectBadRequest() *GetPrivateEnableCancelOnDisconnectBadRequest
NewGetPrivateEnableCancelOnDisconnectBadRequest creates a GetPrivateEnableCancelOnDisconnectBadRequest with default headers values
func (*GetPrivateEnableCancelOnDisconnectBadRequest) Error ¶
func (o *GetPrivateEnableCancelOnDisconnectBadRequest) Error() string
func (*GetPrivateEnableCancelOnDisconnectBadRequest) GetPayload ¶
func (o *GetPrivateEnableCancelOnDisconnectBadRequest) GetPayload() *models.ErrorMessage
type GetPrivateEnableCancelOnDisconnectOK ¶
type GetPrivateEnableCancelOnDisconnectOK struct {
Payload *models.OkResponse
}
GetPrivateEnableCancelOnDisconnectOK handles this case with default header values.
ok response
func NewGetPrivateEnableCancelOnDisconnectOK ¶
func NewGetPrivateEnableCancelOnDisconnectOK() *GetPrivateEnableCancelOnDisconnectOK
NewGetPrivateEnableCancelOnDisconnectOK creates a GetPrivateEnableCancelOnDisconnectOK with default headers values
func (*GetPrivateEnableCancelOnDisconnectOK) Error ¶
func (o *GetPrivateEnableCancelOnDisconnectOK) Error() string
func (*GetPrivateEnableCancelOnDisconnectOK) GetPayload ¶
func (o *GetPrivateEnableCancelOnDisconnectOK) GetPayload() *models.OkResponse
type GetPrivateEnableCancelOnDisconnectParams ¶
type GetPrivateEnableCancelOnDisconnectParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateEnableCancelOnDisconnectParams contains all the parameters to send to the API endpoint for the get private enable cancel on disconnect operation typically these are written to a http.Request
func NewGetPrivateEnableCancelOnDisconnectParams ¶
func NewGetPrivateEnableCancelOnDisconnectParams() *GetPrivateEnableCancelOnDisconnectParams
NewGetPrivateEnableCancelOnDisconnectParams creates a new GetPrivateEnableCancelOnDisconnectParams object with the default values initialized.
func NewGetPrivateEnableCancelOnDisconnectParamsWithContext ¶
func NewGetPrivateEnableCancelOnDisconnectParamsWithContext(ctx context.Context) *GetPrivateEnableCancelOnDisconnectParams
NewGetPrivateEnableCancelOnDisconnectParamsWithContext creates a new GetPrivateEnableCancelOnDisconnectParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateEnableCancelOnDisconnectParamsWithHTTPClient ¶
func NewGetPrivateEnableCancelOnDisconnectParamsWithHTTPClient(client *http.Client) *GetPrivateEnableCancelOnDisconnectParams
NewGetPrivateEnableCancelOnDisconnectParamsWithHTTPClient creates a new GetPrivateEnableCancelOnDisconnectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateEnableCancelOnDisconnectParamsWithTimeout ¶
func NewGetPrivateEnableCancelOnDisconnectParamsWithTimeout(timeout time.Duration) *GetPrivateEnableCancelOnDisconnectParams
NewGetPrivateEnableCancelOnDisconnectParamsWithTimeout creates a new GetPrivateEnableCancelOnDisconnectParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateEnableCancelOnDisconnectParams) SetContext ¶
func (o *GetPrivateEnableCancelOnDisconnectParams) SetContext(ctx context.Context)
SetContext adds the context to the get private enable cancel on disconnect params
func (*GetPrivateEnableCancelOnDisconnectParams) SetHTTPClient ¶
func (o *GetPrivateEnableCancelOnDisconnectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private enable cancel on disconnect params
func (*GetPrivateEnableCancelOnDisconnectParams) SetTimeout ¶
func (o *GetPrivateEnableCancelOnDisconnectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private enable cancel on disconnect params
func (*GetPrivateEnableCancelOnDisconnectParams) WithContext ¶
func (o *GetPrivateEnableCancelOnDisconnectParams) WithContext(ctx context.Context) *GetPrivateEnableCancelOnDisconnectParams
WithContext adds the context to the get private enable cancel on disconnect params
func (*GetPrivateEnableCancelOnDisconnectParams) WithHTTPClient ¶
func (o *GetPrivateEnableCancelOnDisconnectParams) WithHTTPClient(client *http.Client) *GetPrivateEnableCancelOnDisconnectParams
WithHTTPClient adds the HTTPClient to the get private enable cancel on disconnect params
func (*GetPrivateEnableCancelOnDisconnectParams) WithTimeout ¶
func (o *GetPrivateEnableCancelOnDisconnectParams) WithTimeout(timeout time.Duration) *GetPrivateEnableCancelOnDisconnectParams
WithTimeout adds the timeout to the get private enable cancel on disconnect params
func (*GetPrivateEnableCancelOnDisconnectParams) WriteToRequest ¶
func (o *GetPrivateEnableCancelOnDisconnectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateEnableCancelOnDisconnectReader ¶
type GetPrivateEnableCancelOnDisconnectReader struct {
// contains filtered or unexported fields
}
GetPrivateEnableCancelOnDisconnectReader is a Reader for the GetPrivateEnableCancelOnDisconnect structure.
func (*GetPrivateEnableCancelOnDisconnectReader) ReadResponse ¶
func (o *GetPrivateEnableCancelOnDisconnectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateLogoutBadRequest ¶
type GetPrivateLogoutBadRequest struct {
Payload *models.ErrorMessage
}
GetPrivateLogoutBadRequest handles this case with default header values.
result when used via rest/HTTP
func NewGetPrivateLogoutBadRequest ¶
func NewGetPrivateLogoutBadRequest() *GetPrivateLogoutBadRequest
NewGetPrivateLogoutBadRequest creates a GetPrivateLogoutBadRequest with default headers values
func (*GetPrivateLogoutBadRequest) Error ¶
func (o *GetPrivateLogoutBadRequest) Error() string
func (*GetPrivateLogoutBadRequest) GetPayload ¶
func (o *GetPrivateLogoutBadRequest) GetPayload() *models.ErrorMessage
type GetPrivateLogoutOK ¶
type GetPrivateLogoutOK struct { }
GetPrivateLogoutOK handles this case with default header values.
closes WS connection
func NewGetPrivateLogoutOK ¶
func NewGetPrivateLogoutOK() *GetPrivateLogoutOK
NewGetPrivateLogoutOK creates a GetPrivateLogoutOK with default headers values
func (*GetPrivateLogoutOK) Error ¶
func (o *GetPrivateLogoutOK) Error() string
type GetPrivateLogoutParams ¶
type GetPrivateLogoutParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateLogoutParams contains all the parameters to send to the API endpoint for the get private logout operation typically these are written to a http.Request
func NewGetPrivateLogoutParams ¶
func NewGetPrivateLogoutParams() *GetPrivateLogoutParams
NewGetPrivateLogoutParams creates a new GetPrivateLogoutParams object with the default values initialized.
func NewGetPrivateLogoutParamsWithContext ¶
func NewGetPrivateLogoutParamsWithContext(ctx context.Context) *GetPrivateLogoutParams
NewGetPrivateLogoutParamsWithContext creates a new GetPrivateLogoutParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateLogoutParamsWithHTTPClient ¶
func NewGetPrivateLogoutParamsWithHTTPClient(client *http.Client) *GetPrivateLogoutParams
NewGetPrivateLogoutParamsWithHTTPClient creates a new GetPrivateLogoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateLogoutParamsWithTimeout ¶
func NewGetPrivateLogoutParamsWithTimeout(timeout time.Duration) *GetPrivateLogoutParams
NewGetPrivateLogoutParamsWithTimeout creates a new GetPrivateLogoutParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateLogoutParams) SetContext ¶
func (o *GetPrivateLogoutParams) SetContext(ctx context.Context)
SetContext adds the context to the get private logout params
func (*GetPrivateLogoutParams) SetHTTPClient ¶
func (o *GetPrivateLogoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private logout params
func (*GetPrivateLogoutParams) SetTimeout ¶
func (o *GetPrivateLogoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private logout params
func (*GetPrivateLogoutParams) WithContext ¶
func (o *GetPrivateLogoutParams) WithContext(ctx context.Context) *GetPrivateLogoutParams
WithContext adds the context to the get private logout params
func (*GetPrivateLogoutParams) WithHTTPClient ¶
func (o *GetPrivateLogoutParams) WithHTTPClient(client *http.Client) *GetPrivateLogoutParams
WithHTTPClient adds the HTTPClient to the get private logout params
func (*GetPrivateLogoutParams) WithTimeout ¶
func (o *GetPrivateLogoutParams) WithTimeout(timeout time.Duration) *GetPrivateLogoutParams
WithTimeout adds the timeout to the get private logout params
func (*GetPrivateLogoutParams) WriteToRequest ¶
func (o *GetPrivateLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateLogoutReader ¶
type GetPrivateLogoutReader struct {
// contains filtered or unexported fields
}
GetPrivateLogoutReader is a Reader for the GetPrivateLogout structure.
func (*GetPrivateLogoutReader) ReadResponse ¶
func (o *GetPrivateLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicDisableHeartbeatBadRequest ¶
type GetPublicDisableHeartbeatBadRequest struct {
Payload *models.ErrorMessage
}
GetPublicDisableHeartbeatBadRequest handles this case with default header values.
result when used via rest/HTTP
func NewGetPublicDisableHeartbeatBadRequest ¶
func NewGetPublicDisableHeartbeatBadRequest() *GetPublicDisableHeartbeatBadRequest
NewGetPublicDisableHeartbeatBadRequest creates a GetPublicDisableHeartbeatBadRequest with default headers values
func (*GetPublicDisableHeartbeatBadRequest) Error ¶
func (o *GetPublicDisableHeartbeatBadRequest) Error() string
func (*GetPublicDisableHeartbeatBadRequest) GetPayload ¶
func (o *GetPublicDisableHeartbeatBadRequest) GetPayload() *models.ErrorMessage
type GetPublicDisableHeartbeatOK ¶
type GetPublicDisableHeartbeatOK struct {
Payload *models.OkResponse
}
GetPublicDisableHeartbeatOK handles this case with default header values.
ok response
func NewGetPublicDisableHeartbeatOK ¶
func NewGetPublicDisableHeartbeatOK() *GetPublicDisableHeartbeatOK
NewGetPublicDisableHeartbeatOK creates a GetPublicDisableHeartbeatOK with default headers values
func (*GetPublicDisableHeartbeatOK) Error ¶
func (o *GetPublicDisableHeartbeatOK) Error() string
func (*GetPublicDisableHeartbeatOK) GetPayload ¶
func (o *GetPublicDisableHeartbeatOK) GetPayload() *models.OkResponse
type GetPublicDisableHeartbeatParams ¶
type GetPublicDisableHeartbeatParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicDisableHeartbeatParams contains all the parameters to send to the API endpoint for the get public disable heartbeat operation typically these are written to a http.Request
func NewGetPublicDisableHeartbeatParams ¶
func NewGetPublicDisableHeartbeatParams() *GetPublicDisableHeartbeatParams
NewGetPublicDisableHeartbeatParams creates a new GetPublicDisableHeartbeatParams object with the default values initialized.
func NewGetPublicDisableHeartbeatParamsWithContext ¶
func NewGetPublicDisableHeartbeatParamsWithContext(ctx context.Context) *GetPublicDisableHeartbeatParams
NewGetPublicDisableHeartbeatParamsWithContext creates a new GetPublicDisableHeartbeatParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicDisableHeartbeatParamsWithHTTPClient ¶
func NewGetPublicDisableHeartbeatParamsWithHTTPClient(client *http.Client) *GetPublicDisableHeartbeatParams
NewGetPublicDisableHeartbeatParamsWithHTTPClient creates a new GetPublicDisableHeartbeatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicDisableHeartbeatParamsWithTimeout ¶
func NewGetPublicDisableHeartbeatParamsWithTimeout(timeout time.Duration) *GetPublicDisableHeartbeatParams
NewGetPublicDisableHeartbeatParamsWithTimeout creates a new GetPublicDisableHeartbeatParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicDisableHeartbeatParams) SetContext ¶
func (o *GetPublicDisableHeartbeatParams) SetContext(ctx context.Context)
SetContext adds the context to the get public disable heartbeat params
func (*GetPublicDisableHeartbeatParams) SetHTTPClient ¶
func (o *GetPublicDisableHeartbeatParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public disable heartbeat params
func (*GetPublicDisableHeartbeatParams) SetTimeout ¶
func (o *GetPublicDisableHeartbeatParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public disable heartbeat params
func (*GetPublicDisableHeartbeatParams) WithContext ¶
func (o *GetPublicDisableHeartbeatParams) WithContext(ctx context.Context) *GetPublicDisableHeartbeatParams
WithContext adds the context to the get public disable heartbeat params
func (*GetPublicDisableHeartbeatParams) WithHTTPClient ¶
func (o *GetPublicDisableHeartbeatParams) WithHTTPClient(client *http.Client) *GetPublicDisableHeartbeatParams
WithHTTPClient adds the HTTPClient to the get public disable heartbeat params
func (*GetPublicDisableHeartbeatParams) WithTimeout ¶
func (o *GetPublicDisableHeartbeatParams) WithTimeout(timeout time.Duration) *GetPublicDisableHeartbeatParams
WithTimeout adds the timeout to the get public disable heartbeat params
func (*GetPublicDisableHeartbeatParams) WriteToRequest ¶
func (o *GetPublicDisableHeartbeatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicDisableHeartbeatReader ¶
type GetPublicDisableHeartbeatReader struct {
// contains filtered or unexported fields
}
GetPublicDisableHeartbeatReader is a Reader for the GetPublicDisableHeartbeat structure.
func (*GetPublicDisableHeartbeatReader) ReadResponse ¶
func (o *GetPublicDisableHeartbeatReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicUnsubscribeOK ¶
type GetPublicUnsubscribeOK struct {
Payload *models.PrivateSubscribeResponse
}
GetPublicUnsubscribeOK handles this case with default header values.
ok response
func NewGetPublicUnsubscribeOK ¶
func NewGetPublicUnsubscribeOK() *GetPublicUnsubscribeOK
NewGetPublicUnsubscribeOK creates a GetPublicUnsubscribeOK with default headers values
func (*GetPublicUnsubscribeOK) Error ¶
func (o *GetPublicUnsubscribeOK) Error() string
func (*GetPublicUnsubscribeOK) GetPayload ¶
func (o *GetPublicUnsubscribeOK) GetPayload() *models.PrivateSubscribeResponse
type GetPublicUnsubscribeParams ¶
type GetPublicUnsubscribeParams struct { /*Channels A list of channels to unsubscribe from. */ Channels []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicUnsubscribeParams contains all the parameters to send to the API endpoint for the get public unsubscribe operation typically these are written to a http.Request
func NewGetPublicUnsubscribeParams ¶
func NewGetPublicUnsubscribeParams() *GetPublicUnsubscribeParams
NewGetPublicUnsubscribeParams creates a new GetPublicUnsubscribeParams object with the default values initialized.
func NewGetPublicUnsubscribeParamsWithContext ¶
func NewGetPublicUnsubscribeParamsWithContext(ctx context.Context) *GetPublicUnsubscribeParams
NewGetPublicUnsubscribeParamsWithContext creates a new GetPublicUnsubscribeParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicUnsubscribeParamsWithHTTPClient ¶
func NewGetPublicUnsubscribeParamsWithHTTPClient(client *http.Client) *GetPublicUnsubscribeParams
NewGetPublicUnsubscribeParamsWithHTTPClient creates a new GetPublicUnsubscribeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicUnsubscribeParamsWithTimeout ¶
func NewGetPublicUnsubscribeParamsWithTimeout(timeout time.Duration) *GetPublicUnsubscribeParams
NewGetPublicUnsubscribeParamsWithTimeout creates a new GetPublicUnsubscribeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicUnsubscribeParams) SetChannels ¶
func (o *GetPublicUnsubscribeParams) SetChannels(channels []string)
SetChannels adds the channels to the get public unsubscribe params
func (*GetPublicUnsubscribeParams) SetContext ¶
func (o *GetPublicUnsubscribeParams) SetContext(ctx context.Context)
SetContext adds the context to the get public unsubscribe params
func (*GetPublicUnsubscribeParams) SetHTTPClient ¶
func (o *GetPublicUnsubscribeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public unsubscribe params
func (*GetPublicUnsubscribeParams) SetTimeout ¶
func (o *GetPublicUnsubscribeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public unsubscribe params
func (*GetPublicUnsubscribeParams) WithChannels ¶
func (o *GetPublicUnsubscribeParams) WithChannels(channels []string) *GetPublicUnsubscribeParams
WithChannels adds the channels to the get public unsubscribe params
func (*GetPublicUnsubscribeParams) WithContext ¶
func (o *GetPublicUnsubscribeParams) WithContext(ctx context.Context) *GetPublicUnsubscribeParams
WithContext adds the context to the get public unsubscribe params
func (*GetPublicUnsubscribeParams) WithHTTPClient ¶
func (o *GetPublicUnsubscribeParams) WithHTTPClient(client *http.Client) *GetPublicUnsubscribeParams
WithHTTPClient adds the HTTPClient to the get public unsubscribe params
func (*GetPublicUnsubscribeParams) WithTimeout ¶
func (o *GetPublicUnsubscribeParams) WithTimeout(timeout time.Duration) *GetPublicUnsubscribeParams
WithTimeout adds the timeout to the get public unsubscribe params
func (*GetPublicUnsubscribeParams) WriteToRequest ¶
func (o *GetPublicUnsubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicUnsubscribeReader ¶
type GetPublicUnsubscribeReader struct {
// contains filtered or unexported fields
}
GetPublicUnsubscribeReader is a Reader for the GetPublicUnsubscribe structure.
func (*GetPublicUnsubscribeReader) ReadResponse ¶
func (o *GetPublicUnsubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicUnsubscribeUnauthorized ¶
type GetPublicUnsubscribeUnauthorized struct {
}GetPublicUnsubscribeUnauthorized handles this case with default header values.
not authorised
func NewGetPublicUnsubscribeUnauthorized ¶
func NewGetPublicUnsubscribeUnauthorized() *GetPublicUnsubscribeUnauthorized
NewGetPublicUnsubscribeUnauthorized creates a GetPublicUnsubscribeUnauthorized with default headers values
func (*GetPublicUnsubscribeUnauthorized) Error ¶
func (o *GetPublicUnsubscribeUnauthorized) Error() string
func (*GetPublicUnsubscribeUnauthorized) GetPayload ¶
func (o *GetPublicUnsubscribeUnauthorized) GetPayload() *models.ErrorMessage
Source Files
¶
- get_private_disable_cancel_on_disconnect_parameters.go
- get_private_disable_cancel_on_disconnect_responses.go
- get_private_enable_cancel_on_disconnect_parameters.go
- get_private_enable_cancel_on_disconnect_responses.go
- get_private_logout_parameters.go
- get_private_logout_responses.go
- get_public_disable_heartbeat_parameters.go
- get_public_disable_heartbeat_responses.go
- get_public_unsubscribe_parameters.go
- get_public_unsubscribe_responses.go
- websocket_only_client.go