Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetTaskTaskIDBadRequest
- type GetTaskTaskIDOK
- type GetTaskTaskIDParams
- func (o *GetTaskTaskIDParams) SetContext(ctx context.Context)
- func (o *GetTaskTaskIDParams) SetHTTPClient(client *http.Client)
- func (o *GetTaskTaskIDParams) SetTaskID(taskID string)
- func (o *GetTaskTaskIDParams) SetTimeout(timeout time.Duration)
- func (o *GetTaskTaskIDParams) WithContext(ctx context.Context) *GetTaskTaskIDParams
- func (o *GetTaskTaskIDParams) WithHTTPClient(client *http.Client) *GetTaskTaskIDParams
- func (o *GetTaskTaskIDParams) WithTaskID(taskID string) *GetTaskTaskIDParams
- func (o *GetTaskTaskIDParams) WithTimeout(timeout time.Duration) *GetTaskTaskIDParams
- func (o *GetTaskTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTaskTaskIDReader
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 get task API
func (*Client) GetTaskTaskID ¶
func (a *Client) GetTaskTaskID(params *GetTaskTaskIDParams) (*GetTaskTaskIDOK, error)
GetTaskTaskID gets task info
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
GetTaskTaskID(params *GetTaskTaskIDParams) (*GetTaskTaskIDOK, 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 get task API client.
type GetTaskTaskIDBadRequest ¶
type GetTaskTaskIDBadRequest struct {
Payload *models.ResponseError
}
GetTaskTaskIDBadRequest handles this case with default header values.
Bad Request
func NewGetTaskTaskIDBadRequest ¶
func NewGetTaskTaskIDBadRequest() *GetTaskTaskIDBadRequest
NewGetTaskTaskIDBadRequest creates a GetTaskTaskIDBadRequest with default headers values
func (*GetTaskTaskIDBadRequest) Error ¶
func (o *GetTaskTaskIDBadRequest) Error() string
func (*GetTaskTaskIDBadRequest) GetPayload ¶
func (o *GetTaskTaskIDBadRequest) GetPayload() *models.ResponseError
type GetTaskTaskIDOK ¶
type GetTaskTaskIDOK struct {
Payload *models.ResponseTask
}
GetTaskTaskIDOK handles this case with default header values.
OK
func NewGetTaskTaskIDOK ¶
func NewGetTaskTaskIDOK() *GetTaskTaskIDOK
NewGetTaskTaskIDOK creates a GetTaskTaskIDOK with default headers values
func (*GetTaskTaskIDOK) Error ¶
func (o *GetTaskTaskIDOK) Error() string
func (*GetTaskTaskIDOK) GetPayload ¶
func (o *GetTaskTaskIDOK) GetPayload() *models.ResponseTask
type GetTaskTaskIDParams ¶
type GetTaskTaskIDParams struct {
/*TaskID*/
TaskID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTaskTaskIDParams contains all the parameters to send to the API endpoint for the get task task ID operation typically these are written to a http.Request
func NewGetTaskTaskIDParams ¶
func NewGetTaskTaskIDParams() *GetTaskTaskIDParams
NewGetTaskTaskIDParams creates a new GetTaskTaskIDParams object with the default values initialized.
func NewGetTaskTaskIDParamsWithContext ¶
func NewGetTaskTaskIDParamsWithContext(ctx context.Context) *GetTaskTaskIDParams
NewGetTaskTaskIDParamsWithContext creates a new GetTaskTaskIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetTaskTaskIDParamsWithHTTPClient ¶
func NewGetTaskTaskIDParamsWithHTTPClient(client *http.Client) *GetTaskTaskIDParams
NewGetTaskTaskIDParamsWithHTTPClient creates a new GetTaskTaskIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTaskTaskIDParamsWithTimeout ¶
func NewGetTaskTaskIDParamsWithTimeout(timeout time.Duration) *GetTaskTaskIDParams
NewGetTaskTaskIDParamsWithTimeout creates a new GetTaskTaskIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTaskTaskIDParams) SetContext ¶
func (o *GetTaskTaskIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get task task ID params
func (*GetTaskTaskIDParams) SetHTTPClient ¶
func (o *GetTaskTaskIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get task task ID params
func (*GetTaskTaskIDParams) SetTaskID ¶
func (o *GetTaskTaskIDParams) SetTaskID(taskID string)
SetTaskID adds the taskId to the get task task ID params
func (*GetTaskTaskIDParams) SetTimeout ¶
func (o *GetTaskTaskIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get task task ID params
func (*GetTaskTaskIDParams) WithContext ¶
func (o *GetTaskTaskIDParams) WithContext(ctx context.Context) *GetTaskTaskIDParams
WithContext adds the context to the get task task ID params
func (*GetTaskTaskIDParams) WithHTTPClient ¶
func (o *GetTaskTaskIDParams) WithHTTPClient(client *http.Client) *GetTaskTaskIDParams
WithHTTPClient adds the HTTPClient to the get task task ID params
func (*GetTaskTaskIDParams) WithTaskID ¶
func (o *GetTaskTaskIDParams) WithTaskID(taskID string) *GetTaskTaskIDParams
WithTaskID adds the taskID to the get task task ID params
func (*GetTaskTaskIDParams) WithTimeout ¶
func (o *GetTaskTaskIDParams) WithTimeout(timeout time.Duration) *GetTaskTaskIDParams
WithTimeout adds the timeout to the get task task ID params
func (*GetTaskTaskIDParams) WriteToRequest ¶
func (o *GetTaskTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTaskTaskIDReader ¶
type GetTaskTaskIDReader struct {
// contains filtered or unexported fields
}
GetTaskTaskIDReader is a Reader for the GetTaskTaskID structure.
func (*GetTaskTaskIDReader) ReadResponse ¶
func (o *GetTaskTaskIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.