api_key_model_verify

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: 12 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 model verify API

func (*Client) GetAPIKeyModelIDVerifyPending

func (a *Client) GetAPIKeyModelIDVerifyPending(params *GetAPIKeyModelIDVerifyPendingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVerifyPendingOK, error)

GetAPIKeyModelIDVerifyPending checks model pending state by Api key

func (*Client) GetAPIKeyModelIDVerifyTask

func (a *Client) GetAPIKeyModelIDVerifyTask(params *GetAPIKeyModelIDVerifyTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVerifyTaskOK, error)

GetAPIKeyModelIDVerifyTask gets list verify model task by commit hash and status

verifyStatus is one of rejected, verified, pending

func (*Client) GetAPIKeyModelVerifyHubTaskID

func (a *Client) GetAPIKeyModelVerifyHubTaskID(params *GetAPIKeyModelVerifyHubTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelVerifyHubTaskIDOK, error)

GetAPIKeyModelVerifyHubTaskID gets model versioning by hub task Id by Api key

func (*Client) PostAPIKeyModelIDPreVerify

func (a *Client) PostAPIKeyModelIDPreVerify(params *PostAPIKeyModelIDPreVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyModelIDPreVerifyOK, error)

PostAPIKeyModelIDPreVerify checks valid source code to verify ai model by Api key

func (*Client) PostAPIKeyModelIDVerify

func (a *Client) PostAPIKeyModelIDVerify(params *PostAPIKeyModelIDVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyModelIDVerifyOK, error)

PostAPIKeyModelIDVerify verifies ai model by Api key

valid platform is [window, linux, macApple, macIntel]

func (*Client) PostAPIKeyModelIDVerifyCost

func (a *Client) PostAPIKeyModelIDVerifyCost(params *PostAPIKeyModelIDVerifyCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyModelIDVerifyCostOK, error)

PostAPIKeyModelIDVerifyCost calculates cost to verify ai model 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 {
	GetAPIKeyModelIDVerifyPending(params *GetAPIKeyModelIDVerifyPendingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVerifyPendingOK, error)

	GetAPIKeyModelIDVerifyTask(params *GetAPIKeyModelIDVerifyTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVerifyTaskOK, error)

	GetAPIKeyModelVerifyHubTaskID(params *GetAPIKeyModelVerifyHubTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelVerifyHubTaskIDOK, error)

	PostAPIKeyModelIDPreVerify(params *PostAPIKeyModelIDPreVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyModelIDPreVerifyOK, error)

	PostAPIKeyModelIDVerify(params *PostAPIKeyModelIDVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyModelIDVerifyOK, error)

	PostAPIKeyModelIDVerifyCost(params *PostAPIKeyModelIDVerifyCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyModelIDVerifyCostOK, 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 model verify API client.

func NewClientWithBasicAuth

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

New creates a new api key model verify 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 model verify 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 GetAPIKeyModelIDVerifyPendingBadRequest

type GetAPIKeyModelIDVerifyPendingBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyModelIDVerifyPendingBadRequest

func NewGetAPIKeyModelIDVerifyPendingBadRequest() *GetAPIKeyModelIDVerifyPendingBadRequest

NewGetAPIKeyModelIDVerifyPendingBadRequest creates a GetAPIKeyModelIDVerifyPendingBadRequest with default headers values

func (*GetAPIKeyModelIDVerifyPendingBadRequest) Code

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

func (*GetAPIKeyModelIDVerifyPendingBadRequest) Error

func (*GetAPIKeyModelIDVerifyPendingBadRequest) GetPayload

func (*GetAPIKeyModelIDVerifyPendingBadRequest) IsClientError

func (o *GetAPIKeyModelIDVerifyPendingBadRequest) IsClientError() bool

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

func (*GetAPIKeyModelIDVerifyPendingBadRequest) IsCode

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

func (*GetAPIKeyModelIDVerifyPendingBadRequest) IsRedirect

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

func (*GetAPIKeyModelIDVerifyPendingBadRequest) IsServerError

func (o *GetAPIKeyModelIDVerifyPendingBadRequest) IsServerError() bool

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

func (*GetAPIKeyModelIDVerifyPendingBadRequest) IsSuccess

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

func (*GetAPIKeyModelIDVerifyPendingBadRequest) String

type GetAPIKeyModelIDVerifyPendingInternalServerError

type GetAPIKeyModelIDVerifyPendingInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyModelIDVerifyPendingInternalServerError

func NewGetAPIKeyModelIDVerifyPendingInternalServerError() *GetAPIKeyModelIDVerifyPendingInternalServerError

NewGetAPIKeyModelIDVerifyPendingInternalServerError creates a GetAPIKeyModelIDVerifyPendingInternalServerError with default headers values

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) Code

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

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) Error

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) GetPayload

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) IsClientError

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

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) IsCode

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

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) IsRedirect

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

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) IsServerError

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

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) IsSuccess

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

func (*GetAPIKeyModelIDVerifyPendingInternalServerError) String

type GetAPIKeyModelIDVerifyPendingOK

type GetAPIKeyModelIDVerifyPendingOK struct {
	Payload *models.ResponseCheckModelPendingStateResponse
}

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

OK

func NewGetAPIKeyModelIDVerifyPendingOK

func NewGetAPIKeyModelIDVerifyPendingOK() *GetAPIKeyModelIDVerifyPendingOK

NewGetAPIKeyModelIDVerifyPendingOK creates a GetAPIKeyModelIDVerifyPendingOK with default headers values

func (*GetAPIKeyModelIDVerifyPendingOK) Code

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

func (*GetAPIKeyModelIDVerifyPendingOK) Error

func (*GetAPIKeyModelIDVerifyPendingOK) GetPayload

func (*GetAPIKeyModelIDVerifyPendingOK) IsClientError

func (o *GetAPIKeyModelIDVerifyPendingOK) IsClientError() bool

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

func (*GetAPIKeyModelIDVerifyPendingOK) IsCode

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

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

func (*GetAPIKeyModelIDVerifyPendingOK) IsRedirect

func (o *GetAPIKeyModelIDVerifyPendingOK) IsRedirect() bool

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

func (*GetAPIKeyModelIDVerifyPendingOK) IsServerError

func (o *GetAPIKeyModelIDVerifyPendingOK) IsServerError() bool

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

func (*GetAPIKeyModelIDVerifyPendingOK) IsSuccess

func (o *GetAPIKeyModelIDVerifyPendingOK) IsSuccess() bool

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

func (*GetAPIKeyModelIDVerifyPendingOK) String

type GetAPIKeyModelIDVerifyPendingParams

type GetAPIKeyModelIDVerifyPendingParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Check Model Pending State Request
	*/
	Input models.RequestCheckModelPendingStateRequest

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

GetAPIKeyModelIDVerifyPendingParams contains all the parameters to send to the API endpoint

for the get API key model ID verify pending operation.

Typically these are written to a http.Request.

func NewGetAPIKeyModelIDVerifyPendingParams

func NewGetAPIKeyModelIDVerifyPendingParams() *GetAPIKeyModelIDVerifyPendingParams

NewGetAPIKeyModelIDVerifyPendingParams creates a new GetAPIKeyModelIDVerifyPendingParams 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 NewGetAPIKeyModelIDVerifyPendingParamsWithContext

func NewGetAPIKeyModelIDVerifyPendingParamsWithContext(ctx context.Context) *GetAPIKeyModelIDVerifyPendingParams

NewGetAPIKeyModelIDVerifyPendingParamsWithContext creates a new GetAPIKeyModelIDVerifyPendingParams object with the ability to set a context for a request.

func NewGetAPIKeyModelIDVerifyPendingParamsWithHTTPClient

func NewGetAPIKeyModelIDVerifyPendingParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDVerifyPendingParams

NewGetAPIKeyModelIDVerifyPendingParamsWithHTTPClient creates a new GetAPIKeyModelIDVerifyPendingParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyModelIDVerifyPendingParamsWithTimeout

func NewGetAPIKeyModelIDVerifyPendingParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDVerifyPendingParams

NewGetAPIKeyModelIDVerifyPendingParamsWithTimeout creates a new GetAPIKeyModelIDVerifyPendingParams object with the ability to set a timeout on a request.

func (*GetAPIKeyModelIDVerifyPendingParams) SetContext

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

func (*GetAPIKeyModelIDVerifyPendingParams) SetDefaults

func (o *GetAPIKeyModelIDVerifyPendingParams) SetDefaults()

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

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

func (*GetAPIKeyModelIDVerifyPendingParams) SetHTTPClient

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

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

func (*GetAPIKeyModelIDVerifyPendingParams) SetID

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

func (*GetAPIKeyModelIDVerifyPendingParams) SetInput

SetInput adds the input to the get API key model ID verify pending params

func (*GetAPIKeyModelIDVerifyPendingParams) SetTimeout

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

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

func (*GetAPIKeyModelIDVerifyPendingParams) WithContext

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

func (*GetAPIKeyModelIDVerifyPendingParams) WithDefaults

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

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

func (*GetAPIKeyModelIDVerifyPendingParams) WithHTTPClient

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

func (*GetAPIKeyModelIDVerifyPendingParams) WithID

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

func (*GetAPIKeyModelIDVerifyPendingParams) WithInput

WithInput adds the input to the get API key model ID verify pending params

func (*GetAPIKeyModelIDVerifyPendingParams) WithTimeout

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

func (*GetAPIKeyModelIDVerifyPendingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyModelIDVerifyPendingReader

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

GetAPIKeyModelIDVerifyPendingReader is a Reader for the GetAPIKeyModelIDVerifyPending structure.

func (*GetAPIKeyModelIDVerifyPendingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyModelIDVerifyTaskBadRequest

type GetAPIKeyModelIDVerifyTaskBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyModelIDVerifyTaskBadRequest

func NewGetAPIKeyModelIDVerifyTaskBadRequest() *GetAPIKeyModelIDVerifyTaskBadRequest

NewGetAPIKeyModelIDVerifyTaskBadRequest creates a GetAPIKeyModelIDVerifyTaskBadRequest with default headers values

func (*GetAPIKeyModelIDVerifyTaskBadRequest) Code

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

func (*GetAPIKeyModelIDVerifyTaskBadRequest) Error

func (*GetAPIKeyModelIDVerifyTaskBadRequest) GetPayload

func (*GetAPIKeyModelIDVerifyTaskBadRequest) IsClientError

func (o *GetAPIKeyModelIDVerifyTaskBadRequest) IsClientError() bool

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

func (*GetAPIKeyModelIDVerifyTaskBadRequest) IsCode

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

func (*GetAPIKeyModelIDVerifyTaskBadRequest) IsRedirect

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

func (*GetAPIKeyModelIDVerifyTaskBadRequest) IsServerError

func (o *GetAPIKeyModelIDVerifyTaskBadRequest) IsServerError() bool

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

func (*GetAPIKeyModelIDVerifyTaskBadRequest) IsSuccess

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

func (*GetAPIKeyModelIDVerifyTaskBadRequest) String

type GetAPIKeyModelIDVerifyTaskInternalServerError

type GetAPIKeyModelIDVerifyTaskInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyModelIDVerifyTaskInternalServerError

func NewGetAPIKeyModelIDVerifyTaskInternalServerError() *GetAPIKeyModelIDVerifyTaskInternalServerError

NewGetAPIKeyModelIDVerifyTaskInternalServerError creates a GetAPIKeyModelIDVerifyTaskInternalServerError with default headers values

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) Code

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

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) Error

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) GetPayload

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) IsClientError

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

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) IsCode

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

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) IsRedirect

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

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) IsServerError

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

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) IsSuccess

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

func (*GetAPIKeyModelIDVerifyTaskInternalServerError) String

type GetAPIKeyModelIDVerifyTaskOK

type GetAPIKeyModelIDVerifyTaskOK struct {
	Payload *models.ResponseModelVersioningGroupLiteListResponse
}

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

OK

func NewGetAPIKeyModelIDVerifyTaskOK

func NewGetAPIKeyModelIDVerifyTaskOK() *GetAPIKeyModelIDVerifyTaskOK

NewGetAPIKeyModelIDVerifyTaskOK creates a GetAPIKeyModelIDVerifyTaskOK with default headers values

func (*GetAPIKeyModelIDVerifyTaskOK) Code

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

func (*GetAPIKeyModelIDVerifyTaskOK) Error

func (*GetAPIKeyModelIDVerifyTaskOK) GetPayload

func (*GetAPIKeyModelIDVerifyTaskOK) IsClientError

func (o *GetAPIKeyModelIDVerifyTaskOK) IsClientError() bool

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

func (*GetAPIKeyModelIDVerifyTaskOK) IsCode

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

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

func (*GetAPIKeyModelIDVerifyTaskOK) IsRedirect

func (o *GetAPIKeyModelIDVerifyTaskOK) IsRedirect() bool

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

func (*GetAPIKeyModelIDVerifyTaskOK) IsServerError

func (o *GetAPIKeyModelIDVerifyTaskOK) IsServerError() bool

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

func (*GetAPIKeyModelIDVerifyTaskOK) IsSuccess

func (o *GetAPIKeyModelIDVerifyTaskOK) IsSuccess() bool

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

func (*GetAPIKeyModelIDVerifyTaskOK) String

type GetAPIKeyModelIDVerifyTaskParams

type GetAPIKeyModelIDVerifyTaskParams struct {

	// CommitHash.
	CommitHash string

	/* ID.

	   Model's id
	*/
	ID string

	// VerifyStatus.
	VerifyStatus *string

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

GetAPIKeyModelIDVerifyTaskParams contains all the parameters to send to the API endpoint

for the get API key model ID verify task operation.

Typically these are written to a http.Request.

func NewGetAPIKeyModelIDVerifyTaskParams

func NewGetAPIKeyModelIDVerifyTaskParams() *GetAPIKeyModelIDVerifyTaskParams

NewGetAPIKeyModelIDVerifyTaskParams creates a new GetAPIKeyModelIDVerifyTaskParams 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 NewGetAPIKeyModelIDVerifyTaskParamsWithContext

func NewGetAPIKeyModelIDVerifyTaskParamsWithContext(ctx context.Context) *GetAPIKeyModelIDVerifyTaskParams

NewGetAPIKeyModelIDVerifyTaskParamsWithContext creates a new GetAPIKeyModelIDVerifyTaskParams object with the ability to set a context for a request.

func NewGetAPIKeyModelIDVerifyTaskParamsWithHTTPClient

func NewGetAPIKeyModelIDVerifyTaskParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDVerifyTaskParams

NewGetAPIKeyModelIDVerifyTaskParamsWithHTTPClient creates a new GetAPIKeyModelIDVerifyTaskParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyModelIDVerifyTaskParamsWithTimeout

func NewGetAPIKeyModelIDVerifyTaskParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDVerifyTaskParams

NewGetAPIKeyModelIDVerifyTaskParamsWithTimeout creates a new GetAPIKeyModelIDVerifyTaskParams object with the ability to set a timeout on a request.

func (*GetAPIKeyModelIDVerifyTaskParams) SetCommitHash

func (o *GetAPIKeyModelIDVerifyTaskParams) SetCommitHash(commitHash string)

SetCommitHash adds the commitHash to the get API key model ID verify task params

func (*GetAPIKeyModelIDVerifyTaskParams) SetContext

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

func (*GetAPIKeyModelIDVerifyTaskParams) SetDefaults

func (o *GetAPIKeyModelIDVerifyTaskParams) SetDefaults()

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

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

func (*GetAPIKeyModelIDVerifyTaskParams) SetHTTPClient

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

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

func (*GetAPIKeyModelIDVerifyTaskParams) SetID

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

func (*GetAPIKeyModelIDVerifyTaskParams) SetTimeout

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

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

func (*GetAPIKeyModelIDVerifyTaskParams) SetVerifyStatus

func (o *GetAPIKeyModelIDVerifyTaskParams) SetVerifyStatus(verifyStatus *string)

SetVerifyStatus adds the verifyStatus to the get API key model ID verify task params

func (*GetAPIKeyModelIDVerifyTaskParams) WithCommitHash

WithCommitHash adds the commitHash to the get API key model ID verify task params

func (*GetAPIKeyModelIDVerifyTaskParams) WithContext

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

func (*GetAPIKeyModelIDVerifyTaskParams) WithDefaults

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

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

func (*GetAPIKeyModelIDVerifyTaskParams) WithHTTPClient

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

func (*GetAPIKeyModelIDVerifyTaskParams) WithID

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

func (*GetAPIKeyModelIDVerifyTaskParams) WithTimeout

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

func (*GetAPIKeyModelIDVerifyTaskParams) WithVerifyStatus

func (o *GetAPIKeyModelIDVerifyTaskParams) WithVerifyStatus(verifyStatus *string) *GetAPIKeyModelIDVerifyTaskParams

WithVerifyStatus adds the verifyStatus to the get API key model ID verify task params

func (*GetAPIKeyModelIDVerifyTaskParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyModelIDVerifyTaskReader

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

GetAPIKeyModelIDVerifyTaskReader is a Reader for the GetAPIKeyModelIDVerifyTask structure.

func (*GetAPIKeyModelIDVerifyTaskReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyModelVerifyHubTaskIDBadRequest

type GetAPIKeyModelVerifyHubTaskIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyModelVerifyHubTaskIDBadRequest

func NewGetAPIKeyModelVerifyHubTaskIDBadRequest() *GetAPIKeyModelVerifyHubTaskIDBadRequest

NewGetAPIKeyModelVerifyHubTaskIDBadRequest creates a GetAPIKeyModelVerifyHubTaskIDBadRequest with default headers values

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) Code

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

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) Error

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) GetPayload

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) IsClientError

func (o *GetAPIKeyModelVerifyHubTaskIDBadRequest) IsClientError() bool

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

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) IsCode

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

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) IsRedirect

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

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) IsServerError

func (o *GetAPIKeyModelVerifyHubTaskIDBadRequest) IsServerError() bool

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

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) IsSuccess

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

func (*GetAPIKeyModelVerifyHubTaskIDBadRequest) String

type GetAPIKeyModelVerifyHubTaskIDInternalServerError

type GetAPIKeyModelVerifyHubTaskIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyModelVerifyHubTaskIDInternalServerError

func NewGetAPIKeyModelVerifyHubTaskIDInternalServerError() *GetAPIKeyModelVerifyHubTaskIDInternalServerError

NewGetAPIKeyModelVerifyHubTaskIDInternalServerError creates a GetAPIKeyModelVerifyHubTaskIDInternalServerError with default headers values

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) Code

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

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) Error

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) GetPayload

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) IsClientError

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

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) IsCode

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

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) IsRedirect

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

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) IsServerError

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

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) IsSuccess

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

func (*GetAPIKeyModelVerifyHubTaskIDInternalServerError) String

type GetAPIKeyModelVerifyHubTaskIDOK

type GetAPIKeyModelVerifyHubTaskIDOK struct {
	Payload *models.ResponseModelVersioningResponse
}

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

OK

func NewGetAPIKeyModelVerifyHubTaskIDOK

func NewGetAPIKeyModelVerifyHubTaskIDOK() *GetAPIKeyModelVerifyHubTaskIDOK

NewGetAPIKeyModelVerifyHubTaskIDOK creates a GetAPIKeyModelVerifyHubTaskIDOK with default headers values

func (*GetAPIKeyModelVerifyHubTaskIDOK) Code

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

func (*GetAPIKeyModelVerifyHubTaskIDOK) Error

func (*GetAPIKeyModelVerifyHubTaskIDOK) GetPayload

func (*GetAPIKeyModelVerifyHubTaskIDOK) IsClientError

func (o *GetAPIKeyModelVerifyHubTaskIDOK) IsClientError() bool

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

func (*GetAPIKeyModelVerifyHubTaskIDOK) IsCode

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

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

func (*GetAPIKeyModelVerifyHubTaskIDOK) IsRedirect

func (o *GetAPIKeyModelVerifyHubTaskIDOK) IsRedirect() bool

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

func (*GetAPIKeyModelVerifyHubTaskIDOK) IsServerError

func (o *GetAPIKeyModelVerifyHubTaskIDOK) IsServerError() bool

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

func (*GetAPIKeyModelVerifyHubTaskIDOK) IsSuccess

func (o *GetAPIKeyModelVerifyHubTaskIDOK) IsSuccess() bool

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

func (*GetAPIKeyModelVerifyHubTaskIDOK) String

type GetAPIKeyModelVerifyHubTaskIDParams

type GetAPIKeyModelVerifyHubTaskIDParams struct {

	/* ID.

	   Hub Task's id
	*/
	ID string

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

GetAPIKeyModelVerifyHubTaskIDParams contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewGetAPIKeyModelVerifyHubTaskIDParams

func NewGetAPIKeyModelVerifyHubTaskIDParams() *GetAPIKeyModelVerifyHubTaskIDParams

NewGetAPIKeyModelVerifyHubTaskIDParams creates a new GetAPIKeyModelVerifyHubTaskIDParams 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 NewGetAPIKeyModelVerifyHubTaskIDParamsWithContext

func NewGetAPIKeyModelVerifyHubTaskIDParamsWithContext(ctx context.Context) *GetAPIKeyModelVerifyHubTaskIDParams

NewGetAPIKeyModelVerifyHubTaskIDParamsWithContext creates a new GetAPIKeyModelVerifyHubTaskIDParams object with the ability to set a context for a request.

func NewGetAPIKeyModelVerifyHubTaskIDParamsWithHTTPClient

func NewGetAPIKeyModelVerifyHubTaskIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelVerifyHubTaskIDParams

NewGetAPIKeyModelVerifyHubTaskIDParamsWithHTTPClient creates a new GetAPIKeyModelVerifyHubTaskIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyModelVerifyHubTaskIDParamsWithTimeout

func NewGetAPIKeyModelVerifyHubTaskIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelVerifyHubTaskIDParams

NewGetAPIKeyModelVerifyHubTaskIDParamsWithTimeout creates a new GetAPIKeyModelVerifyHubTaskIDParams object with the ability to set a timeout on a request.

func (*GetAPIKeyModelVerifyHubTaskIDParams) SetContext

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) SetDefaults

func (o *GetAPIKeyModelVerifyHubTaskIDParams) SetDefaults()

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

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) SetHTTPClient

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

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) SetID

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) SetTimeout

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

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) WithContext

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) WithDefaults

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

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) WithHTTPClient

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) WithID

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) WithTimeout

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

func (*GetAPIKeyModelVerifyHubTaskIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyModelVerifyHubTaskIDReader

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

GetAPIKeyModelVerifyHubTaskIDReader is a Reader for the GetAPIKeyModelVerifyHubTaskID structure.

func (*GetAPIKeyModelVerifyHubTaskIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIKeyModelIDPreVerifyBadRequest

type PostAPIKeyModelIDPreVerifyBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostAPIKeyModelIDPreVerifyBadRequest

func NewPostAPIKeyModelIDPreVerifyBadRequest() *PostAPIKeyModelIDPreVerifyBadRequest

NewPostAPIKeyModelIDPreVerifyBadRequest creates a PostAPIKeyModelIDPreVerifyBadRequest with default headers values

func (*PostAPIKeyModelIDPreVerifyBadRequest) Code

Code gets the status code for the post Api key model Id pre verify bad request response

func (*PostAPIKeyModelIDPreVerifyBadRequest) Error

func (*PostAPIKeyModelIDPreVerifyBadRequest) GetPayload

func (*PostAPIKeyModelIDPreVerifyBadRequest) IsClientError

func (o *PostAPIKeyModelIDPreVerifyBadRequest) IsClientError() bool

IsClientError returns true when this post Api key model Id pre verify bad request response has a 4xx status code

func (*PostAPIKeyModelIDPreVerifyBadRequest) IsCode

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

func (*PostAPIKeyModelIDPreVerifyBadRequest) IsRedirect

IsRedirect returns true when this post Api key model Id pre verify bad request response has a 3xx status code

func (*PostAPIKeyModelIDPreVerifyBadRequest) IsServerError

func (o *PostAPIKeyModelIDPreVerifyBadRequest) IsServerError() bool

IsServerError returns true when this post Api key model Id pre verify bad request response has a 5xx status code

func (*PostAPIKeyModelIDPreVerifyBadRequest) IsSuccess

IsSuccess returns true when this post Api key model Id pre verify bad request response has a 2xx status code

func (*PostAPIKeyModelIDPreVerifyBadRequest) String

type PostAPIKeyModelIDPreVerifyInternalServerError

type PostAPIKeyModelIDPreVerifyInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostAPIKeyModelIDPreVerifyInternalServerError

func NewPostAPIKeyModelIDPreVerifyInternalServerError() *PostAPIKeyModelIDPreVerifyInternalServerError

NewPostAPIKeyModelIDPreVerifyInternalServerError creates a PostAPIKeyModelIDPreVerifyInternalServerError with default headers values

func (*PostAPIKeyModelIDPreVerifyInternalServerError) Code

Code gets the status code for the post Api key model Id pre verify internal server error response

func (*PostAPIKeyModelIDPreVerifyInternalServerError) Error

func (*PostAPIKeyModelIDPreVerifyInternalServerError) GetPayload

func (*PostAPIKeyModelIDPreVerifyInternalServerError) IsClientError

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

func (*PostAPIKeyModelIDPreVerifyInternalServerError) IsCode

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

func (*PostAPIKeyModelIDPreVerifyInternalServerError) IsRedirect

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

func (*PostAPIKeyModelIDPreVerifyInternalServerError) IsServerError

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

func (*PostAPIKeyModelIDPreVerifyInternalServerError) IsSuccess

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

func (*PostAPIKeyModelIDPreVerifyInternalServerError) String

type PostAPIKeyModelIDPreVerifyOK

type PostAPIKeyModelIDPreVerifyOK struct {
	Payload *models.ResponseCheckValidToVerifyAiModelResponse
}

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

OK

func NewPostAPIKeyModelIDPreVerifyOK

func NewPostAPIKeyModelIDPreVerifyOK() *PostAPIKeyModelIDPreVerifyOK

NewPostAPIKeyModelIDPreVerifyOK creates a PostAPIKeyModelIDPreVerifyOK with default headers values

func (*PostAPIKeyModelIDPreVerifyOK) Code

Code gets the status code for the post Api key model Id pre verify o k response

func (*PostAPIKeyModelIDPreVerifyOK) Error

func (*PostAPIKeyModelIDPreVerifyOK) GetPayload

func (*PostAPIKeyModelIDPreVerifyOK) IsClientError

func (o *PostAPIKeyModelIDPreVerifyOK) IsClientError() bool

IsClientError returns true when this post Api key model Id pre verify o k response has a 4xx status code

func (*PostAPIKeyModelIDPreVerifyOK) IsCode

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

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

func (*PostAPIKeyModelIDPreVerifyOK) IsRedirect

func (o *PostAPIKeyModelIDPreVerifyOK) IsRedirect() bool

IsRedirect returns true when this post Api key model Id pre verify o k response has a 3xx status code

func (*PostAPIKeyModelIDPreVerifyOK) IsServerError

func (o *PostAPIKeyModelIDPreVerifyOK) IsServerError() bool

IsServerError returns true when this post Api key model Id pre verify o k response has a 5xx status code

func (*PostAPIKeyModelIDPreVerifyOK) IsSuccess

func (o *PostAPIKeyModelIDPreVerifyOK) IsSuccess() bool

IsSuccess returns true when this post Api key model Id pre verify o k response has a 2xx status code

func (*PostAPIKeyModelIDPreVerifyOK) String

type PostAPIKeyModelIDPreVerifyParams

type PostAPIKeyModelIDPreVerifyParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Verify Ai Model Request
	*/
	Input *models.RequestCheckValidToVerifyAiModelRequest

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

PostAPIKeyModelIDPreVerifyParams contains all the parameters to send to the API endpoint

for the post API key model ID pre verify operation.

Typically these are written to a http.Request.

func NewPostAPIKeyModelIDPreVerifyParams

func NewPostAPIKeyModelIDPreVerifyParams() *PostAPIKeyModelIDPreVerifyParams

NewPostAPIKeyModelIDPreVerifyParams creates a new PostAPIKeyModelIDPreVerifyParams 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 NewPostAPIKeyModelIDPreVerifyParamsWithContext

func NewPostAPIKeyModelIDPreVerifyParamsWithContext(ctx context.Context) *PostAPIKeyModelIDPreVerifyParams

NewPostAPIKeyModelIDPreVerifyParamsWithContext creates a new PostAPIKeyModelIDPreVerifyParams object with the ability to set a context for a request.

func NewPostAPIKeyModelIDPreVerifyParamsWithHTTPClient

func NewPostAPIKeyModelIDPreVerifyParamsWithHTTPClient(client *http.Client) *PostAPIKeyModelIDPreVerifyParams

NewPostAPIKeyModelIDPreVerifyParamsWithHTTPClient creates a new PostAPIKeyModelIDPreVerifyParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyModelIDPreVerifyParamsWithTimeout

func NewPostAPIKeyModelIDPreVerifyParamsWithTimeout(timeout time.Duration) *PostAPIKeyModelIDPreVerifyParams

NewPostAPIKeyModelIDPreVerifyParamsWithTimeout creates a new PostAPIKeyModelIDPreVerifyParams object with the ability to set a timeout on a request.

func (*PostAPIKeyModelIDPreVerifyParams) SetContext

SetContext adds the context to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) SetDefaults

func (o *PostAPIKeyModelIDPreVerifyParams) SetDefaults()

SetDefaults hydrates default values in the post API key model ID pre verify params (not the query body).

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

func (*PostAPIKeyModelIDPreVerifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) SetID

SetID adds the id to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) SetInput

SetInput adds the input to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) SetTimeout

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

SetTimeout adds the timeout to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) WithContext

WithContext adds the context to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) WithDefaults

WithDefaults hydrates default values in the post API key model ID pre verify params (not the query body).

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

func (*PostAPIKeyModelIDPreVerifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) WithID

WithID adds the id to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) WithInput

WithInput adds the input to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) WithTimeout

WithTimeout adds the timeout to the post API key model ID pre verify params

func (*PostAPIKeyModelIDPreVerifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyModelIDPreVerifyReader

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

PostAPIKeyModelIDPreVerifyReader is a Reader for the PostAPIKeyModelIDPreVerify structure.

func (*PostAPIKeyModelIDPreVerifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIKeyModelIDVerifyBadRequest

type PostAPIKeyModelIDVerifyBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostAPIKeyModelIDVerifyBadRequest

func NewPostAPIKeyModelIDVerifyBadRequest() *PostAPIKeyModelIDVerifyBadRequest

NewPostAPIKeyModelIDVerifyBadRequest creates a PostAPIKeyModelIDVerifyBadRequest with default headers values

func (*PostAPIKeyModelIDVerifyBadRequest) Code

Code gets the status code for the post Api key model Id verify bad request response

func (*PostAPIKeyModelIDVerifyBadRequest) Error

func (*PostAPIKeyModelIDVerifyBadRequest) GetPayload

func (*PostAPIKeyModelIDVerifyBadRequest) IsClientError

func (o *PostAPIKeyModelIDVerifyBadRequest) IsClientError() bool

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

func (*PostAPIKeyModelIDVerifyBadRequest) IsCode

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

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

func (*PostAPIKeyModelIDVerifyBadRequest) IsRedirect

func (o *PostAPIKeyModelIDVerifyBadRequest) IsRedirect() bool

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

func (*PostAPIKeyModelIDVerifyBadRequest) IsServerError

func (o *PostAPIKeyModelIDVerifyBadRequest) IsServerError() bool

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

func (*PostAPIKeyModelIDVerifyBadRequest) IsSuccess

func (o *PostAPIKeyModelIDVerifyBadRequest) IsSuccess() bool

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

func (*PostAPIKeyModelIDVerifyBadRequest) String

type PostAPIKeyModelIDVerifyCostBadRequest

type PostAPIKeyModelIDVerifyCostBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostAPIKeyModelIDVerifyCostBadRequest

func NewPostAPIKeyModelIDVerifyCostBadRequest() *PostAPIKeyModelIDVerifyCostBadRequest

NewPostAPIKeyModelIDVerifyCostBadRequest creates a PostAPIKeyModelIDVerifyCostBadRequest with default headers values

func (*PostAPIKeyModelIDVerifyCostBadRequest) Code

Code gets the status code for the post Api key model Id verify cost bad request response

func (*PostAPIKeyModelIDVerifyCostBadRequest) Error

func (*PostAPIKeyModelIDVerifyCostBadRequest) GetPayload

func (*PostAPIKeyModelIDVerifyCostBadRequest) IsClientError

func (o *PostAPIKeyModelIDVerifyCostBadRequest) IsClientError() bool

IsClientError returns true when this post Api key model Id verify cost bad request response has a 4xx status code

func (*PostAPIKeyModelIDVerifyCostBadRequest) IsCode

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

func (*PostAPIKeyModelIDVerifyCostBadRequest) IsRedirect

IsRedirect returns true when this post Api key model Id verify cost bad request response has a 3xx status code

func (*PostAPIKeyModelIDVerifyCostBadRequest) IsServerError

func (o *PostAPIKeyModelIDVerifyCostBadRequest) IsServerError() bool

IsServerError returns true when this post Api key model Id verify cost bad request response has a 5xx status code

func (*PostAPIKeyModelIDVerifyCostBadRequest) IsSuccess

IsSuccess returns true when this post Api key model Id verify cost bad request response has a 2xx status code

func (*PostAPIKeyModelIDVerifyCostBadRequest) String

type PostAPIKeyModelIDVerifyCostInternalServerError

type PostAPIKeyModelIDVerifyCostInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostAPIKeyModelIDVerifyCostInternalServerError

func NewPostAPIKeyModelIDVerifyCostInternalServerError() *PostAPIKeyModelIDVerifyCostInternalServerError

NewPostAPIKeyModelIDVerifyCostInternalServerError creates a PostAPIKeyModelIDVerifyCostInternalServerError with default headers values

func (*PostAPIKeyModelIDVerifyCostInternalServerError) Code

Code gets the status code for the post Api key model Id verify cost internal server error response

func (*PostAPIKeyModelIDVerifyCostInternalServerError) Error

func (*PostAPIKeyModelIDVerifyCostInternalServerError) GetPayload

func (*PostAPIKeyModelIDVerifyCostInternalServerError) IsClientError

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

func (*PostAPIKeyModelIDVerifyCostInternalServerError) IsCode

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

func (*PostAPIKeyModelIDVerifyCostInternalServerError) IsRedirect

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

func (*PostAPIKeyModelIDVerifyCostInternalServerError) IsServerError

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

func (*PostAPIKeyModelIDVerifyCostInternalServerError) IsSuccess

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

func (*PostAPIKeyModelIDVerifyCostInternalServerError) String

type PostAPIKeyModelIDVerifyCostOK

type PostAPIKeyModelIDVerifyCostOK struct {
	Payload *models.ResponseEstimateCostResponse
}

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

OK

func NewPostAPIKeyModelIDVerifyCostOK

func NewPostAPIKeyModelIDVerifyCostOK() *PostAPIKeyModelIDVerifyCostOK

NewPostAPIKeyModelIDVerifyCostOK creates a PostAPIKeyModelIDVerifyCostOK with default headers values

func (*PostAPIKeyModelIDVerifyCostOK) Code

Code gets the status code for the post Api key model Id verify cost o k response

func (*PostAPIKeyModelIDVerifyCostOK) Error

func (*PostAPIKeyModelIDVerifyCostOK) GetPayload

func (*PostAPIKeyModelIDVerifyCostOK) IsClientError

func (o *PostAPIKeyModelIDVerifyCostOK) IsClientError() bool

IsClientError returns true when this post Api key model Id verify cost o k response has a 4xx status code

func (*PostAPIKeyModelIDVerifyCostOK) IsCode

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

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

func (*PostAPIKeyModelIDVerifyCostOK) IsRedirect

func (o *PostAPIKeyModelIDVerifyCostOK) IsRedirect() bool

IsRedirect returns true when this post Api key model Id verify cost o k response has a 3xx status code

func (*PostAPIKeyModelIDVerifyCostOK) IsServerError

func (o *PostAPIKeyModelIDVerifyCostOK) IsServerError() bool

IsServerError returns true when this post Api key model Id verify cost o k response has a 5xx status code

func (*PostAPIKeyModelIDVerifyCostOK) IsSuccess

func (o *PostAPIKeyModelIDVerifyCostOK) IsSuccess() bool

IsSuccess returns true when this post Api key model Id verify cost o k response has a 2xx status code

func (*PostAPIKeyModelIDVerifyCostOK) String

type PostAPIKeyModelIDVerifyCostParams

type PostAPIKeyModelIDVerifyCostParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Verify Ai Model Request
	*/
	Input *models.RequestCalculateCostToVerifyAiModelRequest

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

PostAPIKeyModelIDVerifyCostParams contains all the parameters to send to the API endpoint

for the post API key model ID verify cost operation.

Typically these are written to a http.Request.

func NewPostAPIKeyModelIDVerifyCostParams

func NewPostAPIKeyModelIDVerifyCostParams() *PostAPIKeyModelIDVerifyCostParams

NewPostAPIKeyModelIDVerifyCostParams creates a new PostAPIKeyModelIDVerifyCostParams 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 NewPostAPIKeyModelIDVerifyCostParamsWithContext

func NewPostAPIKeyModelIDVerifyCostParamsWithContext(ctx context.Context) *PostAPIKeyModelIDVerifyCostParams

NewPostAPIKeyModelIDVerifyCostParamsWithContext creates a new PostAPIKeyModelIDVerifyCostParams object with the ability to set a context for a request.

func NewPostAPIKeyModelIDVerifyCostParamsWithHTTPClient

func NewPostAPIKeyModelIDVerifyCostParamsWithHTTPClient(client *http.Client) *PostAPIKeyModelIDVerifyCostParams

NewPostAPIKeyModelIDVerifyCostParamsWithHTTPClient creates a new PostAPIKeyModelIDVerifyCostParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyModelIDVerifyCostParamsWithTimeout

func NewPostAPIKeyModelIDVerifyCostParamsWithTimeout(timeout time.Duration) *PostAPIKeyModelIDVerifyCostParams

NewPostAPIKeyModelIDVerifyCostParamsWithTimeout creates a new PostAPIKeyModelIDVerifyCostParams object with the ability to set a timeout on a request.

func (*PostAPIKeyModelIDVerifyCostParams) SetContext

SetContext adds the context to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) SetDefaults

func (o *PostAPIKeyModelIDVerifyCostParams) SetDefaults()

SetDefaults hydrates default values in the post API key model ID verify cost params (not the query body).

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

func (*PostAPIKeyModelIDVerifyCostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) SetID

SetID adds the id to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) SetInput

SetInput adds the input to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) SetTimeout

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

SetTimeout adds the timeout to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) WithContext

WithContext adds the context to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) WithDefaults

WithDefaults hydrates default values in the post API key model ID verify cost params (not the query body).

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

func (*PostAPIKeyModelIDVerifyCostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) WithID

WithID adds the id to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) WithInput

WithInput adds the input to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) WithTimeout

WithTimeout adds the timeout to the post API key model ID verify cost params

func (*PostAPIKeyModelIDVerifyCostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyModelIDVerifyCostReader

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

PostAPIKeyModelIDVerifyCostReader is a Reader for the PostAPIKeyModelIDVerifyCost structure.

func (*PostAPIKeyModelIDVerifyCostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIKeyModelIDVerifyInternalServerError

type PostAPIKeyModelIDVerifyInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostAPIKeyModelIDVerifyInternalServerError

func NewPostAPIKeyModelIDVerifyInternalServerError() *PostAPIKeyModelIDVerifyInternalServerError

NewPostAPIKeyModelIDVerifyInternalServerError creates a PostAPIKeyModelIDVerifyInternalServerError with default headers values

func (*PostAPIKeyModelIDVerifyInternalServerError) Code

Code gets the status code for the post Api key model Id verify internal server error response

func (*PostAPIKeyModelIDVerifyInternalServerError) Error

func (*PostAPIKeyModelIDVerifyInternalServerError) GetPayload

func (*PostAPIKeyModelIDVerifyInternalServerError) IsClientError

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

func (*PostAPIKeyModelIDVerifyInternalServerError) IsCode

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

func (*PostAPIKeyModelIDVerifyInternalServerError) IsRedirect

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

func (*PostAPIKeyModelIDVerifyInternalServerError) IsServerError

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

func (*PostAPIKeyModelIDVerifyInternalServerError) IsSuccess

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

func (*PostAPIKeyModelIDVerifyInternalServerError) String

type PostAPIKeyModelIDVerifyOK

type PostAPIKeyModelIDVerifyOK struct {
	Payload *models.ResponseVerifyAiModelResponse
}

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

OK

func NewPostAPIKeyModelIDVerifyOK

func NewPostAPIKeyModelIDVerifyOK() *PostAPIKeyModelIDVerifyOK

NewPostAPIKeyModelIDVerifyOK creates a PostAPIKeyModelIDVerifyOK with default headers values

func (*PostAPIKeyModelIDVerifyOK) Code

func (o *PostAPIKeyModelIDVerifyOK) Code() int

Code gets the status code for the post Api key model Id verify o k response

func (*PostAPIKeyModelIDVerifyOK) Error

func (o *PostAPIKeyModelIDVerifyOK) Error() string

func (*PostAPIKeyModelIDVerifyOK) GetPayload

func (*PostAPIKeyModelIDVerifyOK) IsClientError

func (o *PostAPIKeyModelIDVerifyOK) IsClientError() bool

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

func (*PostAPIKeyModelIDVerifyOK) IsCode

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

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

func (*PostAPIKeyModelIDVerifyOK) IsRedirect

func (o *PostAPIKeyModelIDVerifyOK) IsRedirect() bool

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

func (*PostAPIKeyModelIDVerifyOK) IsServerError

func (o *PostAPIKeyModelIDVerifyOK) IsServerError() bool

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

func (*PostAPIKeyModelIDVerifyOK) IsSuccess

func (o *PostAPIKeyModelIDVerifyOK) IsSuccess() bool

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

func (*PostAPIKeyModelIDVerifyOK) String

func (o *PostAPIKeyModelIDVerifyOK) String() string

type PostAPIKeyModelIDVerifyParams

type PostAPIKeyModelIDVerifyParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Verify Ai Model Request
	*/
	Input *models.RequestVerifyAiModelRequest

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

PostAPIKeyModelIDVerifyParams contains all the parameters to send to the API endpoint

for the post API key model ID verify operation.

Typically these are written to a http.Request.

func NewPostAPIKeyModelIDVerifyParams

func NewPostAPIKeyModelIDVerifyParams() *PostAPIKeyModelIDVerifyParams

NewPostAPIKeyModelIDVerifyParams creates a new PostAPIKeyModelIDVerifyParams 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 NewPostAPIKeyModelIDVerifyParamsWithContext

func NewPostAPIKeyModelIDVerifyParamsWithContext(ctx context.Context) *PostAPIKeyModelIDVerifyParams

NewPostAPIKeyModelIDVerifyParamsWithContext creates a new PostAPIKeyModelIDVerifyParams object with the ability to set a context for a request.

func NewPostAPIKeyModelIDVerifyParamsWithHTTPClient

func NewPostAPIKeyModelIDVerifyParamsWithHTTPClient(client *http.Client) *PostAPIKeyModelIDVerifyParams

NewPostAPIKeyModelIDVerifyParamsWithHTTPClient creates a new PostAPIKeyModelIDVerifyParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyModelIDVerifyParamsWithTimeout

func NewPostAPIKeyModelIDVerifyParamsWithTimeout(timeout time.Duration) *PostAPIKeyModelIDVerifyParams

NewPostAPIKeyModelIDVerifyParamsWithTimeout creates a new PostAPIKeyModelIDVerifyParams object with the ability to set a timeout on a request.

func (*PostAPIKeyModelIDVerifyParams) SetContext

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

SetContext adds the context to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) SetDefaults

func (o *PostAPIKeyModelIDVerifyParams) SetDefaults()

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

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

func (*PostAPIKeyModelIDVerifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) SetID

SetID adds the id to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) SetInput

SetInput adds the input to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) SetTimeout

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

SetTimeout adds the timeout to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) WithContext

WithContext adds the context to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) WithDefaults

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

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

func (*PostAPIKeyModelIDVerifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) WithID

WithID adds the id to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) WithInput

WithInput adds the input to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) WithTimeout

WithTimeout adds the timeout to the post API key model ID verify params

func (*PostAPIKeyModelIDVerifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyModelIDVerifyReader

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

PostAPIKeyModelIDVerifyReader is a Reader for the PostAPIKeyModelIDVerify structure.

func (*PostAPIKeyModelIDVerifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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