model package - github.com/AIOZNetwork/aioz-ai-go-client/generated/client/model - Go Packages

model

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 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 model API

func (*Client) GetModelByID

func (a *Client) GetModelByID(params *GetModelByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDOK, error)

GetModelByID gets model

func (*Client) GetModelByIDInfo

func (a *Client) GetModelByIDInfo(params *GetModelByIDInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDInfoOK, error)

GetModelByIDInfo gets Api key model info

func (*Client) GetModelByIDServing

func (a *Client) GetModelByIDServing(params *GetModelByIDServingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDServingOK, error)

GetModelByIDServing checks model is serving

func (*Client) GetModelByIDTaskCost

func (a *Client) GetModelByIDTaskCost(params *GetModelByIDTaskCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDTaskCostOK, error)

GetModelByIDTaskCost gets cost to compute task by model api key

func (*Client) GetModelByIDVersioning added in v1.0.4

func (a *Client) GetModelByIDVersioning(params *GetModelByIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDVersioningOK, error)

GetModelByIDVersioning gets current model versioning by model Id by Api key

func (*Client) GetModelByUsernameByName

func (a *Client) GetModelByUsernameByName(params *GetModelByUsernameByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByUsernameByNameOK, error)

GetModelByUsernameByName gets model by name

func (*Client) GetModelOrganizationByOrg

func (a *Client) GetModelOrganizationByOrg(params *GetModelOrganizationByOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelOrganizationByOrgOK, error)

GetModelOrganizationByOrg gets list model by org username

sort is one of name, created, modified

func (*Client) PostModel

func (a *Client) PostModel(params *PostModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelOK, error)

PostModel creates model

func (*Client) PostModelByIDStatistics

func (a *Client) PostModelByIDStatistics(params *PostModelByIDStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelByIDStatisticsOK, error)

PostModelByIDStatistics gets model statistics

func (*Client) PostModelList

func (a *Client) PostModelList(params *PostModelListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelListOK, error)

PostModelList gets model list

filter is one of author, community, official, permission, verified

func (*Client) PostModelListByAuthorByUsername

func (a *Client) PostModelListByAuthorByUsername(params *PostModelListByAuthorByUsernameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelListByAuthorByUsernameOK, error)

PostModelListByAuthorByUsername gets model list by user

func (*Client) PostModelMatchingTags

func (a *Client) PostModelMatchingTags(params *PostModelMatchingTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelMatchingTagsOK, error)

PostModelMatchingTags matchings models tags

tag_type is one of tasks, licenses, libraries, languages, all

func (*Client) PutModelByID

func (a *Client) PutModelByID(params *PutModelByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutModelByIDOK, error)

PutModelByID updates model

func (*Client) PutModelByIDMetadata

func (a *Client) PutModelByIDMetadata(params *PutModelByIDMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutModelByIDMetadataOK, error)

PutModelByIDMetadata updates model metadata

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 {
	GetModelByID(params *GetModelByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDOK, error)

	GetModelByIDInfo(params *GetModelByIDInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDInfoOK, error)

	GetModelByIDServing(params *GetModelByIDServingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDServingOK, error)

	GetModelByIDTaskCost(params *GetModelByIDTaskCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDTaskCostOK, error)

	GetModelByIDVersioning(params *GetModelByIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByIDVersioningOK, error)

	GetModelByUsernameByName(params *GetModelByUsernameByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelByUsernameByNameOK, error)

	GetModelOrganizationByOrg(params *GetModelOrganizationByOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetModelOrganizationByOrgOK, error)

	PostModel(params *PostModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelOK, error)

	PostModelByIDStatistics(params *PostModelByIDStatisticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelByIDStatisticsOK, error)

	PostModelList(params *PostModelListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelListOK, error)

	PostModelListByAuthorByUsername(params *PostModelListByAuthorByUsernameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelListByAuthorByUsernameOK, error)

	PostModelMatchingTags(params *PostModelMatchingTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostModelMatchingTagsOK, error)

	PutModelByID(params *PutModelByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutModelByIDOK, error)

	PutModelByIDMetadata(params *PutModelByIDMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutModelByIDMetadataOK, 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 model API client.

func NewClientWithBasicAuth

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

New creates a new model 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 model 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 GetModelByIDBadRequest

type GetModelByIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetModelByIDBadRequest

func NewGetModelByIDBadRequest() *GetModelByIDBadRequest

NewGetModelByIDBadRequest creates a GetModelByIDBadRequest with default headers values

func (*GetModelByIDBadRequest) Code

func (o *GetModelByIDBadRequest) Code() int

Code gets the status code for the get model by Id bad request response

func (*GetModelByIDBadRequest) Error

func (o *GetModelByIDBadRequest) Error() string

func (*GetModelByIDBadRequest) GetPayload

func (*GetModelByIDBadRequest) IsClientError

func (o *GetModelByIDBadRequest) IsClientError() bool

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

func (*GetModelByIDBadRequest) IsCode

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

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

func (*GetModelByIDBadRequest) IsRedirect

func (o *GetModelByIDBadRequest) IsRedirect() bool

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

func (*GetModelByIDBadRequest) IsServerError

func (o *GetModelByIDBadRequest) IsServerError() bool

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

func (*GetModelByIDBadRequest) IsSuccess

func (o *GetModelByIDBadRequest) IsSuccess() bool

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

func (*GetModelByIDBadRequest) String

func (o *GetModelByIDBadRequest) String() string

type GetModelByIDInfoBadRequest

type GetModelByIDInfoBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetModelByIDInfoBadRequest

func NewGetModelByIDInfoBadRequest() *GetModelByIDInfoBadRequest

NewGetModelByIDInfoBadRequest creates a GetModelByIDInfoBadRequest with default headers values

func (*GetModelByIDInfoBadRequest) Code

func (o *GetModelByIDInfoBadRequest) Code() int

Code gets the status code for the get model by Id info bad request response

func (*GetModelByIDInfoBadRequest) Error

func (*GetModelByIDInfoBadRequest) GetPayload

func (*GetModelByIDInfoBadRequest) IsClientError

func (o *GetModelByIDInfoBadRequest) IsClientError() bool

IsClientError returns true when this get model by Id info bad request response has a 4xx status code

func (*GetModelByIDInfoBadRequest) IsCode

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

IsCode returns true when this get model by Id info bad request response a status code equal to that given

func (*GetModelByIDInfoBadRequest) IsRedirect

func (o *GetModelByIDInfoBadRequest) IsRedirect() bool

IsRedirect returns true when this get model by Id info bad request response has a 3xx status code

func (*GetModelByIDInfoBadRequest) IsServerError

func (o *GetModelByIDInfoBadRequest) IsServerError() bool

IsServerError returns true when this get model by Id info bad request response has a 5xx status code

func (*GetModelByIDInfoBadRequest) IsSuccess

func (o *GetModelByIDInfoBadRequest) IsSuccess() bool

IsSuccess returns true when this get model by Id info bad request response has a 2xx status code

func (*GetModelByIDInfoBadRequest) String

func (o *GetModelByIDInfoBadRequest) String() string

type GetModelByIDInfoInternalServerError

type GetModelByIDInfoInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetModelByIDInfoInternalServerError

func NewGetModelByIDInfoInternalServerError() *GetModelByIDInfoInternalServerError

NewGetModelByIDInfoInternalServerError creates a GetModelByIDInfoInternalServerError with default headers values

func (*GetModelByIDInfoInternalServerError) Code

Code gets the status code for the get model by Id info internal server error response

func (*GetModelByIDInfoInternalServerError) Error

func (*GetModelByIDInfoInternalServerError) GetPayload

func (*GetModelByIDInfoInternalServerError) IsClientError

func (o *GetModelByIDInfoInternalServerError) IsClientError() bool

IsClientError returns true when this get model by Id info internal server error response has a 4xx status code

func (*GetModelByIDInfoInternalServerError) IsCode

IsCode returns true when this get model by Id info internal server error response a status code equal to that given

func (*GetModelByIDInfoInternalServerError) IsRedirect

func (o *GetModelByIDInfoInternalServerError) IsRedirect() bool

IsRedirect returns true when this get model by Id info internal server error response has a 3xx status code

func (*GetModelByIDInfoInternalServerError) IsServerError

func (o *GetModelByIDInfoInternalServerError) IsServerError() bool

IsServerError returns true when this get model by Id info internal server error response has a 5xx status code

func (*GetModelByIDInfoInternalServerError) IsSuccess

IsSuccess returns true when this get model by Id info internal server error response has a 2xx status code

func (*GetModelByIDInfoInternalServerError) String

type GetModelByIDInfoOK

type GetModelByIDInfoOK struct {
	Payload *models.ResponseAPIKeyInfoResponse
}

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

OK

func NewGetModelByIDInfoOK

func NewGetModelByIDInfoOK() *GetModelByIDInfoOK

NewGetModelByIDInfoOK creates a GetModelByIDInfoOK with default headers values

func (*GetModelByIDInfoOK) Code

func (o *GetModelByIDInfoOK) Code() int

Code gets the status code for the get model by Id info o k response

func (*GetModelByIDInfoOK) Error

func (o *GetModelByIDInfoOK) Error() string

func (*GetModelByIDInfoOK) GetPayload

func (*GetModelByIDInfoOK) IsClientError

func (o *GetModelByIDInfoOK) IsClientError() bool

IsClientError returns true when this get model by Id info o k response has a 4xx status code

func (*GetModelByIDInfoOK) IsCode

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

IsCode returns true when this get model by Id info o k response a status code equal to that given

func (*GetModelByIDInfoOK) IsRedirect

func (o *GetModelByIDInfoOK) IsRedirect() bool

IsRedirect returns true when this get model by Id info o k response has a 3xx status code

func (*GetModelByIDInfoOK) IsServerError

func (o *GetModelByIDInfoOK) IsServerError() bool

IsServerError returns true when this get model by Id info o k response has a 5xx status code

func (*GetModelByIDInfoOK) IsSuccess

func (o *GetModelByIDInfoOK) IsSuccess() bool

IsSuccess returns true when this get model by Id info o k response has a 2xx status code

func (*GetModelByIDInfoOK) String

func (o *GetModelByIDInfoOK) String() string

type GetModelByIDInfoParams

type GetModelByIDInfoParams struct {

	/* ID.

	   Model's id
	*/
	ID string

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

GetModelByIDInfoParams contains all the parameters to send to the API endpoint

for the get model by Id info operation.

Typically these are written to a http.Request.

func NewGetModelByIDInfoParams

func NewGetModelByIDInfoParams() *GetModelByIDInfoParams

NewGetModelByIDInfoParams creates a new GetModelByIDInfoParams 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 NewGetModelByIDInfoParamsWithContext

func NewGetModelByIDInfoParamsWithContext(ctx context.Context) *GetModelByIDInfoParams

NewGetModelByIDInfoParamsWithContext creates a new GetModelByIDInfoParams object with the ability to set a context for a request.

func NewGetModelByIDInfoParamsWithHTTPClient

func NewGetModelByIDInfoParamsWithHTTPClient(client *http.Client) *GetModelByIDInfoParams

NewGetModelByIDInfoParamsWithHTTPClient creates a new GetModelByIDInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetModelByIDInfoParamsWithTimeout

func NewGetModelByIDInfoParamsWithTimeout(timeout time.Duration) *GetModelByIDInfoParams

NewGetModelByIDInfoParamsWithTimeout creates a new GetModelByIDInfoParams object with the ability to set a timeout on a request.

func (*GetModelByIDInfoParams) SetContext

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

SetContext adds the context to the get model by Id info params

func (*GetModelByIDInfoParams) SetDefaults

func (o *GetModelByIDInfoParams) SetDefaults()

SetDefaults hydrates default values in the get model by Id info params (not the query body).

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

func (*GetModelByIDInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get model by Id info params

func (*GetModelByIDInfoParams) SetID

func (o *GetModelByIDInfoParams) SetID(id string)

SetID adds the id to the get model by Id info params

func (*GetModelByIDInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get model by Id info params

func (*GetModelByIDInfoParams) WithContext

WithContext adds the context to the get model by Id info params

func (*GetModelByIDInfoParams) WithDefaults

WithDefaults hydrates default values in the get model by Id info params (not the query body).

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

func (*GetModelByIDInfoParams) WithHTTPClient

func (o *GetModelByIDInfoParams) WithHTTPClient(client *http.Client) *GetModelByIDInfoParams

WithHTTPClient adds the HTTPClient to the get model by Id info params

func (*GetModelByIDInfoParams) WithID

WithID adds the id to the get model by Id info params

func (*GetModelByIDInfoParams) WithTimeout

WithTimeout adds the timeout to the get model by Id info params

func (*GetModelByIDInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetModelByIDInfoReader

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

GetModelByIDInfoReader is a Reader for the GetModelByIDInfo structure.

func (*GetModelByIDInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetModelByIDInternalServerError

type GetModelByIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetModelByIDInternalServerError

func NewGetModelByIDInternalServerError() *GetModelByIDInternalServerError

NewGetModelByIDInternalServerError creates a GetModelByIDInternalServerError with default headers values

func (*GetModelByIDInternalServerError) Code

Code gets the status code for the get model by Id internal server error response

func (*GetModelByIDInternalServerError) Error

func (*GetModelByIDInternalServerError) GetPayload

func (*GetModelByIDInternalServerError) IsClientError

func (o *GetModelByIDInternalServerError) IsClientError() bool

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

func (*GetModelByIDInternalServerError) IsCode

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

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

func (*GetModelByIDInternalServerError) IsRedirect

func (o *GetModelByIDInternalServerError) IsRedirect() bool

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

func (*GetModelByIDInternalServerError) IsServerError

func (o *GetModelByIDInternalServerError) IsServerError() bool

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

func (*GetModelByIDInternalServerError) IsSuccess

func (o *GetModelByIDInternalServerError) IsSuccess() bool

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

func (*GetModelByIDInternalServerError) String

type GetModelByIDOK

type GetModelByIDOK struct {
	Payload *models.ResponseModelResponse
}

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

OK

func NewGetModelByIDOK

func NewGetModelByIDOK() *GetModelByIDOK

NewGetModelByIDOK creates a GetModelByIDOK with default headers values

func (*GetModelByIDOK) Code

func (o *GetModelByIDOK) Code() int

Code gets the status code for the get model by Id o k response

func (*GetModelByIDOK) Error

func (o *GetModelByIDOK) Error() string

func (*GetModelByIDOK) GetPayload

func (o *GetModelByIDOK) GetPayload() *models.ResponseModelResponse

func (*GetModelByIDOK) IsClientError

func (o *GetModelByIDOK) IsClientError() bool

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

func (*GetModelByIDOK) IsCode

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

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

func (*GetModelByIDOK) IsRedirect

func (o *GetModelByIDOK) IsRedirect() bool

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

func (*GetModelByIDOK) IsServerError

func (o *GetModelByIDOK) IsServerError() bool

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

func (*GetModelByIDOK) IsSuccess

func (o *GetModelByIDOK) IsSuccess() bool

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

func (*GetModelByIDOK) String

func (o *GetModelByIDOK) String() string

type GetModelByIDParams

type GetModelByIDParams struct {

	/* ID.

	   Model's id
	*/
	ID string

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

GetModelByIDParams contains all the parameters to send to the API endpoint

for the get model by Id operation.

Typically these are written to a http.Request.

func NewGetModelByIDParams

func NewGetModelByIDParams() *GetModelByIDParams

NewGetModelByIDParams creates a new GetModelByIDParams 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 NewGetModelByIDParamsWithContext

func NewGetModelByIDParamsWithContext(ctx context.Context) *GetModelByIDParams

NewGetModelByIDParamsWithContext creates a new GetModelByIDParams object with the ability to set a context for a request.

func NewGetModelByIDParamsWithHTTPClient

func NewGetModelByIDParamsWithHTTPClient(client *http.Client) *GetModelByIDParams

NewGetModelByIDParamsWithHTTPClient creates a new GetModelByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetModelByIDParamsWithTimeout

func NewGetModelByIDParamsWithTimeout(timeout time.Duration) *GetModelByIDParams

NewGetModelByIDParamsWithTimeout creates a new GetModelByIDParams object with the ability to set a timeout on a request.

func (*GetModelByIDParams) SetContext

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

SetContext adds the context to the get model by Id params

func (*GetModelByIDParams) SetDefaults

func (o *GetModelByIDParams) SetDefaults()

SetDefaults hydrates default values in the get model by Id params (not the query body).

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

func (*GetModelByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get model by Id params

func (*GetModelByIDParams) SetID

func (o *GetModelByIDParams) SetID(id string)

SetID adds the id to the get model by Id params

func (*GetModelByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get model by Id params

func (*GetModelByIDParams) WithContext

WithContext adds the context to the get model by Id params

func (*GetModelByIDParams) WithDefaults

func (o *GetModelByIDParams) WithDefaults() *GetModelByIDParams

WithDefaults hydrates default values in the get model by Id params (not the query body).

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

func (*GetModelByIDParams) WithHTTPClient

func (o *GetModelByIDParams) WithHTTPClient(client *http.Client) *GetModelByIDParams

WithHTTPClient adds the HTTPClient to the get model by Id params

func (*GetModelByIDParams) WithID

WithID adds the id to the get model by Id params

func (*GetModelByIDParams) WithTimeout

func (o *GetModelByIDParams) WithTimeout(timeout time.Duration) *GetModelByIDParams

WithTimeout adds the timeout to the get model by Id params

func (*GetModelByIDParams) WriteToRequest

func (o *GetModelByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetModelByIDReader

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

GetModelByIDReader is a Reader for the GetModelByID structure.

func (*GetModelByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetModelByIDServingBadRequest

type GetModelByIDServingBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetModelByIDServingBadRequest

func NewGetModelByIDServingBadRequest() *GetModelByIDServingBadRequest

NewGetModelByIDServingBadRequest creates a GetModelByIDServingBadRequest with default headers values

func (*GetModelByIDServingBadRequest) Code

Code gets the status code for the get model by Id serving bad request response

func (*GetModelByIDServingBadRequest) Error

func (*GetModelByIDServingBadRequest) GetPayload

func (*GetModelByIDServingBadRequest) IsClientError

func (o *GetModelByIDServingBadRequest) IsClientError() bool

IsClientError returns true when this get model by Id serving bad request response has a 4xx status code

func (*GetModelByIDServingBadRequest) IsCode

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

IsCode returns true when this get model by Id serving bad request response a status code equal to that given

func (*GetModelByIDServingBadRequest) IsRedirect

func (o *GetModelByIDServingBadRequest) IsRedirect() bool

IsRedirect returns true when this get model by Id serving bad request response has a 3xx status code

func (*GetModelByIDServingBadRequest) IsServerError

func (o *GetModelByIDServingBadRequest) IsServerError() bool

IsServerError returns true when this get model by Id serving bad request response has a 5xx status code

func (*GetModelByIDServingBadRequest) IsSuccess

func (o *GetModelByIDServingBadRequest) IsSuccess() bool

IsSuccess returns true when this get model by Id serving bad request response has a 2xx status code

func (*GetModelByIDServingBadRequest) String

type GetModelByIDServingInternalServerError

type GetModelByIDServingInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetModelByIDServingInternalServerError

func NewGetModelByIDServingInternalServerError() *GetModelByIDServingInternalServerError

NewGetModelByIDServingInternalServerError creates a GetModelByIDServingInternalServerError with default headers values

func (*GetModelByIDServingInternalServerError) Code

Code gets the status code for the get model by Id serving internal server error response

func (*GetModelByIDServingInternalServerError) Error

func (*GetModelByIDServingInternalServerError) GetPayload

func (*GetModelByIDServingInternalServerError) IsClientError

func (o *GetModelByIDServingInternalServerError) IsClientError() bool

IsClientError returns true when this get model by Id serving internal server error response has a 4xx status code

func (*GetModelByIDServingInternalServerError) IsCode

IsCode returns true when this get model by Id serving internal server error response a status code equal to that given

func (*GetModelByIDServingInternalServerError) IsRedirect

IsRedirect returns true when this get model by Id serving internal server error response has a 3xx status code

func (*GetModelByIDServingInternalServerError) IsServerError

func (o *GetModelByIDServingInternalServerError) IsServerError() bool

IsServerError returns true when this get model by Id serving internal server error response has a 5xx status code

func (*GetModelByIDServingInternalServerError) IsSuccess

IsSuccess returns true when this get model by Id serving internal server error response has a 2xx status code

func (*GetModelByIDServingInternalServerError) String

type GetModelByIDServingOK

type GetModelByIDServingOK struct {
	Payload *models.ResponseCheckModelIsServingResponse
}

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

OK

func NewGetModelByIDServingOK

func NewGetModelByIDServingOK() *GetModelByIDServingOK

NewGetModelByIDServingOK creates a GetModelByIDServingOK with default headers values

func (*GetModelByIDServingOK) Code

func (o *GetModelByIDServingOK) Code() int

Code gets the status code for the get model by Id serving o k response

func (*GetModelByIDServingOK) Error

func (o *GetModelByIDServingOK) Error() string

func (*GetModelByIDServingOK) GetPayload

func (*GetModelByIDServingOK) IsClientError

func (o *GetModelByIDServingOK) IsClientError() bool

IsClientError returns true when this get model by Id serving o k response has a 4xx status code

func (*GetModelByIDServingOK) IsCode

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

IsCode returns true when this get model by Id serving o k response a status code equal to that given

func (*GetModelByIDServingOK) IsRedirect

func (o *GetModelByIDServingOK) IsRedirect() bool

IsRedirect returns true when this get model by Id serving o k response has a 3xx status code

func (*GetModelByIDServingOK) IsServerError

func (o *GetModelByIDServingOK) IsServerError() bool

IsServerError returns true when this get model by Id serving o k response has a 5xx status code

func (*GetModelByIDServingOK) IsSuccess

func (o *GetModelByIDServingOK) IsSuccess() bool

IsSuccess returns true when this get model by Id serving o k response has a 2xx status code

func (*GetModelByIDServingOK) String

func (o *GetModelByIDServingOK) String() string

type GetModelByIDServingParams

type GetModelByIDServingParams struct {

	/* ID.

	   Model's id
	*/
	ID string

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

GetModelByIDServingParams contains all the parameters to send to the API endpoint

for the get model by Id serving operation.

Typically these are written to a http.Request.

func NewGetModelByIDServingParams

func NewGetModelByIDServingParams() *GetModelByIDServingParams

NewGetModelByIDServingParams creates a new GetModelByIDServingParams 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 NewGetModelByIDServingParamsWithContext

func NewGetModelByIDServingParamsWithContext(ctx context.Context) *GetModelByIDServingParams

NewGetModelByIDServingParamsWithContext creates a new GetModelByIDServingParams object with the ability to set a context for a request.

func NewGetModelByIDServingParamsWithHTTPClient

func NewGetModelByIDServingParamsWithHTTPClient(client *http.Client) *GetModelByIDServingParams

NewGetModelByIDServingParamsWithHTTPClient creates a new GetModelByIDServingParams object with the ability to set a custom HTTPClient for a request.

func NewGetModelByIDServingParamsWithTimeout

func NewGetModelByIDServingParamsWithTimeout(timeout time.Duration) *GetModelByIDServingParams

NewGetModelByIDServingParamsWithTimeout creates a new GetModelByIDServingParams object with the ability to set a timeout on a request.

func (*GetModelByIDServingParams) SetContext

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

SetContext adds the context to the get model by Id serving params

func (*GetModelByIDServingParams) SetDefaults

func (o *GetModelByIDServingParams) SetDefaults()

SetDefaults hydrates default values in the get model by Id serving params (not the query body).

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

func (*GetModelByIDServingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get model by Id serving params

func (*GetModelByIDServingParams) SetID

func (o *GetModelByIDServingParams) SetID(id string)

SetID adds the id to the get model by Id serving params

func (*GetModelByIDServingParams) SetTimeout

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

SetTimeout adds the timeout to the get model by Id serving params

func (*GetModelByIDServingParams) WithContext

WithContext adds the context to the get model by Id serving params

func (*GetModelByIDServingParams) WithDefaults

WithDefaults hydrates default values in the get model by Id serving params (not the query body).

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

func (*GetModelByIDServingParams) WithHTTPClient

func (o *GetModelByIDServingParams) WithHTTPClient(client *http.Client) *GetModelByIDServingParams

WithHTTPClient adds the HTTPClient to the get model by Id serving params

func (*GetModelByIDServingParams) WithID

WithID adds the id to the get model by Id serving params

func (*GetModelByIDServingParams) WithTimeout

WithTimeout adds the timeout to the get model by Id serving params

func (*GetModelByIDServingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetModelByIDServingReader

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

GetModelByIDServingReader is a Reader for the GetModelByIDServing structure.

func (*GetModelByIDServingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetModelByIDTaskCostBadRequest

type GetModelByIDTaskCostBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetModelByIDTaskCostBadRequest

func NewGetModelByIDTaskCostBadRequest() *GetModelByIDTaskCostBadRequest

NewGetModelByIDTaskCostBadRequest creates a GetModelByIDTaskCostBadRequest with default headers values

func (*GetModelByIDTaskCostBadRequest) Code

Code gets the status code for the get model by Id task cost bad request response

func (*GetModelByIDTaskCostBadRequest) Error

func (*GetModelByIDTaskCostBadRequest) GetPayload

func (*GetModelByIDTaskCostBadRequest) IsClientError

func (o *GetModelByIDTaskCostBadRequest) IsClientError() bool

IsClientError returns true when this get model by Id task cost bad request response has a 4xx status code

func (*GetModelByIDTaskCostBadRequest) IsCode

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

IsCode returns true when this get model by Id task cost bad request response a status code equal to that given

func (*GetModelByIDTaskCostBadRequest) IsRedirect

func (o *GetModelByIDTaskCostBadRequest) IsRedirect() bool

IsRedirect returns true when this get model by Id task cost bad request response has a 3xx status code

func (*GetModelByIDTaskCostBadRequest) IsServerError

func (o *GetModelByIDTaskCostBadRequest) IsServerError() bool

IsServerError returns true when this get model by Id task cost bad request response has a 5xx status code

func (*GetModelByIDTaskCostBadRequest) IsSuccess

func (o *GetModelByIDTaskCostBadRequest) IsSuccess() bool

IsSuccess returns true when this get model by Id task cost bad request response has a 2xx status code

func (*GetModelByIDTaskCostBadRequest) String

type GetModelByIDTaskCostInternalServerError

type GetModelByIDTaskCostInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetModelByIDTaskCostInternalServerError

func NewGetModelByIDTaskCostInternalServerError() *GetModelByIDTaskCostInternalServerError

NewGetModelByIDTaskCostInternalServerError creates a GetModelByIDTaskCostInternalServerError with default headers values

func (*GetModelByIDTaskCostInternalServerError) Code

Code gets the status code for the get model by Id task cost internal server error response

func (*GetModelByIDTaskCostInternalServerError) Error

func (*GetModelByIDTaskCostInternalServerError) GetPayload

func (*GetModelByIDTaskCostInternalServerError) IsClientError

func (o *GetModelByIDTaskCostInternalServerError) IsClientError() bool

IsClientError returns true when this get model by Id task cost internal server error response has a 4xx status code

func (*GetModelByIDTaskCostInternalServerError) IsCode

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

func (*GetModelByIDTaskCostInternalServerError) IsRedirect

IsRedirect returns true when this get model by Id task cost internal server error response has a 3xx status code

func (*GetModelByIDTaskCostInternalServerError) IsServerError

func (o *GetModelByIDTaskCostInternalServerError) IsServerError() bool

IsServerError returns true when this get model by Id task cost internal server error response has a 5xx status code

func (*GetModelByIDTaskCostInternalServerError) IsSuccess

IsSuccess returns true when this get model by Id task cost internal server error response has a 2xx status code

func (*GetModelByIDTaskCostInternalServerError) String

type GetModelByIDTaskCostOK

type GetModelByIDTaskCostOK struct {
	Payload *models.ResponseEstimateCostResponse
}

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

OK

func NewGetModelByIDTaskCostOK

func NewGetModelByIDTaskCostOK() *GetModelByIDTaskCostOK

NewGetModelByIDTaskCostOK creates a GetModelByIDTaskCostOK with default headers values

func (*GetModelByIDTaskCostOK) Code

func (o *GetModelByIDTaskCostOK) Code() int

Code gets the status code for the get model by Id task cost o k response

func (*GetModelByIDTaskCostOK) Error

func (o *GetModelByIDTaskCostOK) Error() string

func (*GetModelByIDTaskCostOK) GetPayload

func (*GetModelByIDTaskCostOK) IsClientError

func (o *GetModelByIDTaskCostOK) IsClientError() bool

IsClientError returns true when this get model by Id task cost o k response has a 4xx status code

func (*GetModelByIDTaskCostOK) IsCode

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

IsCode returns true when this get model by Id task cost o k response a status code equal to that given

func (*GetModelByIDTaskCostOK) IsRedirect

func (o *GetModelByIDTaskCostOK) IsRedirect() bool

IsRedirect returns true when this get model by Id task cost o k response has a 3xx status code

func (*GetModelByIDTaskCostOK) IsServerError

func (o *GetModelByIDTaskCostOK) IsServerError() bool

IsServerError returns true when this get model by Id task cost o k response has a 5xx status code

func (*GetModelByIDTaskCostOK) IsSuccess

func (o *GetModelByIDTaskCostOK) IsSuccess() bool

IsSuccess returns true when this get model by Id task cost o k response has a 2xx status code

func (*GetModelByIDTaskCostOK) String

func (o *GetModelByIDTaskCostOK) String() string

type GetModelByIDTaskCostParams

type GetModelByIDTaskCostParams struct {

	/* ID.

	   Model's id
	*/
	ID string

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

GetModelByIDTaskCostParams contains all the parameters to send to the API endpoint

for the get model by Id task cost operation.

Typically these are written to a http.Request.

func NewGetModelByIDTaskCostParams

func NewGetModelByIDTaskCostParams() *GetModelByIDTaskCostParams

NewGetModelByIDTaskCostParams creates a new GetModelByIDTaskCostParams 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 NewGetModelByIDTaskCostParamsWithContext

func NewGetModelByIDTaskCostParamsWithContext(ctx context.Context) *GetModelByIDTaskCostParams

NewGetModelByIDTaskCostParamsWithContext creates a new GetModelByIDTaskCostParams object with the ability to set a context for a request.

func NewGetModelByIDTaskCostParamsWithHTTPClient

func NewGetModelByIDTaskCostParamsWithHTTPClient(client *http.Client) *GetModelByIDTaskCostParams

NewGetModelByIDTaskCostParamsWithHTTPClient creates a new GetModelByIDTaskCostParams object with the ability to set a custom HTTPClient for a request.

func NewGetModelByIDTaskCostParamsWithTimeout

func NewGetModelByIDTaskCostParamsWithTimeout(timeout time.Duration) *GetModelByIDTaskCostParams

NewGetModelByIDTaskCostParamsWithTimeout creates a new GetModelByIDTaskCostParams object with the ability to set a timeout on a request.

func (*GetModelByIDTaskCostParams) SetContext

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

SetContext adds the context to the get model by Id task cost params

func (*GetModelByIDTaskCostParams) SetDefaults

func (o *GetModelByIDTaskCostParams) SetDefaults()

SetDefaults hydrates default values in the get model by Id task cost params (not the query body).

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

func (*GetModelByIDTaskCostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get model by Id task cost params

func (*GetModelByIDTaskCostParams) SetID

func (o *GetModelByIDTaskCostParams) SetID(id string)

SetID adds the id to the get model by Id task cost params

func (*GetModelByIDTaskCostParams) SetTimeout

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

SetTimeout adds the timeout to the get model by Id task cost params

func (*GetModelByIDTaskCostParams) WithContext

WithContext adds the context to the get model by Id task cost params

func (*GetModelByIDTaskCostParams) WithDefaults

WithDefaults hydrates default values in the get model by Id task cost params (not the query body).

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

func (*GetModelByIDTaskCostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get model by Id task cost params

func (*GetModelByIDTaskCostParams) WithID

WithID adds the id to the get model by Id task cost params

func (*GetModelByIDTaskCostParams) WithTimeout

WithTimeout adds the timeout to the get model by Id task cost params

func (*GetModelByIDTaskCostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetModelByIDTaskCostReader

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

GetModelByIDTaskCostReader is a Reader for the GetModelByIDTaskCost structure.

func (*GetModelByIDTaskCostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetModelByIDVersioningBadRequest added in v1.0.4

type GetModelByIDVersioningBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetModelByIDVersioningBadRequest added in v1.0.4

func NewGetModelByIDVersioningBadRequest() *GetModelByIDVersioningBadRequest

NewGetModelByIDVersioningBadRequest creates a GetModelByIDVersioningBadRequest with default headers values

func (*GetModelByIDVersioningBadRequest) Code added in v1.0.4

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

func (*GetModelByIDVersioningBadRequest) Error added in v1.0.4

func (*GetModelByIDVersioningBadRequest) GetPayload added in v1.0.4

func (*GetModelByIDVersioningBadRequest) IsClientError added in v1.0.4

func (o *GetModelByIDVersioningBadRequest) IsClientError() bool

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

func (*GetModelByIDVersioningBadRequest) IsCode added in v1.0.4

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

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

func (*GetModelByIDVersioningBadRequest) IsRedirect added in v1.0.4

func (o *GetModelByIDVersioningBadRequest) IsRedirect() bool

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

func (*GetModelByIDVersioningBadRequest) IsServerError added in v1.0.4

func (o *GetModelByIDVersioningBadRequest) IsServerError() bool

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

func (*GetModelByIDVersioningBadRequest) IsSuccess added in v1.0.4

func (o *GetModelByIDVersioningBadRequest) IsSuccess() bool

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

func (*GetModelByIDVersioningBadRequest) String added in v1.0.4

type GetModelByIDVersioningInternalServerError added in v1.0.4

type GetModelByIDVersioningInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetModelByIDVersioningInternalServerError added in v1.0.4

func NewGetModelByIDVersioningInternalServerError() *GetModelByIDVersioningInternalServerError

NewGetModelByIDVersioningInternalServerError creates a GetModelByIDVersioningInternalServerError with default headers values

func (*GetModelByIDVersioningInternalServerError) Code added in v1.0.4

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

func (*GetModelByIDVersioningInternalServerError) Error added in v1.0.4

func (*GetModelByIDVersioningInternalServerError) GetPayload added in v1.0.4

func (*GetModelByIDVersioningInternalServerError) IsClientError added in v1.0.4

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

func (*GetModelByIDVersioningInternalServerError) IsCode added in v1.0.4

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

func (*GetModelByIDVersioningInternalServerError) IsRedirect added in v1.0.4

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

func (*GetModelByIDVersioningInternalServerError) IsServerError added in v1.0.4

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

func (*GetModelByIDVersioningInternalServerError) IsSuccess added in v1.0.4

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

func (*GetModelByIDVersioningInternalServerError) String added in v1.0.4

type GetModelByIDVersioningOK added in v1.0.4

type GetModelByIDVersioningOK struct {
	Payload *models.ResponseModelVersioningGroupLiteResponse
}

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

OK

func NewGetModelByIDVersioningOK added in v1.0.4

func NewGetModelByIDVersioningOK() *GetModelByIDVersioningOK

NewGetModelByIDVersioningOK creates a GetModelByIDVersioningOK with default headers values

func (*GetModelByIDVersioningOK) Code added in v1.0.4

func (o *GetModelByIDVersioningOK) Code() int

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

func (*GetModelByIDVersioningOK) Error added in v1.0.4

func (o *GetModelByIDVersioningOK) Error() string

func (*GetModelByIDVersioningOK) GetPayload added in v1.0.4

func (*GetModelByIDVersioningOK) IsClientError added in v1.0.4

func (o *GetModelByIDVersioningOK) IsClientError() bool

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

func (*GetModelByIDVersioningOK) IsCode added in v1.0.4

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

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

func (*GetModelByIDVersioningOK) IsRedirect added in v1.0.4

func (o *GetModelByIDVersioningOK) IsRedirect() bool

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

func (*GetModelByIDVersioningOK) IsServerError added in v1.0.4

func (o *GetModelByIDVersioningOK) IsServerError() bool

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

func (*GetModelByIDVersioningOK) IsSuccess added in v1.0.4

func (o *GetModelByIDVersioningOK) IsSuccess() bool

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

func (*GetModelByIDVersioningOK) String added in v1.0.4

func (o *GetModelByIDVersioningOK) String() string

type GetModelByIDVersioningParams added in v1.0.4

type GetModelByIDVersioningParams struct {

	/* ID.

	   Model's id
	*/
	ID string

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

GetModelByIDVersioningParams contains all the parameters to send to the API endpoint

for the get model by Id versioning operation.

Typically these are written to a http.Request.

func NewGetModelByIDVersioningParams added in v1.0.4

func NewGetModelByIDVersioningParams() *GetModelByIDVersioningParams

NewGetModelByIDVersioningParams creates a new GetModelByIDVersioningParams 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 NewGetModelByIDVersioningParamsWithContext added in v1.0.4

func NewGetModelByIDVersioningParamsWithContext(ctx context.Context) *GetModelByIDVersioningParams

NewGetModelByIDVersioningParamsWithContext creates a new GetModelByIDVersioningParams object with the ability to set a context for a request.

func NewGetModelByIDVersioningParamsWithHTTPClient added in v1.0.4

func NewGetModelByIDVersioningParamsWithHTTPClient(client *http.Client) *GetModelByIDVersioningParams

NewGetModelByIDVersioningParamsWithHTTPClient creates a new GetModelByIDVersioningParams object with the ability to set a custom HTTPClient for a request.

func NewGetModelByIDVersioningParamsWithTimeout added in v1.0.4

func NewGetModelByIDVersioningParamsWithTimeout(timeout time.Duration) *GetModelByIDVersioningParams

NewGetModelByIDVersioningParamsWithTimeout creates a new GetModelByIDVersioningParams object with the ability to set a timeout on a request.

func (*GetModelByIDVersioningParams) SetContext added in v1.0.4

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

SetContext adds the context to the get model by Id versioning params

func (*GetModelByIDVersioningParams) SetDefaults added in v1.0.4

func (o *GetModelByIDVersioningParams) SetDefaults()

SetDefaults hydrates default values in the get model by Id versioning params (not the query body).

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

func (*GetModelByIDVersioningParams) SetHTTPClient added in v1.0.4

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

SetHTTPClient adds the HTTPClient to the get model by Id versioning params

func (*GetModelByIDVersioningParams) SetID added in v1.0.4

func (o *GetModelByIDVersioningParams) SetID(id string)

SetID adds the id to the get model by Id versioning params

func (*GetModelByIDVersioningParams) SetTimeout added in v1.0.4

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

SetTimeout adds the timeout to the get model by Id versioning params

func (*GetModelByIDVersioningParams) WithContext added in v1.0.4

WithContext adds the context to the get model by Id versioning params

func (*GetModelByIDVersioningParams) WithDefaults added in v1.0.4

WithDefaults hydrates default values in the get model by Id versioning params (not the query body).

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

func (*GetModelByIDVersioningParams) WithHTTPClient added in v1.0.4

WithHTTPClient adds the HTTPClient to the get model by Id versioning params

func (*GetModelByIDVersioningParams) WithID added in v1.0.4

WithID adds the id to the get model by Id versioning params

func (*GetModelByIDVersioningParams) WithTimeout added in v1.0.4

WithTimeout adds the timeout to the get model by Id versioning params

func (*GetModelByIDVersioningParams) WriteToRequest added in v1.0.4

WriteToRequest writes these params to a swagger request

type GetModelByIDVersioningReader added in v1.0.4

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

GetModelByIDVersioningReader is a Reader for the GetModelByIDVersioning structure.

func (*GetModelByIDVersioningReader) ReadResponse added in v1.0.4

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

ReadResponse reads a server response into the received o.

type GetModelByUsernameByNameBadRequest

type GetModelByUsernameByNameBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetModelByUsernameByNameBadRequest

func NewGetModelByUsernameByNameBadRequest() *GetModelByUsernameByNameBadRequest

NewGetModelByUsernameByNameBadRequest creates a GetModelByUsernameByNameBadRequest with default headers values

func (*GetModelByUsernameByNameBadRequest) Code

Code gets the status code for the get model by username by name bad request response

func (*GetModelByUsernameByNameBadRequest) Error

func (*GetModelByUsernameByNameBadRequest) GetPayload

func (*GetModelByUsernameByNameBadRequest) IsClientError

func (o *GetModelByUsernameByNameBadRequest) IsClientError() bool

IsClientError returns true when this get model by username by name bad request response has a 4xx status code

func (*GetModelByUsernameByNameBadRequest) IsCode

IsCode returns true when this get model by username by name bad request response a status code equal to that given

func (*GetModelByUsernameByNameBadRequest) IsRedirect

func (o *GetModelByUsernameByNameBadRequest) IsRedirect() bool

IsRedirect returns true when this get model by username by name bad request response has a 3xx status code

func (*GetModelByUsernameByNameBadRequest) IsServerError

func (o *GetModelByUsernameByNameBadRequest) IsServerError() bool

IsServerError returns true when this get model by username by name bad request response has a 5xx status code

func (*GetModelByUsernameByNameBadRequest) IsSuccess

IsSuccess returns true when this get model by username by name bad request response has a 2xx status code

func (*GetModelByUsernameByNameBadRequest) String

type GetModelByUsernameByNameInternalServerError

type GetModelByUsernameByNameInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetModelByUsernameByNameInternalServerError

func NewGetModelByUsernameByNameInternalServerError() *GetModelByUsernameByNameInternalServerError

NewGetModelByUsernameByNameInternalServerError creates a GetModelByUsernameByNameInternalServerError with default headers values

func (*GetModelByUsernameByNameInternalServerError) Code

Code gets the status code for the get model by username by name internal server error response

func (*GetModelByUsernameByNameInternalServerError) Error

func (*GetModelByUsernameByNameInternalServerError) GetPayload

func (*GetModelByUsernameByNameInternalServerError) IsClientError

IsClientError returns true when this get model by username by name internal server error response has a 4xx status code

func (*GetModelByUsernameByNameInternalServerError) IsCode

IsCode returns true when this get model by username by name internal server error response a status code equal to that given

func (*GetModelByUsernameByNameInternalServerError) IsRedirect

IsRedirect returns true when this get model by username by name internal server error response has a 3xx status code

func (*GetModelByUsernameByNameInternalServerError) IsServerError

IsServerError returns true when this get model by username by name internal server error response has a 5xx status code

func (*GetModelByUsernameByNameInternalServerError) IsSuccess

IsSuccess returns true when this get model by username by name internal server error response has a 2xx status code

func (*GetModelByUsernameByNameInternalServerError) String

type GetModelByUsernameByNameOK

type GetModelByUsernameByNameOK struct {
	Payload *models.ResponseModelResponse
}

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

OK

func NewGetModelByUsernameByNameOK

func NewGetModelByUsernameByNameOK() *GetModelByUsernameByNameOK

NewGetModelByUsernameByNameOK creates a GetModelByUsernameByNameOK with default headers values

func (*GetModelByUsernameByNameOK) Code

func (o *GetModelByUsernameByNameOK) Code() int

Code gets the status code for the get model by username by name o k response

func (*GetModelByUsernameByNameOK) Error

func (*GetModelByUsernameByNameOK) GetPayload

func (*GetModelByUsernameByNameOK) IsClientError

func (o *GetModelByUsernameByNameOK) IsClientError() bool

IsClientError returns true when this get model by username by name o k response has a 4xx status code

func (*GetModelByUsernameByNameOK) IsCode

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

IsCode returns true when this get model by username by name o k response a status code equal to that given

func (*GetModelByUsernameByNameOK) IsRedirect

func (o *GetModelByUsernameByNameOK) IsRedirect() bool

IsRedirect returns true when this get model by username by name o k response has a 3xx status code

func (*GetModelByUsernameByNameOK) IsServerError

func (o *GetModelByUsernameByNameOK) IsServerError() bool

IsServerError returns true when this get model by username by name o k response has a 5xx status code

func (*GetModelByUsernameByNameOK) IsSuccess

func (o *GetModelByUsernameByNameOK) IsSuccess() bool

IsSuccess returns true when this get model by username by name o k response has a 2xx status code

func (*GetModelByUsernameByNameOK) String

func (o *GetModelByUsernameByNameOK) String() string

type GetModelByUsernameByNameParams

type GetModelByUsernameByNameParams struct {

	/* Name.

	   Model's name
	*/
	Name string

	/* Username.

	   Model's username
	*/
	Username string

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

GetModelByUsernameByNameParams contains all the parameters to send to the API endpoint

for the get model by username by name operation.

Typically these are written to a http.Request.

func NewGetModelByUsernameByNameParams

func NewGetModelByUsernameByNameParams() *GetModelByUsernameByNameParams

NewGetModelByUsernameByNameParams creates a new GetModelByUsernameByNameParams 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 NewGetModelByUsernameByNameParamsWithContext

func NewGetModelByUsernameByNameParamsWithContext(ctx context.Context) *GetModelByUsernameByNameParams

NewGetModelByUsernameByNameParamsWithContext creates a new GetModelByUsernameByNameParams object with the ability to set a context for a request.

func NewGetModelByUsernameByNameParamsWithHTTPClient

func NewGetModelByUsernameByNameParamsWithHTTPClient(client *http.Client) *GetModelByUsernameByNameParams

NewGetModelByUsernameByNameParamsWithHTTPClient creates a new GetModelByUsernameByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetModelByUsernameByNameParamsWithTimeout

func NewGetModelByUsernameByNameParamsWithTimeout(timeout time.Duration) *GetModelByUsernameByNameParams

NewGetModelByUsernameByNameParamsWithTimeout creates a new GetModelByUsernameByNameParams object with the ability to set a timeout on a request.

func (*GetModelByUsernameByNameParams) SetContext

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

SetContext adds the context to the get model by username by name params

func (*GetModelByUsernameByNameParams) SetDefaults

func (o *GetModelByUsernameByNameParams) SetDefaults()

SetDefaults hydrates default values in the get model by username by name params (not the query body).

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

func (*GetModelByUsernameByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get model by username by name params

func (*GetModelByUsernameByNameParams) SetName

func (o *GetModelByUsernameByNameParams) SetName(name string)

SetName adds the name to the get model by username by name params

func (*GetModelByUsernameByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get model by username by name params

func (*GetModelByUsernameByNameParams) SetUsername

func (o *GetModelByUsernameByNameParams) SetUsername(username string)

SetUsername adds the username to the get model by username by name params

func (*GetModelByUsernameByNameParams) WithContext

WithContext adds the context to the get model by username by name params

func (*GetModelByUsernameByNameParams) WithDefaults

WithDefaults hydrates default values in the get model by username by name params (not the query body).

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

func (*GetModelByUsernameByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get model by username by name params

func (*GetModelByUsernameByNameParams) WithName

WithName adds the name to the get model by username by name params

func (*GetModelByUsernameByNameParams) WithTimeout

WithTimeout adds the timeout to the get model by username by name params

func (*GetModelByUsernameByNameParams) WithUsername

WithUsername adds the username to the get model by username by name params

func (*GetModelByUsernameByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetModelByUsernameByNameReader

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

GetModelByUsernameByNameReader is a Reader for the GetModelByUsernameByName structure.

func (*GetModelByUsernameByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetModelOrganizationByOrgBadRequest

type GetModelOrganizationByOrgBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewGetModelOrganizationByOrgBadRequest

func NewGetModelOrganizationByOrgBadRequest() *GetModelOrganizationByOrgBadRequest

NewGetModelOrganizationByOrgBadRequest creates a GetModelOrganizationByOrgBadRequest with default headers values

func (*GetModelOrganizationByOrgBadRequest) Code

Code gets the status code for the get model organization by org bad request response

func (*GetModelOrganizationByOrgBadRequest) Error

func (*GetModelOrganizationByOrgBadRequest) GetPayload

func (*GetModelOrganizationByOrgBadRequest) IsClientError

func (o *GetModelOrganizationByOrgBadRequest) IsClientError() bool

IsClientError returns true when this get model organization by org bad request response has a 4xx status code

func (*GetModelOrganizationByOrgBadRequest) IsCode

IsCode returns true when this get model organization by org bad request response a status code equal to that given

func (*GetModelOrganizationByOrgBadRequest) IsRedirect

func (o *GetModelOrganizationByOrgBadRequest) IsRedirect() bool

IsRedirect returns true when this get model organization by org bad request response has a 3xx status code

func (*GetModelOrganizationByOrgBadRequest) IsServerError

func (o *GetModelOrganizationByOrgBadRequest) IsServerError() bool

IsServerError returns true when this get model organization by org bad request response has a 5xx status code

func (*GetModelOrganizationByOrgBadRequest) IsSuccess

IsSuccess returns true when this get model organization by org bad request response has a 2xx status code

func (*GetModelOrganizationByOrgBadRequest) String

type GetModelOrganizationByOrgInternalServerError

type GetModelOrganizationByOrgInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewGetModelOrganizationByOrgInternalServerError

func NewGetModelOrganizationByOrgInternalServerError() *GetModelOrganizationByOrgInternalServerError

NewGetModelOrganizationByOrgInternalServerError creates a GetModelOrganizationByOrgInternalServerError with default headers values

func (*GetModelOrganizationByOrgInternalServerError) Code

Code gets the status code for the get model organization by org internal server error response

func (*GetModelOrganizationByOrgInternalServerError) Error

func (*GetModelOrganizationByOrgInternalServerError) GetPayload

func (*GetModelOrganizationByOrgInternalServerError) IsClientError

IsClientError returns true when this get model organization by org internal server error response has a 4xx status code

func (*GetModelOrganizationByOrgInternalServerError) IsCode

IsCode returns true when this get model organization by org internal server error response a status code equal to that given

func (*GetModelOrganizationByOrgInternalServerError) IsRedirect

IsRedirect returns true when this get model organization by org internal server error response has a 3xx status code

func (*GetModelOrganizationByOrgInternalServerError) IsServerError

IsServerError returns true when this get model organization by org internal server error response has a 5xx status code

func (*GetModelOrganizationByOrgInternalServerError) IsSuccess

IsSuccess returns true when this get model organization by org internal server error response has a 2xx status code

func (*GetModelOrganizationByOrgInternalServerError) String

type GetModelOrganizationByOrgOK

type GetModelOrganizationByOrgOK struct {
	Payload *models.ResponseModelListResponse
}

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

OK

func NewGetModelOrganizationByOrgOK

func NewGetModelOrganizationByOrgOK() *GetModelOrganizationByOrgOK

NewGetModelOrganizationByOrgOK creates a GetModelOrganizationByOrgOK with default headers values

func (*GetModelOrganizationByOrgOK) Code

func (o *GetModelOrganizationByOrgOK) Code() int

Code gets the status code for the get model organization by org o k response

func (*GetModelOrganizationByOrgOK) Error

func (*GetModelOrganizationByOrgOK) GetPayload

func (*GetModelOrganizationByOrgOK) IsClientError

func (o *GetModelOrganizationByOrgOK) IsClientError() bool

IsClientError returns true when this get model organization by org o k response has a 4xx status code

func (*GetModelOrganizationByOrgOK) IsCode

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

IsCode returns true when this get model organization by org o k response a status code equal to that given

func (*GetModelOrganizationByOrgOK) IsRedirect

func (o *GetModelOrganizationByOrgOK) IsRedirect() bool

IsRedirect returns true when this get model organization by org o k response has a 3xx status code

func (*GetModelOrganizationByOrgOK) IsServerError

func (o *GetModelOrganizationByOrgOK) IsServerError() bool

IsServerError returns true when this get model organization by org o k response has a 5xx status code

func (*GetModelOrganizationByOrgOK) IsSuccess

func (o *GetModelOrganizationByOrgOK) IsSuccess() bool

IsSuccess returns true when this get model organization by org o k response has a 2xx status code

func (*GetModelOrganizationByOrgOK) String

func (o *GetModelOrganizationByOrgOK) String() string

type GetModelOrganizationByOrgParams

type GetModelOrganizationByOrgParams struct {

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

	// Offset.
	Offset *int64

	/* Org.

	   Org's username
	*/
	Org string

	// Sort.
	Sort *string

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

GetModelOrganizationByOrgParams contains all the parameters to send to the API endpoint

for the get model organization by org operation.

Typically these are written to a http.Request.

func NewGetModelOrganizationByOrgParams

func NewGetModelOrganizationByOrgParams() *GetModelOrganizationByOrgParams

NewGetModelOrganizationByOrgParams creates a new GetModelOrganizationByOrgParams 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 NewGetModelOrganizationByOrgParamsWithContext

func NewGetModelOrganizationByOrgParamsWithContext(ctx context.Context) *GetModelOrganizationByOrgParams

NewGetModelOrganizationByOrgParamsWithContext creates a new GetModelOrganizationByOrgParams object with the ability to set a context for a request.

func NewGetModelOrganizationByOrgParamsWithHTTPClient

func NewGetModelOrganizationByOrgParamsWithHTTPClient(client *http.Client) *GetModelOrganizationByOrgParams

NewGetModelOrganizationByOrgParamsWithHTTPClient creates a new GetModelOrganizationByOrgParams object with the ability to set a custom HTTPClient for a request.

func NewGetModelOrganizationByOrgParamsWithTimeout

func NewGetModelOrganizationByOrgParamsWithTimeout(timeout time.Duration) *GetModelOrganizationByOrgParams

NewGetModelOrganizationByOrgParamsWithTimeout creates a new GetModelOrganizationByOrgParams object with the ability to set a timeout on a request.

func (*GetModelOrganizationByOrgParams) SetContext

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

SetContext adds the context to the get model organization by org params

func (*GetModelOrganizationByOrgParams) SetDefaults

func (o *GetModelOrganizationByOrgParams) SetDefaults()

SetDefaults hydrates default values in the get model organization by org params (not the query body).

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

func (*GetModelOrganizationByOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get model organization by org params

func (*GetModelOrganizationByOrgParams) SetLimit

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

SetLimit adds the limit to the get model organization by org params

func (*GetModelOrganizationByOrgParams) SetOffset

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

SetOffset adds the offset to the get model organization by org params

func (*GetModelOrganizationByOrgParams) SetOrg

func (o *GetModelOrganizationByOrgParams) SetOrg(org string)

SetOrg adds the org to the get model organization by org params

func (*GetModelOrganizationByOrgParams) SetSort

func (o *GetModelOrganizationByOrgParams) SetSort(sort *string)

SetSort adds the sort to the get model organization by org params

func (*GetModelOrganizationByOrgParams) SetTimeout

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

SetTimeout adds the timeout to the get model organization by org params

func (*GetModelOrganizationByOrgParams) WithContext

WithContext adds the context to the get model organization by org params

func (*GetModelOrganizationByOrgParams) WithDefaults

WithDefaults hydrates default values in the get model organization by org params (not the query body).

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

func (*GetModelOrganizationByOrgParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get model organization by org params

func (*GetModelOrganizationByOrgParams) WithLimit

WithLimit adds the limit to the get model organization by org params

func (*GetModelOrganizationByOrgParams) WithOffset

WithOffset adds the offset to the get model organization by org params

func (*GetModelOrganizationByOrgParams) WithOrg

WithOrg adds the org to the get model organization by org params

func (*GetModelOrganizationByOrgParams) WithSort

WithSort adds the sort to the get model organization by org params

func (*GetModelOrganizationByOrgParams) WithTimeout

WithTimeout adds the timeout to the get model organization by org params

func (*GetModelOrganizationByOrgParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetModelOrganizationByOrgReader

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

GetModelOrganizationByOrgReader is a Reader for the GetModelOrganizationByOrg structure.

func (*GetModelOrganizationByOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostModelBadRequest

type PostModelBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostModelBadRequest

func NewPostModelBadRequest() *PostModelBadRequest

NewPostModelBadRequest creates a PostModelBadRequest with default headers values

func (*PostModelBadRequest) Code

func (o *PostModelBadRequest) Code() int

Code gets the status code for the post model bad request response

func (*PostModelBadRequest) Error

func (o *PostModelBadRequest) Error() string

func (*PostModelBadRequest) GetPayload

func (*PostModelBadRequest) IsClientError

func (o *PostModelBadRequest) IsClientError() bool

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

func (*PostModelBadRequest) IsCode

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

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

func (*PostModelBadRequest) IsRedirect

func (o *PostModelBadRequest) IsRedirect() bool

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

func (*PostModelBadRequest) IsServerError

func (o *PostModelBadRequest) IsServerError() bool

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

func (*PostModelBadRequest) IsSuccess

func (o *PostModelBadRequest) IsSuccess() bool

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

func (*PostModelBadRequest) String

func (o *PostModelBadRequest) String() string

type PostModelByIDStatisticsBadRequest

type PostModelByIDStatisticsBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostModelByIDStatisticsBadRequest

func NewPostModelByIDStatisticsBadRequest() *PostModelByIDStatisticsBadRequest

NewPostModelByIDStatisticsBadRequest creates a PostModelByIDStatisticsBadRequest with default headers values

func (*PostModelByIDStatisticsBadRequest) Code

Code gets the status code for the post model by Id statistics bad request response

func (*PostModelByIDStatisticsBadRequest) Error

func (*PostModelByIDStatisticsBadRequest) GetPayload

func (*PostModelByIDStatisticsBadRequest) IsClientError

func (o *PostModelByIDStatisticsBadRequest) IsClientError() bool

IsClientError returns true when this post model by Id statistics bad request response has a 4xx status code

func (*PostModelByIDStatisticsBadRequest) IsCode

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

IsCode returns true when this post model by Id statistics bad request response a status code equal to that given

func (*PostModelByIDStatisticsBadRequest) IsRedirect

func (o *PostModelByIDStatisticsBadRequest) IsRedirect() bool

IsRedirect returns true when this post model by Id statistics bad request response has a 3xx status code

func (*PostModelByIDStatisticsBadRequest) IsServerError

func (o *PostModelByIDStatisticsBadRequest) IsServerError() bool

IsServerError returns true when this post model by Id statistics bad request response has a 5xx status code

func (*PostModelByIDStatisticsBadRequest) IsSuccess

func (o *PostModelByIDStatisticsBadRequest) IsSuccess() bool

IsSuccess returns true when this post model by Id statistics bad request response has a 2xx status code

func (*PostModelByIDStatisticsBadRequest) String

type PostModelByIDStatisticsInternalServerError

type PostModelByIDStatisticsInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostModelByIDStatisticsInternalServerError

func NewPostModelByIDStatisticsInternalServerError() *PostModelByIDStatisticsInternalServerError

NewPostModelByIDStatisticsInternalServerError creates a PostModelByIDStatisticsInternalServerError with default headers values

func (*PostModelByIDStatisticsInternalServerError) Code

Code gets the status code for the post model by Id statistics internal server error response

func (*PostModelByIDStatisticsInternalServerError) Error

func (*PostModelByIDStatisticsInternalServerError) GetPayload

func (*PostModelByIDStatisticsInternalServerError) IsClientError

IsClientError returns true when this post model by Id statistics internal server error response has a 4xx status code

func (*PostModelByIDStatisticsInternalServerError) IsCode

IsCode returns true when this post model by Id statistics internal server error response a status code equal to that given

func (*PostModelByIDStatisticsInternalServerError) IsRedirect

IsRedirect returns true when this post model by Id statistics internal server error response has a 3xx status code

func (*PostModelByIDStatisticsInternalServerError) IsServerError

IsServerError returns true when this post model by Id statistics internal server error response has a 5xx status code

func (*PostModelByIDStatisticsInternalServerError) IsSuccess

IsSuccess returns true when this post model by Id statistics internal server error response has a 2xx status code

func (*PostModelByIDStatisticsInternalServerError) String

type PostModelByIDStatisticsOK

type PostModelByIDStatisticsOK struct {
	Payload *models.ResponseGetTaskStatisticsResponse
}

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

OK

func NewPostModelByIDStatisticsOK

func NewPostModelByIDStatisticsOK() *PostModelByIDStatisticsOK

NewPostModelByIDStatisticsOK creates a PostModelByIDStatisticsOK with default headers values

func (*PostModelByIDStatisticsOK) Code

func (o *PostModelByIDStatisticsOK) Code() int

Code gets the status code for the post model by Id statistics o k response

func (*PostModelByIDStatisticsOK) Error

func (o *PostModelByIDStatisticsOK) Error() string

func (*PostModelByIDStatisticsOK) GetPayload

func (*PostModelByIDStatisticsOK) IsClientError

func (o *PostModelByIDStatisticsOK) IsClientError() bool

IsClientError returns true when this post model by Id statistics o k response has a 4xx status code

func (*PostModelByIDStatisticsOK) IsCode

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

IsCode returns true when this post model by Id statistics o k response a status code equal to that given

func (*PostModelByIDStatisticsOK) IsRedirect

func (o *PostModelByIDStatisticsOK) IsRedirect() bool

IsRedirect returns true when this post model by Id statistics o k response has a 3xx status code

func (*PostModelByIDStatisticsOK) IsServerError

func (o *PostModelByIDStatisticsOK) IsServerError() bool

IsServerError returns true when this post model by Id statistics o k response has a 5xx status code

func (*PostModelByIDStatisticsOK) IsSuccess

func (o *PostModelByIDStatisticsOK) IsSuccess() bool

IsSuccess returns true when this post model by Id statistics o k response has a 2xx status code

func (*PostModelByIDStatisticsOK) String

func (o *PostModelByIDStatisticsOK) String() string

type PostModelByIDStatisticsParams

type PostModelByIDStatisticsParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Get Api Key Statistics By Model Id Request
	*/
	Input *models.RequestGetAPIKeyStatisticsByModelIDRequest

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

PostModelByIDStatisticsParams contains all the parameters to send to the API endpoint

for the post model by Id statistics operation.

Typically these are written to a http.Request.

func NewPostModelByIDStatisticsParams

func NewPostModelByIDStatisticsParams() *PostModelByIDStatisticsParams

NewPostModelByIDStatisticsParams creates a new PostModelByIDStatisticsParams 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 NewPostModelByIDStatisticsParamsWithContext

func NewPostModelByIDStatisticsParamsWithContext(ctx context.Context) *PostModelByIDStatisticsParams

NewPostModelByIDStatisticsParamsWithContext creates a new PostModelByIDStatisticsParams object with the ability to set a context for a request.

func NewPostModelByIDStatisticsParamsWithHTTPClient

func NewPostModelByIDStatisticsParamsWithHTTPClient(client *http.Client) *PostModelByIDStatisticsParams

NewPostModelByIDStatisticsParamsWithHTTPClient creates a new PostModelByIDStatisticsParams object with the ability to set a custom HTTPClient for a request.

func NewPostModelByIDStatisticsParamsWithTimeout

func NewPostModelByIDStatisticsParamsWithTimeout(timeout time.Duration) *PostModelByIDStatisticsParams

NewPostModelByIDStatisticsParamsWithTimeout creates a new PostModelByIDStatisticsParams object with the ability to set a timeout on a request.

func (*PostModelByIDStatisticsParams) SetContext

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

SetContext adds the context to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) SetDefaults

func (o *PostModelByIDStatisticsParams) SetDefaults()

SetDefaults hydrates default values in the post model by Id statistics params (not the query body).

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

func (*PostModelByIDStatisticsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) SetID

SetID adds the id to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) SetInput

SetInput adds the input to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) SetTimeout

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

SetTimeout adds the timeout to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) WithContext

WithContext adds the context to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) WithDefaults

WithDefaults hydrates default values in the post model by Id statistics params (not the query body).

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

func (*PostModelByIDStatisticsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) WithID

WithID adds the id to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) WithInput

WithInput adds the input to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) WithTimeout

WithTimeout adds the timeout to the post model by Id statistics params

func (*PostModelByIDStatisticsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostModelByIDStatisticsReader

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

PostModelByIDStatisticsReader is a Reader for the PostModelByIDStatistics structure.

func (*PostModelByIDStatisticsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostModelInternalServerError

type PostModelInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostModelInternalServerError

func NewPostModelInternalServerError() *PostModelInternalServerError

NewPostModelInternalServerError creates a PostModelInternalServerError with default headers values

func (*PostModelInternalServerError) Code

Code gets the status code for the post model internal server error response

func (*PostModelInternalServerError) Error

func (*PostModelInternalServerError) GetPayload

func (*PostModelInternalServerError) IsClientError

func (o *PostModelInternalServerError) IsClientError() bool

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

func (*PostModelInternalServerError) IsCode

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

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

func (*PostModelInternalServerError) IsRedirect

func (o *PostModelInternalServerError) IsRedirect() bool

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

func (*PostModelInternalServerError) IsServerError

func (o *PostModelInternalServerError) IsServerError() bool

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

func (*PostModelInternalServerError) IsSuccess

func (o *PostModelInternalServerError) IsSuccess() bool

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

func (*PostModelInternalServerError) String

type PostModelListBadRequest

type PostModelListBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostModelListBadRequest

func NewPostModelListBadRequest() *PostModelListBadRequest

NewPostModelListBadRequest creates a PostModelListBadRequest with default headers values

func (*PostModelListBadRequest) Code

func (o *PostModelListBadRequest) Code() int

Code gets the status code for the post model list bad request response

func (*PostModelListBadRequest) Error

func (o *PostModelListBadRequest) Error() string

func (*PostModelListBadRequest) GetPayload

func (*PostModelListBadRequest) IsClientError

func (o *PostModelListBadRequest) IsClientError() bool

IsClientError returns true when this post model list bad request response has a 4xx status code

func (*PostModelListBadRequest) IsCode

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

IsCode returns true when this post model list bad request response a status code equal to that given

func (*PostModelListBadRequest) IsRedirect

func (o *PostModelListBadRequest) IsRedirect() bool

IsRedirect returns true when this post model list bad request response has a 3xx status code

func (*PostModelListBadRequest) IsServerError

func (o *PostModelListBadRequest) IsServerError() bool

IsServerError returns true when this post model list bad request response has a 5xx status code

func (*PostModelListBadRequest) IsSuccess

func (o *PostModelListBadRequest) IsSuccess() bool

IsSuccess returns true when this post model list bad request response has a 2xx status code

func (*PostModelListBadRequest) String

func (o *PostModelListBadRequest) String() string

type PostModelListByAuthorByUsernameBadRequest

type PostModelListByAuthorByUsernameBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostModelListByAuthorByUsernameBadRequest

func NewPostModelListByAuthorByUsernameBadRequest() *PostModelListByAuthorByUsernameBadRequest

NewPostModelListByAuthorByUsernameBadRequest creates a PostModelListByAuthorByUsernameBadRequest with default headers values

func (*PostModelListByAuthorByUsernameBadRequest) Code

Code gets the status code for the post model list by author by username bad request response

func (*PostModelListByAuthorByUsernameBadRequest) Error

func (*PostModelListByAuthorByUsernameBadRequest) GetPayload

func (*PostModelListByAuthorByUsernameBadRequest) IsClientError

IsClientError returns true when this post model list by author by username bad request response has a 4xx status code

func (*PostModelListByAuthorByUsernameBadRequest) IsCode

IsCode returns true when this post model list by author by username bad request response a status code equal to that given

func (*PostModelListByAuthorByUsernameBadRequest) IsRedirect

IsRedirect returns true when this post model list by author by username bad request response has a 3xx status code

func (*PostModelListByAuthorByUsernameBadRequest) IsServerError

IsServerError returns true when this post model list by author by username bad request response has a 5xx status code

func (*PostModelListByAuthorByUsernameBadRequest) IsSuccess

IsSuccess returns true when this post model list by author by username bad request response has a 2xx status code

func (*PostModelListByAuthorByUsernameBadRequest) String

type PostModelListByAuthorByUsernameInternalServerError

type PostModelListByAuthorByUsernameInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostModelListByAuthorByUsernameInternalServerError

func NewPostModelListByAuthorByUsernameInternalServerError() *PostModelListByAuthorByUsernameInternalServerError

NewPostModelListByAuthorByUsernameInternalServerError creates a PostModelListByAuthorByUsernameInternalServerError with default headers values

func (*PostModelListByAuthorByUsernameInternalServerError) Code

Code gets the status code for the post model list by author by username internal server error response

func (*PostModelListByAuthorByUsernameInternalServerError) Error

func (*PostModelListByAuthorByUsernameInternalServerError) GetPayload

func (*PostModelListByAuthorByUsernameInternalServerError) IsClientError

IsClientError returns true when this post model list by author by username internal server error response has a 4xx status code

func (*PostModelListByAuthorByUsernameInternalServerError) IsCode

IsCode returns true when this post model list by author by username internal server error response a status code equal to that given

func (*PostModelListByAuthorByUsernameInternalServerError) IsRedirect

IsRedirect returns true when this post model list by author by username internal server error response has a 3xx status code

func (*PostModelListByAuthorByUsernameInternalServerError) IsServerError

IsServerError returns true when this post model list by author by username internal server error response has a 5xx status code

func (*PostModelListByAuthorByUsernameInternalServerError) IsSuccess

IsSuccess returns true when this post model list by author by username internal server error response has a 2xx status code

func (*PostModelListByAuthorByUsernameInternalServerError) String

type PostModelListByAuthorByUsernameOK

type PostModelListByAuthorByUsernameOK struct {
	Payload *models.ResponseModelListResponse
}

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

OK

func NewPostModelListByAuthorByUsernameOK

func NewPostModelListByAuthorByUsernameOK() *PostModelListByAuthorByUsernameOK

NewPostModelListByAuthorByUsernameOK creates a PostModelListByAuthorByUsernameOK with default headers values

func (*PostModelListByAuthorByUsernameOK) Code

Code gets the status code for the post model list by author by username o k response

func (*PostModelListByAuthorByUsernameOK) Error

func (*PostModelListByAuthorByUsernameOK) GetPayload

func (*PostModelListByAuthorByUsernameOK) IsClientError

func (o *PostModelListByAuthorByUsernameOK) IsClientError() bool

IsClientError returns true when this post model list by author by username o k response has a 4xx status code

func (*PostModelListByAuthorByUsernameOK) IsCode

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

IsCode returns true when this post model list by author by username o k response a status code equal to that given

func (*PostModelListByAuthorByUsernameOK) IsRedirect

func (o *PostModelListByAuthorByUsernameOK) IsRedirect() bool

IsRedirect returns true when this post model list by author by username o k response has a 3xx status code

func (*PostModelListByAuthorByUsernameOK) IsServerError

func (o *PostModelListByAuthorByUsernameOK) IsServerError() bool

IsServerError returns true when this post model list by author by username o k response has a 5xx status code

func (*PostModelListByAuthorByUsernameOK) IsSuccess

func (o *PostModelListByAuthorByUsernameOK) IsSuccess() bool

IsSuccess returns true when this post model list by author by username o k response has a 2xx status code

func (*PostModelListByAuthorByUsernameOK) String

type PostModelListByAuthorByUsernameParams

type PostModelListByAuthorByUsernameParams struct {

	/* Input.

	   Get Model List By User Request
	*/
	Input *models.RequestGetModelListByAuthorRequest

	/* Username.

	   User's username
	*/
	Username string

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

PostModelListByAuthorByUsernameParams contains all the parameters to send to the API endpoint

for the post model list by author by username operation.

Typically these are written to a http.Request.

func NewPostModelListByAuthorByUsernameParams

func NewPostModelListByAuthorByUsernameParams() *PostModelListByAuthorByUsernameParams

NewPostModelListByAuthorByUsernameParams creates a new PostModelListByAuthorByUsernameParams 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 NewPostModelListByAuthorByUsernameParamsWithContext

func NewPostModelListByAuthorByUsernameParamsWithContext(ctx context.Context) *PostModelListByAuthorByUsernameParams

NewPostModelListByAuthorByUsernameParamsWithContext creates a new PostModelListByAuthorByUsernameParams object with the ability to set a context for a request.

func NewPostModelListByAuthorByUsernameParamsWithHTTPClient

func NewPostModelListByAuthorByUsernameParamsWithHTTPClient(client *http.Client) *PostModelListByAuthorByUsernameParams

NewPostModelListByAuthorByUsernameParamsWithHTTPClient creates a new PostModelListByAuthorByUsernameParams object with the ability to set a custom HTTPClient for a request.

func NewPostModelListByAuthorByUsernameParamsWithTimeout

func NewPostModelListByAuthorByUsernameParamsWithTimeout(timeout time.Duration) *PostModelListByAuthorByUsernameParams

NewPostModelListByAuthorByUsernameParamsWithTimeout creates a new PostModelListByAuthorByUsernameParams object with the ability to set a timeout on a request.

func (*PostModelListByAuthorByUsernameParams) SetContext

SetContext adds the context to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) SetDefaults

func (o *PostModelListByAuthorByUsernameParams) SetDefaults()

SetDefaults hydrates default values in the post model list by author by username params (not the query body).

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

func (*PostModelListByAuthorByUsernameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) SetInput

SetInput adds the input to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) SetTimeout

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

SetTimeout adds the timeout to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) SetUsername

func (o *PostModelListByAuthorByUsernameParams) SetUsername(username string)

SetUsername adds the username to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) WithContext

WithContext adds the context to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) WithDefaults

WithDefaults hydrates default values in the post model list by author by username params (not the query body).

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

func (*PostModelListByAuthorByUsernameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) WithInput

WithInput adds the input to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) WithTimeout

WithTimeout adds the timeout to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) WithUsername

WithUsername adds the username to the post model list by author by username params

func (*PostModelListByAuthorByUsernameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostModelListByAuthorByUsernameReader

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

PostModelListByAuthorByUsernameReader is a Reader for the PostModelListByAuthorByUsername structure.

func (*PostModelListByAuthorByUsernameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostModelListInternalServerError

type PostModelListInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostModelListInternalServerError

func NewPostModelListInternalServerError() *PostModelListInternalServerError

NewPostModelListInternalServerError creates a PostModelListInternalServerError with default headers values

func (*PostModelListInternalServerError) Code

Code gets the status code for the post model list internal server error response

func (*PostModelListInternalServerError) Error

func (*PostModelListInternalServerError) GetPayload

func (*PostModelListInternalServerError) IsClientError

func (o *PostModelListInternalServerError) IsClientError() bool

IsClientError returns true when this post model list internal server error response has a 4xx status code

func (*PostModelListInternalServerError) IsCode

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

IsCode returns true when this post model list internal server error response a status code equal to that given

func (*PostModelListInternalServerError) IsRedirect

func (o *PostModelListInternalServerError) IsRedirect() bool

IsRedirect returns true when this post model list internal server error response has a 3xx status code

func (*PostModelListInternalServerError) IsServerError

func (o *PostModelListInternalServerError) IsServerError() bool

IsServerError returns true when this post model list internal server error response has a 5xx status code

func (*PostModelListInternalServerError) IsSuccess

func (o *PostModelListInternalServerError) IsSuccess() bool

IsSuccess returns true when this post model list internal server error response has a 2xx status code

func (*PostModelListInternalServerError) String

type PostModelListOK

type PostModelListOK struct {
	Payload *models.ResponseModelListResponse
}

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

OK

func NewPostModelListOK

func NewPostModelListOK() *PostModelListOK

NewPostModelListOK creates a PostModelListOK with default headers values

func (*PostModelListOK) Code

func (o *PostModelListOK) Code() int

Code gets the status code for the post model list o k response

func (*PostModelListOK) Error

func (o *PostModelListOK) Error() string

func (*PostModelListOK) GetPayload

func (*PostModelListOK) IsClientError

func (o *PostModelListOK) IsClientError() bool

IsClientError returns true when this post model list o k response has a 4xx status code

func (*PostModelListOK) IsCode

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

IsCode returns true when this post model list o k response a status code equal to that given

func (*PostModelListOK) IsRedirect

func (o *PostModelListOK) IsRedirect() bool

IsRedirect returns true when this post model list o k response has a 3xx status code

func (*PostModelListOK) IsServerError

func (o *PostModelListOK) IsServerError() bool

IsServerError returns true when this post model list o k response has a 5xx status code

func (*PostModelListOK) IsSuccess

func (o *PostModelListOK) IsSuccess() bool

IsSuccess returns true when this post model list o k response has a 2xx status code

func (*PostModelListOK) String

func (o *PostModelListOK) String() string

type PostModelListParams

type PostModelListParams struct {

	/* Input.

	   Get Model List Request
	*/
	Input *models.RequestGetModelListRequest

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

PostModelListParams contains all the parameters to send to the API endpoint

for the post model list operation.

Typically these are written to a http.Request.

func NewPostModelListParams

func NewPostModelListParams() *PostModelListParams

NewPostModelListParams creates a new PostModelListParams 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 NewPostModelListParamsWithContext

func NewPostModelListParamsWithContext(ctx context.Context) *PostModelListParams

NewPostModelListParamsWithContext creates a new PostModelListParams object with the ability to set a context for a request.

func NewPostModelListParamsWithHTTPClient

func NewPostModelListParamsWithHTTPClient(client *http.Client) *PostModelListParams

NewPostModelListParamsWithHTTPClient creates a new PostModelListParams object with the ability to set a custom HTTPClient for a request.

func NewPostModelListParamsWithTimeout

func NewPostModelListParamsWithTimeout(timeout time.Duration) *PostModelListParams

NewPostModelListParamsWithTimeout creates a new PostModelListParams object with the ability to set a timeout on a request.

func (*PostModelListParams) SetContext

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

SetContext adds the context to the post model list params

func (*PostModelListParams) SetDefaults

func (o *PostModelListParams) SetDefaults()

SetDefaults hydrates default values in the post model list params (not the query body).

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

func (*PostModelListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post model list params

func (*PostModelListParams) SetInput

SetInput adds the input to the post model list params

func (*PostModelListParams) SetTimeout

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

SetTimeout adds the timeout to the post model list params

func (*PostModelListParams) WithContext

WithContext adds the context to the post model list params

func (*PostModelListParams) WithDefaults

func (o *PostModelListParams) WithDefaults() *PostModelListParams

WithDefaults hydrates default values in the post model list params (not the query body).

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

func (*PostModelListParams) WithHTTPClient

func (o *PostModelListParams) WithHTTPClient(client *http.Client) *PostModelListParams

WithHTTPClient adds the HTTPClient to the post model list params

func (*PostModelListParams) WithInput

WithInput adds the input to the post model list params

func (*PostModelListParams) WithTimeout

func (o *PostModelListParams) WithTimeout(timeout time.Duration) *PostModelListParams

WithTimeout adds the timeout to the post model list params

func (*PostModelListParams) WriteToRequest

func (o *PostModelListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostModelListReader

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

PostModelListReader is a Reader for the PostModelList structure.

func (*PostModelListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostModelMatchingTagsBadRequest

type PostModelMatchingTagsBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPostModelMatchingTagsBadRequest

func NewPostModelMatchingTagsBadRequest() *PostModelMatchingTagsBadRequest

NewPostModelMatchingTagsBadRequest creates a PostModelMatchingTagsBadRequest with default headers values

func (*PostModelMatchingTagsBadRequest) Code

Code gets the status code for the post model matching tags bad request response

func (*PostModelMatchingTagsBadRequest) Error

func (*PostModelMatchingTagsBadRequest) GetPayload

func (*PostModelMatchingTagsBadRequest) IsClientError

func (o *PostModelMatchingTagsBadRequest) IsClientError() bool

IsClientError returns true when this post model matching tags bad request response has a 4xx status code

func (*PostModelMatchingTagsBadRequest) IsCode

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

IsCode returns true when this post model matching tags bad request response a status code equal to that given

func (*PostModelMatchingTagsBadRequest) IsRedirect

func (o *PostModelMatchingTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this post model matching tags bad request response has a 3xx status code

func (*PostModelMatchingTagsBadRequest) IsServerError

func (o *PostModelMatchingTagsBadRequest) IsServerError() bool

IsServerError returns true when this post model matching tags bad request response has a 5xx status code

func (*PostModelMatchingTagsBadRequest) IsSuccess

func (o *PostModelMatchingTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this post model matching tags bad request response has a 2xx status code

func (*PostModelMatchingTagsBadRequest) String

type PostModelMatchingTagsInternalServerError

type PostModelMatchingTagsInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPostModelMatchingTagsInternalServerError

func NewPostModelMatchingTagsInternalServerError() *PostModelMatchingTagsInternalServerError

NewPostModelMatchingTagsInternalServerError creates a PostModelMatchingTagsInternalServerError with default headers values

func (*PostModelMatchingTagsInternalServerError) Code

Code gets the status code for the post model matching tags internal server error response

func (*PostModelMatchingTagsInternalServerError) Error

func (*PostModelMatchingTagsInternalServerError) GetPayload

func (*PostModelMatchingTagsInternalServerError) IsClientError

IsClientError returns true when this post model matching tags internal server error response has a 4xx status code

func (*PostModelMatchingTagsInternalServerError) IsCode

IsCode returns true when this post model matching tags internal server error response a status code equal to that given

func (*PostModelMatchingTagsInternalServerError) IsRedirect

IsRedirect returns true when this post model matching tags internal server error response has a 3xx status code

func (*PostModelMatchingTagsInternalServerError) IsServerError

IsServerError returns true when this post model matching tags internal server error response has a 5xx status code

func (*PostModelMatchingTagsInternalServerError) IsSuccess

IsSuccess returns true when this post model matching tags internal server error response has a 2xx status code

func (*PostModelMatchingTagsInternalServerError) String

type PostModelMatchingTagsOK

type PostModelMatchingTagsOK struct {
	Payload *models.ResponseMatchingModelsTagsResponse
}

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

OK

func NewPostModelMatchingTagsOK

func NewPostModelMatchingTagsOK() *PostModelMatchingTagsOK

NewPostModelMatchingTagsOK creates a PostModelMatchingTagsOK with default headers values

func (*PostModelMatchingTagsOK) Code

func (o *PostModelMatchingTagsOK) Code() int

Code gets the status code for the post model matching tags o k response

func (*PostModelMatchingTagsOK) Error

func (o *PostModelMatchingTagsOK) Error() string

func (*PostModelMatchingTagsOK) GetPayload

func (*PostModelMatchingTagsOK) IsClientError

func (o *PostModelMatchingTagsOK) IsClientError() bool

IsClientError returns true when this post model matching tags o k response has a 4xx status code

func (*PostModelMatchingTagsOK) IsCode

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

IsCode returns true when this post model matching tags o k response a status code equal to that given

func (*PostModelMatchingTagsOK) IsRedirect

func (o *PostModelMatchingTagsOK) IsRedirect() bool

IsRedirect returns true when this post model matching tags o k response has a 3xx status code

func (*PostModelMatchingTagsOK) IsServerError

func (o *PostModelMatchingTagsOK) IsServerError() bool

IsServerError returns true when this post model matching tags o k response has a 5xx status code

func (*PostModelMatchingTagsOK) IsSuccess

func (o *PostModelMatchingTagsOK) IsSuccess() bool

IsSuccess returns true when this post model matching tags o k response has a 2xx status code

func (*PostModelMatchingTagsOK) String

func (o *PostModelMatchingTagsOK) String() string

type PostModelMatchingTagsParams

type PostModelMatchingTagsParams struct {

	/* Input.

	   Matching Models Tags Request
	*/
	Input *models.RequestMatchingModelsTagsRequest

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

PostModelMatchingTagsParams contains all the parameters to send to the API endpoint

for the post model matching tags operation.

Typically these are written to a http.Request.

func NewPostModelMatchingTagsParams

func NewPostModelMatchingTagsParams() *PostModelMatchingTagsParams

NewPostModelMatchingTagsParams creates a new PostModelMatchingTagsParams 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 NewPostModelMatchingTagsParamsWithContext

func NewPostModelMatchingTagsParamsWithContext(ctx context.Context) *PostModelMatchingTagsParams

NewPostModelMatchingTagsParamsWithContext creates a new PostModelMatchingTagsParams object with the ability to set a context for a request.

func NewPostModelMatchingTagsParamsWithHTTPClient

func NewPostModelMatchingTagsParamsWithHTTPClient(client *http.Client) *PostModelMatchingTagsParams

NewPostModelMatchingTagsParamsWithHTTPClient creates a new PostModelMatchingTagsParams object with the ability to set a custom HTTPClient for a request.

func NewPostModelMatchingTagsParamsWithTimeout

func NewPostModelMatchingTagsParamsWithTimeout(timeout time.Duration) *PostModelMatchingTagsParams

NewPostModelMatchingTagsParamsWithTimeout creates a new PostModelMatchingTagsParams object with the ability to set a timeout on a request.

func (*PostModelMatchingTagsParams) SetContext

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

SetContext adds the context to the post model matching tags params

func (*PostModelMatchingTagsParams) SetDefaults

func (o *PostModelMatchingTagsParams) SetDefaults()

SetDefaults hydrates default values in the post model matching tags params (not the query body).

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

func (*PostModelMatchingTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post model matching tags params

func (*PostModelMatchingTagsParams) SetInput

SetInput adds the input to the post model matching tags params

func (*PostModelMatchingTagsParams) SetTimeout

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

SetTimeout adds the timeout to the post model matching tags params

func (*PostModelMatchingTagsParams) WithContext

WithContext adds the context to the post model matching tags params

func (*PostModelMatchingTagsParams) WithDefaults

WithDefaults hydrates default values in the post model matching tags params (not the query body).

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

func (*PostModelMatchingTagsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post model matching tags params

func (*PostModelMatchingTagsParams) WithInput

WithInput adds the input to the post model matching tags params

func (*PostModelMatchingTagsParams) WithTimeout

WithTimeout adds the timeout to the post model matching tags params

func (*PostModelMatchingTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostModelMatchingTagsReader

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

PostModelMatchingTagsReader is a Reader for the PostModelMatchingTags structure.

func (*PostModelMatchingTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostModelOK

type PostModelOK struct {
	Payload *models.ResponseModelResponse
}

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

OK

func NewPostModelOK

func NewPostModelOK() *PostModelOK

NewPostModelOK creates a PostModelOK with default headers values

func (*PostModelOK) Code

func (o *PostModelOK) Code() int

Code gets the status code for the post model o k response

func (*PostModelOK) Error

func (o *PostModelOK) Error() string

func (*PostModelOK) GetPayload

func (o *PostModelOK) GetPayload() *models.ResponseModelResponse

func (*PostModelOK) IsClientError

func (o *PostModelOK) IsClientError() bool

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

func (*PostModelOK) IsCode

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

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

func (*PostModelOK) IsRedirect

func (o *PostModelOK) IsRedirect() bool

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

func (*PostModelOK) IsServerError

func (o *PostModelOK) IsServerError() bool

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

func (*PostModelOK) IsSuccess

func (o *PostModelOK) IsSuccess() bool

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

func (*PostModelOK) String

func (o *PostModelOK) String() string

type PostModelParams

type PostModelParams struct {

	/* Input.

	   Create Model Request
	*/
	Input *models.RequestCreateModelRequest

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

PostModelParams contains all the parameters to send to the API endpoint

for the post model operation.

Typically these are written to a http.Request.

func NewPostModelParams

func NewPostModelParams() *PostModelParams

NewPostModelParams creates a new PostModelParams 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 NewPostModelParamsWithContext

func NewPostModelParamsWithContext(ctx context.Context) *PostModelParams

NewPostModelParamsWithContext creates a new PostModelParams object with the ability to set a context for a request.

func NewPostModelParamsWithHTTPClient

func NewPostModelParamsWithHTTPClient(client *http.Client) *PostModelParams

NewPostModelParamsWithHTTPClient creates a new PostModelParams object with the ability to set a custom HTTPClient for a request.

func NewPostModelParamsWithTimeout

func NewPostModelParamsWithTimeout(timeout time.Duration) *PostModelParams

NewPostModelParamsWithTimeout creates a new PostModelParams object with the ability to set a timeout on a request.

func (*PostModelParams) SetContext

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

SetContext adds the context to the post model params

func (*PostModelParams) SetDefaults

func (o *PostModelParams) SetDefaults()

SetDefaults hydrates default values in the post model params (not the query body).

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

func (*PostModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post model params

func (*PostModelParams) SetInput

func (o *PostModelParams) SetInput(input *models.RequestCreateModelRequest)

SetInput adds the input to the post model params

func (*PostModelParams) SetTimeout

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

SetTimeout adds the timeout to the post model params

func (*PostModelParams) WithContext

func (o *PostModelParams) WithContext(ctx context.Context) *PostModelParams

WithContext adds the context to the post model params

func (*PostModelParams) WithDefaults

func (o *PostModelParams) WithDefaults() *PostModelParams

WithDefaults hydrates default values in the post model params (not the query body).

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

func (*PostModelParams) WithHTTPClient

func (o *PostModelParams) WithHTTPClient(client *http.Client) *PostModelParams

WithHTTPClient adds the HTTPClient to the post model params

func (*PostModelParams) WithInput

WithInput adds the input to the post model params

func (*PostModelParams) WithTimeout

func (o *PostModelParams) WithTimeout(timeout time.Duration) *PostModelParams

WithTimeout adds the timeout to the post model params

func (*PostModelParams) WriteToRequest

func (o *PostModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostModelReader

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

PostModelReader is a Reader for the PostModel structure.

func (*PostModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutModelByIDBadRequest

type PutModelByIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPutModelByIDBadRequest

func NewPutModelByIDBadRequest() *PutModelByIDBadRequest

NewPutModelByIDBadRequest creates a PutModelByIDBadRequest with default headers values

func (*PutModelByIDBadRequest) Code

func (o *PutModelByIDBadRequest) Code() int

Code gets the status code for the put model by Id bad request response

func (*PutModelByIDBadRequest) Error

func (o *PutModelByIDBadRequest) Error() string

func (*PutModelByIDBadRequest) GetPayload

func (*PutModelByIDBadRequest) IsClientError

func (o *PutModelByIDBadRequest) IsClientError() bool

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

func (*PutModelByIDBadRequest) IsCode

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

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

func (*PutModelByIDBadRequest) IsRedirect

func (o *PutModelByIDBadRequest) IsRedirect() bool

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

func (*PutModelByIDBadRequest) IsServerError

func (o *PutModelByIDBadRequest) IsServerError() bool

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

func (*PutModelByIDBadRequest) IsSuccess

func (o *PutModelByIDBadRequest) IsSuccess() bool

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

func (*PutModelByIDBadRequest) String

func (o *PutModelByIDBadRequest) String() string

type PutModelByIDInternalServerError

type PutModelByIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPutModelByIDInternalServerError

func NewPutModelByIDInternalServerError() *PutModelByIDInternalServerError

NewPutModelByIDInternalServerError creates a PutModelByIDInternalServerError with default headers values

func (*PutModelByIDInternalServerError) Code

Code gets the status code for the put model by Id internal server error response

func (*PutModelByIDInternalServerError) Error

func (*PutModelByIDInternalServerError) GetPayload

func (*PutModelByIDInternalServerError) IsClientError

func (o *PutModelByIDInternalServerError) IsClientError() bool

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

func (*PutModelByIDInternalServerError) IsCode

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

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

func (*PutModelByIDInternalServerError) IsRedirect

func (o *PutModelByIDInternalServerError) IsRedirect() bool

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

func (*PutModelByIDInternalServerError) IsServerError

func (o *PutModelByIDInternalServerError) IsServerError() bool

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

func (*PutModelByIDInternalServerError) IsSuccess

func (o *PutModelByIDInternalServerError) IsSuccess() bool

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

func (*PutModelByIDInternalServerError) String

type PutModelByIDMetadataBadRequest

type PutModelByIDMetadataBadRequest struct {
	Payload *models.ResponseFailResponse
}

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

Bad Request

func NewPutModelByIDMetadataBadRequest

func NewPutModelByIDMetadataBadRequest() *PutModelByIDMetadataBadRequest

NewPutModelByIDMetadataBadRequest creates a PutModelByIDMetadataBadRequest with default headers values

func (*PutModelByIDMetadataBadRequest) Code

Code gets the status code for the put model by Id metadata bad request response

func (*PutModelByIDMetadataBadRequest) Error

func (*PutModelByIDMetadataBadRequest) GetPayload

func (*PutModelByIDMetadataBadRequest) IsClientError

func (o *PutModelByIDMetadataBadRequest) IsClientError() bool

IsClientError returns true when this put model by Id metadata bad request response has a 4xx status code

func (*PutModelByIDMetadataBadRequest) IsCode

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

IsCode returns true when this put model by Id metadata bad request response a status code equal to that given

func (*PutModelByIDMetadataBadRequest) IsRedirect

func (o *PutModelByIDMetadataBadRequest) IsRedirect() bool

IsRedirect returns true when this put model by Id metadata bad request response has a 3xx status code

func (*PutModelByIDMetadataBadRequest) IsServerError

func (o *PutModelByIDMetadataBadRequest) IsServerError() bool

IsServerError returns true when this put model by Id metadata bad request response has a 5xx status code

func (*PutModelByIDMetadataBadRequest) IsSuccess

func (o *PutModelByIDMetadataBadRequest) IsSuccess() bool

IsSuccess returns true when this put model by Id metadata bad request response has a 2xx status code

func (*PutModelByIDMetadataBadRequest) String

type PutModelByIDMetadataInternalServerError

type PutModelByIDMetadataInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

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

Internal Server Error

func NewPutModelByIDMetadataInternalServerError

func NewPutModelByIDMetadataInternalServerError() *PutModelByIDMetadataInternalServerError

NewPutModelByIDMetadataInternalServerError creates a PutModelByIDMetadataInternalServerError with default headers values

func (*PutModelByIDMetadataInternalServerError) Code

Code gets the status code for the put model by Id metadata internal server error response

func (*PutModelByIDMetadataInternalServerError) Error

func (*PutModelByIDMetadataInternalServerError) GetPayload

func (*PutModelByIDMetadataInternalServerError) IsClientError

func (o *PutModelByIDMetadataInternalServerError) IsClientError() bool

IsClientError returns true when this put model by Id metadata internal server error response has a 4xx status code

func (*PutModelByIDMetadataInternalServerError) IsCode

IsCode returns true when this put model by Id metadata internal server error response a status code equal to that given

func (*PutModelByIDMetadataInternalServerError) IsRedirect

IsRedirect returns true when this put model by Id metadata internal server error response has a 3xx status code

func (*PutModelByIDMetadataInternalServerError) IsServerError

func (o *PutModelByIDMetadataInternalServerError) IsServerError() bool

IsServerError returns true when this put model by Id metadata internal server error response has a 5xx status code

func (*PutModelByIDMetadataInternalServerError) IsSuccess

IsSuccess returns true when this put model by Id metadata internal server error response has a 2xx status code

func (*PutModelByIDMetadataInternalServerError) String

type PutModelByIDMetadataOK

type PutModelByIDMetadataOK struct {
	Payload *models.ResponseModelResponse
}

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

OK

func NewPutModelByIDMetadataOK

func NewPutModelByIDMetadataOK() *PutModelByIDMetadataOK

NewPutModelByIDMetadataOK creates a PutModelByIDMetadataOK with default headers values

func (*PutModelByIDMetadataOK) Code

func (o *PutModelByIDMetadataOK) Code() int

Code gets the status code for the put model by Id metadata o k response

func (*PutModelByIDMetadataOK) Error

func (o *PutModelByIDMetadataOK) Error() string

func (*PutModelByIDMetadataOK) GetPayload

func (*PutModelByIDMetadataOK) IsClientError

func (o *PutModelByIDMetadataOK) IsClientError() bool

IsClientError returns true when this put model by Id metadata o k response has a 4xx status code

func (*PutModelByIDMetadataOK) IsCode

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

IsCode returns true when this put model by Id metadata o k response a status code equal to that given

func (*PutModelByIDMetadataOK) IsRedirect

func (o *PutModelByIDMetadataOK) IsRedirect() bool

IsRedirect returns true when this put model by Id metadata o k response has a 3xx status code

func (*PutModelByIDMetadataOK) IsServerError

func (o *PutModelByIDMetadataOK) IsServerError() bool

IsServerError returns true when this put model by Id metadata o k response has a 5xx status code

func (*PutModelByIDMetadataOK) IsSuccess

func (o *PutModelByIDMetadataOK) IsSuccess() bool

IsSuccess returns true when this put model by Id metadata o k response has a 2xx status code

func (*PutModelByIDMetadataOK) String

func (o *PutModelByIDMetadataOK) String() string

type PutModelByIDMetadataParams

type PutModelByIDMetadataParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Update Model Metadata Request
	*/
	Input *models.RequestUpdateModelMetadataRequest

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

PutModelByIDMetadataParams contains all the parameters to send to the API endpoint

for the put model by Id metadata operation.

Typically these are written to a http.Request.

func NewPutModelByIDMetadataParams

func NewPutModelByIDMetadataParams() *PutModelByIDMetadataParams

NewPutModelByIDMetadataParams creates a new PutModelByIDMetadataParams 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 NewPutModelByIDMetadataParamsWithContext

func NewPutModelByIDMetadataParamsWithContext(ctx context.Context) *PutModelByIDMetadataParams

NewPutModelByIDMetadataParamsWithContext creates a new PutModelByIDMetadataParams object with the ability to set a context for a request.

func NewPutModelByIDMetadataParamsWithHTTPClient

func NewPutModelByIDMetadataParamsWithHTTPClient(client *http.Client) *PutModelByIDMetadataParams

NewPutModelByIDMetadataParamsWithHTTPClient creates a new PutModelByIDMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewPutModelByIDMetadataParamsWithTimeout

func NewPutModelByIDMetadataParamsWithTimeout(timeout time.Duration) *PutModelByIDMetadataParams

NewPutModelByIDMetadataParamsWithTimeout creates a new PutModelByIDMetadataParams object with the ability to set a timeout on a request.

func (*PutModelByIDMetadataParams) SetContext

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

SetContext adds the context to the put model by Id metadata params

func (*PutModelByIDMetadataParams) SetDefaults

func (o *PutModelByIDMetadataParams) SetDefaults()

SetDefaults hydrates default values in the put model by Id metadata params (not the query body).

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

func (*PutModelByIDMetadataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put model by Id metadata params

func (*PutModelByIDMetadataParams) SetID

func (o *PutModelByIDMetadataParams) SetID(id string)

SetID adds the id to the put model by Id metadata params

func (*PutModelByIDMetadataParams) SetInput

SetInput adds the input to the put model by Id metadata params

func (*PutModelByIDMetadataParams) SetTimeout

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

SetTimeout adds the timeout to the put model by Id metadata params

func (*PutModelByIDMetadataParams) WithContext

WithContext adds the context to the put model by Id metadata params

func (*PutModelByIDMetadataParams) WithDefaults

WithDefaults hydrates default values in the put model by Id metadata params (not the query body).

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

func (*PutModelByIDMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put model by Id metadata params

func (*PutModelByIDMetadataParams) WithID

WithID adds the id to the put model by Id metadata params

func (*PutModelByIDMetadataParams) WithInput

WithInput adds the input to the put model by Id metadata params

func (*PutModelByIDMetadataParams) WithTimeout

WithTimeout adds the timeout to the put model by Id metadata params

func (*PutModelByIDMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutModelByIDMetadataReader

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

PutModelByIDMetadataReader is a Reader for the PutModelByIDMetadata structure.

func (*PutModelByIDMetadataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutModelByIDOK

type PutModelByIDOK struct {
	Payload *models.ResponseModelResponse
}

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

OK

func NewPutModelByIDOK

func NewPutModelByIDOK() *PutModelByIDOK

NewPutModelByIDOK creates a PutModelByIDOK with default headers values

func (*PutModelByIDOK) Code

func (o *PutModelByIDOK) Code() int

Code gets the status code for the put model by Id o k response

func (*PutModelByIDOK) Error

func (o *PutModelByIDOK) Error() string

func (*PutModelByIDOK) GetPayload

func (o *PutModelByIDOK) GetPayload() *models.ResponseModelResponse

func (*PutModelByIDOK) IsClientError

func (o *PutModelByIDOK) IsClientError() bool

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

func (*PutModelByIDOK) IsCode

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

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

func (*PutModelByIDOK) IsRedirect

func (o *PutModelByIDOK) IsRedirect() bool

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

func (*PutModelByIDOK) IsServerError

func (o *PutModelByIDOK) IsServerError() bool

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

func (*PutModelByIDOK) IsSuccess

func (o *PutModelByIDOK) IsSuccess() bool

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

func (*PutModelByIDOK) String

func (o *PutModelByIDOK) String() string

type PutModelByIDParams

type PutModelByIDParams struct {

	/* ID.

	   Model's id
	*/
	ID string

	/* Input.

	   Update Model Request
	*/
	Input *models.RequestUpdateModelRequest

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

PutModelByIDParams contains all the parameters to send to the API endpoint

for the put model by Id operation.

Typically these are written to a http.Request.

func NewPutModelByIDParams

func NewPutModelByIDParams() *PutModelByIDParams

NewPutModelByIDParams creates a new PutModelByIDParams 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 NewPutModelByIDParamsWithContext

func NewPutModelByIDParamsWithContext(ctx context.Context) *PutModelByIDParams

NewPutModelByIDParamsWithContext creates a new PutModelByIDParams object with the ability to set a context for a request.

func NewPutModelByIDParamsWithHTTPClient

func NewPutModelByIDParamsWithHTTPClient(client *http.Client) *PutModelByIDParams

NewPutModelByIDParamsWithHTTPClient creates a new PutModelByIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutModelByIDParamsWithTimeout

func NewPutModelByIDParamsWithTimeout(timeout time.Duration) *PutModelByIDParams

NewPutModelByIDParamsWithTimeout creates a new PutModelByIDParams object with the ability to set a timeout on a request.

func (*PutModelByIDParams) SetContext

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

SetContext adds the context to the put model by Id params

func (*PutModelByIDParams) SetDefaults

func (o *PutModelByIDParams) SetDefaults()

SetDefaults hydrates default values in the put model by Id params (not the query body).

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

func (*PutModelByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put model by Id params

func (*PutModelByIDParams) SetID

func (o *PutModelByIDParams) SetID(id string)

SetID adds the id to the put model by Id params

func (*PutModelByIDParams) SetInput

SetInput adds the input to the put model by Id params

func (*PutModelByIDParams) SetTimeout

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

SetTimeout adds the timeout to the put model by Id params

func (*PutModelByIDParams) WithContext

WithContext adds the context to the put model by Id params

func (*PutModelByIDParams) WithDefaults

func (o *PutModelByIDParams) WithDefaults() *PutModelByIDParams

WithDefaults hydrates default values in the put model by Id params (not the query body).

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

func (*PutModelByIDParams) WithHTTPClient

func (o *PutModelByIDParams) WithHTTPClient(client *http.Client) *PutModelByIDParams

WithHTTPClient adds the HTTPClient to the put model by Id params

func (*PutModelByIDParams) WithID

WithID adds the id to the put model by Id params

func (*PutModelByIDParams) WithInput

WithInput adds the input to the put model by Id params

func (*PutModelByIDParams) WithTimeout

func (o *PutModelByIDParams) WithTimeout(timeout time.Duration) *PutModelByIDParams

WithTimeout adds the timeout to the put model by Id params

func (*PutModelByIDParams) WriteToRequest

func (o *PutModelByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutModelByIDReader

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

PutModelByIDReader is a Reader for the PutModelByID structure.

func (*PutModelByIDReader) ReadResponse

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