Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetAPIKeyPlatformTaskDatasetIDTraining(params *GetAPIKeyPlatformTaskDatasetIDTrainingParams, ...) (*GetAPIKeyPlatformTaskDatasetIDTrainingOK, error)
- func (a *Client) GetAPIKeyPlatformTaskID(params *GetAPIKeyPlatformTaskIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyPlatformTaskIDOK, error)
- func (a *Client) GetAPIKeyPlatformTaskModelIDVerify(params *GetAPIKeyPlatformTaskModelIDVerifyParams, ...) (*GetAPIKeyPlatformTaskModelIDVerifyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) Code() int
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) Error() string
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) String() string
- type GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) Code() int
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) Error() string
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) String() string
- type GetAPIKeyPlatformTaskDatasetIDTrainingOK
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) Code() int
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) Error() string
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) GetPayload() *models.ResponseQueueTaskListResponse
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) String() string
- type GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func NewGetAPIKeyPlatformTaskDatasetIDTrainingParams() *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithContext(ctx context.Context) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func NewGetAPIKeyPlatformTaskDatasetIDTrainingParamsWithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetDefaults()
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetID(id string)
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetLimit(limit *int64)
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetOffset(offset *int64)
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithContext(ctx context.Context) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithDefaults() *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithID(id string) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithLimit(limit *int64) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithOffset(offset *int64) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
- func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyPlatformTaskDatasetIDTrainingReader
- type GetAPIKeyPlatformTaskIDBadRequest
- func (o *GetAPIKeyPlatformTaskIDBadRequest) Code() int
- func (o *GetAPIKeyPlatformTaskIDBadRequest) Error() string
- func (o *GetAPIKeyPlatformTaskIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyPlatformTaskIDBadRequest) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskIDBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskIDBadRequest) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskIDBadRequest) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskIDBadRequest) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskIDBadRequest) String() string
- type GetAPIKeyPlatformTaskIDInternalServerError
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) Code() int
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) Error() string
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskIDInternalServerError) String() string
- type GetAPIKeyPlatformTaskIDOK
- func (o *GetAPIKeyPlatformTaskIDOK) Code() int
- func (o *GetAPIKeyPlatformTaskIDOK) Error() string
- func (o *GetAPIKeyPlatformTaskIDOK) GetPayload() *models.ResponseQueueTaskResponse
- func (o *GetAPIKeyPlatformTaskIDOK) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskIDOK) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskIDOK) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskIDOK) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskIDOK) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskIDOK) String() string
- type GetAPIKeyPlatformTaskIDParams
- func NewGetAPIKeyPlatformTaskIDParams() *GetAPIKeyPlatformTaskIDParams
- func NewGetAPIKeyPlatformTaskIDParamsWithContext(ctx context.Context) *GetAPIKeyPlatformTaskIDParams
- func NewGetAPIKeyPlatformTaskIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskIDParams
- func NewGetAPIKeyPlatformTaskIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskIDParams
- func (o *GetAPIKeyPlatformTaskIDParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyPlatformTaskIDParams) SetDefaults()
- func (o *GetAPIKeyPlatformTaskIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyPlatformTaskIDParams) SetID(id string)
- func (o *GetAPIKeyPlatformTaskIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyPlatformTaskIDParams) WithContext(ctx context.Context) *GetAPIKeyPlatformTaskIDParams
- func (o *GetAPIKeyPlatformTaskIDParams) WithDefaults() *GetAPIKeyPlatformTaskIDParams
- func (o *GetAPIKeyPlatformTaskIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskIDParams
- func (o *GetAPIKeyPlatformTaskIDParams) WithID(id string) *GetAPIKeyPlatformTaskIDParams
- func (o *GetAPIKeyPlatformTaskIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskIDParams
- func (o *GetAPIKeyPlatformTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyPlatformTaskIDReader
- type GetAPIKeyPlatformTaskModelIDVerifyBadRequest
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) Code() int
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) Error() string
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) String() string
- type GetAPIKeyPlatformTaskModelIDVerifyInternalServerError
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) Code() int
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) Error() string
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) String() string
- type GetAPIKeyPlatformTaskModelIDVerifyOK
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) Code() int
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) Error() string
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) GetPayload() *models.ResponseQueueTaskListResponse
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsClientError() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsCode(code int) bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsRedirect() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsServerError() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsSuccess() bool
- func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) String() string
- type GetAPIKeyPlatformTaskModelIDVerifyParams
- func NewGetAPIKeyPlatformTaskModelIDVerifyParams() *GetAPIKeyPlatformTaskModelIDVerifyParams
- func NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithContext(ctx context.Context) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func NewGetAPIKeyPlatformTaskModelIDVerifyParamsWithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetDefaults()
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetID(id string)
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetLimit(limit *int64)
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetOffset(offset *int64)
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithContext(ctx context.Context) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithDefaults() *GetAPIKeyPlatformTaskModelIDVerifyParams
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithID(id string) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithLimit(limit *int64) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithOffset(offset *int64) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskModelIDVerifyParams
- func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyPlatformTaskModelIDVerifyReader
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 ¶
func (a *Client) GetAPIKeyPlatformTaskDatasetIDTraining(params *GetAPIKeyPlatformTaskDatasetIDTrainingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyPlatformTaskDatasetIDTrainingOK, error)
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) Code() int
Code gets the status code for the get Api key platform task dataset Id training bad request response
func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) Error ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) Error() string
func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) GetPayload ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsClientError ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsClientError() bool
IsClientError returns true when this get Api key platform task dataset Id training bad request response has a 4xx status code
func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsCode ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key platform task dataset Id training bad request response has a 3xx status code
func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsServerError ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsServerError() bool
IsServerError returns true when this get Api key platform task dataset Id training bad request response has a 5xx status code
func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsSuccess ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key platform task dataset Id training bad request response has a 2xx status code
func (*GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) String ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingBadRequest) String() 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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) Code() int
Code gets the status code for the get Api key platform task dataset Id training internal server error response
func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) Error ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) Error() string
func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) GetPayload ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsClientError ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsClientError() bool
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsRedirect() bool
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsServerError() bool
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) IsSuccess() bool
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingInternalServerError) String() 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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) Code() int
Code gets the status code for the get Api key platform task dataset Id training o k response
func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) Error ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) Error() string
func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) GetPayload ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) GetPayload() *models.ResponseQueueTaskListResponse
func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsClientError ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsClientError() bool
IsClientError returns true when this get Api key platform task dataset Id training o k response has a 4xx status code
func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsCode ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsRedirect() bool
IsRedirect returns true when this get Api key platform task dataset Id training o k response has a 3xx status code
func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsServerError ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsServerError() bool
IsServerError returns true when this get Api key platform task dataset Id training o k response has a 5xx status code
func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsSuccess ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) IsSuccess() bool
IsSuccess returns true when this get Api key platform task dataset Id training o k response has a 2xx status code
func (*GetAPIKeyPlatformTaskDatasetIDTrainingOK) String ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingOK) String() 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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetDefaults ¶
func (o *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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetID(id string)
SetID adds the id to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetLimit ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetLimit(limit *int64)
SetLimit adds the limit to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetOffset ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetOffset(offset *int64)
SetOffset adds the offset to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetTimeout ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithContext ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithContext(ctx context.Context) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
WithContext adds the context to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithDefaults ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithDefaults() *GetAPIKeyPlatformTaskDatasetIDTrainingParams
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
WithHTTPClient adds the HTTPClient to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithID ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithID(id string) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
WithID adds the id to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithLimit ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithLimit(limit *int64) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
WithLimit adds the limit to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithOffset ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithOffset(offset *int64) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
WithOffset adds the offset to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithTimeout ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskDatasetIDTrainingParams
WithTimeout adds the timeout to the get API key platform task dataset ID training params
func (*GetAPIKeyPlatformTaskDatasetIDTrainingParams) WriteToRequest ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAPIKeyPlatformTaskDatasetIDTrainingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
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 ¶
func (o *GetAPIKeyPlatformTaskIDBadRequest) Code() int
Code gets the status code for the get Api key platform task Id bad request response
func (*GetAPIKeyPlatformTaskIDBadRequest) Error ¶
func (o *GetAPIKeyPlatformTaskIDBadRequest) Error() string
func (*GetAPIKeyPlatformTaskIDBadRequest) GetPayload ¶
func (o *GetAPIKeyPlatformTaskIDBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetAPIKeyPlatformTaskIDBadRequest) String() 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 ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) Code() int
Code gets the status code for the get Api key platform task Id internal server error response
func (*GetAPIKeyPlatformTaskIDInternalServerError) Error ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) Error() string
func (*GetAPIKeyPlatformTaskIDInternalServerError) GetPayload ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyPlatformTaskIDInternalServerError) IsClientError ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key platform task Id internal server error response has a 4xx status code
func (*GetAPIKeyPlatformTaskIDInternalServerError) IsCode ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key platform task Id internal server error response has a 3xx status code
func (*GetAPIKeyPlatformTaskIDInternalServerError) IsServerError ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key platform task Id internal server error response has a 5xx status code
func (*GetAPIKeyPlatformTaskIDInternalServerError) IsSuccess ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key platform task Id internal server error response has a 2xx status code
func (*GetAPIKeyPlatformTaskIDInternalServerError) String ¶
func (o *GetAPIKeyPlatformTaskIDInternalServerError) String() 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 (o *GetAPIKeyPlatformTaskIDOK) GetPayload() *models.ResponseQueueTaskResponse
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 ¶
func (o *GetAPIKeyPlatformTaskIDParams) SetID(id string)
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 ¶
func (o *GetAPIKeyPlatformTaskIDParams) WithContext(ctx context.Context) *GetAPIKeyPlatformTaskIDParams
WithContext adds the context to the get API key platform task ID params
func (*GetAPIKeyPlatformTaskIDParams) WithDefaults ¶
func (o *GetAPIKeyPlatformTaskIDParams) WithDefaults() *GetAPIKeyPlatformTaskIDParams
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 ¶
func (o *GetAPIKeyPlatformTaskIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskIDParams
WithHTTPClient adds the HTTPClient to the get API key platform task ID params
func (*GetAPIKeyPlatformTaskIDParams) WithID ¶
func (o *GetAPIKeyPlatformTaskIDParams) WithID(id string) *GetAPIKeyPlatformTaskIDParams
WithID adds the id to the get API key platform task ID params
func (*GetAPIKeyPlatformTaskIDParams) WithTimeout ¶
func (o *GetAPIKeyPlatformTaskIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskIDParams
WithTimeout adds the timeout to the get API key platform task ID params
func (*GetAPIKeyPlatformTaskIDParams) WriteToRequest ¶
func (o *GetAPIKeyPlatformTaskIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) Code() int
Code gets the status code for the get Api key platform task model Id verify bad request response
func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) Error ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) Error() string
func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) GetPayload ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsClientError ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsClientError() bool
IsClientError returns true when this get Api key platform task model Id verify bad request response has a 4xx status code
func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsCode ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key platform task model Id verify bad request response has a 3xx status code
func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsServerError ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsServerError() bool
IsServerError returns true when this get Api key platform task model Id verify bad request response has a 5xx status code
func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsSuccess ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key platform task model Id verify bad request response has a 2xx status code
func (*GetAPIKeyPlatformTaskModelIDVerifyBadRequest) String ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyBadRequest) String() 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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) Code() int
Code gets the status code for the get Api key platform task model Id verify internal server error response
func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) Error ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) Error() string
func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) GetPayload ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsClientError ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsClientError() bool
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsRedirect() bool
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsServerError() bool
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) IsSuccess() bool
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyInternalServerError) String() 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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) Code() int
Code gets the status code for the get Api key platform task model Id verify o k response
func (*GetAPIKeyPlatformTaskModelIDVerifyOK) Error ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) Error() string
func (*GetAPIKeyPlatformTaskModelIDVerifyOK) GetPayload ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) GetPayload() *models.ResponseQueueTaskListResponse
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsCode(code int) bool
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsRedirect() bool
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) IsSuccess() bool
IsSuccess returns true when this get Api key platform task model Id verify o k response has a 2xx status code
func (*GetAPIKeyPlatformTaskModelIDVerifyOK) String ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyOK) String() 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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key platform task model ID verify params
func (*GetAPIKeyPlatformTaskModelIDVerifyParams) SetDefaults ¶
func (o *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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetID(id string)
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key platform task model ID verify params
func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithContext ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithContext(ctx context.Context) *GetAPIKeyPlatformTaskModelIDVerifyParams
WithContext adds the context to the get API key platform task model ID verify params
func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithDefaults ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithDefaults() *GetAPIKeyPlatformTaskModelIDVerifyParams
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithHTTPClient(client *http.Client) *GetAPIKeyPlatformTaskModelIDVerifyParams
WithHTTPClient adds the HTTPClient to the get API key platform task model ID verify params
func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithID ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithID(id string) *GetAPIKeyPlatformTaskModelIDVerifyParams
WithID adds the id to the get API key platform task model ID verify params
func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithLimit ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithLimit(limit *int64) *GetAPIKeyPlatformTaskModelIDVerifyParams
WithLimit adds the limit to the get API key platform task model ID verify params
func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithOffset ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithOffset(offset *int64) *GetAPIKeyPlatformTaskModelIDVerifyParams
WithOffset adds the offset to the get API key platform task model ID verify params
func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WithTimeout ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WithTimeout(timeout time.Duration) *GetAPIKeyPlatformTaskModelIDVerifyParams
WithTimeout adds the timeout to the get API key platform task model ID verify params
func (*GetAPIKeyPlatformTaskModelIDVerifyParams) WriteToRequest ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAPIKeyPlatformTaskModelIDVerifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- api_key_platform_task_client.go
- get_api_key_platform_task_dataset_id_training_parameters.go
- get_api_key_platform_task_dataset_id_training_responses.go
- get_api_key_platform_task_id_parameters.go
- get_api_key_platform_task_id_responses.go
- get_api_key_platform_task_model_id_verify_parameters.go
- get_api_key_platform_task_model_id_verify_responses.go