task

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for task API

func (*Client) DeleteTaskByIDCancel

func (a *Client) DeleteTaskByIDCancel(params *DeleteTaskByIDCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTaskByIDCancelOK, error)

DeleteTaskByIDCancel cancels task

func (*Client) GetModelTaskByIDReviews added in v1.0.4

func (a *Client) GetModelTaskByIDReviews(params *GetModelTaskByIDReviewsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelTaskByIDReviewsOK, error)

GetModelTaskByIDReviews gets task review by task Id

func (*Client) GetPlatformTaskByID added in v1.0.4

func (a *Client) GetPlatformTaskByID(params *GetPlatformTaskByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlatformTaskByIDOK, error)

GetPlatformTaskByID gets platform task by Id

func (*Client) GetTaskByIDDetail

func (a *Client) GetTaskByIDDetail(params *GetTaskByIDDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTaskByIDDetailOK, error)

GetTaskByIDDetail gets Api key log by task Id

func (*Client) GetTaskHistories

func (a *Client) GetTaskHistories(params *GetTaskHistoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTaskHistoriesOK, error)

GetTaskHistories gets tasks histories

func (*Client) PostModelByIDTask

func (a *Client) PostModelByIDTask(params *PostModelByIDTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelByIDTaskOK, error)

PostModelByIDTask distributes task v2

func (*Client) PostModelByIDTaskReviews added in v1.0.4

func (a *Client) PostModelByIDTaskReviews(params *PostModelByIDTaskReviewsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelByIDTaskReviewsOK, error)

PostModelByIDTaskReviews creates task reviews

func (*Client) PostTask

func (a *Client) PostTask(params *PostTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostTaskOK, error)

PostTask distributes task

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	DeleteTaskByIDCancel(params *DeleteTaskByIDCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTaskByIDCancelOK, error)

	GetModelTaskByIDReviews(params *GetModelTaskByIDReviewsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelTaskByIDReviewsOK, error)

	GetPlatformTaskByID(params *GetPlatformTaskByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlatformTaskByIDOK, error)

	GetTaskByIDDetail(params *GetTaskByIDDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTaskByIDDetailOK, error)

	GetTaskHistories(params *GetTaskHistoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTaskHistoriesOK, error)

	PostModelByIDTask(params *PostModelByIDTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelByIDTaskOK, error)

	PostModelByIDTaskReviews(params *PostModelByIDTaskReviewsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelByIDTaskReviewsOK, error)

	PostTask(params *PostTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostTaskOK, 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 task API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new task API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new task API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteTaskByIDCancelBadRequest

type DeleteTaskByIDCancelBadRequest struct {
	Payload *models.ResponseFailResponse
}

DeleteTaskByIDCancelBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteTaskByIDCancelBadRequest

func NewDeleteTaskByIDCancelBadRequest() *DeleteTaskByIDCancelBadRequest

NewDeleteTaskByIDCancelBadRequest creates a DeleteTaskByIDCancelBadRequest with default headers values

func (*DeleteTaskByIDCancelBadRequest) Code

Code gets the status code for the delete task by Id cancel bad request response

func (*DeleteTaskByIDCancelBadRequest) Error

func (*DeleteTaskByIDCancelBadRequest) GetPayload

func (*DeleteTaskByIDCancelBadRequest) IsClientError

func (o *DeleteTaskByIDCancelBadRequest) IsClientError() bool

IsClientError returns true when this delete task by Id cancel bad request response has a 4xx status code

func (*DeleteTaskByIDCancelBadRequest) IsCode

func (o *DeleteTaskByIDCancelBadRequest) IsCode(code int) bool

IsCode returns true when this delete task by Id cancel bad request response a status code equal to that given

func (*DeleteTaskByIDCancelBadRequest) IsRedirect

func (o *DeleteTaskByIDCancelBadRequest) IsRedirect() bool

IsRedirect returns true when this delete task by Id cancel bad request response has a 3xx status code

func (*DeleteTaskByIDCancelBadRequest) IsServerError

func (o *DeleteTaskByIDCancelBadRequest) IsServerError() bool

IsServerError returns true when this delete task by Id cancel bad request response has a 5xx status code

func (*DeleteTaskByIDCancelBadRequest) IsSuccess

func (o *DeleteTaskByIDCancelBadRequest) IsSuccess() bool

IsSuccess returns true when this delete task by Id cancel bad request response has a 2xx status code

func (*DeleteTaskByIDCancelBadRequest) String

type DeleteTaskByIDCancelInternalServerError

type DeleteTaskByIDCancelInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

DeleteTaskByIDCancelInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteTaskByIDCancelInternalServerError

func NewDeleteTaskByIDCancelInternalServerError() *DeleteTaskByIDCancelInternalServerError

NewDeleteTaskByIDCancelInternalServerError creates a DeleteTaskByIDCancelInternalServerError with default headers values

func (*DeleteTaskByIDCancelInternalServerError) Code

Code gets the status code for the delete task by Id cancel internal server error response

func (*DeleteTaskByIDCancelInternalServerError) Error

func (*DeleteTaskByIDCancelInternalServerError) GetPayload

func (*DeleteTaskByIDCancelInternalServerError) IsClientError

func (o *DeleteTaskByIDCancelInternalServerError) IsClientError() bool

IsClientError returns true when this delete task by Id cancel internal server error response has a 4xx status code

func (*DeleteTaskByIDCancelInternalServerError) IsCode

IsCode returns true when this delete task by Id cancel internal server error response a status code equal to that given

func (*DeleteTaskByIDCancelInternalServerError) IsRedirect

IsRedirect returns true when this delete task by Id cancel internal server error response has a 3xx status code

func (*DeleteTaskByIDCancelInternalServerError) IsServerError

func (o *DeleteTaskByIDCancelInternalServerError) IsServerError() bool

IsServerError returns true when this delete task by Id cancel internal server error response has a 5xx status code

func (*DeleteTaskByIDCancelInternalServerError) IsSuccess

IsSuccess returns true when this delete task by Id cancel internal server error response has a 2xx status code

func (*DeleteTaskByIDCancelInternalServerError) String

type DeleteTaskByIDCancelOK

type DeleteTaskByIDCancelOK struct {
	Payload *models.ResponseSuccessResponse
}

DeleteTaskByIDCancelOK describes a response with status code 200, with default header values.

OK

func NewDeleteTaskByIDCancelOK

func NewDeleteTaskByIDCancelOK() *DeleteTaskByIDCancelOK

NewDeleteTaskByIDCancelOK creates a DeleteTaskByIDCancelOK with default headers values

func (*DeleteTaskByIDCancelOK) Code

func (o *DeleteTaskByIDCancelOK) Code() int

Code gets the status code for the delete task by Id cancel o k response

func (*DeleteTaskByIDCancelOK) Error

func (o *DeleteTaskByIDCancelOK) Error() string

func (*DeleteTaskByIDCancelOK) GetPayload

func (*DeleteTaskByIDCancelOK) IsClientError

func (o *DeleteTaskByIDCancelOK) IsClientError() bool

IsClientError returns true when this delete task by Id cancel o k response has a 4xx status code

func (*DeleteTaskByIDCancelOK) IsCode

func (o *DeleteTaskByIDCancelOK) IsCode(code int) bool

IsCode returns true when this delete task by Id cancel o k response a status code equal to that given

func (*DeleteTaskByIDCancelOK) IsRedirect

func (o *DeleteTaskByIDCancelOK) IsRedirect() bool

IsRedirect returns true when this delete task by Id cancel o k response has a 3xx status code

func (*DeleteTaskByIDCancelOK) IsServerError

func (o *DeleteTaskByIDCancelOK) IsServerError() bool

IsServerError returns true when this delete task by Id cancel o k response has a 5xx status code

func (*DeleteTaskByIDCancelOK) IsSuccess

func (o *DeleteTaskByIDCancelOK) IsSuccess() bool

IsSuccess returns true when this delete task by Id cancel o k response has a 2xx status code

func (*DeleteTaskByIDCancelOK) String

func (o *DeleteTaskByIDCancelOK) String() string

type DeleteTaskByIDCancelParams

type DeleteTaskByIDCancelParams struct {

	/* ID.

	   Task's id
	*/
	ID string

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

DeleteTaskByIDCancelParams contains all the parameters to send to the API endpoint

for the delete task by Id cancel operation.

Typically these are written to a http.Request.

func NewDeleteTaskByIDCancelParams

func NewDeleteTaskByIDCancelParams() *DeleteTaskByIDCancelParams

NewDeleteTaskByIDCancelParams creates a new DeleteTaskByIDCancelParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteTaskByIDCancelParamsWithContext

func NewDeleteTaskByIDCancelParamsWithContext(ctx context.Context) *DeleteTaskByIDCancelParams

NewDeleteTaskByIDCancelParamsWithContext creates a new DeleteTaskByIDCancelParams object with the ability to set a context for a request.

func NewDeleteTaskByIDCancelParamsWithHTTPClient

func NewDeleteTaskByIDCancelParamsWithHTTPClient(client *http.Client) *DeleteTaskByIDCancelParams

NewDeleteTaskByIDCancelParamsWithHTTPClient creates a new DeleteTaskByIDCancelParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTaskByIDCancelParamsWithTimeout

func NewDeleteTaskByIDCancelParamsWithTimeout(timeout time.Duration) *DeleteTaskByIDCancelParams

NewDeleteTaskByIDCancelParamsWithTimeout creates a new DeleteTaskByIDCancelParams object with the ability to set a timeout on a request.

func (*DeleteTaskByIDCancelParams) SetContext

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

SetContext adds the context to the delete task by Id cancel params

func (*DeleteTaskByIDCancelParams) SetDefaults

func (o *DeleteTaskByIDCancelParams) SetDefaults()

SetDefaults hydrates default values in the delete task by Id cancel params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTaskByIDCancelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete task by Id cancel params

func (*DeleteTaskByIDCancelParams) SetID

func (o *DeleteTaskByIDCancelParams) SetID(id string)

SetID adds the id to the delete task by Id cancel params

func (*DeleteTaskByIDCancelParams) SetTimeout

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

SetTimeout adds the timeout to the delete task by Id cancel params

func (*DeleteTaskByIDCancelParams) WithContext

WithContext adds the context to the delete task by Id cancel params

func (*DeleteTaskByIDCancelParams) WithDefaults

WithDefaults hydrates default values in the delete task by Id cancel params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteTaskByIDCancelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete task by Id cancel params

func (*DeleteTaskByIDCancelParams) WithID

WithID adds the id to the delete task by Id cancel params

func (*DeleteTaskByIDCancelParams) WithTimeout

WithTimeout adds the timeout to the delete task by Id cancel params

func (*DeleteTaskByIDCancelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTaskByIDCancelReader

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

DeleteTaskByIDCancelReader is a Reader for the DeleteTaskByIDCancel structure.

func (*DeleteTaskByIDCancelReader) ReadResponse

func (o *DeleteTaskByIDCancelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetModelTaskByIDReviewsBadRequest added in v1.0.4

type GetModelTaskByIDReviewsBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetModelTaskByIDReviewsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetModelTaskByIDReviewsBadRequest added in v1.0.4

func NewGetModelTaskByIDReviewsBadRequest() *GetModelTaskByIDReviewsBadRequest

NewGetModelTaskByIDReviewsBadRequest creates a GetModelTaskByIDReviewsBadRequest with default headers values

func (*GetModelTaskByIDReviewsBadRequest) Code added in v1.0.4

Code gets the status code for the get model task by Id reviews bad request response

func (*GetModelTaskByIDReviewsBadRequest) Error added in v1.0.4

func (*GetModelTaskByIDReviewsBadRequest) GetPayload added in v1.0.4

func (*GetModelTaskByIDReviewsBadRequest) IsClientError added in v1.0.4

func (o *GetModelTaskByIDReviewsBadRequest) IsClientError() bool

IsClientError returns true when this get model task by Id reviews bad request response has a 4xx status code

func (*GetModelTaskByIDReviewsBadRequest) IsCode added in v1.0.4

func (o *GetModelTaskByIDReviewsBadRequest) IsCode(code int) bool

IsCode returns true when this get model task by Id reviews bad request response a status code equal to that given

func (*GetModelTaskByIDReviewsBadRequest) IsRedirect added in v1.0.4

func (o *GetModelTaskByIDReviewsBadRequest) IsRedirect() bool

IsRedirect returns true when this get model task by Id reviews bad request response has a 3xx status code

func (*GetModelTaskByIDReviewsBadRequest) IsServerError added in v1.0.4

func (o *GetModelTaskByIDReviewsBadRequest) IsServerError() bool

IsServerError returns true when this get model task by Id reviews bad request response has a 5xx status code

func (*GetModelTaskByIDReviewsBadRequest) IsSuccess added in v1.0.4

func (o *GetModelTaskByIDReviewsBadRequest) IsSuccess() bool

IsSuccess returns true when this get model task by Id reviews bad request response has a 2xx status code

func (*GetModelTaskByIDReviewsBadRequest) String added in v1.0.4

type GetModelTaskByIDReviewsInternalServerError added in v1.0.4

type GetModelTaskByIDReviewsInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetModelTaskByIDReviewsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetModelTaskByIDReviewsInternalServerError added in v1.0.4

func NewGetModelTaskByIDReviewsInternalServerError() *GetModelTaskByIDReviewsInternalServerError

NewGetModelTaskByIDReviewsInternalServerError creates a GetModelTaskByIDReviewsInternalServerError with default headers values

func (*GetModelTaskByIDReviewsInternalServerError) Code added in v1.0.4

Code gets the status code for the get model task by Id reviews internal server error response

func (*GetModelTaskByIDReviewsInternalServerError) Error added in v1.0.4

func (*GetModelTaskByIDReviewsInternalServerError) GetPayload added in v1.0.4

func (*GetModelTaskByIDReviewsInternalServerError) IsClientError added in v1.0.4

IsClientError returns true when this get model task by Id reviews internal server error response has a 4xx status code

func (*GetModelTaskByIDReviewsInternalServerError) IsCode added in v1.0.4

IsCode returns true when this get model task by Id reviews internal server error response a status code equal to that given

func (*GetModelTaskByIDReviewsInternalServerError) IsRedirect added in v1.0.4

IsRedirect returns true when this get model task by Id reviews internal server error response has a 3xx status code

func (*GetModelTaskByIDReviewsInternalServerError) IsServerError added in v1.0.4

IsServerError returns true when this get model task by Id reviews internal server error response has a 5xx status code

func (*GetModelTaskByIDReviewsInternalServerError) IsSuccess added in v1.0.4

IsSuccess returns true when this get model task by Id reviews internal server error response has a 2xx status code

func (*GetModelTaskByIDReviewsInternalServerError) String added in v1.0.4

type GetModelTaskByIDReviewsOK added in v1.0.4

type GetModelTaskByIDReviewsOK struct {
	Payload *models.ResponseTaskReviewsResponse
}

GetModelTaskByIDReviewsOK describes a response with status code 200, with default header values.

OK

func NewGetModelTaskByIDReviewsOK added in v1.0.4

func NewGetModelTaskByIDReviewsOK() *GetModelTaskByIDReviewsOK

NewGetModelTaskByIDReviewsOK creates a GetModelTaskByIDReviewsOK with default headers values

func (*GetModelTaskByIDReviewsOK) Code added in v1.0.4

func (o *GetModelTaskByIDReviewsOK) Code() int

Code gets the status code for the get model task by Id reviews o k response

func (*GetModelTaskByIDReviewsOK) Error added in v1.0.4

func (o *GetModelTaskByIDReviewsOK) Error() string

func (*GetModelTaskByIDReviewsOK) GetPayload added in v1.0.4

func (*GetModelTaskByIDReviewsOK) IsClientError added in v1.0.4

func (o *GetModelTaskByIDReviewsOK) IsClientError() bool

IsClientError returns true when this get model task by Id reviews o k response has a 4xx status code

func (*GetModelTaskByIDReviewsOK) IsCode added in v1.0.4

func (o *GetModelTaskByIDReviewsOK) IsCode(code int) bool

IsCode returns true when this get model task by Id reviews o k response a status code equal to that given

func (*GetModelTaskByIDReviewsOK) IsRedirect added in v1.0.4

func (o *GetModelTaskByIDReviewsOK) IsRedirect() bool

IsRedirect returns true when this get model task by Id reviews o k response has a 3xx status code

func (*GetModelTaskByIDReviewsOK) IsServerError added in v1.0.4

func (o *GetModelTaskByIDReviewsOK) IsServerError() bool

IsServerError returns true when this get model task by Id reviews o k response has a 5xx status code

func (*GetModelTaskByIDReviewsOK) IsSuccess added in v1.0.4

func (o *GetModelTaskByIDReviewsOK) IsSuccess() bool

IsSuccess returns true when this get model task by Id reviews o k response has a 2xx status code

func (*GetModelTaskByIDReviewsOK) String added in v1.0.4

func (o *GetModelTaskByIDReviewsOK) String() string

type GetModelTaskByIDReviewsParams added in v1.0.4

type GetModelTaskByIDReviewsParams struct {

	/* ID.

	   Task's id
	*/
	ID string

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

GetModelTaskByIDReviewsParams contains all the parameters to send to the API endpoint

for the get model task by Id reviews operation.

Typically these are written to a http.Request.

func NewGetModelTaskByIDReviewsParams added in v1.0.4

func NewGetModelTaskByIDReviewsParams() *GetModelTaskByIDReviewsParams

NewGetModelTaskByIDReviewsParams creates a new GetModelTaskByIDReviewsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetModelTaskByIDReviewsParamsWithContext added in v1.0.4

func NewGetModelTaskByIDReviewsParamsWithContext(ctx context.Context) *GetModelTaskByIDReviewsParams

NewGetModelTaskByIDReviewsParamsWithContext creates a new GetModelTaskByIDReviewsParams object with the ability to set a context for a request.

func NewGetModelTaskByIDReviewsParamsWithHTTPClient added in v1.0.4

func NewGetModelTaskByIDReviewsParamsWithHTTPClient(client *http.Client) *GetModelTaskByIDReviewsParams

NewGetModelTaskByIDReviewsParamsWithHTTPClient creates a new GetModelTaskByIDReviewsParams object with the ability to set a custom HTTPClient for a request.

func NewGetModelTaskByIDReviewsParamsWithTimeout added in v1.0.4

func NewGetModelTaskByIDReviewsParamsWithTimeout(timeout time.Duration) *GetModelTaskByIDReviewsParams

NewGetModelTaskByIDReviewsParamsWithTimeout creates a new GetModelTaskByIDReviewsParams object with the ability to set a timeout on a request.

func (*GetModelTaskByIDReviewsParams) SetContext added in v1.0.4

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

SetContext adds the context to the get model task by Id reviews params

func (*GetModelTaskByIDReviewsParams) SetDefaults added in v1.0.4

func (o *GetModelTaskByIDReviewsParams) SetDefaults()

SetDefaults hydrates default values in the get model task by Id reviews params (not the query body).

All values with no default are reset to their zero value.

func (*GetModelTaskByIDReviewsParams) SetHTTPClient added in v1.0.4

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

SetHTTPClient adds the HTTPClient to the get model task by Id reviews params

func (*GetModelTaskByIDReviewsParams) SetID added in v1.0.4

SetID adds the id to the get model task by Id reviews params

func (*GetModelTaskByIDReviewsParams) SetTimeout added in v1.0.4

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

SetTimeout adds the timeout to the get model task by Id reviews params

func (*GetModelTaskByIDReviewsParams) WithContext added in v1.0.4

WithContext adds the context to the get model task by Id reviews params

func (*GetModelTaskByIDReviewsParams) WithDefaults added in v1.0.4

WithDefaults hydrates default values in the get model task by Id reviews params (not the query body).

All values with no default are reset to their zero value.

func (*GetModelTaskByIDReviewsParams) WithHTTPClient added in v1.0.4

WithHTTPClient adds the HTTPClient to the get model task by Id reviews params

func (*GetModelTaskByIDReviewsParams) WithID added in v1.0.4

WithID adds the id to the get model task by Id reviews params

func (*GetModelTaskByIDReviewsParams) WithTimeout added in v1.0.4

WithTimeout adds the timeout to the get model task by Id reviews params

func (*GetModelTaskByIDReviewsParams) WriteToRequest added in v1.0.4

WriteToRequest writes these params to a swagger request

type GetModelTaskByIDReviewsReader added in v1.0.4

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

GetModelTaskByIDReviewsReader is a Reader for the GetModelTaskByIDReviews structure.

func (*GetModelTaskByIDReviewsReader) ReadResponse added in v1.0.4

func (o *GetModelTaskByIDReviewsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetPlatformTaskByIDBadRequest added in v1.0.4

type GetPlatformTaskByIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetPlatformTaskByIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetPlatformTaskByIDBadRequest added in v1.0.4

func NewGetPlatformTaskByIDBadRequest() *GetPlatformTaskByIDBadRequest

NewGetPlatformTaskByIDBadRequest creates a GetPlatformTaskByIDBadRequest with default headers values

func (*GetPlatformTaskByIDBadRequest) Code added in v1.0.4

Code gets the status code for the get platform task by Id bad request response

func (*GetPlatformTaskByIDBadRequest) Error added in v1.0.4

func (*GetPlatformTaskByIDBadRequest) GetPayload added in v1.0.4

func (*GetPlatformTaskByIDBadRequest) IsClientError added in v1.0.4

func (o *GetPlatformTaskByIDBadRequest) IsClientError() bool

IsClientError returns true when this get platform task by Id bad request response has a 4xx status code

func (*GetPlatformTaskByIDBadRequest) IsCode added in v1.0.4

func (o *GetPlatformTaskByIDBadRequest) IsCode(code int) bool

IsCode returns true when this get platform task by Id bad request response a status code equal to that given

func (*GetPlatformTaskByIDBadRequest) IsRedirect added in v1.0.4

func (o *GetPlatformTaskByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get platform task by Id bad request response has a 3xx status code

func (*GetPlatformTaskByIDBadRequest) IsServerError added in v1.0.4

func (o *GetPlatformTaskByIDBadRequest) IsServerError() bool

IsServerError returns true when this get platform task by Id bad request response has a 5xx status code

func (*GetPlatformTaskByIDBadRequest) IsSuccess added in v1.0.4

func (o *GetPlatformTaskByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this get platform task by Id bad request response has a 2xx status code

func (*GetPlatformTaskByIDBadRequest) String added in v1.0.4

type GetPlatformTaskByIDInternalServerError added in v1.0.4

type GetPlatformTaskByIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetPlatformTaskByIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPlatformTaskByIDInternalServerError added in v1.0.4

func NewGetPlatformTaskByIDInternalServerError() *GetPlatformTaskByIDInternalServerError

NewGetPlatformTaskByIDInternalServerError creates a GetPlatformTaskByIDInternalServerError with default headers values

func (*GetPlatformTaskByIDInternalServerError) Code added in v1.0.4

Code gets the status code for the get platform task by Id internal server error response

func (*GetPlatformTaskByIDInternalServerError) Error added in v1.0.4

func (*GetPlatformTaskByIDInternalServerError) GetPayload added in v1.0.4

func (*GetPlatformTaskByIDInternalServerError) IsClientError added in v1.0.4

func (o *GetPlatformTaskByIDInternalServerError) IsClientError() bool

IsClientError returns true when this get platform task by Id internal server error response has a 4xx status code

func (*GetPlatformTaskByIDInternalServerError) IsCode added in v1.0.4

IsCode returns true when this get platform task by Id internal server error response a status code equal to that given

func (*GetPlatformTaskByIDInternalServerError) IsRedirect added in v1.0.4

IsRedirect returns true when this get platform task by Id internal server error response has a 3xx status code

func (*GetPlatformTaskByIDInternalServerError) IsServerError added in v1.0.4

func (o *GetPlatformTaskByIDInternalServerError) IsServerError() bool

IsServerError returns true when this get platform task by Id internal server error response has a 5xx status code

func (*GetPlatformTaskByIDInternalServerError) IsSuccess added in v1.0.4

IsSuccess returns true when this get platform task by Id internal server error response has a 2xx status code

func (*GetPlatformTaskByIDInternalServerError) String added in v1.0.4

type GetPlatformTaskByIDOK added in v1.0.4

type GetPlatformTaskByIDOK struct {
	Payload *models.ResponseQueueTaskResponse
}

GetPlatformTaskByIDOK describes a response with status code 200, with default header values.

OK

func NewGetPlatformTaskByIDOK added in v1.0.4

func NewGetPlatformTaskByIDOK() *GetPlatformTaskByIDOK

NewGetPlatformTaskByIDOK creates a GetPlatformTaskByIDOK with default headers values

func (*GetPlatformTaskByIDOK) Code added in v1.0.4

func (o *GetPlatformTaskByIDOK) Code() int

Code gets the status code for the get platform task by Id o k response

func (*GetPlatformTaskByIDOK) Error added in v1.0.4

func (o *GetPlatformTaskByIDOK) Error() string

func (*GetPlatformTaskByIDOK) GetPayload added in v1.0.4

func (*GetPlatformTaskByIDOK) IsClientError added in v1.0.4

func (o *GetPlatformTaskByIDOK) IsClientError() bool

IsClientError returns true when this get platform task by Id o k response has a 4xx status code

func (*GetPlatformTaskByIDOK) IsCode added in v1.0.4

func (o *GetPlatformTaskByIDOK) IsCode(code int) bool

IsCode returns true when this get platform task by Id o k response a status code equal to that given

func (*GetPlatformTaskByIDOK) IsRedirect added in v1.0.4

func (o *GetPlatformTaskByIDOK) IsRedirect() bool

IsRedirect returns true when this get platform task by Id o k response has a 3xx status code

func (*GetPlatformTaskByIDOK) IsServerError added in v1.0.4

func (o *GetPlatformTaskByIDOK) IsServerError() bool

IsServerError returns true when this get platform task by Id o k response has a 5xx status code

func (*GetPlatformTaskByIDOK) IsSuccess added in v1.0.4

func (o *GetPlatformTaskByIDOK) IsSuccess() bool

IsSuccess returns true when this get platform task by Id o k response has a 2xx status code

func (*GetPlatformTaskByIDOK) String added in v1.0.4

func (o *GetPlatformTaskByIDOK) String() string

type GetPlatformTaskByIDParams added in v1.0.4

type GetPlatformTaskByIDParams struct {

	/* ID.

	   Task's Id
	*/
	ID string

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

GetPlatformTaskByIDParams contains all the parameters to send to the API endpoint

for the get platform task by Id operation.

Typically these are written to a http.Request.

func NewGetPlatformTaskByIDParams added in v1.0.4

func NewGetPlatformTaskByIDParams() *GetPlatformTaskByIDParams

NewGetPlatformTaskByIDParams creates a new GetPlatformTaskByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPlatformTaskByIDParamsWithContext added in v1.0.4

func NewGetPlatformTaskByIDParamsWithContext(ctx context.Context) *GetPlatformTaskByIDParams

NewGetPlatformTaskByIDParamsWithContext creates a new GetPlatformTaskByIDParams object with the ability to set a context for a request.

func NewGetPlatformTaskByIDParamsWithHTTPClient added in v1.0.4

func NewGetPlatformTaskByIDParamsWithHTTPClient(client *http.Client) *GetPlatformTaskByIDParams

NewGetPlatformTaskByIDParamsWithHTTPClient creates a new GetPlatformTaskByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlatformTaskByIDParamsWithTimeout added in v1.0.4

func NewGetPlatformTaskByIDParamsWithTimeout(timeout time.Duration) *GetPlatformTaskByIDParams

NewGetPlatformTaskByIDParamsWithTimeout creates a new GetPlatformTaskByIDParams object with the ability to set a timeout on a request.

func (*GetPlatformTaskByIDParams) SetContext added in v1.0.4

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

SetContext adds the context to the get platform task by Id params

func (*GetPlatformTaskByIDParams) SetDefaults added in v1.0.4

func (o *GetPlatformTaskByIDParams) SetDefaults()

SetDefaults hydrates default values in the get platform task by Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlatformTaskByIDParams) SetHTTPClient added in v1.0.4

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

SetHTTPClient adds the HTTPClient to the get platform task by Id params

func (*GetPlatformTaskByIDParams) SetID added in v1.0.4

func (o *GetPlatformTaskByIDParams) SetID(id string)

SetID adds the id to the get platform task by Id params

func (*GetPlatformTaskByIDParams) SetTimeout added in v1.0.4

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

SetTimeout adds the timeout to the get platform task by Id params

func (*GetPlatformTaskByIDParams) WithContext added in v1.0.4

WithContext adds the context to the get platform task by Id params

func (*GetPlatformTaskByIDParams) WithDefaults added in v1.0.4

WithDefaults hydrates default values in the get platform task by Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlatformTaskByIDParams) WithHTTPClient added in v1.0.4

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

WithHTTPClient adds the HTTPClient to the get platform task by Id params

func (*GetPlatformTaskByIDParams) WithID added in v1.0.4

WithID adds the id to the get platform task by Id params

func (*GetPlatformTaskByIDParams) WithTimeout added in v1.0.4

WithTimeout adds the timeout to the get platform task by Id params

func (*GetPlatformTaskByIDParams) WriteToRequest added in v1.0.4

WriteToRequest writes these params to a swagger request

type GetPlatformTaskByIDReader added in v1.0.4

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

GetPlatformTaskByIDReader is a Reader for the GetPlatformTaskByID structure.

func (*GetPlatformTaskByIDReader) ReadResponse added in v1.0.4

func (o *GetPlatformTaskByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetTaskByIDDetailBadRequest

type GetTaskByIDDetailBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetTaskByIDDetailBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetTaskByIDDetailBadRequest

func NewGetTaskByIDDetailBadRequest() *GetTaskByIDDetailBadRequest

NewGetTaskByIDDetailBadRequest creates a GetTaskByIDDetailBadRequest with default headers values

func (*GetTaskByIDDetailBadRequest) Code

func (o *GetTaskByIDDetailBadRequest) Code() int

Code gets the status code for the get task by Id detail bad request response

func (*GetTaskByIDDetailBadRequest) Error

func (*GetTaskByIDDetailBadRequest) GetPayload

func (*GetTaskByIDDetailBadRequest) IsClientError

func (o *GetTaskByIDDetailBadRequest) IsClientError() bool

IsClientError returns true when this get task by Id detail bad request response has a 4xx status code

func (*GetTaskByIDDetailBadRequest) IsCode

func (o *GetTaskByIDDetailBadRequest) IsCode(code int) bool

IsCode returns true when this get task by Id detail bad request response a status code equal to that given

func (*GetTaskByIDDetailBadRequest) IsRedirect

func (o *GetTaskByIDDetailBadRequest) IsRedirect() bool

IsRedirect returns true when this get task by Id detail bad request response has a 3xx status code

func (*GetTaskByIDDetailBadRequest) IsServerError

func (o *GetTaskByIDDetailBadRequest) IsServerError() bool

IsServerError returns true when this get task by Id detail bad request response has a 5xx status code

func (*GetTaskByIDDetailBadRequest) IsSuccess

func (o *GetTaskByIDDetailBadRequest) IsSuccess() bool

IsSuccess returns true when this get task by Id detail bad request response has a 2xx status code

func (*GetTaskByIDDetailBadRequest) String

func (o *GetTaskByIDDetailBadRequest) String() string

type GetTaskByIDDetailInternalServerError

type GetTaskByIDDetailInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetTaskByIDDetailInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetTaskByIDDetailInternalServerError

func NewGetTaskByIDDetailInternalServerError() *GetTaskByIDDetailInternalServerError

NewGetTaskByIDDetailInternalServerError creates a GetTaskByIDDetailInternalServerError with default headers values

func (*GetTaskByIDDetailInternalServerError) Code

Code gets the status code for the get task by Id detail internal server error response

func (*GetTaskByIDDetailInternalServerError) Error

func (*GetTaskByIDDetailInternalServerError) GetPayload

func (*GetTaskByIDDetailInternalServerError) IsClientError

func (o *GetTaskByIDDetailInternalServerError) IsClientError() bool

IsClientError returns true when this get task by Id detail internal server error response has a 4xx status code

func (*GetTaskByIDDetailInternalServerError) IsCode

IsCode returns true when this get task by Id detail internal server error response a status code equal to that given

func (*GetTaskByIDDetailInternalServerError) IsRedirect

IsRedirect returns true when this get task by Id detail internal server error response has a 3xx status code

func (*GetTaskByIDDetailInternalServerError) IsServerError

func (o *GetTaskByIDDetailInternalServerError) IsServerError() bool

IsServerError returns true when this get task by Id detail internal server error response has a 5xx status code

func (*GetTaskByIDDetailInternalServerError) IsSuccess

IsSuccess returns true when this get task by Id detail internal server error response has a 2xx status code

func (*GetTaskByIDDetailInternalServerError) String

type GetTaskByIDDetailOK

type GetTaskByIDDetailOK struct {
	Payload *models.ResponseAPIKeyHistoryResponse
}

GetTaskByIDDetailOK describes a response with status code 200, with default header values.

OK

func NewGetTaskByIDDetailOK

func NewGetTaskByIDDetailOK() *GetTaskByIDDetailOK

NewGetTaskByIDDetailOK creates a GetTaskByIDDetailOK with default headers values

func (*GetTaskByIDDetailOK) Code

func (o *GetTaskByIDDetailOK) Code() int

Code gets the status code for the get task by Id detail o k response

func (*GetTaskByIDDetailOK) Error

func (o *GetTaskByIDDetailOK) Error() string

func (*GetTaskByIDDetailOK) GetPayload

func (*GetTaskByIDDetailOK) IsClientError

func (o *GetTaskByIDDetailOK) IsClientError() bool

IsClientError returns true when this get task by Id detail o k response has a 4xx status code

func (*GetTaskByIDDetailOK) IsCode

func (o *GetTaskByIDDetailOK) IsCode(code int) bool

IsCode returns true when this get task by Id detail o k response a status code equal to that given

func (*GetTaskByIDDetailOK) IsRedirect

func (o *GetTaskByIDDetailOK) IsRedirect() bool

IsRedirect returns true when this get task by Id detail o k response has a 3xx status code

func (*GetTaskByIDDetailOK) IsServerError

func (o *GetTaskByIDDetailOK) IsServerError() bool

IsServerError returns true when this get task by Id detail o k response has a 5xx status code

func (*GetTaskByIDDetailOK) IsSuccess

func (o *GetTaskByIDDetailOK) IsSuccess() bool

IsSuccess returns true when this get task by Id detail o k response has a 2xx status code

func (*GetTaskByIDDetailOK) String

func (o *GetTaskByIDDetailOK) String() string

type GetTaskByIDDetailParams

type GetTaskByIDDetailParams struct {

	/* ID.

	   Task's id
	*/
	ID string

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

GetTaskByIDDetailParams contains all the parameters to send to the API endpoint

for the get task by Id detail operation.

Typically these are written to a http.Request.

func NewGetTaskByIDDetailParams

func NewGetTaskByIDDetailParams() *GetTaskByIDDetailParams

NewGetTaskByIDDetailParams creates a new GetTaskByIDDetailParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTaskByIDDetailParamsWithContext

func NewGetTaskByIDDetailParamsWithContext(ctx context.Context) *GetTaskByIDDetailParams

NewGetTaskByIDDetailParamsWithContext creates a new GetTaskByIDDetailParams object with the ability to set a context for a request.

func NewGetTaskByIDDetailParamsWithHTTPClient

func NewGetTaskByIDDetailParamsWithHTTPClient(client *http.Client) *GetTaskByIDDetailParams

NewGetTaskByIDDetailParamsWithHTTPClient creates a new GetTaskByIDDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetTaskByIDDetailParamsWithTimeout

func NewGetTaskByIDDetailParamsWithTimeout(timeout time.Duration) *GetTaskByIDDetailParams

NewGetTaskByIDDetailParamsWithTimeout creates a new GetTaskByIDDetailParams object with the ability to set a timeout on a request.

func (*GetTaskByIDDetailParams) SetContext

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

SetContext adds the context to the get task by Id detail params

func (*GetTaskByIDDetailParams) SetDefaults

func (o *GetTaskByIDDetailParams) SetDefaults()

SetDefaults hydrates default values in the get task by Id detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetTaskByIDDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get task by Id detail params

func (*GetTaskByIDDetailParams) SetID

func (o *GetTaskByIDDetailParams) SetID(id string)

SetID adds the id to the get task by Id detail params

func (*GetTaskByIDDetailParams) SetTimeout

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

SetTimeout adds the timeout to the get task by Id detail params

func (*GetTaskByIDDetailParams) WithContext

WithContext adds the context to the get task by Id detail params

func (*GetTaskByIDDetailParams) WithDefaults

WithDefaults hydrates default values in the get task by Id detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetTaskByIDDetailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get task by Id detail params

func (*GetTaskByIDDetailParams) WithID

WithID adds the id to the get task by Id detail params

func (*GetTaskByIDDetailParams) WithTimeout

WithTimeout adds the timeout to the get task by Id detail params

func (*GetTaskByIDDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTaskByIDDetailReader

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

GetTaskByIDDetailReader is a Reader for the GetTaskByIDDetail structure.

func (*GetTaskByIDDetailReader) ReadResponse

func (o *GetTaskByIDDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetTaskHistoriesBadRequest

type GetTaskHistoriesBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetTaskHistoriesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetTaskHistoriesBadRequest

func NewGetTaskHistoriesBadRequest() *GetTaskHistoriesBadRequest

NewGetTaskHistoriesBadRequest creates a GetTaskHistoriesBadRequest with default headers values

func (*GetTaskHistoriesBadRequest) Code

func (o *GetTaskHistoriesBadRequest) Code() int

Code gets the status code for the get task histories bad request response

func (*GetTaskHistoriesBadRequest) Error

func (*GetTaskHistoriesBadRequest) GetPayload

func (*GetTaskHistoriesBadRequest) IsClientError

func (o *GetTaskHistoriesBadRequest) IsClientError() bool

IsClientError returns true when this get task histories bad request response has a 4xx status code

func (*GetTaskHistoriesBadRequest) IsCode

func (o *GetTaskHistoriesBadRequest) IsCode(code int) bool

IsCode returns true when this get task histories bad request response a status code equal to that given

func (*GetTaskHistoriesBadRequest) IsRedirect

func (o *GetTaskHistoriesBadRequest) IsRedirect() bool

IsRedirect returns true when this get task histories bad request response has a 3xx status code

func (*GetTaskHistoriesBadRequest) IsServerError

func (o *GetTaskHistoriesBadRequest) IsServerError() bool

IsServerError returns true when this get task histories bad request response has a 5xx status code

func (*GetTaskHistoriesBadRequest) IsSuccess

func (o *GetTaskHistoriesBadRequest) IsSuccess() bool

IsSuccess returns true when this get task histories bad request response has a 2xx status code

func (*GetTaskHistoriesBadRequest) String

func (o *GetTaskHistoriesBadRequest) String() string

type GetTaskHistoriesInternalServerError

type GetTaskHistoriesInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetTaskHistoriesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetTaskHistoriesInternalServerError

func NewGetTaskHistoriesInternalServerError() *GetTaskHistoriesInternalServerError

NewGetTaskHistoriesInternalServerError creates a GetTaskHistoriesInternalServerError with default headers values

func (*GetTaskHistoriesInternalServerError) Code

Code gets the status code for the get task histories internal server error response

func (*GetTaskHistoriesInternalServerError) Error

func (*GetTaskHistoriesInternalServerError) GetPayload

func (*GetTaskHistoriesInternalServerError) IsClientError

func (o *GetTaskHistoriesInternalServerError) IsClientError() bool

IsClientError returns true when this get task histories internal server error response has a 4xx status code

func (*GetTaskHistoriesInternalServerError) IsCode

IsCode returns true when this get task histories internal server error response a status code equal to that given

func (*GetTaskHistoriesInternalServerError) IsRedirect

func (o *GetTaskHistoriesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get task histories internal server error response has a 3xx status code

func (*GetTaskHistoriesInternalServerError) IsServerError

func (o *GetTaskHistoriesInternalServerError) IsServerError() bool

IsServerError returns true when this get task histories internal server error response has a 5xx status code

func (*GetTaskHistoriesInternalServerError) IsSuccess

IsSuccess returns true when this get task histories internal server error response has a 2xx status code

func (*GetTaskHistoriesInternalServerError) String

type GetTaskHistoriesOK

type GetTaskHistoriesOK struct {
	Payload *models.ResponseAPIKeyHistoryListResponse
}

GetTaskHistoriesOK describes a response with status code 200, with default header values.

OK

func NewGetTaskHistoriesOK

func NewGetTaskHistoriesOK() *GetTaskHistoriesOK

NewGetTaskHistoriesOK creates a GetTaskHistoriesOK with default headers values

func (*GetTaskHistoriesOK) Code

func (o *GetTaskHistoriesOK) Code() int

Code gets the status code for the get task histories o k response

func (*GetTaskHistoriesOK) Error

func (o *GetTaskHistoriesOK) Error() string

func (*GetTaskHistoriesOK) GetPayload

func (*GetTaskHistoriesOK) IsClientError

func (o *GetTaskHistoriesOK) IsClientError() bool

IsClientError returns true when this get task histories o k response has a 4xx status code

func (*GetTaskHistoriesOK) IsCode

func (o *GetTaskHistoriesOK) IsCode(code int) bool

IsCode returns true when this get task histories o k response a status code equal to that given

func (*GetTaskHistoriesOK) IsRedirect

func (o *GetTaskHistoriesOK) IsRedirect() bool

IsRedirect returns true when this get task histories o k response has a 3xx status code

func (*GetTaskHistoriesOK) IsServerError

func (o *GetTaskHistoriesOK) IsServerError() bool

IsServerError returns true when this get task histories o k response has a 5xx status code

func (*GetTaskHistoriesOK) IsSuccess

func (o *GetTaskHistoriesOK) IsSuccess() bool

IsSuccess returns true when this get task histories o k response has a 2xx status code

func (*GetTaskHistoriesOK) String

func (o *GetTaskHistoriesOK) String() string

type GetTaskHistoriesParams

type GetTaskHistoriesParams struct {

	// Limit.
	//
	// Default: 10
	Limit *int64

	// Offset.
	Offset *int64

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

GetTaskHistoriesParams contains all the parameters to send to the API endpoint

for the get task histories operation.

Typically these are written to a http.Request.

func NewGetTaskHistoriesParams

func NewGetTaskHistoriesParams() *GetTaskHistoriesParams

NewGetTaskHistoriesParams creates a new GetTaskHistoriesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTaskHistoriesParamsWithContext

func NewGetTaskHistoriesParamsWithContext(ctx context.Context) *GetTaskHistoriesParams

NewGetTaskHistoriesParamsWithContext creates a new GetTaskHistoriesParams object with the ability to set a context for a request.

func NewGetTaskHistoriesParamsWithHTTPClient

func NewGetTaskHistoriesParamsWithHTTPClient(client *http.Client) *GetTaskHistoriesParams

NewGetTaskHistoriesParamsWithHTTPClient creates a new GetTaskHistoriesParams object with the ability to set a custom HTTPClient for a request.

func NewGetTaskHistoriesParamsWithTimeout

func NewGetTaskHistoriesParamsWithTimeout(timeout time.Duration) *GetTaskHistoriesParams

NewGetTaskHistoriesParamsWithTimeout creates a new GetTaskHistoriesParams object with the ability to set a timeout on a request.

func (*GetTaskHistoriesParams) SetContext

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

SetContext adds the context to the get task histories params

func (*GetTaskHistoriesParams) SetDefaults

func (o *GetTaskHistoriesParams) SetDefaults()

SetDefaults hydrates default values in the get task histories params (not the query body).

All values with no default are reset to their zero value.

func (*GetTaskHistoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get task histories params

func (*GetTaskHistoriesParams) SetLimit

func (o *GetTaskHistoriesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get task histories params

func (*GetTaskHistoriesParams) SetOffset

func (o *GetTaskHistoriesParams) SetOffset(offset *int64)

SetOffset adds the offset to the get task histories params

func (*GetTaskHistoriesParams) SetTimeout

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

SetTimeout adds the timeout to the get task histories params

func (*GetTaskHistoriesParams) WithContext

WithContext adds the context to the get task histories params

func (*GetTaskHistoriesParams) WithDefaults

WithDefaults hydrates default values in the get task histories params (not the query body).

All values with no default are reset to their zero value.

func (*GetTaskHistoriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get task histories params

func (*GetTaskHistoriesParams) WithLimit

func (o *GetTaskHistoriesParams) WithLimit(limit *int64) *GetTaskHistoriesParams

WithLimit adds the limit to the get task histories params

func (*GetTaskHistoriesParams) WithOffset

func (o *GetTaskHistoriesParams) WithOffset(offset *int64) *GetTaskHistoriesParams

WithOffset adds the offset to the get task histories params

func (*GetTaskHistoriesParams) WithTimeout

WithTimeout adds the timeout to the get task histories params

func (*GetTaskHistoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTaskHistoriesReader

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

GetTaskHistoriesReader is a Reader for the GetTaskHistories structure.

func (*GetTaskHistoriesReader) ReadResponse

func (o *GetTaskHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostModelByIDTaskBadRequest

type PostModelByIDTaskBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostModelByIDTaskBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostModelByIDTaskBadRequest

func NewPostModelByIDTaskBadRequest() *PostModelByIDTaskBadRequest

NewPostModelByIDTaskBadRequest creates a PostModelByIDTaskBadRequest with default headers values

func (*PostModelByIDTaskBadRequest) Code

func (o *PostModelByIDTaskBadRequest) Code() int

Code gets the status code for the post model by Id task bad request response

func (*PostModelByIDTaskBadRequest) Error

func (*PostModelByIDTaskBadRequest) GetPayload

func (*PostModelByIDTaskBadRequest) IsClientError

func (o *PostModelByIDTaskBadRequest) IsClientError() bool

IsClientError returns true when this post model by Id task bad request response has a 4xx status code

func (*PostModelByIDTaskBadRequest) IsCode

func (o *PostModelByIDTaskBadRequest) IsCode(code int) bool

IsCode returns true when this post model by Id task bad request response a status code equal to that given

func (*PostModelByIDTaskBadRequest) IsRedirect

func (o *PostModelByIDTaskBadRequest) IsRedirect() bool

IsRedirect returns true when this post model by Id task bad request response has a 3xx status code

func (*PostModelByIDTaskBadRequest) IsServerError

func (o *PostModelByIDTaskBadRequest) IsServerError() bool

IsServerError returns true when this post model by Id task bad request response has a 5xx status code

func (*PostModelByIDTaskBadRequest) IsSuccess

func (o *PostModelByIDTaskBadRequest) IsSuccess() bool

IsSuccess returns true when this post model by Id task bad request response has a 2xx status code

func (*PostModelByIDTaskBadRequest) String

func (o *PostModelByIDTaskBadRequest) String() string

type PostModelByIDTaskInternalServerError

type PostModelByIDTaskInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostModelByIDTaskInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostModelByIDTaskInternalServerError

func NewPostModelByIDTaskInternalServerError() *PostModelByIDTaskInternalServerError

NewPostModelByIDTaskInternalServerError creates a PostModelByIDTaskInternalServerError with default headers values

func (*PostModelByIDTaskInternalServerError) Code

Code gets the status code for the post model by Id task internal server error response

func (*PostModelByIDTaskInternalServerError) Error

func (*PostModelByIDTaskInternalServerError) GetPayload

func (*PostModelByIDTaskInternalServerError) IsClientError

func (o *PostModelByIDTaskInternalServerError) IsClientError() bool

IsClientError returns true when this post model by Id task internal server error response has a 4xx status code

func (*PostModelByIDTaskInternalServerError) IsCode

IsCode returns true when this post model by Id task internal server error response a status code equal to that given

func (*PostModelByIDTaskInternalServerError) IsRedirect

IsRedirect returns true when this post model by Id task internal server error response has a 3xx status code

func (*PostModelByIDTaskInternalServerError) IsServerError

func (o *PostModelByIDTaskInternalServerError) IsServerError() bool

IsServerError returns true when this post model by Id task internal server error response has a 5xx status code

func (*PostModelByIDTaskInternalServerError) IsSuccess

IsSuccess returns true when this post model by Id task internal server error response has a 2xx status code

func (*PostModelByIDTaskInternalServerError) String

type PostModelByIDTaskOK

type PostModelByIDTaskOK struct {
	Payload *models.ResponseDistributeTaskResponse
}

PostModelByIDTaskOK describes a response with status code 200, with default header values.

OK

func NewPostModelByIDTaskOK

func NewPostModelByIDTaskOK() *PostModelByIDTaskOK

NewPostModelByIDTaskOK creates a PostModelByIDTaskOK with default headers values

func (*PostModelByIDTaskOK) Code

func (o *PostModelByIDTaskOK) Code() int

Code gets the status code for the post model by Id task o k response

func (*PostModelByIDTaskOK) Error

func (o *PostModelByIDTaskOK) Error() string

func (*PostModelByIDTaskOK) GetPayload

func (*PostModelByIDTaskOK) IsClientError

func (o *PostModelByIDTaskOK) IsClientError() bool

IsClientError returns true when this post model by Id task o k response has a 4xx status code

func (*PostModelByIDTaskOK) IsCode

func (o *PostModelByIDTaskOK) IsCode(code int) bool

IsCode returns true when this post model by Id task o k response a status code equal to that given

func (*PostModelByIDTaskOK) IsRedirect

func (o *PostModelByIDTaskOK) IsRedirect() bool

IsRedirect returns true when this post model by Id task o k response has a 3xx status code

func (*PostModelByIDTaskOK) IsServerError

func (o *PostModelByIDTaskOK) IsServerError() bool

IsServerError returns true when this post model by Id task o k response has a 5xx status code

func (*PostModelByIDTaskOK) IsSuccess

func (o *PostModelByIDTaskOK) IsSuccess() bool

IsSuccess returns true when this post model by Id task o k response has a 2xx status code

func (*PostModelByIDTaskOK) String

func (o *PostModelByIDTaskOK) String() string

type PostModelByIDTaskParams

type PostModelByIDTaskParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Distribute Task Request
	*/
	Input models.RequestDistributeTaskWithAPIKeyRequest

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

PostModelByIDTaskParams contains all the parameters to send to the API endpoint

for the post model by Id task operation.

Typically these are written to a http.Request.

func NewPostModelByIDTaskParams

func NewPostModelByIDTaskParams() *PostModelByIDTaskParams

NewPostModelByIDTaskParams creates a new PostModelByIDTaskParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostModelByIDTaskParamsWithContext

func NewPostModelByIDTaskParamsWithContext(ctx context.Context) *PostModelByIDTaskParams

NewPostModelByIDTaskParamsWithContext creates a new PostModelByIDTaskParams object with the ability to set a context for a request.

func NewPostModelByIDTaskParamsWithHTTPClient

func NewPostModelByIDTaskParamsWithHTTPClient(client *http.Client) *PostModelByIDTaskParams

NewPostModelByIDTaskParamsWithHTTPClient creates a new PostModelByIDTaskParams object with the ability to set a custom HTTPClient for a request.

func NewPostModelByIDTaskParamsWithTimeout

func NewPostModelByIDTaskParamsWithTimeout(timeout time.Duration) *PostModelByIDTaskParams

NewPostModelByIDTaskParamsWithTimeout creates a new PostModelByIDTaskParams object with the ability to set a timeout on a request.

func (*PostModelByIDTaskParams) SetContext

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

SetContext adds the context to the post model by Id task params

func (*PostModelByIDTaskParams) SetDefaults

func (o *PostModelByIDTaskParams) SetDefaults()

SetDefaults hydrates default values in the post model by Id task params (not the query body).

All values with no default are reset to their zero value.

func (*PostModelByIDTaskParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post model by Id task params

func (*PostModelByIDTaskParams) SetID

func (o *PostModelByIDTaskParams) SetID(id string)

SetID adds the id to the post model by Id task params

func (*PostModelByIDTaskParams) SetInput

SetInput adds the input to the post model by Id task params

func (*PostModelByIDTaskParams) SetTimeout

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

SetTimeout adds the timeout to the post model by Id task params

func (*PostModelByIDTaskParams) WithContext

WithContext adds the context to the post model by Id task params

func (*PostModelByIDTaskParams) WithDefaults

WithDefaults hydrates default values in the post model by Id task params (not the query body).

All values with no default are reset to their zero value.

func (*PostModelByIDTaskParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post model by Id task params

func (*PostModelByIDTaskParams) WithID

WithID adds the id to the post model by Id task params

func (*PostModelByIDTaskParams) WithInput

WithInput adds the input to the post model by Id task params

func (*PostModelByIDTaskParams) WithTimeout

WithTimeout adds the timeout to the post model by Id task params

func (*PostModelByIDTaskParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostModelByIDTaskReader

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

PostModelByIDTaskReader is a Reader for the PostModelByIDTask structure.

func (*PostModelByIDTaskReader) ReadResponse

func (o *PostModelByIDTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostModelByIDTaskReviewsBadRequest added in v1.0.4

type PostModelByIDTaskReviewsBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostModelByIDTaskReviewsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostModelByIDTaskReviewsBadRequest added in v1.0.4

func NewPostModelByIDTaskReviewsBadRequest() *PostModelByIDTaskReviewsBadRequest

NewPostModelByIDTaskReviewsBadRequest creates a PostModelByIDTaskReviewsBadRequest with default headers values

func (*PostModelByIDTaskReviewsBadRequest) Code added in v1.0.4

Code gets the status code for the post model by Id task reviews bad request response

func (*PostModelByIDTaskReviewsBadRequest) Error added in v1.0.4

func (*PostModelByIDTaskReviewsBadRequest) GetPayload added in v1.0.4

func (*PostModelByIDTaskReviewsBadRequest) IsClientError added in v1.0.4

func (o *PostModelByIDTaskReviewsBadRequest) IsClientError() bool

IsClientError returns true when this post model by Id task reviews bad request response has a 4xx status code

func (*PostModelByIDTaskReviewsBadRequest) IsCode added in v1.0.4

IsCode returns true when this post model by Id task reviews bad request response a status code equal to that given

func (*PostModelByIDTaskReviewsBadRequest) IsRedirect added in v1.0.4

func (o *PostModelByIDTaskReviewsBadRequest) IsRedirect() bool

IsRedirect returns true when this post model by Id task reviews bad request response has a 3xx status code

func (*PostModelByIDTaskReviewsBadRequest) IsServerError added in v1.0.4

func (o *PostModelByIDTaskReviewsBadRequest) IsServerError() bool

IsServerError returns true when this post model by Id task reviews bad request response has a 5xx status code

func (*PostModelByIDTaskReviewsBadRequest) IsSuccess added in v1.0.4

IsSuccess returns true when this post model by Id task reviews bad request response has a 2xx status code

func (*PostModelByIDTaskReviewsBadRequest) String added in v1.0.4

type PostModelByIDTaskReviewsInternalServerError added in v1.0.4

type PostModelByIDTaskReviewsInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostModelByIDTaskReviewsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostModelByIDTaskReviewsInternalServerError added in v1.0.4

func NewPostModelByIDTaskReviewsInternalServerError() *PostModelByIDTaskReviewsInternalServerError

NewPostModelByIDTaskReviewsInternalServerError creates a PostModelByIDTaskReviewsInternalServerError with default headers values

func (*PostModelByIDTaskReviewsInternalServerError) Code added in v1.0.4

Code gets the status code for the post model by Id task reviews internal server error response

func (*PostModelByIDTaskReviewsInternalServerError) Error added in v1.0.4

func (*PostModelByIDTaskReviewsInternalServerError) GetPayload added in v1.0.4

func (*PostModelByIDTaskReviewsInternalServerError) IsClientError added in v1.0.4

IsClientError returns true when this post model by Id task reviews internal server error response has a 4xx status code

func (*PostModelByIDTaskReviewsInternalServerError) IsCode added in v1.0.4

IsCode returns true when this post model by Id task reviews internal server error response a status code equal to that given

func (*PostModelByIDTaskReviewsInternalServerError) IsRedirect added in v1.0.4

IsRedirect returns true when this post model by Id task reviews internal server error response has a 3xx status code

func (*PostModelByIDTaskReviewsInternalServerError) IsServerError added in v1.0.4

IsServerError returns true when this post model by Id task reviews internal server error response has a 5xx status code

func (*PostModelByIDTaskReviewsInternalServerError) IsSuccess added in v1.0.4

IsSuccess returns true when this post model by Id task reviews internal server error response has a 2xx status code

func (*PostModelByIDTaskReviewsInternalServerError) String added in v1.0.4

type PostModelByIDTaskReviewsOK added in v1.0.4

type PostModelByIDTaskReviewsOK struct {
	Payload *models.ResponseTaskReviewsResponse
}

PostModelByIDTaskReviewsOK describes a response with status code 200, with default header values.

OK

func NewPostModelByIDTaskReviewsOK added in v1.0.4

func NewPostModelByIDTaskReviewsOK() *PostModelByIDTaskReviewsOK

NewPostModelByIDTaskReviewsOK creates a PostModelByIDTaskReviewsOK with default headers values

func (*PostModelByIDTaskReviewsOK) Code added in v1.0.4

func (o *PostModelByIDTaskReviewsOK) Code() int

Code gets the status code for the post model by Id task reviews o k response

func (*PostModelByIDTaskReviewsOK) Error added in v1.0.4

func (*PostModelByIDTaskReviewsOK) GetPayload added in v1.0.4

func (*PostModelByIDTaskReviewsOK) IsClientError added in v1.0.4

func (o *PostModelByIDTaskReviewsOK) IsClientError() bool

IsClientError returns true when this post model by Id task reviews o k response has a 4xx status code

func (*PostModelByIDTaskReviewsOK) IsCode added in v1.0.4

func (o *PostModelByIDTaskReviewsOK) IsCode(code int) bool

IsCode returns true when this post model by Id task reviews o k response a status code equal to that given

func (*PostModelByIDTaskReviewsOK) IsRedirect added in v1.0.4

func (o *PostModelByIDTaskReviewsOK) IsRedirect() bool

IsRedirect returns true when this post model by Id task reviews o k response has a 3xx status code

func (*PostModelByIDTaskReviewsOK) IsServerError added in v1.0.4

func (o *PostModelByIDTaskReviewsOK) IsServerError() bool

IsServerError returns true when this post model by Id task reviews o k response has a 5xx status code

func (*PostModelByIDTaskReviewsOK) IsSuccess added in v1.0.4

func (o *PostModelByIDTaskReviewsOK) IsSuccess() bool

IsSuccess returns true when this post model by Id task reviews o k response has a 2xx status code

func (*PostModelByIDTaskReviewsOK) String added in v1.0.4

func (o *PostModelByIDTaskReviewsOK) String() string

type PostModelByIDTaskReviewsParams added in v1.0.4

type PostModelByIDTaskReviewsParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Create Task Reviews Request
	*/
	Input *models.RequestCreateTaskReviewsRequest

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

PostModelByIDTaskReviewsParams contains all the parameters to send to the API endpoint

for the post model by Id task reviews operation.

Typically these are written to a http.Request.

func NewPostModelByIDTaskReviewsParams added in v1.0.4

func NewPostModelByIDTaskReviewsParams() *PostModelByIDTaskReviewsParams

NewPostModelByIDTaskReviewsParams creates a new PostModelByIDTaskReviewsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostModelByIDTaskReviewsParamsWithContext added in v1.0.4

func NewPostModelByIDTaskReviewsParamsWithContext(ctx context.Context) *PostModelByIDTaskReviewsParams

NewPostModelByIDTaskReviewsParamsWithContext creates a new PostModelByIDTaskReviewsParams object with the ability to set a context for a request.

func NewPostModelByIDTaskReviewsParamsWithHTTPClient added in v1.0.4

func NewPostModelByIDTaskReviewsParamsWithHTTPClient(client *http.Client) *PostModelByIDTaskReviewsParams

NewPostModelByIDTaskReviewsParamsWithHTTPClient creates a new PostModelByIDTaskReviewsParams object with the ability to set a custom HTTPClient for a request.

func NewPostModelByIDTaskReviewsParamsWithTimeout added in v1.0.4

func NewPostModelByIDTaskReviewsParamsWithTimeout(timeout time.Duration) *PostModelByIDTaskReviewsParams

NewPostModelByIDTaskReviewsParamsWithTimeout creates a new PostModelByIDTaskReviewsParams object with the ability to set a timeout on a request.

func (*PostModelByIDTaskReviewsParams) SetContext added in v1.0.4

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

SetContext adds the context to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) SetDefaults added in v1.0.4

func (o *PostModelByIDTaskReviewsParams) SetDefaults()

SetDefaults hydrates default values in the post model by Id task reviews params (not the query body).

All values with no default are reset to their zero value.

func (*PostModelByIDTaskReviewsParams) SetHTTPClient added in v1.0.4

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

SetHTTPClient adds the HTTPClient to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) SetID added in v1.0.4

SetID adds the id to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) SetInput added in v1.0.4

SetInput adds the input to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) SetTimeout added in v1.0.4

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

SetTimeout adds the timeout to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) WithContext added in v1.0.4

WithContext adds the context to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) WithDefaults added in v1.0.4

WithDefaults hydrates default values in the post model by Id task reviews params (not the query body).

All values with no default are reset to their zero value.

func (*PostModelByIDTaskReviewsParams) WithHTTPClient added in v1.0.4

WithHTTPClient adds the HTTPClient to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) WithID added in v1.0.4

WithID adds the id to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) WithInput added in v1.0.4

WithInput adds the input to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) WithTimeout added in v1.0.4

WithTimeout adds the timeout to the post model by Id task reviews params

func (*PostModelByIDTaskReviewsParams) WriteToRequest added in v1.0.4

WriteToRequest writes these params to a swagger request

type PostModelByIDTaskReviewsReader added in v1.0.4

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

PostModelByIDTaskReviewsReader is a Reader for the PostModelByIDTaskReviews structure.

func (*PostModelByIDTaskReviewsReader) ReadResponse added in v1.0.4

func (o *PostModelByIDTaskReviewsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostTaskBadRequest

type PostTaskBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostTaskBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostTaskBadRequest

func NewPostTaskBadRequest() *PostTaskBadRequest

NewPostTaskBadRequest creates a PostTaskBadRequest with default headers values

func (*PostTaskBadRequest) Code

func (o *PostTaskBadRequest) Code() int

Code gets the status code for the post task bad request response

func (*PostTaskBadRequest) Error

func (o *PostTaskBadRequest) Error() string

func (*PostTaskBadRequest) GetPayload

func (*PostTaskBadRequest) IsClientError

func (o *PostTaskBadRequest) IsClientError() bool

IsClientError returns true when this post task bad request response has a 4xx status code

func (*PostTaskBadRequest) IsCode

func (o *PostTaskBadRequest) IsCode(code int) bool

IsCode returns true when this post task bad request response a status code equal to that given

func (*PostTaskBadRequest) IsRedirect

func (o *PostTaskBadRequest) IsRedirect() bool

IsRedirect returns true when this post task bad request response has a 3xx status code

func (*PostTaskBadRequest) IsServerError

func (o *PostTaskBadRequest) IsServerError() bool

IsServerError returns true when this post task bad request response has a 5xx status code

func (*PostTaskBadRequest) IsSuccess

func (o *PostTaskBadRequest) IsSuccess() bool

IsSuccess returns true when this post task bad request response has a 2xx status code

func (*PostTaskBadRequest) String

func (o *PostTaskBadRequest) String() string

type PostTaskInternalServerError

type PostTaskInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostTaskInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostTaskInternalServerError

func NewPostTaskInternalServerError() *PostTaskInternalServerError

NewPostTaskInternalServerError creates a PostTaskInternalServerError with default headers values

func (*PostTaskInternalServerError) Code

func (o *PostTaskInternalServerError) Code() int

Code gets the status code for the post task internal server error response

func (*PostTaskInternalServerError) Error

func (*PostTaskInternalServerError) GetPayload

func (*PostTaskInternalServerError) IsClientError

func (o *PostTaskInternalServerError) IsClientError() bool

IsClientError returns true when this post task internal server error response has a 4xx status code

func (*PostTaskInternalServerError) IsCode

func (o *PostTaskInternalServerError) IsCode(code int) bool

IsCode returns true when this post task internal server error response a status code equal to that given

func (*PostTaskInternalServerError) IsRedirect

func (o *PostTaskInternalServerError) IsRedirect() bool

IsRedirect returns true when this post task internal server error response has a 3xx status code

func (*PostTaskInternalServerError) IsServerError

func (o *PostTaskInternalServerError) IsServerError() bool

IsServerError returns true when this post task internal server error response has a 5xx status code

func (*PostTaskInternalServerError) IsSuccess

func (o *PostTaskInternalServerError) IsSuccess() bool

IsSuccess returns true when this post task internal server error response has a 2xx status code

func (*PostTaskInternalServerError) String

func (o *PostTaskInternalServerError) String() string

type PostTaskOK

type PostTaskOK struct {
	Payload *models.ResponseDistributeTaskResponse
}

PostTaskOK describes a response with status code 200, with default header values.

OK

func NewPostTaskOK

func NewPostTaskOK() *PostTaskOK

NewPostTaskOK creates a PostTaskOK with default headers values

func (*PostTaskOK) Code

func (o *PostTaskOK) Code() int

Code gets the status code for the post task o k response

func (*PostTaskOK) Error

func (o *PostTaskOK) Error() string

func (*PostTaskOK) GetPayload

func (*PostTaskOK) IsClientError

func (o *PostTaskOK) IsClientError() bool

IsClientError returns true when this post task o k response has a 4xx status code

func (*PostTaskOK) IsCode

func (o *PostTaskOK) IsCode(code int) bool

IsCode returns true when this post task o k response a status code equal to that given

func (*PostTaskOK) IsRedirect

func (o *PostTaskOK) IsRedirect() bool

IsRedirect returns true when this post task o k response has a 3xx status code

func (*PostTaskOK) IsServerError

func (o *PostTaskOK) IsServerError() bool

IsServerError returns true when this post task o k response has a 5xx status code

func (*PostTaskOK) IsSuccess

func (o *PostTaskOK) IsSuccess() bool

IsSuccess returns true when this post task o k response has a 2xx status code

func (*PostTaskOK) String

func (o *PostTaskOK) String() string

type PostTaskParams

type PostTaskParams struct {

	/* Input.

	   Distribute Task Request
	*/
	Input *models.RequestDistributeTaskRequest

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

PostTaskParams contains all the parameters to send to the API endpoint

for the post task operation.

Typically these are written to a http.Request.

func NewPostTaskParams

func NewPostTaskParams() *PostTaskParams

NewPostTaskParams creates a new PostTaskParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostTaskParamsWithContext

func NewPostTaskParamsWithContext(ctx context.Context) *PostTaskParams

NewPostTaskParamsWithContext creates a new PostTaskParams object with the ability to set a context for a request.

func NewPostTaskParamsWithHTTPClient

func NewPostTaskParamsWithHTTPClient(client *http.Client) *PostTaskParams

NewPostTaskParamsWithHTTPClient creates a new PostTaskParams object with the ability to set a custom HTTPClient for a request.

func NewPostTaskParamsWithTimeout

func NewPostTaskParamsWithTimeout(timeout time.Duration) *PostTaskParams

NewPostTaskParamsWithTimeout creates a new PostTaskParams object with the ability to set a timeout on a request.

func (*PostTaskParams) SetContext

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

SetContext adds the context to the post task params

func (*PostTaskParams) SetDefaults

func (o *PostTaskParams) SetDefaults()

SetDefaults hydrates default values in the post task params (not the query body).

All values with no default are reset to their zero value.

func (*PostTaskParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post task params

func (*PostTaskParams) SetInput

SetInput adds the input to the post task params

func (*PostTaskParams) SetTimeout

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

SetTimeout adds the timeout to the post task params

func (*PostTaskParams) WithContext

func (o *PostTaskParams) WithContext(ctx context.Context) *PostTaskParams

WithContext adds the context to the post task params

func (*PostTaskParams) WithDefaults

func (o *PostTaskParams) WithDefaults() *PostTaskParams

WithDefaults hydrates default values in the post task params (not the query body).

All values with no default are reset to their zero value.

func (*PostTaskParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post task params

func (*PostTaskParams) WithInput

WithInput adds the input to the post task params

func (*PostTaskParams) WithTimeout

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

WithTimeout adds the timeout to the post task params

func (*PostTaskParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostTaskReader

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

PostTaskReader is a Reader for the PostTask structure.

func (*PostTaskReader) ReadResponse

func (o *PostTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, 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
⌂ 换网址