api_key_platform_task

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

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

Types

type Client

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

Client for api key platform task API

func (*Client) GetAPIKeyPlatformTaskDatasetIDTraining

GetAPIKeyPlatformTaskDatasetIDTraining gets list platform task by dataset Id and user Id by Api key

func (*Client) GetAPIKeyPlatformTaskID

func (a *Client) GetAPIKeyPlatformTaskID(params *GetAPIKeyPlatformTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPlatformTaskIDOK, error)

GetAPIKeyPlatformTaskID gets platform task by Id by Api key

func (*Client) GetAPIKeyPlatformTaskModelIDVerify

func (a *Client) GetAPIKeyPlatformTaskModelIDVerify(params *GetAPIKeyPlatformTaskModelIDVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPlatformTaskModelIDVerifyOK, error)

GetAPIKeyPlatformTaskModelIDVerify gets list platform task by model Id and user Id by Api key

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 {
	GetAPIKeyPlatformTaskDatasetIDTraining(params *GetAPIKeyPlatformTaskDatasetIDTrainingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPlatformTaskDatasetIDTrainingOK, error)

	GetAPIKeyPlatformTaskID(params *GetAPIKeyPlatformTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPlatformTaskIDOK, error)

	GetAPIKeyPlatformTaskModelIDVerify(params *GetAPIKeyPlatformTaskModelIDVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPlatformTaskModelIDVerifyOK, 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 api key platform task API client.

func NewClientWithBasicAuth

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

New creates a new api key platform 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 api key platform 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 GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest

type GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyPlatformTaskDatasetIDTrainingBadRequest

func NewGetAPIKeyPlatformTaskDatasetIDTrainingBadRequest() *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest

NewGetAPIKeyPlatformTaskDatasetIDTrainingBadRequest creates a GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest with default headers values

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) Code

Code gets the status code for the get Api key platform task dataset Id training bad request response

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) Error

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) GetPayload

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsClientError

IsClientError returns true when this get Api key platform task dataset Id training bad request response has a 4xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsCode

IsCode returns true when this get Api key platform task dataset Id training bad request response a status code equal to that given

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsRedirect

IsRedirect returns true when this get Api key platform task dataset Id training bad request response has a 3xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsServerError

IsServerError returns true when this get Api key platform task dataset Id training bad request response has a 5xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsSuccess

IsSuccess returns true when this get Api key platform task dataset Id training bad request response has a 2xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) String

type GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError

type GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError

func NewGetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError() *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError

NewGetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError creates a GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError with default headers values

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) Code

Code gets the status code for the get Api key platform task dataset Id training internal server error response

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) Error

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) GetPayload

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsClientError

IsClientError returns true when this get Api key platform task dataset Id training internal server error response has a 4xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsCode

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

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsRedirect

IsRedirect returns true when this get Api key platform task dataset Id training internal server error response has a 3xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsServerError

IsServerError returns true when this get Api key platform task dataset Id training internal server error response has a 5xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsSuccess

IsSuccess returns true when this get Api key platform task dataset Id training internal server error response has a 2xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) String

type GetAPIKeyPlatformTaskDatasetIDTrainingOK

type GetAPIKeyPlatformTaskDatasetIDTrainingOK struct {
	Payload *models.ResponseQueueTaskListResponse
}

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

OK

func NewGetAPIKeyPlatformTaskDatasetIDTrainingOK

func NewGetAPIKeyPlatformTaskDatasetIDTrainingOK() *GetAPIKeyPlatformTaskDatasetIDTrainingOK

NewGetAPIKeyPlatformTaskDatasetIDTrainingOK creates a GetAPIKeyPlatformTaskDatasetIDTrainingOK with default headers values

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) Code

Code gets the status code for the get Api key platform task dataset Id training o k response

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) Error

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) GetPayload

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsClientError

IsClientError returns true when this get Api key platform task dataset Id training o k response has a 4xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsCode

IsCode returns true when this get Api key platform task dataset Id training o k response a status code equal to that given

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsRedirect

IsRedirect returns true when this get Api key platform task dataset Id training o k response has a 3xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsServerError

IsServerError returns true when this get Api key platform task dataset Id training o k response has a 5xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsSuccess

IsSuccess returns true when this get Api key platform task dataset Id training o k response has a 2xx status code

func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) String

type GetAPIKeyPlatformTaskDatasetIDTrainingParams

type GetAPIKeyPlatformTaskDatasetIDTrainingParams struct {

	/* ID.

	   Dataset's Id
	*/
	ID string

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

	// Offset.
	Offset *int64

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

GetAPIKeyPlatformTaskDatasetIDTrainingParams contains all the parameters to send to the API endpoint

for the get API key platform task dataset ID training operation.

Typically these are written to a http.Request.

func NewGetAPIKeyPlatformTaskDatasetIDTrainingParams

func NewGetAPIKeyPlatformTaskDatasetIDTrainingParams() *GetAPIKeyPlatformTaskDatasetIDTrainingParams

NewGetAPIKeyPlatformTaskDatasetIDTrainingParams creates a new GetAPIKeyPlatformTaskDatasetIDTrainingParams 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 NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithContext

func NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithContext(ctx context.Context) *GetAPIKeyPlatformTaskDatasetIDTrainingParams

NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithContext creates a new GetAPIKeyPlatformTaskDatasetIDTrainingParams object with the ability to set a context for a request.

func NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithHTTPClient

func NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskDatasetIDTrainingParams

NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithHTTPClient creates a new GetAPIKeyPlatformTaskDatasetIDTrainingParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithTimeout

func NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskDatasetIDTrainingParams

NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithTimeout creates a new GetAPIKeyPlatformTaskDatasetIDTrainingParams object with the ability to set a timeout on a request.

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetContext

SetContext adds the context to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetDefaults

SetDefaults hydrates default values in the get API key platform task dataset ID training params (not the query body).

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

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetID

SetID adds the id to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetLimit

SetLimit adds the limit to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetOffset

SetOffset adds the offset to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetTimeout

SetTimeout adds the timeout to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithContext

WithContext adds the context to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithDefaults

WithDefaults hydrates default values in the get API key platform task dataset ID training params (not the query body).

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

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithID

WithID adds the id to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithLimit

WithLimit adds the limit to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithOffset

WithOffset adds the offset to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithTimeout

WithTimeout adds the timeout to the get API key platform task dataset ID training params

func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyPlatformTaskDatasetIDTrainingReader

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

GetAPIKeyPlatformTaskDatasetIDTrainingReader is a Reader for the GetAPIKeyPlatformTaskDatasetIDTraining structure.

func (*GetAPIKeyPlatformTaskDatasetIDTrainingReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetAPIKeyPlatformTaskIDBadRequest

type GetAPIKeyPlatformTaskIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyPlatformTaskIDBadRequest

func NewGetAPIKeyPlatformTaskIDBadRequest() *GetAPIKeyPlatformTaskIDBadRequest

NewGetAPIKeyPlatformTaskIDBadRequest creates a GetAPIKeyPlatformTaskIDBadRequest with default headers values

func (*GetAPIKeyPlatformTaskIDBadRequest) Code

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

func (*GetAPIKeyPlatformTaskIDBadRequest) Error

func (*GetAPIKeyPlatformTaskIDBadRequest) GetPayload

func (*GetAPIKeyPlatformTaskIDBadRequest) IsClientError

func (o *GetAPIKeyPlatformTaskIDBadRequest) IsClientError() bool

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

func (*GetAPIKeyPlatformTaskIDBadRequest) IsCode

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

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

func (*GetAPIKeyPlatformTaskIDBadRequest) IsRedirect

func (o *GetAPIKeyPlatformTaskIDBadRequest) IsRedirect() bool

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

func (*GetAPIKeyPlatformTaskIDBadRequest) IsServerError

func (o *GetAPIKeyPlatformTaskIDBadRequest) IsServerError() bool

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

func (*GetAPIKeyPlatformTaskIDBadRequest) IsSuccess

func (o *GetAPIKeyPlatformTaskIDBadRequest) IsSuccess() bool

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

func (*GetAPIKeyPlatformTaskIDBadRequest) String

type GetAPIKeyPlatformTaskIDInternalServerError

type GetAPIKeyPlatformTaskIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyPlatformTaskIDInternalServerError

func NewGetAPIKeyPlatformTaskIDInternalServerError() *GetAPIKeyPlatformTaskIDInternalServerError

NewGetAPIKeyPlatformTaskIDInternalServerError creates a GetAPIKeyPlatformTaskIDInternalServerError with default headers values

func (*GetAPIKeyPlatformTaskIDInternalServerError) Code

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

func (*GetAPIKeyPlatformTaskIDInternalServerError) Error

func (*GetAPIKeyPlatformTaskIDInternalServerError) GetPayload

func (*GetAPIKeyPlatformTaskIDInternalServerError) IsClientError

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

func (*GetAPIKeyPlatformTaskIDInternalServerError) IsCode

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

func (*GetAPIKeyPlatformTaskIDInternalServerError) IsRedirect

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

func (*GetAPIKeyPlatformTaskIDInternalServerError) IsServerError

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

func (*GetAPIKeyPlatformTaskIDInternalServerError) IsSuccess

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

func (*GetAPIKeyPlatformTaskIDInternalServerError) String

type GetAPIKeyPlatformTaskIDOK

type GetAPIKeyPlatformTaskIDOK struct {
	Payload *models.ResponseQueueTaskResponse
}

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

OK

func NewGetAPIKeyPlatformTaskIDOK

func NewGetAPIKeyPlatformTaskIDOK() *GetAPIKeyPlatformTaskIDOK

NewGetAPIKeyPlatformTaskIDOK creates a GetAPIKeyPlatformTaskIDOK with default headers values

func (*GetAPIKeyPlatformTaskIDOK) Code

func (o *GetAPIKeyPlatformTaskIDOK) Code() int

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

func (*GetAPIKeyPlatformTaskIDOK) Error

func (o *GetAPIKeyPlatformTaskIDOK) Error() string

func (*GetAPIKeyPlatformTaskIDOK) GetPayload

func (*GetAPIKeyPlatformTaskIDOK) IsClientError

func (o *GetAPIKeyPlatformTaskIDOK) IsClientError() bool

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

func (*GetAPIKeyPlatformTaskIDOK) IsCode

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

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

func (*GetAPIKeyPlatformTaskIDOK) IsRedirect

func (o *GetAPIKeyPlatformTaskIDOK) IsRedirect() bool

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

func (*GetAPIKeyPlatformTaskIDOK) IsServerError

func (o *GetAPIKeyPlatformTaskIDOK) IsServerError() bool

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

func (*GetAPIKeyPlatformTaskIDOK) IsSuccess

func (o *GetAPIKeyPlatformTaskIDOK) IsSuccess() bool

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

func (*GetAPIKeyPlatformTaskIDOK) String

func (o *GetAPIKeyPlatformTaskIDOK) String() string

type GetAPIKeyPlatformTaskIDParams

type GetAPIKeyPlatformTaskIDParams struct {

	/* ID.

	   Task's Id
	*/
	ID string

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

GetAPIKeyPlatformTaskIDParams contains all the parameters to send to the API endpoint

for the get API key platform task ID operation.

Typically these are written to a http.Request.

func NewGetAPIKeyPlatformTaskIDParams

func NewGetAPIKeyPlatformTaskIDParams() *GetAPIKeyPlatformTaskIDParams

NewGetAPIKeyPlatformTaskIDParams creates a new GetAPIKeyPlatformTaskIDParams 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 NewGetAPIKeyPlatformTaskIDParamsWithContext

func NewGetAPIKeyPlatformTaskIDParamsWithContext(ctx context.Context) *GetAPIKeyPlatformTaskIDParams

NewGetAPIKeyPlatformTaskIDParamsWithContext creates a new GetAPIKeyPlatformTaskIDParams object with the ability to set a context for a request.

func NewGetAPIKeyPlatformTaskIDParamsWithHTTPClient

func NewGetAPIKeyPlatformTaskIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskIDParams

NewGetAPIKeyPlatformTaskIDParamsWithHTTPClient creates a new GetAPIKeyPlatformTaskIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyPlatformTaskIDParamsWithTimeout

func NewGetAPIKeyPlatformTaskIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskIDParams

NewGetAPIKeyPlatformTaskIDParamsWithTimeout creates a new GetAPIKeyPlatformTaskIDParams object with the ability to set a timeout on a request.

func (*GetAPIKeyPlatformTaskIDParams) SetContext

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

SetContext adds the context to the get API key platform task ID params

func (*GetAPIKeyPlatformTaskIDParams) SetDefaults

func (o *GetAPIKeyPlatformTaskIDParams) SetDefaults()

SetDefaults hydrates default values in the get API key platform task ID params (not the query body).

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

func (*GetAPIKeyPlatformTaskIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key platform task ID params

func (*GetAPIKeyPlatformTaskIDParams) SetID

SetID adds the id to the get API key platform task ID params

func (*GetAPIKeyPlatformTaskIDParams) SetTimeout

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

SetTimeout adds the timeout to the get API key platform task ID params

func (*GetAPIKeyPlatformTaskIDParams) WithContext

WithContext adds the context to the get API key platform task ID params

func (*GetAPIKeyPlatformTaskIDParams) WithDefaults

WithDefaults hydrates default values in the get API key platform task ID params (not the query body).

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

func (*GetAPIKeyPlatformTaskIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key platform task ID params

func (*GetAPIKeyPlatformTaskIDParams) WithID

WithID adds the id to the get API key platform task ID params

func (*GetAPIKeyPlatformTaskIDParams) WithTimeout

WithTimeout adds the timeout to the get API key platform task ID params

func (*GetAPIKeyPlatformTaskIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyPlatformTaskIDReader

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

GetAPIKeyPlatformTaskIDReader is a Reader for the GetAPIKeyPlatformTaskID structure.

func (*GetAPIKeyPlatformTaskIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyPlatformTaskModelIDVerifyBadRequest

type GetAPIKeyPlatformTaskModelIDVerifyBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyPlatformTaskModelIDVerifyBadRequest

func NewGetAPIKeyPlatformTaskModelIDVerifyBadRequest() *GetAPIKeyPlatformTaskModelIDVerifyBadRequest

NewGetAPIKeyPlatformTaskModelIDVerifyBadRequest creates a GetAPIKeyPlatformTaskModelIDVerifyBadRequest with default headers values

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) Code

Code gets the status code for the get Api key platform task model Id verify bad request response

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) Error

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) GetPayload

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsClientError

IsClientError returns true when this get Api key platform task model Id verify bad request response has a 4xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsCode

IsCode returns true when this get Api key platform task model Id verify bad request response a status code equal to that given

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsRedirect

IsRedirect returns true when this get Api key platform task model Id verify bad request response has a 3xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsServerError

IsServerError returns true when this get Api key platform task model Id verify bad request response has a 5xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsSuccess

IsSuccess returns true when this get Api key platform task model Id verify bad request response has a 2xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) String

type GetAPIKeyPlatformTaskModelIDVerifyInternalServerError

type GetAPIKeyPlatformTaskModelIDVerifyInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyPlatformTaskModelIDVerifyInternalServerError

func NewGetAPIKeyPlatformTaskModelIDVerifyInternalServerError() *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError

NewGetAPIKeyPlatformTaskModelIDVerifyInternalServerError creates a GetAPIKeyPlatformTaskModelIDVerifyInternalServerError with default headers values

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) Code

Code gets the status code for the get Api key platform task model Id verify internal server error response

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) Error

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) GetPayload

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsClientError

IsClientError returns true when this get Api key platform task model Id verify internal server error response has a 4xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsCode

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

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsRedirect

IsRedirect returns true when this get Api key platform task model Id verify internal server error response has a 3xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsServerError

IsServerError returns true when this get Api key platform task model Id verify internal server error response has a 5xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsSuccess

IsSuccess returns true when this get Api key platform task model Id verify internal server error response has a 2xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) String

type GetAPIKeyPlatformTaskModelIDVerifyOK

type GetAPIKeyPlatformTaskModelIDVerifyOK struct {
	Payload *models.ResponseQueueTaskListResponse
}

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

OK

func NewGetAPIKeyPlatformTaskModelIDVerifyOK

func NewGetAPIKeyPlatformTaskModelIDVerifyOK() *GetAPIKeyPlatformTaskModelIDVerifyOK

NewGetAPIKeyPlatformTaskModelIDVerifyOK creates a GetAPIKeyPlatformTaskModelIDVerifyOK with default headers values

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) Code

Code gets the status code for the get Api key platform task model Id verify o k response

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) Error

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) GetPayload

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) IsClientError

func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsClientError() bool

IsClientError returns true when this get Api key platform task model Id verify o k response has a 4xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) IsCode

IsCode returns true when this get Api key platform task model Id verify o k response a status code equal to that given

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) IsRedirect

IsRedirect returns true when this get Api key platform task model Id verify o k response has a 3xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) IsServerError

func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsServerError() bool

IsServerError returns true when this get Api key platform task model Id verify o k response has a 5xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) IsSuccess

IsSuccess returns true when this get Api key platform task model Id verify o k response has a 2xx status code

func (*GetAPIKeyPlatformTaskModelIDVerifyOK) String

type GetAPIKeyPlatformTaskModelIDVerifyParams

type GetAPIKeyPlatformTaskModelIDVerifyParams struct {

	/* ID.

	   Model's Id
	*/
	ID string

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

	// Offset.
	Offset *int64

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

GetAPIKeyPlatformTaskModelIDVerifyParams contains all the parameters to send to the API endpoint

for the get API key platform task model ID verify operation.

Typically these are written to a http.Request.

func NewGetAPIKeyPlatformTaskModelIDVerifyParams

func NewGetAPIKeyPlatformTaskModelIDVerifyParams() *GetAPIKeyPlatformTaskModelIDVerifyParams

NewGetAPIKeyPlatformTaskModelIDVerifyParams creates a new GetAPIKeyPlatformTaskModelIDVerifyParams 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 NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithContext

func NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithContext(ctx context.Context) *GetAPIKeyPlatformTaskModelIDVerifyParams

NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithContext creates a new GetAPIKeyPlatformTaskModelIDVerifyParams object with the ability to set a context for a request.

func NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithHTTPClient

func NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskModelIDVerifyParams

NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithHTTPClient creates a new GetAPIKeyPlatformTaskModelIDVerifyParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithTimeout

func NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskModelIDVerifyParams

NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithTimeout creates a new GetAPIKeyPlatformTaskModelIDVerifyParams object with the ability to set a timeout on a request.

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) SetContext

SetContext adds the context to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) SetDefaults

SetDefaults hydrates default values in the get API key platform task model ID verify params (not the query body).

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

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) SetID

SetID adds the id to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) SetLimit

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

SetLimit adds the limit to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) SetOffset

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

SetOffset adds the offset to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) SetTimeout

SetTimeout adds the timeout to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithContext

WithContext adds the context to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithDefaults

WithDefaults hydrates default values in the get API key platform task model ID verify params (not the query body).

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

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithID

WithID adds the id to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithLimit

WithLimit adds the limit to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithOffset

WithOffset adds the offset to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithTimeout

WithTimeout adds the timeout to the get API key platform task model ID verify params

func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyPlatformTaskModelIDVerifyReader

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

GetAPIKeyPlatformTaskModelIDVerifyReader is a Reader for the GetAPIKeyPlatformTaskModelIDVerify structure.

func (*GetAPIKeyPlatformTaskModelIDVerifyReader) ReadResponse

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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