get_task

package
v0.0.0-...-037b8db Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 10 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 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

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.

Jump to

Keyboard shortcuts

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