Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) DeleteTaskByIDCancel(params *DeleteTaskByIDCancelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTaskByIDCancelOK, error)
- func (a *Client) GetModelTaskByIDReviews(params *GetModelTaskByIDReviewsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetModelTaskByIDReviewsOK, error)
- func (a *Client) GetPlatformTaskByID(params *GetPlatformTaskByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPlatformTaskByIDOK, error)
- func (a *Client) GetTaskByIDDetail(params *GetTaskByIDDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTaskByIDDetailOK, error)
- func (a *Client) GetTaskHistories(params *GetTaskHistoriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTaskHistoriesOK, error)
- func (a *Client) PostModelByIDTask(params *PostModelByIDTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostModelByIDTaskOK, error)
- func (a *Client) PostModelByIDTaskReviews(params *PostModelByIDTaskReviewsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostModelByIDTaskReviewsOK, error)
- func (a *Client) PostTask(params *PostTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostTaskOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteTaskByIDCancelBadRequest
- func (o *DeleteTaskByIDCancelBadRequest) Code() int
- func (o *DeleteTaskByIDCancelBadRequest) Error() string
- func (o *DeleteTaskByIDCancelBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *DeleteTaskByIDCancelBadRequest) IsClientError() bool
- func (o *DeleteTaskByIDCancelBadRequest) IsCode(code int) bool
- func (o *DeleteTaskByIDCancelBadRequest) IsRedirect() bool
- func (o *DeleteTaskByIDCancelBadRequest) IsServerError() bool
- func (o *DeleteTaskByIDCancelBadRequest) IsSuccess() bool
- func (o *DeleteTaskByIDCancelBadRequest) String() string
- type DeleteTaskByIDCancelInternalServerError
- func (o *DeleteTaskByIDCancelInternalServerError) Code() int
- func (o *DeleteTaskByIDCancelInternalServerError) Error() string
- func (o *DeleteTaskByIDCancelInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *DeleteTaskByIDCancelInternalServerError) IsClientError() bool
- func (o *DeleteTaskByIDCancelInternalServerError) IsCode(code int) bool
- func (o *DeleteTaskByIDCancelInternalServerError) IsRedirect() bool
- func (o *DeleteTaskByIDCancelInternalServerError) IsServerError() bool
- func (o *DeleteTaskByIDCancelInternalServerError) IsSuccess() bool
- func (o *DeleteTaskByIDCancelInternalServerError) String() string
- type DeleteTaskByIDCancelOK
- func (o *DeleteTaskByIDCancelOK) Code() int
- func (o *DeleteTaskByIDCancelOK) Error() string
- func (o *DeleteTaskByIDCancelOK) GetPayload() *models.ResponseSuccessResponse
- func (o *DeleteTaskByIDCancelOK) IsClientError() bool
- func (o *DeleteTaskByIDCancelOK) IsCode(code int) bool
- func (o *DeleteTaskByIDCancelOK) IsRedirect() bool
- func (o *DeleteTaskByIDCancelOK) IsServerError() bool
- func (o *DeleteTaskByIDCancelOK) IsSuccess() bool
- func (o *DeleteTaskByIDCancelOK) String() string
- type DeleteTaskByIDCancelParams
- func NewDeleteTaskByIDCancelParams() *DeleteTaskByIDCancelParams
- func NewDeleteTaskByIDCancelParamsWithContext(ctx context.Context) *DeleteTaskByIDCancelParams
- func NewDeleteTaskByIDCancelParamsWithHTTPClient(client *http.Client) *DeleteTaskByIDCancelParams
- func NewDeleteTaskByIDCancelParamsWithTimeout(timeout time.Duration) *DeleteTaskByIDCancelParams
- func (o *DeleteTaskByIDCancelParams) SetContext(ctx context.Context)
- func (o *DeleteTaskByIDCancelParams) SetDefaults()
- func (o *DeleteTaskByIDCancelParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTaskByIDCancelParams) SetID(id string)
- func (o *DeleteTaskByIDCancelParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTaskByIDCancelParams) WithContext(ctx context.Context) *DeleteTaskByIDCancelParams
- func (o *DeleteTaskByIDCancelParams) WithDefaults() *DeleteTaskByIDCancelParams
- func (o *DeleteTaskByIDCancelParams) WithHTTPClient(client *http.Client) *DeleteTaskByIDCancelParams
- func (o *DeleteTaskByIDCancelParams) WithID(id string) *DeleteTaskByIDCancelParams
- func (o *DeleteTaskByIDCancelParams) WithTimeout(timeout time.Duration) *DeleteTaskByIDCancelParams
- func (o *DeleteTaskByIDCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTaskByIDCancelReader
- type GetModelTaskByIDReviewsBadRequest
- func (o *GetModelTaskByIDReviewsBadRequest) Code() int
- func (o *GetModelTaskByIDReviewsBadRequest) Error() string
- func (o *GetModelTaskByIDReviewsBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetModelTaskByIDReviewsBadRequest) IsClientError() bool
- func (o *GetModelTaskByIDReviewsBadRequest) IsCode(code int) bool
- func (o *GetModelTaskByIDReviewsBadRequest) IsRedirect() bool
- func (o *GetModelTaskByIDReviewsBadRequest) IsServerError() bool
- func (o *GetModelTaskByIDReviewsBadRequest) IsSuccess() bool
- func (o *GetModelTaskByIDReviewsBadRequest) String() string
- type GetModelTaskByIDReviewsInternalServerError
- func (o *GetModelTaskByIDReviewsInternalServerError) Code() int
- func (o *GetModelTaskByIDReviewsInternalServerError) Error() string
- func (o *GetModelTaskByIDReviewsInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetModelTaskByIDReviewsInternalServerError) IsClientError() bool
- func (o *GetModelTaskByIDReviewsInternalServerError) IsCode(code int) bool
- func (o *GetModelTaskByIDReviewsInternalServerError) IsRedirect() bool
- func (o *GetModelTaskByIDReviewsInternalServerError) IsServerError() bool
- func (o *GetModelTaskByIDReviewsInternalServerError) IsSuccess() bool
- func (o *GetModelTaskByIDReviewsInternalServerError) String() string
- type GetModelTaskByIDReviewsOK
- func (o *GetModelTaskByIDReviewsOK) Code() int
- func (o *GetModelTaskByIDReviewsOK) Error() string
- func (o *GetModelTaskByIDReviewsOK) GetPayload() *models.ResponseTaskReviewsResponse
- func (o *GetModelTaskByIDReviewsOK) IsClientError() bool
- func (o *GetModelTaskByIDReviewsOK) IsCode(code int) bool
- func (o *GetModelTaskByIDReviewsOK) IsRedirect() bool
- func (o *GetModelTaskByIDReviewsOK) IsServerError() bool
- func (o *GetModelTaskByIDReviewsOK) IsSuccess() bool
- func (o *GetModelTaskByIDReviewsOK) String() string
- type GetModelTaskByIDReviewsParams
- func NewGetModelTaskByIDReviewsParams() *GetModelTaskByIDReviewsParams
- func NewGetModelTaskByIDReviewsParamsWithContext(ctx context.Context) *GetModelTaskByIDReviewsParams
- func NewGetModelTaskByIDReviewsParamsWithHTTPClient(client *http.Client) *GetModelTaskByIDReviewsParams
- func NewGetModelTaskByIDReviewsParamsWithTimeout(timeout time.Duration) *GetModelTaskByIDReviewsParams
- func (o *GetModelTaskByIDReviewsParams) SetContext(ctx context.Context)
- func (o *GetModelTaskByIDReviewsParams) SetDefaults()
- func (o *GetModelTaskByIDReviewsParams) SetHTTPClient(client *http.Client)
- func (o *GetModelTaskByIDReviewsParams) SetID(id string)
- func (o *GetModelTaskByIDReviewsParams) SetTimeout(timeout time.Duration)
- func (o *GetModelTaskByIDReviewsParams) WithContext(ctx context.Context) *GetModelTaskByIDReviewsParams
- func (o *GetModelTaskByIDReviewsParams) WithDefaults() *GetModelTaskByIDReviewsParams
- func (o *GetModelTaskByIDReviewsParams) WithHTTPClient(client *http.Client) *GetModelTaskByIDReviewsParams
- func (o *GetModelTaskByIDReviewsParams) WithID(id string) *GetModelTaskByIDReviewsParams
- func (o *GetModelTaskByIDReviewsParams) WithTimeout(timeout time.Duration) *GetModelTaskByIDReviewsParams
- func (o *GetModelTaskByIDReviewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetModelTaskByIDReviewsReader
- type GetPlatformTaskByIDBadRequest
- func (o *GetPlatformTaskByIDBadRequest) Code() int
- func (o *GetPlatformTaskByIDBadRequest) Error() string
- func (o *GetPlatformTaskByIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetPlatformTaskByIDBadRequest) IsClientError() bool
- func (o *GetPlatformTaskByIDBadRequest) IsCode(code int) bool
- func (o *GetPlatformTaskByIDBadRequest) IsRedirect() bool
- func (o *GetPlatformTaskByIDBadRequest) IsServerError() bool
- func (o *GetPlatformTaskByIDBadRequest) IsSuccess() bool
- func (o *GetPlatformTaskByIDBadRequest) String() string
- type GetPlatformTaskByIDInternalServerError
- func (o *GetPlatformTaskByIDInternalServerError) Code() int
- func (o *GetPlatformTaskByIDInternalServerError) Error() string
- func (o *GetPlatformTaskByIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetPlatformTaskByIDInternalServerError) IsClientError() bool
- func (o *GetPlatformTaskByIDInternalServerError) IsCode(code int) bool
- func (o *GetPlatformTaskByIDInternalServerError) IsRedirect() bool
- func (o *GetPlatformTaskByIDInternalServerError) IsServerError() bool
- func (o *GetPlatformTaskByIDInternalServerError) IsSuccess() bool
- func (o *GetPlatformTaskByIDInternalServerError) String() string
- type GetPlatformTaskByIDOK
- func (o *GetPlatformTaskByIDOK) Code() int
- func (o *GetPlatformTaskByIDOK) Error() string
- func (o *GetPlatformTaskByIDOK) GetPayload() *models.ResponseQueueTaskResponse
- func (o *GetPlatformTaskByIDOK) IsClientError() bool
- func (o *GetPlatformTaskByIDOK) IsCode(code int) bool
- func (o *GetPlatformTaskByIDOK) IsRedirect() bool
- func (o *GetPlatformTaskByIDOK) IsServerError() bool
- func (o *GetPlatformTaskByIDOK) IsSuccess() bool
- func (o *GetPlatformTaskByIDOK) String() string
- type GetPlatformTaskByIDParams
- func NewGetPlatformTaskByIDParams() *GetPlatformTaskByIDParams
- func NewGetPlatformTaskByIDParamsWithContext(ctx context.Context) *GetPlatformTaskByIDParams
- func NewGetPlatformTaskByIDParamsWithHTTPClient(client *http.Client) *GetPlatformTaskByIDParams
- func NewGetPlatformTaskByIDParamsWithTimeout(timeout time.Duration) *GetPlatformTaskByIDParams
- func (o *GetPlatformTaskByIDParams) SetContext(ctx context.Context)
- func (o *GetPlatformTaskByIDParams) SetDefaults()
- func (o *GetPlatformTaskByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetPlatformTaskByIDParams) SetID(id string)
- func (o *GetPlatformTaskByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetPlatformTaskByIDParams) WithContext(ctx context.Context) *GetPlatformTaskByIDParams
- func (o *GetPlatformTaskByIDParams) WithDefaults() *GetPlatformTaskByIDParams
- func (o *GetPlatformTaskByIDParams) WithHTTPClient(client *http.Client) *GetPlatformTaskByIDParams
- func (o *GetPlatformTaskByIDParams) WithID(id string) *GetPlatformTaskByIDParams
- func (o *GetPlatformTaskByIDParams) WithTimeout(timeout time.Duration) *GetPlatformTaskByIDParams
- func (o *GetPlatformTaskByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlatformTaskByIDReader
- type GetTaskByIDDetailBadRequest
- func (o *GetTaskByIDDetailBadRequest) Code() int
- func (o *GetTaskByIDDetailBadRequest) Error() string
- func (o *GetTaskByIDDetailBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetTaskByIDDetailBadRequest) IsClientError() bool
- func (o *GetTaskByIDDetailBadRequest) IsCode(code int) bool
- func (o *GetTaskByIDDetailBadRequest) IsRedirect() bool
- func (o *GetTaskByIDDetailBadRequest) IsServerError() bool
- func (o *GetTaskByIDDetailBadRequest) IsSuccess() bool
- func (o *GetTaskByIDDetailBadRequest) String() string
- type GetTaskByIDDetailInternalServerError
- func (o *GetTaskByIDDetailInternalServerError) Code() int
- func (o *GetTaskByIDDetailInternalServerError) Error() string
- func (o *GetTaskByIDDetailInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetTaskByIDDetailInternalServerError) IsClientError() bool
- func (o *GetTaskByIDDetailInternalServerError) IsCode(code int) bool
- func (o *GetTaskByIDDetailInternalServerError) IsRedirect() bool
- func (o *GetTaskByIDDetailInternalServerError) IsServerError() bool
- func (o *GetTaskByIDDetailInternalServerError) IsSuccess() bool
- func (o *GetTaskByIDDetailInternalServerError) String() string
- type GetTaskByIDDetailOK
- func (o *GetTaskByIDDetailOK) Code() int
- func (o *GetTaskByIDDetailOK) Error() string
- func (o *GetTaskByIDDetailOK) GetPayload() *models.ResponseAPIKeyHistoryResponse
- func (o *GetTaskByIDDetailOK) IsClientError() bool
- func (o *GetTaskByIDDetailOK) IsCode(code int) bool
- func (o *GetTaskByIDDetailOK) IsRedirect() bool
- func (o *GetTaskByIDDetailOK) IsServerError() bool
- func (o *GetTaskByIDDetailOK) IsSuccess() bool
- func (o *GetTaskByIDDetailOK) String() string
- type GetTaskByIDDetailParams
- func NewGetTaskByIDDetailParams() *GetTaskByIDDetailParams
- func NewGetTaskByIDDetailParamsWithContext(ctx context.Context) *GetTaskByIDDetailParams
- func NewGetTaskByIDDetailParamsWithHTTPClient(client *http.Client) *GetTaskByIDDetailParams
- func NewGetTaskByIDDetailParamsWithTimeout(timeout time.Duration) *GetTaskByIDDetailParams
- func (o *GetTaskByIDDetailParams) SetContext(ctx context.Context)
- func (o *GetTaskByIDDetailParams) SetDefaults()
- func (o *GetTaskByIDDetailParams) SetHTTPClient(client *http.Client)
- func (o *GetTaskByIDDetailParams) SetID(id string)
- func (o *GetTaskByIDDetailParams) SetTimeout(timeout time.Duration)
- func (o *GetTaskByIDDetailParams) WithContext(ctx context.Context) *GetTaskByIDDetailParams
- func (o *GetTaskByIDDetailParams) WithDefaults() *GetTaskByIDDetailParams
- func (o *GetTaskByIDDetailParams) WithHTTPClient(client *http.Client) *GetTaskByIDDetailParams
- func (o *GetTaskByIDDetailParams) WithID(id string) *GetTaskByIDDetailParams
- func (o *GetTaskByIDDetailParams) WithTimeout(timeout time.Duration) *GetTaskByIDDetailParams
- func (o *GetTaskByIDDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTaskByIDDetailReader
- type GetTaskHistoriesBadRequest
- func (o *GetTaskHistoriesBadRequest) Code() int
- func (o *GetTaskHistoriesBadRequest) Error() string
- func (o *GetTaskHistoriesBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetTaskHistoriesBadRequest) IsClientError() bool
- func (o *GetTaskHistoriesBadRequest) IsCode(code int) bool
- func (o *GetTaskHistoriesBadRequest) IsRedirect() bool
- func (o *GetTaskHistoriesBadRequest) IsServerError() bool
- func (o *GetTaskHistoriesBadRequest) IsSuccess() bool
- func (o *GetTaskHistoriesBadRequest) String() string
- type GetTaskHistoriesInternalServerError
- func (o *GetTaskHistoriesInternalServerError) Code() int
- func (o *GetTaskHistoriesInternalServerError) Error() string
- func (o *GetTaskHistoriesInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetTaskHistoriesInternalServerError) IsClientError() bool
- func (o *GetTaskHistoriesInternalServerError) IsCode(code int) bool
- func (o *GetTaskHistoriesInternalServerError) IsRedirect() bool
- func (o *GetTaskHistoriesInternalServerError) IsServerError() bool
- func (o *GetTaskHistoriesInternalServerError) IsSuccess() bool
- func (o *GetTaskHistoriesInternalServerError) String() string
- type GetTaskHistoriesOK
- func (o *GetTaskHistoriesOK) Code() int
- func (o *GetTaskHistoriesOK) Error() string
- func (o *GetTaskHistoriesOK) GetPayload() *models.ResponseAPIKeyHistoryListResponse
- func (o *GetTaskHistoriesOK) IsClientError() bool
- func (o *GetTaskHistoriesOK) IsCode(code int) bool
- func (o *GetTaskHistoriesOK) IsRedirect() bool
- func (o *GetTaskHistoriesOK) IsServerError() bool
- func (o *GetTaskHistoriesOK) IsSuccess() bool
- func (o *GetTaskHistoriesOK) String() string
- type GetTaskHistoriesParams
- func NewGetTaskHistoriesParams() *GetTaskHistoriesParams
- func NewGetTaskHistoriesParamsWithContext(ctx context.Context) *GetTaskHistoriesParams
- func NewGetTaskHistoriesParamsWithHTTPClient(client *http.Client) *GetTaskHistoriesParams
- func NewGetTaskHistoriesParamsWithTimeout(timeout time.Duration) *GetTaskHistoriesParams
- func (o *GetTaskHistoriesParams) SetContext(ctx context.Context)
- func (o *GetTaskHistoriesParams) SetDefaults()
- func (o *GetTaskHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetTaskHistoriesParams) SetLimit(limit *int64)
- func (o *GetTaskHistoriesParams) SetOffset(offset *int64)
- func (o *GetTaskHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetTaskHistoriesParams) WithContext(ctx context.Context) *GetTaskHistoriesParams
- func (o *GetTaskHistoriesParams) WithDefaults() *GetTaskHistoriesParams
- func (o *GetTaskHistoriesParams) WithHTTPClient(client *http.Client) *GetTaskHistoriesParams
- func (o *GetTaskHistoriesParams) WithLimit(limit *int64) *GetTaskHistoriesParams
- func (o *GetTaskHistoriesParams) WithOffset(offset *int64) *GetTaskHistoriesParams
- func (o *GetTaskHistoriesParams) WithTimeout(timeout time.Duration) *GetTaskHistoriesParams
- func (o *GetTaskHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTaskHistoriesReader
- type PostModelByIDTaskBadRequest
- func (o *PostModelByIDTaskBadRequest) Code() int
- func (o *PostModelByIDTaskBadRequest) Error() string
- func (o *PostModelByIDTaskBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostModelByIDTaskBadRequest) IsClientError() bool
- func (o *PostModelByIDTaskBadRequest) IsCode(code int) bool
- func (o *PostModelByIDTaskBadRequest) IsRedirect() bool
- func (o *PostModelByIDTaskBadRequest) IsServerError() bool
- func (o *PostModelByIDTaskBadRequest) IsSuccess() bool
- func (o *PostModelByIDTaskBadRequest) String() string
- type PostModelByIDTaskInternalServerError
- func (o *PostModelByIDTaskInternalServerError) Code() int
- func (o *PostModelByIDTaskInternalServerError) Error() string
- func (o *PostModelByIDTaskInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostModelByIDTaskInternalServerError) IsClientError() bool
- func (o *PostModelByIDTaskInternalServerError) IsCode(code int) bool
- func (o *PostModelByIDTaskInternalServerError) IsRedirect() bool
- func (o *PostModelByIDTaskInternalServerError) IsServerError() bool
- func (o *PostModelByIDTaskInternalServerError) IsSuccess() bool
- func (o *PostModelByIDTaskInternalServerError) String() string
- type PostModelByIDTaskOK
- func (o *PostModelByIDTaskOK) Code() int
- func (o *PostModelByIDTaskOK) Error() string
- func (o *PostModelByIDTaskOK) GetPayload() *models.ResponseDistributeTaskResponse
- func (o *PostModelByIDTaskOK) IsClientError() bool
- func (o *PostModelByIDTaskOK) IsCode(code int) bool
- func (o *PostModelByIDTaskOK) IsRedirect() bool
- func (o *PostModelByIDTaskOK) IsServerError() bool
- func (o *PostModelByIDTaskOK) IsSuccess() bool
- func (o *PostModelByIDTaskOK) String() string
- type PostModelByIDTaskParams
- func NewPostModelByIDTaskParams() *PostModelByIDTaskParams
- func NewPostModelByIDTaskParamsWithContext(ctx context.Context) *PostModelByIDTaskParams
- func NewPostModelByIDTaskParamsWithHTTPClient(client *http.Client) *PostModelByIDTaskParams
- func NewPostModelByIDTaskParamsWithTimeout(timeout time.Duration) *PostModelByIDTaskParams
- func (o *PostModelByIDTaskParams) SetContext(ctx context.Context)
- func (o *PostModelByIDTaskParams) SetDefaults()
- func (o *PostModelByIDTaskParams) SetHTTPClient(client *http.Client)
- func (o *PostModelByIDTaskParams) SetID(id string)
- func (o *PostModelByIDTaskParams) SetInput(input models.RequestDistributeTaskWithAPIKeyRequest)
- func (o *PostModelByIDTaskParams) SetTimeout(timeout time.Duration)
- func (o *PostModelByIDTaskParams) WithContext(ctx context.Context) *PostModelByIDTaskParams
- func (o *PostModelByIDTaskParams) WithDefaults() *PostModelByIDTaskParams
- func (o *PostModelByIDTaskParams) WithHTTPClient(client *http.Client) *PostModelByIDTaskParams
- func (o *PostModelByIDTaskParams) WithID(id string) *PostModelByIDTaskParams
- func (o *PostModelByIDTaskParams) WithInput(input models.RequestDistributeTaskWithAPIKeyRequest) *PostModelByIDTaskParams
- func (o *PostModelByIDTaskParams) WithTimeout(timeout time.Duration) *PostModelByIDTaskParams
- func (o *PostModelByIDTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostModelByIDTaskReader
- type PostModelByIDTaskReviewsBadRequest
- func (o *PostModelByIDTaskReviewsBadRequest) Code() int
- func (o *PostModelByIDTaskReviewsBadRequest) Error() string
- func (o *PostModelByIDTaskReviewsBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostModelByIDTaskReviewsBadRequest) IsClientError() bool
- func (o *PostModelByIDTaskReviewsBadRequest) IsCode(code int) bool
- func (o *PostModelByIDTaskReviewsBadRequest) IsRedirect() bool
- func (o *PostModelByIDTaskReviewsBadRequest) IsServerError() bool
- func (o *PostModelByIDTaskReviewsBadRequest) IsSuccess() bool
- func (o *PostModelByIDTaskReviewsBadRequest) String() string
- type PostModelByIDTaskReviewsInternalServerError
- func (o *PostModelByIDTaskReviewsInternalServerError) Code() int
- func (o *PostModelByIDTaskReviewsInternalServerError) Error() string
- func (o *PostModelByIDTaskReviewsInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostModelByIDTaskReviewsInternalServerError) IsClientError() bool
- func (o *PostModelByIDTaskReviewsInternalServerError) IsCode(code int) bool
- func (o *PostModelByIDTaskReviewsInternalServerError) IsRedirect() bool
- func (o *PostModelByIDTaskReviewsInternalServerError) IsServerError() bool
- func (o *PostModelByIDTaskReviewsInternalServerError) IsSuccess() bool
- func (o *PostModelByIDTaskReviewsInternalServerError) String() string
- type PostModelByIDTaskReviewsOK
- func (o *PostModelByIDTaskReviewsOK) Code() int
- func (o *PostModelByIDTaskReviewsOK) Error() string
- func (o *PostModelByIDTaskReviewsOK) GetPayload() *models.ResponseTaskReviewsResponse
- func (o *PostModelByIDTaskReviewsOK) IsClientError() bool
- func (o *PostModelByIDTaskReviewsOK) IsCode(code int) bool
- func (o *PostModelByIDTaskReviewsOK) IsRedirect() bool
- func (o *PostModelByIDTaskReviewsOK) IsServerError() bool
- func (o *PostModelByIDTaskReviewsOK) IsSuccess() bool
- func (o *PostModelByIDTaskReviewsOK) String() string
- type PostModelByIDTaskReviewsParams
- func NewPostModelByIDTaskReviewsParams() *PostModelByIDTaskReviewsParams
- func NewPostModelByIDTaskReviewsParamsWithContext(ctx context.Context) *PostModelByIDTaskReviewsParams
- func NewPostModelByIDTaskReviewsParamsWithHTTPClient(client *http.Client) *PostModelByIDTaskReviewsParams
- func NewPostModelByIDTaskReviewsParamsWithTimeout(timeout time.Duration) *PostModelByIDTaskReviewsParams
- func (o *PostModelByIDTaskReviewsParams) SetContext(ctx context.Context)
- func (o *PostModelByIDTaskReviewsParams) SetDefaults()
- func (o *PostModelByIDTaskReviewsParams) SetHTTPClient(client *http.Client)
- func (o *PostModelByIDTaskReviewsParams) SetID(id string)
- func (o *PostModelByIDTaskReviewsParams) SetInput(input *models.RequestCreateTaskReviewsRequest)
- func (o *PostModelByIDTaskReviewsParams) SetTimeout(timeout time.Duration)
- func (o *PostModelByIDTaskReviewsParams) WithContext(ctx context.Context) *PostModelByIDTaskReviewsParams
- func (o *PostModelByIDTaskReviewsParams) WithDefaults() *PostModelByIDTaskReviewsParams
- func (o *PostModelByIDTaskReviewsParams) WithHTTPClient(client *http.Client) *PostModelByIDTaskReviewsParams
- func (o *PostModelByIDTaskReviewsParams) WithID(id string) *PostModelByIDTaskReviewsParams
- func (o *PostModelByIDTaskReviewsParams) WithInput(input *models.RequestCreateTaskReviewsRequest) *PostModelByIDTaskReviewsParams
- func (o *PostModelByIDTaskReviewsParams) WithTimeout(timeout time.Duration) *PostModelByIDTaskReviewsParams
- func (o *PostModelByIDTaskReviewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostModelByIDTaskReviewsReader
- type PostTaskBadRequest
- func (o *PostTaskBadRequest) Code() int
- func (o *PostTaskBadRequest) Error() string
- func (o *PostTaskBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostTaskBadRequest) IsClientError() bool
- func (o *PostTaskBadRequest) IsCode(code int) bool
- func (o *PostTaskBadRequest) IsRedirect() bool
- func (o *PostTaskBadRequest) IsServerError() bool
- func (o *PostTaskBadRequest) IsSuccess() bool
- func (o *PostTaskBadRequest) String() string
- type PostTaskInternalServerError
- func (o *PostTaskInternalServerError) Code() int
- func (o *PostTaskInternalServerError) Error() string
- func (o *PostTaskInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostTaskInternalServerError) IsClientError() bool
- func (o *PostTaskInternalServerError) IsCode(code int) bool
- func (o *PostTaskInternalServerError) IsRedirect() bool
- func (o *PostTaskInternalServerError) IsServerError() bool
- func (o *PostTaskInternalServerError) IsSuccess() bool
- func (o *PostTaskInternalServerError) String() string
- type PostTaskOK
- func (o *PostTaskOK) Code() int
- func (o *PostTaskOK) Error() string
- func (o *PostTaskOK) GetPayload() *models.ResponseDistributeTaskResponse
- func (o *PostTaskOK) IsClientError() bool
- func (o *PostTaskOK) IsCode(code int) bool
- func (o *PostTaskOK) IsRedirect() bool
- func (o *PostTaskOK) IsServerError() bool
- func (o *PostTaskOK) IsSuccess() bool
- func (o *PostTaskOK) String() string
- type PostTaskParams
- func (o *PostTaskParams) SetContext(ctx context.Context)
- func (o *PostTaskParams) SetDefaults()
- func (o *PostTaskParams) SetHTTPClient(client *http.Client)
- func (o *PostTaskParams) SetInput(input *models.RequestDistributeTaskRequest)
- func (o *PostTaskParams) SetTimeout(timeout time.Duration)
- func (o *PostTaskParams) WithContext(ctx context.Context) *PostTaskParams
- func (o *PostTaskParams) WithDefaults() *PostTaskParams
- func (o *PostTaskParams) WithHTTPClient(client *http.Client) *PostTaskParams
- func (o *PostTaskParams) WithInput(input *models.RequestDistributeTaskRequest) *PostTaskParams
- func (o *PostTaskParams) WithTimeout(timeout time.Duration) *PostTaskParams
- func (o *PostTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostTaskReader
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 ¶
func (o *DeleteTaskByIDCancelBadRequest) Code() int
Code gets the status code for the delete task by Id cancel bad request response
func (*DeleteTaskByIDCancelBadRequest) Error ¶
func (o *DeleteTaskByIDCancelBadRequest) Error() string
func (*DeleteTaskByIDCancelBadRequest) GetPayload ¶
func (o *DeleteTaskByIDCancelBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *DeleteTaskByIDCancelBadRequest) String() 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 ¶
func (o *DeleteTaskByIDCancelInternalServerError) Code() int
Code gets the status code for the delete task by Id cancel internal server error response
func (*DeleteTaskByIDCancelInternalServerError) Error ¶
func (o *DeleteTaskByIDCancelInternalServerError) Error() string
func (*DeleteTaskByIDCancelInternalServerError) GetPayload ¶
func (o *DeleteTaskByIDCancelInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *DeleteTaskByIDCancelInternalServerError) IsCode(code int) bool
IsCode returns true when this delete task by Id cancel internal server error response a status code equal to that given
func (*DeleteTaskByIDCancelInternalServerError) IsRedirect ¶
func (o *DeleteTaskByIDCancelInternalServerError) IsRedirect() bool
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 ¶
func (o *DeleteTaskByIDCancelInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete task by Id cancel internal server error response has a 2xx status code
func (*DeleteTaskByIDCancelInternalServerError) String ¶
func (o *DeleteTaskByIDCancelInternalServerError) String() 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 (o *DeleteTaskByIDCancelOK) GetPayload() *models.ResponseSuccessResponse
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 ¶
func (o *DeleteTaskByIDCancelParams) WithContext(ctx context.Context) *DeleteTaskByIDCancelParams
WithContext adds the context to the delete task by Id cancel params
func (*DeleteTaskByIDCancelParams) WithDefaults ¶
func (o *DeleteTaskByIDCancelParams) WithDefaults() *DeleteTaskByIDCancelParams
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 ¶
func (o *DeleteTaskByIDCancelParams) WithHTTPClient(client *http.Client) *DeleteTaskByIDCancelParams
WithHTTPClient adds the HTTPClient to the delete task by Id cancel params
func (*DeleteTaskByIDCancelParams) WithID ¶
func (o *DeleteTaskByIDCancelParams) WithID(id string) *DeleteTaskByIDCancelParams
WithID adds the id to the delete task by Id cancel params
func (*DeleteTaskByIDCancelParams) WithTimeout ¶
func (o *DeleteTaskByIDCancelParams) WithTimeout(timeout time.Duration) *DeleteTaskByIDCancelParams
WithTimeout adds the timeout to the delete task by Id cancel params
func (*DeleteTaskByIDCancelParams) WriteToRequest ¶
func (o *DeleteTaskByIDCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetModelTaskByIDReviewsBadRequest) Code() int
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 (o *GetModelTaskByIDReviewsBadRequest) Error() string
func (*GetModelTaskByIDReviewsBadRequest) GetPayload ¶ added in v1.0.4
func (o *GetModelTaskByIDReviewsBadRequest) GetPayload() *models.ResponseFailResponse
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
func (o *GetModelTaskByIDReviewsBadRequest) String() string
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
func (o *GetModelTaskByIDReviewsInternalServerError) Code() int
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 (o *GetModelTaskByIDReviewsInternalServerError) Error() string
func (*GetModelTaskByIDReviewsInternalServerError) GetPayload ¶ added in v1.0.4
func (o *GetModelTaskByIDReviewsInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetModelTaskByIDReviewsInternalServerError) IsClientError ¶ added in v1.0.4
func (o *GetModelTaskByIDReviewsInternalServerError) IsClientError() bool
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
func (o *GetModelTaskByIDReviewsInternalServerError) IsCode(code int) bool
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
func (o *GetModelTaskByIDReviewsInternalServerError) IsRedirect() bool
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
func (o *GetModelTaskByIDReviewsInternalServerError) IsServerError() bool
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
func (o *GetModelTaskByIDReviewsInternalServerError) IsSuccess() bool
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
func (o *GetModelTaskByIDReviewsInternalServerError) String() string
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 (o *GetModelTaskByIDReviewsOK) GetPayload() *models.ResponseTaskReviewsResponse
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
func (o *GetModelTaskByIDReviewsParams) SetID(id string)
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
func (o *GetModelTaskByIDReviewsParams) WithContext(ctx context.Context) *GetModelTaskByIDReviewsParams
WithContext adds the context to the get model task by Id reviews params
func (*GetModelTaskByIDReviewsParams) WithDefaults ¶ added in v1.0.4
func (o *GetModelTaskByIDReviewsParams) WithDefaults() *GetModelTaskByIDReviewsParams
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
func (o *GetModelTaskByIDReviewsParams) WithHTTPClient(client *http.Client) *GetModelTaskByIDReviewsParams
WithHTTPClient adds the HTTPClient to the get model task by Id reviews params
func (*GetModelTaskByIDReviewsParams) WithID ¶ added in v1.0.4
func (o *GetModelTaskByIDReviewsParams) WithID(id string) *GetModelTaskByIDReviewsParams
WithID adds the id to the get model task by Id reviews params
func (*GetModelTaskByIDReviewsParams) WithTimeout ¶ added in v1.0.4
func (o *GetModelTaskByIDReviewsParams) WithTimeout(timeout time.Duration) *GetModelTaskByIDReviewsParams
WithTimeout adds the timeout to the get model task by Id reviews params
func (*GetModelTaskByIDReviewsParams) WriteToRequest ¶ added in v1.0.4
func (o *GetModelTaskByIDReviewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetPlatformTaskByIDBadRequest) Code() int
Code gets the status code for the get platform task by Id bad request response
func (*GetPlatformTaskByIDBadRequest) Error ¶ added in v1.0.4
func (o *GetPlatformTaskByIDBadRequest) Error() string
func (*GetPlatformTaskByIDBadRequest) GetPayload ¶ added in v1.0.4
func (o *GetPlatformTaskByIDBadRequest) GetPayload() *models.ResponseFailResponse
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
func (o *GetPlatformTaskByIDBadRequest) String() string
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
func (o *GetPlatformTaskByIDInternalServerError) Code() int
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 (o *GetPlatformTaskByIDInternalServerError) Error() string
func (*GetPlatformTaskByIDInternalServerError) GetPayload ¶ added in v1.0.4
func (o *GetPlatformTaskByIDInternalServerError) GetPayload() *models.ResponseErrorResponse
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
func (o *GetPlatformTaskByIDInternalServerError) IsCode(code int) bool
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
func (o *GetPlatformTaskByIDInternalServerError) IsRedirect() bool
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
func (o *GetPlatformTaskByIDInternalServerError) IsSuccess() bool
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
func (o *GetPlatformTaskByIDInternalServerError) String() string
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 (o *GetPlatformTaskByIDOK) GetPayload() *models.ResponseQueueTaskResponse
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
func (o *GetPlatformTaskByIDParams) WithContext(ctx context.Context) *GetPlatformTaskByIDParams
WithContext adds the context to the get platform task by Id params
func (*GetPlatformTaskByIDParams) WithDefaults ¶ added in v1.0.4
func (o *GetPlatformTaskByIDParams) WithDefaults() *GetPlatformTaskByIDParams
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
func (o *GetPlatformTaskByIDParams) WithID(id string) *GetPlatformTaskByIDParams
WithID adds the id to the get platform task by Id params
func (*GetPlatformTaskByIDParams) WithTimeout ¶ added in v1.0.4
func (o *GetPlatformTaskByIDParams) WithTimeout(timeout time.Duration) *GetPlatformTaskByIDParams
WithTimeout adds the timeout to the get platform task by Id params
func (*GetPlatformTaskByIDParams) WriteToRequest ¶ added in v1.0.4
func (o *GetPlatformTaskByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetTaskByIDDetailBadRequest) Error() string
func (*GetTaskByIDDetailBadRequest) GetPayload ¶
func (o *GetTaskByIDDetailBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetTaskByIDDetailInternalServerError) Code() int
Code gets the status code for the get task by Id detail internal server error response
func (*GetTaskByIDDetailInternalServerError) Error ¶
func (o *GetTaskByIDDetailInternalServerError) Error() string
func (*GetTaskByIDDetailInternalServerError) GetPayload ¶
func (o *GetTaskByIDDetailInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetTaskByIDDetailInternalServerError) IsCode(code int) bool
IsCode returns true when this get task by Id detail internal server error response a status code equal to that given
func (*GetTaskByIDDetailInternalServerError) IsRedirect ¶
func (o *GetTaskByIDDetailInternalServerError) IsRedirect() bool
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 ¶
func (o *GetTaskByIDDetailInternalServerError) IsSuccess() bool
IsSuccess returns true when this get task by Id detail internal server error response has a 2xx status code
func (*GetTaskByIDDetailInternalServerError) String ¶
func (o *GetTaskByIDDetailInternalServerError) String() 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 (o *GetTaskByIDDetailOK) GetPayload() *models.ResponseAPIKeyHistoryResponse
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 ¶
func (o *GetTaskByIDDetailParams) WithContext(ctx context.Context) *GetTaskByIDDetailParams
WithContext adds the context to the get task by Id detail params
func (*GetTaskByIDDetailParams) WithDefaults ¶
func (o *GetTaskByIDDetailParams) WithDefaults() *GetTaskByIDDetailParams
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 ¶
func (o *GetTaskByIDDetailParams) WithID(id string) *GetTaskByIDDetailParams
WithID adds the id to the get task by Id detail params
func (*GetTaskByIDDetailParams) WithTimeout ¶
func (o *GetTaskByIDDetailParams) WithTimeout(timeout time.Duration) *GetTaskByIDDetailParams
WithTimeout adds the timeout to the get task by Id detail params
func (*GetTaskByIDDetailParams) WriteToRequest ¶
func (o *GetTaskByIDDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetTaskHistoriesBadRequest) Error() string
func (*GetTaskHistoriesBadRequest) GetPayload ¶
func (o *GetTaskHistoriesBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetTaskHistoriesInternalServerError) Code() int
Code gets the status code for the get task histories internal server error response
func (*GetTaskHistoriesInternalServerError) Error ¶
func (o *GetTaskHistoriesInternalServerError) Error() string
func (*GetTaskHistoriesInternalServerError) GetPayload ¶
func (o *GetTaskHistoriesInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetTaskHistoriesInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetTaskHistoriesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get task histories internal server error response has a 2xx status code
func (*GetTaskHistoriesInternalServerError) String ¶
func (o *GetTaskHistoriesInternalServerError) String() 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 (o *GetTaskHistoriesOK) GetPayload() *models.ResponseAPIKeyHistoryListResponse
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 ¶
func (o *GetTaskHistoriesParams) WithContext(ctx context.Context) *GetTaskHistoriesParams
WithContext adds the context to the get task histories params
func (*GetTaskHistoriesParams) WithDefaults ¶
func (o *GetTaskHistoriesParams) WithDefaults() *GetTaskHistoriesParams
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 ¶
func (o *GetTaskHistoriesParams) WithTimeout(timeout time.Duration) *GetTaskHistoriesParams
WithTimeout adds the timeout to the get task histories params
func (*GetTaskHistoriesParams) WriteToRequest ¶
func (o *GetTaskHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostModelByIDTaskBadRequest) Error() string
func (*PostModelByIDTaskBadRequest) GetPayload ¶
func (o *PostModelByIDTaskBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostModelByIDTaskInternalServerError) Code() int
Code gets the status code for the post model by Id task internal server error response
func (*PostModelByIDTaskInternalServerError) Error ¶
func (o *PostModelByIDTaskInternalServerError) Error() string
func (*PostModelByIDTaskInternalServerError) GetPayload ¶
func (o *PostModelByIDTaskInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *PostModelByIDTaskInternalServerError) IsCode(code int) bool
IsCode returns true when this post model by Id task internal server error response a status code equal to that given
func (*PostModelByIDTaskInternalServerError) IsRedirect ¶
func (o *PostModelByIDTaskInternalServerError) IsRedirect() bool
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 ¶
func (o *PostModelByIDTaskInternalServerError) IsSuccess() bool
IsSuccess returns true when this post model by Id task internal server error response has a 2xx status code
func (*PostModelByIDTaskInternalServerError) String ¶
func (o *PostModelByIDTaskInternalServerError) String() 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 (o *PostModelByIDTaskOK) GetPayload() *models.ResponseDistributeTaskResponse
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 ¶
func (o *PostModelByIDTaskParams) SetInput(input models.RequestDistributeTaskWithAPIKeyRequest)
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 ¶
func (o *PostModelByIDTaskParams) WithContext(ctx context.Context) *PostModelByIDTaskParams
WithContext adds the context to the post model by Id task params
func (*PostModelByIDTaskParams) WithDefaults ¶
func (o *PostModelByIDTaskParams) WithDefaults() *PostModelByIDTaskParams
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 ¶
func (o *PostModelByIDTaskParams) WithID(id string) *PostModelByIDTaskParams
WithID adds the id to the post model by Id task params
func (*PostModelByIDTaskParams) WithInput ¶
func (o *PostModelByIDTaskParams) WithInput(input models.RequestDistributeTaskWithAPIKeyRequest) *PostModelByIDTaskParams
WithInput adds the input to the post model by Id task params
func (*PostModelByIDTaskParams) WithTimeout ¶
func (o *PostModelByIDTaskParams) WithTimeout(timeout time.Duration) *PostModelByIDTaskParams
WithTimeout adds the timeout to the post model by Id task params
func (*PostModelByIDTaskParams) WriteToRequest ¶
func (o *PostModelByIDTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *PostModelByIDTaskReviewsBadRequest) Code() int
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 (o *PostModelByIDTaskReviewsBadRequest) Error() string
func (*PostModelByIDTaskReviewsBadRequest) GetPayload ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsBadRequest) GetPayload() *models.ResponseFailResponse
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
func (o *PostModelByIDTaskReviewsBadRequest) IsCode(code int) bool
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
func (o *PostModelByIDTaskReviewsBadRequest) IsSuccess() bool
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
func (o *PostModelByIDTaskReviewsBadRequest) String() string
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
func (o *PostModelByIDTaskReviewsInternalServerError) Code() int
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 (o *PostModelByIDTaskReviewsInternalServerError) Error() string
func (*PostModelByIDTaskReviewsInternalServerError) GetPayload ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostModelByIDTaskReviewsInternalServerError) IsClientError ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsInternalServerError) IsClientError() bool
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
func (o *PostModelByIDTaskReviewsInternalServerError) IsCode(code int) bool
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
func (o *PostModelByIDTaskReviewsInternalServerError) IsRedirect() bool
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
func (o *PostModelByIDTaskReviewsInternalServerError) IsServerError() bool
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
func (o *PostModelByIDTaskReviewsInternalServerError) IsSuccess() bool
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
func (o *PostModelByIDTaskReviewsInternalServerError) String() string
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 (o *PostModelByIDTaskReviewsOK) Error() string
func (*PostModelByIDTaskReviewsOK) GetPayload ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsOK) GetPayload() *models.ResponseTaskReviewsResponse
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
func (o *PostModelByIDTaskReviewsParams) SetID(id string)
SetID adds the id to the post model by Id task reviews params
func (*PostModelByIDTaskReviewsParams) SetInput ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsParams) SetInput(input *models.RequestCreateTaskReviewsRequest)
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
func (o *PostModelByIDTaskReviewsParams) WithContext(ctx context.Context) *PostModelByIDTaskReviewsParams
WithContext adds the context to the post model by Id task reviews params
func (*PostModelByIDTaskReviewsParams) WithDefaults ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsParams) WithDefaults() *PostModelByIDTaskReviewsParams
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
func (o *PostModelByIDTaskReviewsParams) WithHTTPClient(client *http.Client) *PostModelByIDTaskReviewsParams
WithHTTPClient adds the HTTPClient to the post model by Id task reviews params
func (*PostModelByIDTaskReviewsParams) WithID ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsParams) WithID(id string) *PostModelByIDTaskReviewsParams
WithID adds the id to the post model by Id task reviews params
func (*PostModelByIDTaskReviewsParams) WithInput ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsParams) WithInput(input *models.RequestCreateTaskReviewsRequest) *PostModelByIDTaskReviewsParams
WithInput adds the input to the post model by Id task reviews params
func (*PostModelByIDTaskReviewsParams) WithTimeout ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsParams) WithTimeout(timeout time.Duration) *PostModelByIDTaskReviewsParams
WithTimeout adds the timeout to the post model by Id task reviews params
func (*PostModelByIDTaskReviewsParams) WriteToRequest ¶ added in v1.0.4
func (o *PostModelByIDTaskReviewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostTaskBadRequest) GetPayload() *models.ResponseFailResponse
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 (o *PostTaskInternalServerError) Error() string
func (*PostTaskInternalServerError) GetPayload ¶
func (o *PostTaskInternalServerError) GetPayload() *models.ResponseErrorResponse
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 (o *PostTaskOK) GetPayload() *models.ResponseDistributeTaskResponse
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 ¶
func (o *PostTaskParams) SetInput(input *models.RequestDistributeTaskRequest)
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 ¶
func (o *PostTaskParams) WithInput(input *models.RequestDistributeTaskRequest) *PostTaskParams
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.
Source Files
¶
- delete_task_by_id_cancel_parameters.go
- delete_task_by_id_cancel_responses.go
- get_model_task_by_id_reviews_parameters.go
- get_model_task_by_id_reviews_responses.go
- get_platform_task_by_id_parameters.go
- get_platform_task_by_id_responses.go
- get_task_by_id_detail_parameters.go
- get_task_by_id_detail_responses.go
- get_task_histories_parameters.go
- get_task_histories_responses.go
- post_model_by_id_task_parameters.go
- post_model_by_id_task_responses.go
- post_model_by_id_task_reviews_parameters.go
- post_model_by_id_task_reviews_responses.go
- post_task_parameters.go
- post_task_responses.go
- task_client.go