api_key_model_versioning

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

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

Types

type Client

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

Client for api key model versioning API

func (*Client) DeleteAPIKeyModelIDVersioning

func (a *Client) DeleteAPIKeyModelIDVersioning(params *DeleteAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyModelIDVersioningOK, error)

DeleteAPIKeyModelIDVersioning deletes model versioning by commit hash by Api key

func (*Client) GetAPIKeyModelIDVersioning

func (a *Client) GetAPIKeyModelIDVersioning(params *GetAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVersioningOK, error)

GetAPIKeyModelIDVersioning gets current model versioning by model Id by Api key

func (*Client) GetAPIKeyModelIDVersioningList

func (a *Client) GetAPIKeyModelIDVersioningList(params *GetAPIKeyModelIDVersioningListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVersioningListOK, error)

GetAPIKeyModelIDVersioningList gets verified list model versioning by Api key

verifyStatus is verified or all. Use verified to get verified versioning. Use all to get verified history

func (*Client) PutAPIKeyModelIDVersioning

func (a *Client) PutAPIKeyModelIDVersioning(params *PutAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyModelIDVersioningOK, error)

PutAPIKeyModelIDVersioning changes model versioning by commit hash 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 {
	DeleteAPIKeyModelIDVersioning(params *DeleteAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyModelIDVersioningOK, error)

	GetAPIKeyModelIDVersioning(params *GetAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVersioningOK, error)

	GetAPIKeyModelIDVersioningList(params *GetAPIKeyModelIDVersioningListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVersioningListOK, error)

	PutAPIKeyModelIDVersioning(params *PutAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyModelIDVersioningOK, 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 versioning API client.

func NewClientWithBasicAuth

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

New creates a new api key model versioning 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 versioning 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 DeleteAPIKeyModelIDVersioningBadRequest

type DeleteAPIKeyModelIDVersioningBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewDeleteAPIKeyModelIDVersioningBadRequest

func NewDeleteAPIKeyModelIDVersioningBadRequest() *DeleteAPIKeyModelIDVersioningBadRequest

NewDeleteAPIKeyModelIDVersioningBadRequest creates a DeleteAPIKeyModelIDVersioningBadRequest with default headers values

func (*DeleteAPIKeyModelIDVersioningBadRequest) Code

Code gets the status code for the delete Api key model Id versioning bad request response

func (*DeleteAPIKeyModelIDVersioningBadRequest) Error

func (*DeleteAPIKeyModelIDVersioningBadRequest) GetPayload

func (*DeleteAPIKeyModelIDVersioningBadRequest) IsClientError

func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsClientError() bool

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

func (*DeleteAPIKeyModelIDVersioningBadRequest) IsCode

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

func (*DeleteAPIKeyModelIDVersioningBadRequest) IsRedirect

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

func (*DeleteAPIKeyModelIDVersioningBadRequest) IsServerError

func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsServerError() bool

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

func (*DeleteAPIKeyModelIDVersioningBadRequest) IsSuccess

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

func (*DeleteAPIKeyModelIDVersioningBadRequest) String

type DeleteAPIKeyModelIDVersioningInternalServerError

type DeleteAPIKeyModelIDVersioningInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewDeleteAPIKeyModelIDVersioningInternalServerError

func NewDeleteAPIKeyModelIDVersioningInternalServerError() *DeleteAPIKeyModelIDVersioningInternalServerError

NewDeleteAPIKeyModelIDVersioningInternalServerError creates a DeleteAPIKeyModelIDVersioningInternalServerError with default headers values

func (*DeleteAPIKeyModelIDVersioningInternalServerError) Code

Code gets the status code for the delete Api key model Id versioning internal server error response

func (*DeleteAPIKeyModelIDVersioningInternalServerError) Error

func (*DeleteAPIKeyModelIDVersioningInternalServerError) GetPayload

func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsClientError

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

func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsCode

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

func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsRedirect

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

func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsServerError

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

func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsSuccess

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

func (*DeleteAPIKeyModelIDVersioningInternalServerError) String

type DeleteAPIKeyModelIDVersioningOK

type DeleteAPIKeyModelIDVersioningOK struct {
	Payload *models.ResponseSuccessResponse
}

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

OK

func NewDeleteAPIKeyModelIDVersioningOK

func NewDeleteAPIKeyModelIDVersioningOK() *DeleteAPIKeyModelIDVersioningOK

NewDeleteAPIKeyModelIDVersioningOK creates a DeleteAPIKeyModelIDVersioningOK with default headers values

func (*DeleteAPIKeyModelIDVersioningOK) Code

Code gets the status code for the delete Api key model Id versioning o k response

func (*DeleteAPIKeyModelIDVersioningOK) Error

func (*DeleteAPIKeyModelIDVersioningOK) GetPayload

func (*DeleteAPIKeyModelIDVersioningOK) IsClientError

func (o *DeleteAPIKeyModelIDVersioningOK) IsClientError() bool

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

func (*DeleteAPIKeyModelIDVersioningOK) IsCode

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

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

func (*DeleteAPIKeyModelIDVersioningOK) IsRedirect

func (o *DeleteAPIKeyModelIDVersioningOK) IsRedirect() bool

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

func (*DeleteAPIKeyModelIDVersioningOK) IsServerError

func (o *DeleteAPIKeyModelIDVersioningOK) IsServerError() bool

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

func (*DeleteAPIKeyModelIDVersioningOK) IsSuccess

func (o *DeleteAPIKeyModelIDVersioningOK) IsSuccess() bool

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

func (*DeleteAPIKeyModelIDVersioningOK) String

type DeleteAPIKeyModelIDVersioningParams

type DeleteAPIKeyModelIDVersioningParams struct {

	// CommitHash.
	CommitHash string

	/* ID.

	   Model's id
	*/
	ID string

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

DeleteAPIKeyModelIDVersioningParams contains all the parameters to send to the API endpoint

for the delete API key model ID versioning operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyModelIDVersioningParams

func NewDeleteAPIKeyModelIDVersioningParams() *DeleteAPIKeyModelIDVersioningParams

NewDeleteAPIKeyModelIDVersioningParams creates a new DeleteAPIKeyModelIDVersioningParams 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 NewDeleteAPIKeyModelIDVersioningParamsWithContext

func NewDeleteAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *DeleteAPIKeyModelIDVersioningParams

NewDeleteAPIKeyModelIDVersioningParamsWithContext creates a new DeleteAPIKeyModelIDVersioningParams object with the ability to set a context for a request.

func NewDeleteAPIKeyModelIDVersioningParamsWithHTTPClient

func NewDeleteAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyModelIDVersioningParams

NewDeleteAPIKeyModelIDVersioningParamsWithHTTPClient creates a new DeleteAPIKeyModelIDVersioningParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyModelIDVersioningParamsWithTimeout

func NewDeleteAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyModelIDVersioningParams

NewDeleteAPIKeyModelIDVersioningParamsWithTimeout creates a new DeleteAPIKeyModelIDVersioningParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyModelIDVersioningParams) SetCommitHash

func (o *DeleteAPIKeyModelIDVersioningParams) SetCommitHash(commitHash string)

SetCommitHash adds the commitHash to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) SetContext

SetContext adds the context to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) SetDefaults

func (o *DeleteAPIKeyModelIDVersioningParams) SetDefaults()

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

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

func (*DeleteAPIKeyModelIDVersioningParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) SetID

SetID adds the id to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) SetTimeout

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

SetTimeout adds the timeout to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) WithCommitHash

WithCommitHash adds the commitHash to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) WithContext

WithContext adds the context to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) WithDefaults

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

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

func (*DeleteAPIKeyModelIDVersioningParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) WithID

WithID adds the id to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) WithTimeout

WithTimeout adds the timeout to the delete API key model ID versioning params

func (*DeleteAPIKeyModelIDVersioningParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyModelIDVersioningReader

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

DeleteAPIKeyModelIDVersioningReader is a Reader for the DeleteAPIKeyModelIDVersioning structure.

func (*DeleteAPIKeyModelIDVersioningReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyModelIDVersioningBadRequest

type GetAPIKeyModelIDVersioningBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyModelIDVersioningBadRequest

func NewGetAPIKeyModelIDVersioningBadRequest() *GetAPIKeyModelIDVersioningBadRequest

NewGetAPIKeyModelIDVersioningBadRequest creates a GetAPIKeyModelIDVersioningBadRequest with default headers values

func (*GetAPIKeyModelIDVersioningBadRequest) Code

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

func (*GetAPIKeyModelIDVersioningBadRequest) Error

func (*GetAPIKeyModelIDVersioningBadRequest) GetPayload

func (*GetAPIKeyModelIDVersioningBadRequest) IsClientError

func (o *GetAPIKeyModelIDVersioningBadRequest) IsClientError() bool

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

func (*GetAPIKeyModelIDVersioningBadRequest) IsCode

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

func (*GetAPIKeyModelIDVersioningBadRequest) IsRedirect

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

func (*GetAPIKeyModelIDVersioningBadRequest) IsServerError

func (o *GetAPIKeyModelIDVersioningBadRequest) IsServerError() bool

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

func (*GetAPIKeyModelIDVersioningBadRequest) IsSuccess

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

func (*GetAPIKeyModelIDVersioningBadRequest) String

type GetAPIKeyModelIDVersioningInternalServerError

type GetAPIKeyModelIDVersioningInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyModelIDVersioningInternalServerError

func NewGetAPIKeyModelIDVersioningInternalServerError() *GetAPIKeyModelIDVersioningInternalServerError

NewGetAPIKeyModelIDVersioningInternalServerError creates a GetAPIKeyModelIDVersioningInternalServerError with default headers values

func (*GetAPIKeyModelIDVersioningInternalServerError) Code

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

func (*GetAPIKeyModelIDVersioningInternalServerError) Error

func (*GetAPIKeyModelIDVersioningInternalServerError) GetPayload

func (*GetAPIKeyModelIDVersioningInternalServerError) IsClientError

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

func (*GetAPIKeyModelIDVersioningInternalServerError) IsCode

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

func (*GetAPIKeyModelIDVersioningInternalServerError) IsRedirect

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

func (*GetAPIKeyModelIDVersioningInternalServerError) IsServerError

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

func (*GetAPIKeyModelIDVersioningInternalServerError) IsSuccess

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

func (*GetAPIKeyModelIDVersioningInternalServerError) String

type GetAPIKeyModelIDVersioningListBadRequest

type GetAPIKeyModelIDVersioningListBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetAPIKeyModelIDVersioningListBadRequest

func NewGetAPIKeyModelIDVersioningListBadRequest() *GetAPIKeyModelIDVersioningListBadRequest

NewGetAPIKeyModelIDVersioningListBadRequest creates a GetAPIKeyModelIDVersioningListBadRequest with default headers values

func (*GetAPIKeyModelIDVersioningListBadRequest) Code

Code gets the status code for the get Api key model Id versioning list bad request response

func (*GetAPIKeyModelIDVersioningListBadRequest) Error

func (*GetAPIKeyModelIDVersioningListBadRequest) GetPayload

func (*GetAPIKeyModelIDVersioningListBadRequest) IsClientError

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

func (*GetAPIKeyModelIDVersioningListBadRequest) IsCode

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

func (*GetAPIKeyModelIDVersioningListBadRequest) IsRedirect

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

func (*GetAPIKeyModelIDVersioningListBadRequest) IsServerError

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

func (*GetAPIKeyModelIDVersioningListBadRequest) IsSuccess

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

func (*GetAPIKeyModelIDVersioningListBadRequest) String

type GetAPIKeyModelIDVersioningListInternalServerError

type GetAPIKeyModelIDVersioningListInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetAPIKeyModelIDVersioningListInternalServerError

func NewGetAPIKeyModelIDVersioningListInternalServerError() *GetAPIKeyModelIDVersioningListInternalServerError

NewGetAPIKeyModelIDVersioningListInternalServerError creates a GetAPIKeyModelIDVersioningListInternalServerError with default headers values

func (*GetAPIKeyModelIDVersioningListInternalServerError) Code

Code gets the status code for the get Api key model Id versioning list internal server error response

func (*GetAPIKeyModelIDVersioningListInternalServerError) Error

func (*GetAPIKeyModelIDVersioningListInternalServerError) GetPayload

func (*GetAPIKeyModelIDVersioningListInternalServerError) IsClientError

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

func (*GetAPIKeyModelIDVersioningListInternalServerError) IsCode

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

func (*GetAPIKeyModelIDVersioningListInternalServerError) IsRedirect

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

func (*GetAPIKeyModelIDVersioningListInternalServerError) IsServerError

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

func (*GetAPIKeyModelIDVersioningListInternalServerError) IsSuccess

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

func (*GetAPIKeyModelIDVersioningListInternalServerError) String

type GetAPIKeyModelIDVersioningListOK

type GetAPIKeyModelIDVersioningListOK struct {
	Payload *models.ResponseGetListModelVersioningLiteResponse
}

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

OK

func NewGetAPIKeyModelIDVersioningListOK

func NewGetAPIKeyModelIDVersioningListOK() *GetAPIKeyModelIDVersioningListOK

NewGetAPIKeyModelIDVersioningListOK creates a GetAPIKeyModelIDVersioningListOK with default headers values

func (*GetAPIKeyModelIDVersioningListOK) Code

Code gets the status code for the get Api key model Id versioning list o k response

func (*GetAPIKeyModelIDVersioningListOK) Error

func (*GetAPIKeyModelIDVersioningListOK) GetPayload

func (*GetAPIKeyModelIDVersioningListOK) IsClientError

func (o *GetAPIKeyModelIDVersioningListOK) IsClientError() bool

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

func (*GetAPIKeyModelIDVersioningListOK) IsCode

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

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

func (*GetAPIKeyModelIDVersioningListOK) IsRedirect

func (o *GetAPIKeyModelIDVersioningListOK) IsRedirect() bool

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

func (*GetAPIKeyModelIDVersioningListOK) IsServerError

func (o *GetAPIKeyModelIDVersioningListOK) IsServerError() bool

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

func (*GetAPIKeyModelIDVersioningListOK) IsSuccess

func (o *GetAPIKeyModelIDVersioningListOK) IsSuccess() bool

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

func (*GetAPIKeyModelIDVersioningListOK) String

type GetAPIKeyModelIDVersioningListParams

type GetAPIKeyModelIDVersioningListParams struct {

	/* ID.

	   Model's id
	*/
	ID string

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

	// Offset.
	Offset *int64

	// VerifyStatus.
	VerifyStatus *string

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

GetAPIKeyModelIDVersioningListParams contains all the parameters to send to the API endpoint

for the get API key model ID versioning list operation.

Typically these are written to a http.Request.

func NewGetAPIKeyModelIDVersioningListParams

func NewGetAPIKeyModelIDVersioningListParams() *GetAPIKeyModelIDVersioningListParams

NewGetAPIKeyModelIDVersioningListParams creates a new GetAPIKeyModelIDVersioningListParams 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 NewGetAPIKeyModelIDVersioningListParamsWithContext

func NewGetAPIKeyModelIDVersioningListParamsWithContext(ctx context.Context) *GetAPIKeyModelIDVersioningListParams

NewGetAPIKeyModelIDVersioningListParamsWithContext creates a new GetAPIKeyModelIDVersioningListParams object with the ability to set a context for a request.

func NewGetAPIKeyModelIDVersioningListParamsWithHTTPClient

func NewGetAPIKeyModelIDVersioningListParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningListParams

NewGetAPIKeyModelIDVersioningListParamsWithHTTPClient creates a new GetAPIKeyModelIDVersioningListParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyModelIDVersioningListParamsWithTimeout

func NewGetAPIKeyModelIDVersioningListParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningListParams

NewGetAPIKeyModelIDVersioningListParamsWithTimeout creates a new GetAPIKeyModelIDVersioningListParams object with the ability to set a timeout on a request.

func (*GetAPIKeyModelIDVersioningListParams) SetContext

SetContext adds the context to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) SetDefaults

func (o *GetAPIKeyModelIDVersioningListParams) SetDefaults()

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

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

func (*GetAPIKeyModelIDVersioningListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) SetID

SetID adds the id to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) SetLimit

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

SetLimit adds the limit to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) SetOffset

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

SetOffset adds the offset to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) SetTimeout

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

SetTimeout adds the timeout to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) SetVerifyStatus

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

SetVerifyStatus adds the verifyStatus to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) WithContext

WithContext adds the context to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) WithDefaults

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

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

func (*GetAPIKeyModelIDVersioningListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) WithID

WithID adds the id to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) WithLimit

WithLimit adds the limit to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) WithOffset

WithOffset adds the offset to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) WithTimeout

WithTimeout adds the timeout to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) WithVerifyStatus

WithVerifyStatus adds the verifyStatus to the get API key model ID versioning list params

func (*GetAPIKeyModelIDVersioningListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyModelIDVersioningListReader

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

GetAPIKeyModelIDVersioningListReader is a Reader for the GetAPIKeyModelIDVersioningList structure.

func (*GetAPIKeyModelIDVersioningListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyModelIDVersioningOK

type GetAPIKeyModelIDVersioningOK struct {
	Payload *models.ResponseModelVersioningGroupLiteResponse
}

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

OK

func NewGetAPIKeyModelIDVersioningOK

func NewGetAPIKeyModelIDVersioningOK() *GetAPIKeyModelIDVersioningOK

NewGetAPIKeyModelIDVersioningOK creates a GetAPIKeyModelIDVersioningOK with default headers values

func (*GetAPIKeyModelIDVersioningOK) Code

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

func (*GetAPIKeyModelIDVersioningOK) Error

func (*GetAPIKeyModelIDVersioningOK) GetPayload

func (*GetAPIKeyModelIDVersioningOK) IsClientError

func (o *GetAPIKeyModelIDVersioningOK) IsClientError() bool

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

func (*GetAPIKeyModelIDVersioningOK) IsCode

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

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

func (*GetAPIKeyModelIDVersioningOK) IsRedirect

func (o *GetAPIKeyModelIDVersioningOK) IsRedirect() bool

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

func (*GetAPIKeyModelIDVersioningOK) IsServerError

func (o *GetAPIKeyModelIDVersioningOK) IsServerError() bool

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

func (*GetAPIKeyModelIDVersioningOK) IsSuccess

func (o *GetAPIKeyModelIDVersioningOK) IsSuccess() bool

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

func (*GetAPIKeyModelIDVersioningOK) String

type GetAPIKeyModelIDVersioningParams

type GetAPIKeyModelIDVersioningParams struct {

	/* ID.

	   Model's id
	*/
	ID string

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

GetAPIKeyModelIDVersioningParams contains all the parameters to send to the API endpoint

for the get API key model ID versioning operation.

Typically these are written to a http.Request.

func NewGetAPIKeyModelIDVersioningParams

func NewGetAPIKeyModelIDVersioningParams() *GetAPIKeyModelIDVersioningParams

NewGetAPIKeyModelIDVersioningParams creates a new GetAPIKeyModelIDVersioningParams 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 NewGetAPIKeyModelIDVersioningParamsWithContext

func NewGetAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *GetAPIKeyModelIDVersioningParams

NewGetAPIKeyModelIDVersioningParamsWithContext creates a new GetAPIKeyModelIDVersioningParams object with the ability to set a context for a request.

func NewGetAPIKeyModelIDVersioningParamsWithHTTPClient

func NewGetAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningParams

NewGetAPIKeyModelIDVersioningParamsWithHTTPClient creates a new GetAPIKeyModelIDVersioningParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyModelIDVersioningParamsWithTimeout

func NewGetAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningParams

NewGetAPIKeyModelIDVersioningParamsWithTimeout creates a new GetAPIKeyModelIDVersioningParams object with the ability to set a timeout on a request.

func (*GetAPIKeyModelIDVersioningParams) SetContext

SetContext adds the context to the get API key model ID versioning params

func (*GetAPIKeyModelIDVersioningParams) SetDefaults

func (o *GetAPIKeyModelIDVersioningParams) SetDefaults()

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

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

func (*GetAPIKeyModelIDVersioningParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key model ID versioning params

func (*GetAPIKeyModelIDVersioningParams) SetID

SetID adds the id to the get API key model ID versioning params

func (*GetAPIKeyModelIDVersioningParams) SetTimeout

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

SetTimeout adds the timeout to the get API key model ID versioning params

func (*GetAPIKeyModelIDVersioningParams) WithContext

WithContext adds the context to the get API key model ID versioning params

func (*GetAPIKeyModelIDVersioningParams) WithDefaults

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

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

func (*GetAPIKeyModelIDVersioningParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API key model ID versioning params

func (*GetAPIKeyModelIDVersioningParams) WithID

WithID adds the id to the get API key model ID versioning params

func (*GetAPIKeyModelIDVersioningParams) WithTimeout

WithTimeout adds the timeout to the get API key model ID versioning params

func (*GetAPIKeyModelIDVersioningParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyModelIDVersioningReader

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

GetAPIKeyModelIDVersioningReader is a Reader for the GetAPIKeyModelIDVersioning structure.

func (*GetAPIKeyModelIDVersioningReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAPIKeyModelIDVersioningBadRequest

type PutAPIKeyModelIDVersioningBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPutAPIKeyModelIDVersioningBadRequest

func NewPutAPIKeyModelIDVersioningBadRequest() *PutAPIKeyModelIDVersioningBadRequest

NewPutAPIKeyModelIDVersioningBadRequest creates a PutAPIKeyModelIDVersioningBadRequest with default headers values

func (*PutAPIKeyModelIDVersioningBadRequest) Code

Code gets the status code for the put Api key model Id versioning bad request response

func (*PutAPIKeyModelIDVersioningBadRequest) Error

func (*PutAPIKeyModelIDVersioningBadRequest) GetPayload

func (*PutAPIKeyModelIDVersioningBadRequest) IsClientError

func (o *PutAPIKeyModelIDVersioningBadRequest) IsClientError() bool

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

func (*PutAPIKeyModelIDVersioningBadRequest) IsCode

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

func (*PutAPIKeyModelIDVersioningBadRequest) IsRedirect

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

func (*PutAPIKeyModelIDVersioningBadRequest) IsServerError

func (o *PutAPIKeyModelIDVersioningBadRequest) IsServerError() bool

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

func (*PutAPIKeyModelIDVersioningBadRequest) IsSuccess

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

func (*PutAPIKeyModelIDVersioningBadRequest) String

type PutAPIKeyModelIDVersioningInternalServerError

type PutAPIKeyModelIDVersioningInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPutAPIKeyModelIDVersioningInternalServerError

func NewPutAPIKeyModelIDVersioningInternalServerError() *PutAPIKeyModelIDVersioningInternalServerError

NewPutAPIKeyModelIDVersioningInternalServerError creates a PutAPIKeyModelIDVersioningInternalServerError with default headers values

func (*PutAPIKeyModelIDVersioningInternalServerError) Code

Code gets the status code for the put Api key model Id versioning internal server error response

func (*PutAPIKeyModelIDVersioningInternalServerError) Error

func (*PutAPIKeyModelIDVersioningInternalServerError) GetPayload

func (*PutAPIKeyModelIDVersioningInternalServerError) IsClientError

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

func (*PutAPIKeyModelIDVersioningInternalServerError) IsCode

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

func (*PutAPIKeyModelIDVersioningInternalServerError) IsRedirect

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

func (*PutAPIKeyModelIDVersioningInternalServerError) IsServerError

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

func (*PutAPIKeyModelIDVersioningInternalServerError) IsSuccess

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

func (*PutAPIKeyModelIDVersioningInternalServerError) String

type PutAPIKeyModelIDVersioningOK

type PutAPIKeyModelIDVersioningOK struct {
	Payload *models.ResponseSuccessResponse
}

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

OK

func NewPutAPIKeyModelIDVersioningOK

func NewPutAPIKeyModelIDVersioningOK() *PutAPIKeyModelIDVersioningOK

NewPutAPIKeyModelIDVersioningOK creates a PutAPIKeyModelIDVersioningOK with default headers values

func (*PutAPIKeyModelIDVersioningOK) Code

Code gets the status code for the put Api key model Id versioning o k response

func (*PutAPIKeyModelIDVersioningOK) Error

func (*PutAPIKeyModelIDVersioningOK) GetPayload

func (*PutAPIKeyModelIDVersioningOK) IsClientError

func (o *PutAPIKeyModelIDVersioningOK) IsClientError() bool

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

func (*PutAPIKeyModelIDVersioningOK) IsCode

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

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

func (*PutAPIKeyModelIDVersioningOK) IsRedirect

func (o *PutAPIKeyModelIDVersioningOK) IsRedirect() bool

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

func (*PutAPIKeyModelIDVersioningOK) IsServerError

func (o *PutAPIKeyModelIDVersioningOK) IsServerError() bool

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

func (*PutAPIKeyModelIDVersioningOK) IsSuccess

func (o *PutAPIKeyModelIDVersioningOK) IsSuccess() bool

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

func (*PutAPIKeyModelIDVersioningOK) String

type PutAPIKeyModelIDVersioningParams

type PutAPIKeyModelIDVersioningParams struct {

	// CommitHash.
	CommitHash string

	/* ID.

	   Model's id
	*/
	ID string

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

PutAPIKeyModelIDVersioningParams contains all the parameters to send to the API endpoint

for the put API key model ID versioning operation.

Typically these are written to a http.Request.

func NewPutAPIKeyModelIDVersioningParams

func NewPutAPIKeyModelIDVersioningParams() *PutAPIKeyModelIDVersioningParams

NewPutAPIKeyModelIDVersioningParams creates a new PutAPIKeyModelIDVersioningParams 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 NewPutAPIKeyModelIDVersioningParamsWithContext

func NewPutAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *PutAPIKeyModelIDVersioningParams

NewPutAPIKeyModelIDVersioningParamsWithContext creates a new PutAPIKeyModelIDVersioningParams object with the ability to set a context for a request.

func NewPutAPIKeyModelIDVersioningParamsWithHTTPClient

func NewPutAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *PutAPIKeyModelIDVersioningParams

NewPutAPIKeyModelIDVersioningParamsWithHTTPClient creates a new PutAPIKeyModelIDVersioningParams object with the ability to set a custom HTTPClient for a request.

func NewPutAPIKeyModelIDVersioningParamsWithTimeout

func NewPutAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *PutAPIKeyModelIDVersioningParams

NewPutAPIKeyModelIDVersioningParamsWithTimeout creates a new PutAPIKeyModelIDVersioningParams object with the ability to set a timeout on a request.

func (*PutAPIKeyModelIDVersioningParams) SetCommitHash

func (o *PutAPIKeyModelIDVersioningParams) SetCommitHash(commitHash string)

SetCommitHash adds the commitHash to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) SetContext

SetContext adds the context to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) SetDefaults

func (o *PutAPIKeyModelIDVersioningParams) SetDefaults()

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

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

func (*PutAPIKeyModelIDVersioningParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) SetID

SetID adds the id to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) SetTimeout

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

SetTimeout adds the timeout to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) WithCommitHash

WithCommitHash adds the commitHash to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) WithContext

WithContext adds the context to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) WithDefaults

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

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

func (*PutAPIKeyModelIDVersioningParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) WithID

WithID adds the id to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) WithTimeout

WithTimeout adds the timeout to the put API key model ID versioning params

func (*PutAPIKeyModelIDVersioningParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAPIKeyModelIDVersioningReader

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

PutAPIKeyModelIDVersioningReader is a Reader for the PutAPIKeyModelIDVersioning structure.

func (*PutAPIKeyModelIDVersioningReader) ReadResponse

func (o *PutAPIKeyModelIDVersioningReader) 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