Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetModelByID(params *GetModelByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetModelByIDOK, error)
- func (a *Client) GetModelByIDInfo(params *GetModelByIDInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetModelByIDInfoOK, error)
- func (a *Client) GetModelByIDServing(params *GetModelByIDServingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetModelByIDServingOK, error)
- func (a *Client) GetModelByIDTaskCost(params *GetModelByIDTaskCostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetModelByIDTaskCostOK, error)
- func (a *Client) GetModelByIDVersioning(params *GetModelByIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetModelByIDVersioningOK, error)
- func (a *Client) GetModelByUsernameByName(params *GetModelByUsernameByNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetModelByUsernameByNameOK, error)
- func (a *Client) GetModelOrganizationByOrg(params *GetModelOrganizationByOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetModelOrganizationByOrgOK, error)
- func (a *Client) PostModel(params *PostModelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostModelOK, error)
- func (a *Client) PostModelByIDStatistics(params *PostModelByIDStatisticsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostModelByIDStatisticsOK, error)
- func (a *Client) PostModelList(params *PostModelListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostModelListOK, error)
- func (a *Client) PostModelListByAuthorByUsername(params *PostModelListByAuthorByUsernameParams, ...) (*PostModelListByAuthorByUsernameOK, error)
- func (a *Client) PostModelMatchingTags(params *PostModelMatchingTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostModelMatchingTagsOK, error)
- func (a *Client) PutModelByID(params *PutModelByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutModelByIDOK, error)
- func (a *Client) PutModelByIDMetadata(params *PutModelByIDMetadataParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutModelByIDMetadataOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetModelByIDBadRequest
- func (o *GetModelByIDBadRequest) Code() int
- func (o *GetModelByIDBadRequest) Error() string
- func (o *GetModelByIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetModelByIDBadRequest) IsClientError() bool
- func (o *GetModelByIDBadRequest) IsCode(code int) bool
- func (o *GetModelByIDBadRequest) IsRedirect() bool
- func (o *GetModelByIDBadRequest) IsServerError() bool
- func (o *GetModelByIDBadRequest) IsSuccess() bool
- func (o *GetModelByIDBadRequest) String() string
- type GetModelByIDInfoBadRequest
- func (o *GetModelByIDInfoBadRequest) Code() int
- func (o *GetModelByIDInfoBadRequest) Error() string
- func (o *GetModelByIDInfoBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetModelByIDInfoBadRequest) IsClientError() bool
- func (o *GetModelByIDInfoBadRequest) IsCode(code int) bool
- func (o *GetModelByIDInfoBadRequest) IsRedirect() bool
- func (o *GetModelByIDInfoBadRequest) IsServerError() bool
- func (o *GetModelByIDInfoBadRequest) IsSuccess() bool
- func (o *GetModelByIDInfoBadRequest) String() string
- type GetModelByIDInfoInternalServerError
- func (o *GetModelByIDInfoInternalServerError) Code() int
- func (o *GetModelByIDInfoInternalServerError) Error() string
- func (o *GetModelByIDInfoInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetModelByIDInfoInternalServerError) IsClientError() bool
- func (o *GetModelByIDInfoInternalServerError) IsCode(code int) bool
- func (o *GetModelByIDInfoInternalServerError) IsRedirect() bool
- func (o *GetModelByIDInfoInternalServerError) IsServerError() bool
- func (o *GetModelByIDInfoInternalServerError) IsSuccess() bool
- func (o *GetModelByIDInfoInternalServerError) String() string
- type GetModelByIDInfoOK
- func (o *GetModelByIDInfoOK) Code() int
- func (o *GetModelByIDInfoOK) Error() string
- func (o *GetModelByIDInfoOK) GetPayload() *models.ResponseAPIKeyInfoResponse
- func (o *GetModelByIDInfoOK) IsClientError() bool
- func (o *GetModelByIDInfoOK) IsCode(code int) bool
- func (o *GetModelByIDInfoOK) IsRedirect() bool
- func (o *GetModelByIDInfoOK) IsServerError() bool
- func (o *GetModelByIDInfoOK) IsSuccess() bool
- func (o *GetModelByIDInfoOK) String() string
- type GetModelByIDInfoParams
- func NewGetModelByIDInfoParams() *GetModelByIDInfoParams
- func NewGetModelByIDInfoParamsWithContext(ctx context.Context) *GetModelByIDInfoParams
- func NewGetModelByIDInfoParamsWithHTTPClient(client *http.Client) *GetModelByIDInfoParams
- func NewGetModelByIDInfoParamsWithTimeout(timeout time.Duration) *GetModelByIDInfoParams
- func (o *GetModelByIDInfoParams) SetContext(ctx context.Context)
- func (o *GetModelByIDInfoParams) SetDefaults()
- func (o *GetModelByIDInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetModelByIDInfoParams) SetID(id string)
- func (o *GetModelByIDInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetModelByIDInfoParams) WithContext(ctx context.Context) *GetModelByIDInfoParams
- func (o *GetModelByIDInfoParams) WithDefaults() *GetModelByIDInfoParams
- func (o *GetModelByIDInfoParams) WithHTTPClient(client *http.Client) *GetModelByIDInfoParams
- func (o *GetModelByIDInfoParams) WithID(id string) *GetModelByIDInfoParams
- func (o *GetModelByIDInfoParams) WithTimeout(timeout time.Duration) *GetModelByIDInfoParams
- func (o *GetModelByIDInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetModelByIDInfoReader
- type GetModelByIDInternalServerError
- func (o *GetModelByIDInternalServerError) Code() int
- func (o *GetModelByIDInternalServerError) Error() string
- func (o *GetModelByIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetModelByIDInternalServerError) IsClientError() bool
- func (o *GetModelByIDInternalServerError) IsCode(code int) bool
- func (o *GetModelByIDInternalServerError) IsRedirect() bool
- func (o *GetModelByIDInternalServerError) IsServerError() bool
- func (o *GetModelByIDInternalServerError) IsSuccess() bool
- func (o *GetModelByIDInternalServerError) String() string
- type GetModelByIDOK
- func (o *GetModelByIDOK) Code() int
- func (o *GetModelByIDOK) Error() string
- func (o *GetModelByIDOK) GetPayload() *models.ResponseModelResponse
- func (o *GetModelByIDOK) IsClientError() bool
- func (o *GetModelByIDOK) IsCode(code int) bool
- func (o *GetModelByIDOK) IsRedirect() bool
- func (o *GetModelByIDOK) IsServerError() bool
- func (o *GetModelByIDOK) IsSuccess() bool
- func (o *GetModelByIDOK) String() string
- type GetModelByIDParams
- func (o *GetModelByIDParams) SetContext(ctx context.Context)
- func (o *GetModelByIDParams) SetDefaults()
- func (o *GetModelByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetModelByIDParams) SetID(id string)
- func (o *GetModelByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetModelByIDParams) WithContext(ctx context.Context) *GetModelByIDParams
- func (o *GetModelByIDParams) WithDefaults() *GetModelByIDParams
- func (o *GetModelByIDParams) WithHTTPClient(client *http.Client) *GetModelByIDParams
- func (o *GetModelByIDParams) WithID(id string) *GetModelByIDParams
- func (o *GetModelByIDParams) WithTimeout(timeout time.Duration) *GetModelByIDParams
- func (o *GetModelByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetModelByIDReader
- type GetModelByIDServingBadRequest
- func (o *GetModelByIDServingBadRequest) Code() int
- func (o *GetModelByIDServingBadRequest) Error() string
- func (o *GetModelByIDServingBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetModelByIDServingBadRequest) IsClientError() bool
- func (o *GetModelByIDServingBadRequest) IsCode(code int) bool
- func (o *GetModelByIDServingBadRequest) IsRedirect() bool
- func (o *GetModelByIDServingBadRequest) IsServerError() bool
- func (o *GetModelByIDServingBadRequest) IsSuccess() bool
- func (o *GetModelByIDServingBadRequest) String() string
- type GetModelByIDServingInternalServerError
- func (o *GetModelByIDServingInternalServerError) Code() int
- func (o *GetModelByIDServingInternalServerError) Error() string
- func (o *GetModelByIDServingInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetModelByIDServingInternalServerError) IsClientError() bool
- func (o *GetModelByIDServingInternalServerError) IsCode(code int) bool
- func (o *GetModelByIDServingInternalServerError) IsRedirect() bool
- func (o *GetModelByIDServingInternalServerError) IsServerError() bool
- func (o *GetModelByIDServingInternalServerError) IsSuccess() bool
- func (o *GetModelByIDServingInternalServerError) String() string
- type GetModelByIDServingOK
- func (o *GetModelByIDServingOK) Code() int
- func (o *GetModelByIDServingOK) Error() string
- func (o *GetModelByIDServingOK) GetPayload() *models.ResponseCheckModelIsServingResponse
- func (o *GetModelByIDServingOK) IsClientError() bool
- func (o *GetModelByIDServingOK) IsCode(code int) bool
- func (o *GetModelByIDServingOK) IsRedirect() bool
- func (o *GetModelByIDServingOK) IsServerError() bool
- func (o *GetModelByIDServingOK) IsSuccess() bool
- func (o *GetModelByIDServingOK) String() string
- type GetModelByIDServingParams
- func NewGetModelByIDServingParams() *GetModelByIDServingParams
- func NewGetModelByIDServingParamsWithContext(ctx context.Context) *GetModelByIDServingParams
- func NewGetModelByIDServingParamsWithHTTPClient(client *http.Client) *GetModelByIDServingParams
- func NewGetModelByIDServingParamsWithTimeout(timeout time.Duration) *GetModelByIDServingParams
- func (o *GetModelByIDServingParams) SetContext(ctx context.Context)
- func (o *GetModelByIDServingParams) SetDefaults()
- func (o *GetModelByIDServingParams) SetHTTPClient(client *http.Client)
- func (o *GetModelByIDServingParams) SetID(id string)
- func (o *GetModelByIDServingParams) SetTimeout(timeout time.Duration)
- func (o *GetModelByIDServingParams) WithContext(ctx context.Context) *GetModelByIDServingParams
- func (o *GetModelByIDServingParams) WithDefaults() *GetModelByIDServingParams
- func (o *GetModelByIDServingParams) WithHTTPClient(client *http.Client) *GetModelByIDServingParams
- func (o *GetModelByIDServingParams) WithID(id string) *GetModelByIDServingParams
- func (o *GetModelByIDServingParams) WithTimeout(timeout time.Duration) *GetModelByIDServingParams
- func (o *GetModelByIDServingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetModelByIDServingReader
- type GetModelByIDTaskCostBadRequest
- func (o *GetModelByIDTaskCostBadRequest) Code() int
- func (o *GetModelByIDTaskCostBadRequest) Error() string
- func (o *GetModelByIDTaskCostBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetModelByIDTaskCostBadRequest) IsClientError() bool
- func (o *GetModelByIDTaskCostBadRequest) IsCode(code int) bool
- func (o *GetModelByIDTaskCostBadRequest) IsRedirect() bool
- func (o *GetModelByIDTaskCostBadRequest) IsServerError() bool
- func (o *GetModelByIDTaskCostBadRequest) IsSuccess() bool
- func (o *GetModelByIDTaskCostBadRequest) String() string
- type GetModelByIDTaskCostInternalServerError
- func (o *GetModelByIDTaskCostInternalServerError) Code() int
- func (o *GetModelByIDTaskCostInternalServerError) Error() string
- func (o *GetModelByIDTaskCostInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetModelByIDTaskCostInternalServerError) IsClientError() bool
- func (o *GetModelByIDTaskCostInternalServerError) IsCode(code int) bool
- func (o *GetModelByIDTaskCostInternalServerError) IsRedirect() bool
- func (o *GetModelByIDTaskCostInternalServerError) IsServerError() bool
- func (o *GetModelByIDTaskCostInternalServerError) IsSuccess() bool
- func (o *GetModelByIDTaskCostInternalServerError) String() string
- type GetModelByIDTaskCostOK
- func (o *GetModelByIDTaskCostOK) Code() int
- func (o *GetModelByIDTaskCostOK) Error() string
- func (o *GetModelByIDTaskCostOK) GetPayload() *models.ResponseEstimateCostResponse
- func (o *GetModelByIDTaskCostOK) IsClientError() bool
- func (o *GetModelByIDTaskCostOK) IsCode(code int) bool
- func (o *GetModelByIDTaskCostOK) IsRedirect() bool
- func (o *GetModelByIDTaskCostOK) IsServerError() bool
- func (o *GetModelByIDTaskCostOK) IsSuccess() bool
- func (o *GetModelByIDTaskCostOK) String() string
- type GetModelByIDTaskCostParams
- func NewGetModelByIDTaskCostParams() *GetModelByIDTaskCostParams
- func NewGetModelByIDTaskCostParamsWithContext(ctx context.Context) *GetModelByIDTaskCostParams
- func NewGetModelByIDTaskCostParamsWithHTTPClient(client *http.Client) *GetModelByIDTaskCostParams
- func NewGetModelByIDTaskCostParamsWithTimeout(timeout time.Duration) *GetModelByIDTaskCostParams
- func (o *GetModelByIDTaskCostParams) SetContext(ctx context.Context)
- func (o *GetModelByIDTaskCostParams) SetDefaults()
- func (o *GetModelByIDTaskCostParams) SetHTTPClient(client *http.Client)
- func (o *GetModelByIDTaskCostParams) SetID(id string)
- func (o *GetModelByIDTaskCostParams) SetTimeout(timeout time.Duration)
- func (o *GetModelByIDTaskCostParams) WithContext(ctx context.Context) *GetModelByIDTaskCostParams
- func (o *GetModelByIDTaskCostParams) WithDefaults() *GetModelByIDTaskCostParams
- func (o *GetModelByIDTaskCostParams) WithHTTPClient(client *http.Client) *GetModelByIDTaskCostParams
- func (o *GetModelByIDTaskCostParams) WithID(id string) *GetModelByIDTaskCostParams
- func (o *GetModelByIDTaskCostParams) WithTimeout(timeout time.Duration) *GetModelByIDTaskCostParams
- func (o *GetModelByIDTaskCostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetModelByIDTaskCostReader
- type GetModelByIDVersioningBadRequest
- func (o *GetModelByIDVersioningBadRequest) Code() int
- func (o *GetModelByIDVersioningBadRequest) Error() string
- func (o *GetModelByIDVersioningBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetModelByIDVersioningBadRequest) IsClientError() bool
- func (o *GetModelByIDVersioningBadRequest) IsCode(code int) bool
- func (o *GetModelByIDVersioningBadRequest) IsRedirect() bool
- func (o *GetModelByIDVersioningBadRequest) IsServerError() bool
- func (o *GetModelByIDVersioningBadRequest) IsSuccess() bool
- func (o *GetModelByIDVersioningBadRequest) String() string
- type GetModelByIDVersioningInternalServerError
- func (o *GetModelByIDVersioningInternalServerError) Code() int
- func (o *GetModelByIDVersioningInternalServerError) Error() string
- func (o *GetModelByIDVersioningInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetModelByIDVersioningInternalServerError) IsClientError() bool
- func (o *GetModelByIDVersioningInternalServerError) IsCode(code int) bool
- func (o *GetModelByIDVersioningInternalServerError) IsRedirect() bool
- func (o *GetModelByIDVersioningInternalServerError) IsServerError() bool
- func (o *GetModelByIDVersioningInternalServerError) IsSuccess() bool
- func (o *GetModelByIDVersioningInternalServerError) String() string
- type GetModelByIDVersioningOK
- func (o *GetModelByIDVersioningOK) Code() int
- func (o *GetModelByIDVersioningOK) Error() string
- func (o *GetModelByIDVersioningOK) GetPayload() *models.ResponseModelVersioningGroupLiteResponse
- func (o *GetModelByIDVersioningOK) IsClientError() bool
- func (o *GetModelByIDVersioningOK) IsCode(code int) bool
- func (o *GetModelByIDVersioningOK) IsRedirect() bool
- func (o *GetModelByIDVersioningOK) IsServerError() bool
- func (o *GetModelByIDVersioningOK) IsSuccess() bool
- func (o *GetModelByIDVersioningOK) String() string
- type GetModelByIDVersioningParams
- func NewGetModelByIDVersioningParams() *GetModelByIDVersioningParams
- func NewGetModelByIDVersioningParamsWithContext(ctx context.Context) *GetModelByIDVersioningParams
- func NewGetModelByIDVersioningParamsWithHTTPClient(client *http.Client) *GetModelByIDVersioningParams
- func NewGetModelByIDVersioningParamsWithTimeout(timeout time.Duration) *GetModelByIDVersioningParams
- func (o *GetModelByIDVersioningParams) SetContext(ctx context.Context)
- func (o *GetModelByIDVersioningParams) SetDefaults()
- func (o *GetModelByIDVersioningParams) SetHTTPClient(client *http.Client)
- func (o *GetModelByIDVersioningParams) SetID(id string)
- func (o *GetModelByIDVersioningParams) SetTimeout(timeout time.Duration)
- func (o *GetModelByIDVersioningParams) WithContext(ctx context.Context) *GetModelByIDVersioningParams
- func (o *GetModelByIDVersioningParams) WithDefaults() *GetModelByIDVersioningParams
- func (o *GetModelByIDVersioningParams) WithHTTPClient(client *http.Client) *GetModelByIDVersioningParams
- func (o *GetModelByIDVersioningParams) WithID(id string) *GetModelByIDVersioningParams
- func (o *GetModelByIDVersioningParams) WithTimeout(timeout time.Duration) *GetModelByIDVersioningParams
- func (o *GetModelByIDVersioningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetModelByIDVersioningReader
- type GetModelByUsernameByNameBadRequest
- func (o *GetModelByUsernameByNameBadRequest) Code() int
- func (o *GetModelByUsernameByNameBadRequest) Error() string
- func (o *GetModelByUsernameByNameBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetModelByUsernameByNameBadRequest) IsClientError() bool
- func (o *GetModelByUsernameByNameBadRequest) IsCode(code int) bool
- func (o *GetModelByUsernameByNameBadRequest) IsRedirect() bool
- func (o *GetModelByUsernameByNameBadRequest) IsServerError() bool
- func (o *GetModelByUsernameByNameBadRequest) IsSuccess() bool
- func (o *GetModelByUsernameByNameBadRequest) String() string
- type GetModelByUsernameByNameInternalServerError
- func (o *GetModelByUsernameByNameInternalServerError) Code() int
- func (o *GetModelByUsernameByNameInternalServerError) Error() string
- func (o *GetModelByUsernameByNameInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetModelByUsernameByNameInternalServerError) IsClientError() bool
- func (o *GetModelByUsernameByNameInternalServerError) IsCode(code int) bool
- func (o *GetModelByUsernameByNameInternalServerError) IsRedirect() bool
- func (o *GetModelByUsernameByNameInternalServerError) IsServerError() bool
- func (o *GetModelByUsernameByNameInternalServerError) IsSuccess() bool
- func (o *GetModelByUsernameByNameInternalServerError) String() string
- type GetModelByUsernameByNameOK
- func (o *GetModelByUsernameByNameOK) Code() int
- func (o *GetModelByUsernameByNameOK) Error() string
- func (o *GetModelByUsernameByNameOK) GetPayload() *models.ResponseModelResponse
- func (o *GetModelByUsernameByNameOK) IsClientError() bool
- func (o *GetModelByUsernameByNameOK) IsCode(code int) bool
- func (o *GetModelByUsernameByNameOK) IsRedirect() bool
- func (o *GetModelByUsernameByNameOK) IsServerError() bool
- func (o *GetModelByUsernameByNameOK) IsSuccess() bool
- func (o *GetModelByUsernameByNameOK) String() string
- type GetModelByUsernameByNameParams
- func NewGetModelByUsernameByNameParams() *GetModelByUsernameByNameParams
- func NewGetModelByUsernameByNameParamsWithContext(ctx context.Context) *GetModelByUsernameByNameParams
- func NewGetModelByUsernameByNameParamsWithHTTPClient(client *http.Client) *GetModelByUsernameByNameParams
- func NewGetModelByUsernameByNameParamsWithTimeout(timeout time.Duration) *GetModelByUsernameByNameParams
- func (o *GetModelByUsernameByNameParams) SetContext(ctx context.Context)
- func (o *GetModelByUsernameByNameParams) SetDefaults()
- func (o *GetModelByUsernameByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetModelByUsernameByNameParams) SetName(name string)
- func (o *GetModelByUsernameByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetModelByUsernameByNameParams) SetUsername(username string)
- func (o *GetModelByUsernameByNameParams) WithContext(ctx context.Context) *GetModelByUsernameByNameParams
- func (o *GetModelByUsernameByNameParams) WithDefaults() *GetModelByUsernameByNameParams
- func (o *GetModelByUsernameByNameParams) WithHTTPClient(client *http.Client) *GetModelByUsernameByNameParams
- func (o *GetModelByUsernameByNameParams) WithName(name string) *GetModelByUsernameByNameParams
- func (o *GetModelByUsernameByNameParams) WithTimeout(timeout time.Duration) *GetModelByUsernameByNameParams
- func (o *GetModelByUsernameByNameParams) WithUsername(username string) *GetModelByUsernameByNameParams
- func (o *GetModelByUsernameByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetModelByUsernameByNameReader
- type GetModelOrganizationByOrgBadRequest
- func (o *GetModelOrganizationByOrgBadRequest) Code() int
- func (o *GetModelOrganizationByOrgBadRequest) Error() string
- func (o *GetModelOrganizationByOrgBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetModelOrganizationByOrgBadRequest) IsClientError() bool
- func (o *GetModelOrganizationByOrgBadRequest) IsCode(code int) bool
- func (o *GetModelOrganizationByOrgBadRequest) IsRedirect() bool
- func (o *GetModelOrganizationByOrgBadRequest) IsServerError() bool
- func (o *GetModelOrganizationByOrgBadRequest) IsSuccess() bool
- func (o *GetModelOrganizationByOrgBadRequest) String() string
- type GetModelOrganizationByOrgInternalServerError
- func (o *GetModelOrganizationByOrgInternalServerError) Code() int
- func (o *GetModelOrganizationByOrgInternalServerError) Error() string
- func (o *GetModelOrganizationByOrgInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetModelOrganizationByOrgInternalServerError) IsClientError() bool
- func (o *GetModelOrganizationByOrgInternalServerError) IsCode(code int) bool
- func (o *GetModelOrganizationByOrgInternalServerError) IsRedirect() bool
- func (o *GetModelOrganizationByOrgInternalServerError) IsServerError() bool
- func (o *GetModelOrganizationByOrgInternalServerError) IsSuccess() bool
- func (o *GetModelOrganizationByOrgInternalServerError) String() string
- type GetModelOrganizationByOrgOK
- func (o *GetModelOrganizationByOrgOK) Code() int
- func (o *GetModelOrganizationByOrgOK) Error() string
- func (o *GetModelOrganizationByOrgOK) GetPayload() *models.ResponseModelListResponse
- func (o *GetModelOrganizationByOrgOK) IsClientError() bool
- func (o *GetModelOrganizationByOrgOK) IsCode(code int) bool
- func (o *GetModelOrganizationByOrgOK) IsRedirect() bool
- func (o *GetModelOrganizationByOrgOK) IsServerError() bool
- func (o *GetModelOrganizationByOrgOK) IsSuccess() bool
- func (o *GetModelOrganizationByOrgOK) String() string
- type GetModelOrganizationByOrgParams
- func NewGetModelOrganizationByOrgParams() *GetModelOrganizationByOrgParams
- func NewGetModelOrganizationByOrgParamsWithContext(ctx context.Context) *GetModelOrganizationByOrgParams
- func NewGetModelOrganizationByOrgParamsWithHTTPClient(client *http.Client) *GetModelOrganizationByOrgParams
- func NewGetModelOrganizationByOrgParamsWithTimeout(timeout time.Duration) *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) SetContext(ctx context.Context)
- func (o *GetModelOrganizationByOrgParams) SetDefaults()
- func (o *GetModelOrganizationByOrgParams) SetHTTPClient(client *http.Client)
- func (o *GetModelOrganizationByOrgParams) SetLimit(limit *int64)
- func (o *GetModelOrganizationByOrgParams) SetOffset(offset *int64)
- func (o *GetModelOrganizationByOrgParams) SetOrg(org string)
- func (o *GetModelOrganizationByOrgParams) SetSort(sort *string)
- func (o *GetModelOrganizationByOrgParams) SetTimeout(timeout time.Duration)
- func (o *GetModelOrganizationByOrgParams) WithContext(ctx context.Context) *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) WithDefaults() *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) WithHTTPClient(client *http.Client) *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) WithLimit(limit *int64) *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) WithOffset(offset *int64) *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) WithOrg(org string) *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) WithSort(sort *string) *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) WithTimeout(timeout time.Duration) *GetModelOrganizationByOrgParams
- func (o *GetModelOrganizationByOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetModelOrganizationByOrgReader
- type PostModelBadRequest
- func (o *PostModelBadRequest) Code() int
- func (o *PostModelBadRequest) Error() string
- func (o *PostModelBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostModelBadRequest) IsClientError() bool
- func (o *PostModelBadRequest) IsCode(code int) bool
- func (o *PostModelBadRequest) IsRedirect() bool
- func (o *PostModelBadRequest) IsServerError() bool
- func (o *PostModelBadRequest) IsSuccess() bool
- func (o *PostModelBadRequest) String() string
- type PostModelByIDStatisticsBadRequest
- func (o *PostModelByIDStatisticsBadRequest) Code() int
- func (o *PostModelByIDStatisticsBadRequest) Error() string
- func (o *PostModelByIDStatisticsBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostModelByIDStatisticsBadRequest) IsClientError() bool
- func (o *PostModelByIDStatisticsBadRequest) IsCode(code int) bool
- func (o *PostModelByIDStatisticsBadRequest) IsRedirect() bool
- func (o *PostModelByIDStatisticsBadRequest) IsServerError() bool
- func (o *PostModelByIDStatisticsBadRequest) IsSuccess() bool
- func (o *PostModelByIDStatisticsBadRequest) String() string
- type PostModelByIDStatisticsInternalServerError
- func (o *PostModelByIDStatisticsInternalServerError) Code() int
- func (o *PostModelByIDStatisticsInternalServerError) Error() string
- func (o *PostModelByIDStatisticsInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostModelByIDStatisticsInternalServerError) IsClientError() bool
- func (o *PostModelByIDStatisticsInternalServerError) IsCode(code int) bool
- func (o *PostModelByIDStatisticsInternalServerError) IsRedirect() bool
- func (o *PostModelByIDStatisticsInternalServerError) IsServerError() bool
- func (o *PostModelByIDStatisticsInternalServerError) IsSuccess() bool
- func (o *PostModelByIDStatisticsInternalServerError) String() string
- type PostModelByIDStatisticsOK
- func (o *PostModelByIDStatisticsOK) Code() int
- func (o *PostModelByIDStatisticsOK) Error() string
- func (o *PostModelByIDStatisticsOK) GetPayload() *models.ResponseGetTaskStatisticsResponse
- func (o *PostModelByIDStatisticsOK) IsClientError() bool
- func (o *PostModelByIDStatisticsOK) IsCode(code int) bool
- func (o *PostModelByIDStatisticsOK) IsRedirect() bool
- func (o *PostModelByIDStatisticsOK) IsServerError() bool
- func (o *PostModelByIDStatisticsOK) IsSuccess() bool
- func (o *PostModelByIDStatisticsOK) String() string
- type PostModelByIDStatisticsParams
- func NewPostModelByIDStatisticsParams() *PostModelByIDStatisticsParams
- func NewPostModelByIDStatisticsParamsWithContext(ctx context.Context) *PostModelByIDStatisticsParams
- func NewPostModelByIDStatisticsParamsWithHTTPClient(client *http.Client) *PostModelByIDStatisticsParams
- func NewPostModelByIDStatisticsParamsWithTimeout(timeout time.Duration) *PostModelByIDStatisticsParams
- func (o *PostModelByIDStatisticsParams) SetContext(ctx context.Context)
- func (o *PostModelByIDStatisticsParams) SetDefaults()
- func (o *PostModelByIDStatisticsParams) SetHTTPClient(client *http.Client)
- func (o *PostModelByIDStatisticsParams) SetID(id string)
- func (o *PostModelByIDStatisticsParams) SetInput(input *models.RequestGetAPIKeyStatisticsByModelIDRequest)
- func (o *PostModelByIDStatisticsParams) SetTimeout(timeout time.Duration)
- func (o *PostModelByIDStatisticsParams) WithContext(ctx context.Context) *PostModelByIDStatisticsParams
- func (o *PostModelByIDStatisticsParams) WithDefaults() *PostModelByIDStatisticsParams
- func (o *PostModelByIDStatisticsParams) WithHTTPClient(client *http.Client) *PostModelByIDStatisticsParams
- func (o *PostModelByIDStatisticsParams) WithID(id string) *PostModelByIDStatisticsParams
- func (o *PostModelByIDStatisticsParams) WithInput(input *models.RequestGetAPIKeyStatisticsByModelIDRequest) *PostModelByIDStatisticsParams
- func (o *PostModelByIDStatisticsParams) WithTimeout(timeout time.Duration) *PostModelByIDStatisticsParams
- func (o *PostModelByIDStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostModelByIDStatisticsReader
- type PostModelInternalServerError
- func (o *PostModelInternalServerError) Code() int
- func (o *PostModelInternalServerError) Error() string
- func (o *PostModelInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostModelInternalServerError) IsClientError() bool
- func (o *PostModelInternalServerError) IsCode(code int) bool
- func (o *PostModelInternalServerError) IsRedirect() bool
- func (o *PostModelInternalServerError) IsServerError() bool
- func (o *PostModelInternalServerError) IsSuccess() bool
- func (o *PostModelInternalServerError) String() string
- type PostModelListBadRequest
- func (o *PostModelListBadRequest) Code() int
- func (o *PostModelListBadRequest) Error() string
- func (o *PostModelListBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostModelListBadRequest) IsClientError() bool
- func (o *PostModelListBadRequest) IsCode(code int) bool
- func (o *PostModelListBadRequest) IsRedirect() bool
- func (o *PostModelListBadRequest) IsServerError() bool
- func (o *PostModelListBadRequest) IsSuccess() bool
- func (o *PostModelListBadRequest) String() string
- type PostModelListByAuthorByUsernameBadRequest
- func (o *PostModelListByAuthorByUsernameBadRequest) Code() int
- func (o *PostModelListByAuthorByUsernameBadRequest) Error() string
- func (o *PostModelListByAuthorByUsernameBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostModelListByAuthorByUsernameBadRequest) IsClientError() bool
- func (o *PostModelListByAuthorByUsernameBadRequest) IsCode(code int) bool
- func (o *PostModelListByAuthorByUsernameBadRequest) IsRedirect() bool
- func (o *PostModelListByAuthorByUsernameBadRequest) IsServerError() bool
- func (o *PostModelListByAuthorByUsernameBadRequest) IsSuccess() bool
- func (o *PostModelListByAuthorByUsernameBadRequest) String() string
- type PostModelListByAuthorByUsernameInternalServerError
- func (o *PostModelListByAuthorByUsernameInternalServerError) Code() int
- func (o *PostModelListByAuthorByUsernameInternalServerError) Error() string
- func (o *PostModelListByAuthorByUsernameInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostModelListByAuthorByUsernameInternalServerError) IsClientError() bool
- func (o *PostModelListByAuthorByUsernameInternalServerError) IsCode(code int) bool
- func (o *PostModelListByAuthorByUsernameInternalServerError) IsRedirect() bool
- func (o *PostModelListByAuthorByUsernameInternalServerError) IsServerError() bool
- func (o *PostModelListByAuthorByUsernameInternalServerError) IsSuccess() bool
- func (o *PostModelListByAuthorByUsernameInternalServerError) String() string
- type PostModelListByAuthorByUsernameOK
- func (o *PostModelListByAuthorByUsernameOK) Code() int
- func (o *PostModelListByAuthorByUsernameOK) Error() string
- func (o *PostModelListByAuthorByUsernameOK) GetPayload() *models.ResponseModelListResponse
- func (o *PostModelListByAuthorByUsernameOK) IsClientError() bool
- func (o *PostModelListByAuthorByUsernameOK) IsCode(code int) bool
- func (o *PostModelListByAuthorByUsernameOK) IsRedirect() bool
- func (o *PostModelListByAuthorByUsernameOK) IsServerError() bool
- func (o *PostModelListByAuthorByUsernameOK) IsSuccess() bool
- func (o *PostModelListByAuthorByUsernameOK) String() string
- type PostModelListByAuthorByUsernameParams
- func NewPostModelListByAuthorByUsernameParams() *PostModelListByAuthorByUsernameParams
- func NewPostModelListByAuthorByUsernameParamsWithContext(ctx context.Context) *PostModelListByAuthorByUsernameParams
- func NewPostModelListByAuthorByUsernameParamsWithHTTPClient(client *http.Client) *PostModelListByAuthorByUsernameParams
- func NewPostModelListByAuthorByUsernameParamsWithTimeout(timeout time.Duration) *PostModelListByAuthorByUsernameParams
- func (o *PostModelListByAuthorByUsernameParams) SetContext(ctx context.Context)
- func (o *PostModelListByAuthorByUsernameParams) SetDefaults()
- func (o *PostModelListByAuthorByUsernameParams) SetHTTPClient(client *http.Client)
- func (o *PostModelListByAuthorByUsernameParams) SetInput(input *models.RequestGetModelListByAuthorRequest)
- func (o *PostModelListByAuthorByUsernameParams) SetTimeout(timeout time.Duration)
- func (o *PostModelListByAuthorByUsernameParams) SetUsername(username string)
- func (o *PostModelListByAuthorByUsernameParams) WithContext(ctx context.Context) *PostModelListByAuthorByUsernameParams
- func (o *PostModelListByAuthorByUsernameParams) WithDefaults() *PostModelListByAuthorByUsernameParams
- func (o *PostModelListByAuthorByUsernameParams) WithHTTPClient(client *http.Client) *PostModelListByAuthorByUsernameParams
- func (o *PostModelListByAuthorByUsernameParams) WithInput(input *models.RequestGetModelListByAuthorRequest) *PostModelListByAuthorByUsernameParams
- func (o *PostModelListByAuthorByUsernameParams) WithTimeout(timeout time.Duration) *PostModelListByAuthorByUsernameParams
- func (o *PostModelListByAuthorByUsernameParams) WithUsername(username string) *PostModelListByAuthorByUsernameParams
- func (o *PostModelListByAuthorByUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostModelListByAuthorByUsernameReader
- type PostModelListInternalServerError
- func (o *PostModelListInternalServerError) Code() int
- func (o *PostModelListInternalServerError) Error() string
- func (o *PostModelListInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostModelListInternalServerError) IsClientError() bool
- func (o *PostModelListInternalServerError) IsCode(code int) bool
- func (o *PostModelListInternalServerError) IsRedirect() bool
- func (o *PostModelListInternalServerError) IsServerError() bool
- func (o *PostModelListInternalServerError) IsSuccess() bool
- func (o *PostModelListInternalServerError) String() string
- type PostModelListOK
- func (o *PostModelListOK) Code() int
- func (o *PostModelListOK) Error() string
- func (o *PostModelListOK) GetPayload() *models.ResponseModelListResponse
- func (o *PostModelListOK) IsClientError() bool
- func (o *PostModelListOK) IsCode(code int) bool
- func (o *PostModelListOK) IsRedirect() bool
- func (o *PostModelListOK) IsServerError() bool
- func (o *PostModelListOK) IsSuccess() bool
- func (o *PostModelListOK) String() string
- type PostModelListParams
- func (o *PostModelListParams) SetContext(ctx context.Context)
- func (o *PostModelListParams) SetDefaults()
- func (o *PostModelListParams) SetHTTPClient(client *http.Client)
- func (o *PostModelListParams) SetInput(input *models.RequestGetModelListRequest)
- func (o *PostModelListParams) SetTimeout(timeout time.Duration)
- func (o *PostModelListParams) WithContext(ctx context.Context) *PostModelListParams
- func (o *PostModelListParams) WithDefaults() *PostModelListParams
- func (o *PostModelListParams) WithHTTPClient(client *http.Client) *PostModelListParams
- func (o *PostModelListParams) WithInput(input *models.RequestGetModelListRequest) *PostModelListParams
- func (o *PostModelListParams) WithTimeout(timeout time.Duration) *PostModelListParams
- func (o *PostModelListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostModelListReader
- type PostModelMatchingTagsBadRequest
- func (o *PostModelMatchingTagsBadRequest) Code() int
- func (o *PostModelMatchingTagsBadRequest) Error() string
- func (o *PostModelMatchingTagsBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostModelMatchingTagsBadRequest) IsClientError() bool
- func (o *PostModelMatchingTagsBadRequest) IsCode(code int) bool
- func (o *PostModelMatchingTagsBadRequest) IsRedirect() bool
- func (o *PostModelMatchingTagsBadRequest) IsServerError() bool
- func (o *PostModelMatchingTagsBadRequest) IsSuccess() bool
- func (o *PostModelMatchingTagsBadRequest) String() string
- type PostModelMatchingTagsInternalServerError
- func (o *PostModelMatchingTagsInternalServerError) Code() int
- func (o *PostModelMatchingTagsInternalServerError) Error() string
- func (o *PostModelMatchingTagsInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostModelMatchingTagsInternalServerError) IsClientError() bool
- func (o *PostModelMatchingTagsInternalServerError) IsCode(code int) bool
- func (o *PostModelMatchingTagsInternalServerError) IsRedirect() bool
- func (o *PostModelMatchingTagsInternalServerError) IsServerError() bool
- func (o *PostModelMatchingTagsInternalServerError) IsSuccess() bool
- func (o *PostModelMatchingTagsInternalServerError) String() string
- type PostModelMatchingTagsOK
- func (o *PostModelMatchingTagsOK) Code() int
- func (o *PostModelMatchingTagsOK) Error() string
- func (o *PostModelMatchingTagsOK) GetPayload() *models.ResponseMatchingModelsTagsResponse
- func (o *PostModelMatchingTagsOK) IsClientError() bool
- func (o *PostModelMatchingTagsOK) IsCode(code int) bool
- func (o *PostModelMatchingTagsOK) IsRedirect() bool
- func (o *PostModelMatchingTagsOK) IsServerError() bool
- func (o *PostModelMatchingTagsOK) IsSuccess() bool
- func (o *PostModelMatchingTagsOK) String() string
- type PostModelMatchingTagsParams
- func NewPostModelMatchingTagsParams() *PostModelMatchingTagsParams
- func NewPostModelMatchingTagsParamsWithContext(ctx context.Context) *PostModelMatchingTagsParams
- func NewPostModelMatchingTagsParamsWithHTTPClient(client *http.Client) *PostModelMatchingTagsParams
- func NewPostModelMatchingTagsParamsWithTimeout(timeout time.Duration) *PostModelMatchingTagsParams
- func (o *PostModelMatchingTagsParams) SetContext(ctx context.Context)
- func (o *PostModelMatchingTagsParams) SetDefaults()
- func (o *PostModelMatchingTagsParams) SetHTTPClient(client *http.Client)
- func (o *PostModelMatchingTagsParams) SetInput(input *models.RequestMatchingModelsTagsRequest)
- func (o *PostModelMatchingTagsParams) SetTimeout(timeout time.Duration)
- func (o *PostModelMatchingTagsParams) WithContext(ctx context.Context) *PostModelMatchingTagsParams
- func (o *PostModelMatchingTagsParams) WithDefaults() *PostModelMatchingTagsParams
- func (o *PostModelMatchingTagsParams) WithHTTPClient(client *http.Client) *PostModelMatchingTagsParams
- func (o *PostModelMatchingTagsParams) WithInput(input *models.RequestMatchingModelsTagsRequest) *PostModelMatchingTagsParams
- func (o *PostModelMatchingTagsParams) WithTimeout(timeout time.Duration) *PostModelMatchingTagsParams
- func (o *PostModelMatchingTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostModelMatchingTagsReader
- type PostModelOK
- func (o *PostModelOK) Code() int
- func (o *PostModelOK) Error() string
- func (o *PostModelOK) GetPayload() *models.ResponseModelResponse
- func (o *PostModelOK) IsClientError() bool
- func (o *PostModelOK) IsCode(code int) bool
- func (o *PostModelOK) IsRedirect() bool
- func (o *PostModelOK) IsServerError() bool
- func (o *PostModelOK) IsSuccess() bool
- func (o *PostModelOK) String() string
- type PostModelParams
- func (o *PostModelParams) SetContext(ctx context.Context)
- func (o *PostModelParams) SetDefaults()
- func (o *PostModelParams) SetHTTPClient(client *http.Client)
- func (o *PostModelParams) SetInput(input *models.RequestCreateModelRequest)
- func (o *PostModelParams) SetTimeout(timeout time.Duration)
- func (o *PostModelParams) WithContext(ctx context.Context) *PostModelParams
- func (o *PostModelParams) WithDefaults() *PostModelParams
- func (o *PostModelParams) WithHTTPClient(client *http.Client) *PostModelParams
- func (o *PostModelParams) WithInput(input *models.RequestCreateModelRequest) *PostModelParams
- func (o *PostModelParams) WithTimeout(timeout time.Duration) *PostModelParams
- func (o *PostModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostModelReader
- type PutModelByIDBadRequest
- func (o *PutModelByIDBadRequest) Code() int
- func (o *PutModelByIDBadRequest) Error() string
- func (o *PutModelByIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutModelByIDBadRequest) IsClientError() bool
- func (o *PutModelByIDBadRequest) IsCode(code int) bool
- func (o *PutModelByIDBadRequest) IsRedirect() bool
- func (o *PutModelByIDBadRequest) IsServerError() bool
- func (o *PutModelByIDBadRequest) IsSuccess() bool
- func (o *PutModelByIDBadRequest) String() string
- type PutModelByIDInternalServerError
- func (o *PutModelByIDInternalServerError) Code() int
- func (o *PutModelByIDInternalServerError) Error() string
- func (o *PutModelByIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutModelByIDInternalServerError) IsClientError() bool
- func (o *PutModelByIDInternalServerError) IsCode(code int) bool
- func (o *PutModelByIDInternalServerError) IsRedirect() bool
- func (o *PutModelByIDInternalServerError) IsServerError() bool
- func (o *PutModelByIDInternalServerError) IsSuccess() bool
- func (o *PutModelByIDInternalServerError) String() string
- type PutModelByIDMetadataBadRequest
- func (o *PutModelByIDMetadataBadRequest) Code() int
- func (o *PutModelByIDMetadataBadRequest) Error() string
- func (o *PutModelByIDMetadataBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutModelByIDMetadataBadRequest) IsClientError() bool
- func (o *PutModelByIDMetadataBadRequest) IsCode(code int) bool
- func (o *PutModelByIDMetadataBadRequest) IsRedirect() bool
- func (o *PutModelByIDMetadataBadRequest) IsServerError() bool
- func (o *PutModelByIDMetadataBadRequest) IsSuccess() bool
- func (o *PutModelByIDMetadataBadRequest) String() string
- type PutModelByIDMetadataInternalServerError
- func (o *PutModelByIDMetadataInternalServerError) Code() int
- func (o *PutModelByIDMetadataInternalServerError) Error() string
- func (o *PutModelByIDMetadataInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutModelByIDMetadataInternalServerError) IsClientError() bool
- func (o *PutModelByIDMetadataInternalServerError) IsCode(code int) bool
- func (o *PutModelByIDMetadataInternalServerError) IsRedirect() bool
- func (o *PutModelByIDMetadataInternalServerError) IsServerError() bool
- func (o *PutModelByIDMetadataInternalServerError) IsSuccess() bool
- func (o *PutModelByIDMetadataInternalServerError) String() string
- type PutModelByIDMetadataOK
- func (o *PutModelByIDMetadataOK) Code() int
- func (o *PutModelByIDMetadataOK) Error() string
- func (o *PutModelByIDMetadataOK) GetPayload() *models.ResponseModelResponse
- func (o *PutModelByIDMetadataOK) IsClientError() bool
- func (o *PutModelByIDMetadataOK) IsCode(code int) bool
- func (o *PutModelByIDMetadataOK) IsRedirect() bool
- func (o *PutModelByIDMetadataOK) IsServerError() bool
- func (o *PutModelByIDMetadataOK) IsSuccess() bool
- func (o *PutModelByIDMetadataOK) String() string
- type PutModelByIDMetadataParams
- func NewPutModelByIDMetadataParams() *PutModelByIDMetadataParams
- func NewPutModelByIDMetadataParamsWithContext(ctx context.Context) *PutModelByIDMetadataParams
- func NewPutModelByIDMetadataParamsWithHTTPClient(client *http.Client) *PutModelByIDMetadataParams
- func NewPutModelByIDMetadataParamsWithTimeout(timeout time.Duration) *PutModelByIDMetadataParams
- func (o *PutModelByIDMetadataParams) SetContext(ctx context.Context)
- func (o *PutModelByIDMetadataParams) SetDefaults()
- func (o *PutModelByIDMetadataParams) SetHTTPClient(client *http.Client)
- func (o *PutModelByIDMetadataParams) SetID(id string)
- func (o *PutModelByIDMetadataParams) SetInput(input *models.RequestUpdateModelMetadataRequest)
- func (o *PutModelByIDMetadataParams) SetTimeout(timeout time.Duration)
- func (o *PutModelByIDMetadataParams) WithContext(ctx context.Context) *PutModelByIDMetadataParams
- func (o *PutModelByIDMetadataParams) WithDefaults() *PutModelByIDMetadataParams
- func (o *PutModelByIDMetadataParams) WithHTTPClient(client *http.Client) *PutModelByIDMetadataParams
- func (o *PutModelByIDMetadataParams) WithID(id string) *PutModelByIDMetadataParams
- func (o *PutModelByIDMetadataParams) WithInput(input *models.RequestUpdateModelMetadataRequest) *PutModelByIDMetadataParams
- func (o *PutModelByIDMetadataParams) WithTimeout(timeout time.Duration) *PutModelByIDMetadataParams
- func (o *PutModelByIDMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutModelByIDMetadataReader
- type PutModelByIDOK
- func (o *PutModelByIDOK) Code() int
- func (o *PutModelByIDOK) Error() string
- func (o *PutModelByIDOK) GetPayload() *models.ResponseModelResponse
- func (o *PutModelByIDOK) IsClientError() bool
- func (o *PutModelByIDOK) IsCode(code int) bool
- func (o *PutModelByIDOK) IsRedirect() bool
- func (o *PutModelByIDOK) IsServerError() bool
- func (o *PutModelByIDOK) IsSuccess() bool
- func (o *PutModelByIDOK) String() string
- type PutModelByIDParams
- func (o *PutModelByIDParams) SetContext(ctx context.Context)
- func (o *PutModelByIDParams) SetDefaults()
- func (o *PutModelByIDParams) SetHTTPClient(client *http.Client)
- func (o *PutModelByIDParams) SetID(id string)
- func (o *PutModelByIDParams) SetInput(input *models.RequestUpdateModelRequest)
- func (o *PutModelByIDParams) SetTimeout(timeout time.Duration)
- func (o *PutModelByIDParams) WithContext(ctx context.Context) *PutModelByIDParams
- func (o *PutModelByIDParams) WithDefaults() *PutModelByIDParams
- func (o *PutModelByIDParams) WithHTTPClient(client *http.Client) *PutModelByIDParams
- func (o *PutModelByIDParams) WithID(id string) *PutModelByIDParams
- func (o *PutModelByIDParams) WithInput(input *models.RequestUpdateModelRequest) *PutModelByIDParams
- func (o *PutModelByIDParams) WithTimeout(timeout time.Duration) *PutModelByIDParams
- func (o *PutModelByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutModelByIDReader
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 (o *GetModelByIDBadRequest) GetPayload() *models.ResponseFailResponse
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 (o *GetModelByIDInfoBadRequest) Error() string
func (*GetModelByIDInfoBadRequest) GetPayload ¶
func (o *GetModelByIDInfoBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetModelByIDInfoInternalServerError) Code() int
Code gets the status code for the get model by Id info internal server error response
func (*GetModelByIDInfoInternalServerError) Error ¶
func (o *GetModelByIDInfoInternalServerError) Error() string
func (*GetModelByIDInfoInternalServerError) GetPayload ¶
func (o *GetModelByIDInfoInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetModelByIDInfoInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetModelByIDInfoInternalServerError) IsSuccess() bool
IsSuccess returns true when this get model by Id info internal server error response has a 2xx status code
func (*GetModelByIDInfoInternalServerError) String ¶
func (o *GetModelByIDInfoInternalServerError) String() 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 (o *GetModelByIDInfoOK) GetPayload() *models.ResponseAPIKeyInfoResponse
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 ¶
func (o *GetModelByIDInfoParams) WithContext(ctx context.Context) *GetModelByIDInfoParams
WithContext adds the context to the get model by Id info params
func (*GetModelByIDInfoParams) WithDefaults ¶
func (o *GetModelByIDInfoParams) WithDefaults() *GetModelByIDInfoParams
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 ¶
func (o *GetModelByIDInfoParams) WithID(id string) *GetModelByIDInfoParams
WithID adds the id to the get model by Id info params
func (*GetModelByIDInfoParams) WithTimeout ¶
func (o *GetModelByIDInfoParams) WithTimeout(timeout time.Duration) *GetModelByIDInfoParams
WithTimeout adds the timeout to the get model by Id info params
func (*GetModelByIDInfoParams) WriteToRequest ¶
func (o *GetModelByIDInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetModelByIDInternalServerError) Code() int
Code gets the status code for the get model by Id internal server error response
func (*GetModelByIDInternalServerError) Error ¶
func (o *GetModelByIDInternalServerError) Error() string
func (*GetModelByIDInternalServerError) GetPayload ¶
func (o *GetModelByIDInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetModelByIDInternalServerError) String() 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 ¶
func (o *GetModelByIDParams) WithContext(ctx context.Context) *GetModelByIDParams
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 ¶
func (o *GetModelByIDParams) WithID(id string) *GetModelByIDParams
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 ¶
func (o *GetModelByIDServingBadRequest) Code() int
Code gets the status code for the get model by Id serving bad request response
func (*GetModelByIDServingBadRequest) Error ¶
func (o *GetModelByIDServingBadRequest) Error() string
func (*GetModelByIDServingBadRequest) GetPayload ¶
func (o *GetModelByIDServingBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetModelByIDServingBadRequest) String() 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 ¶
func (o *GetModelByIDServingInternalServerError) Code() int
Code gets the status code for the get model by Id serving internal server error response
func (*GetModelByIDServingInternalServerError) Error ¶
func (o *GetModelByIDServingInternalServerError) Error() string
func (*GetModelByIDServingInternalServerError) GetPayload ¶
func (o *GetModelByIDServingInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetModelByIDServingInternalServerError) IsCode(code int) bool
IsCode returns true when this get model by Id serving internal server error response a status code equal to that given
func (*GetModelByIDServingInternalServerError) IsRedirect ¶
func (o *GetModelByIDServingInternalServerError) IsRedirect() bool
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 ¶
func (o *GetModelByIDServingInternalServerError) IsSuccess() bool
IsSuccess returns true when this get model by Id serving internal server error response has a 2xx status code
func (*GetModelByIDServingInternalServerError) String ¶
func (o *GetModelByIDServingInternalServerError) String() 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 (o *GetModelByIDServingOK) GetPayload() *models.ResponseCheckModelIsServingResponse
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 ¶
func (o *GetModelByIDServingParams) WithContext(ctx context.Context) *GetModelByIDServingParams
WithContext adds the context to the get model by Id serving params
func (*GetModelByIDServingParams) WithDefaults ¶
func (o *GetModelByIDServingParams) WithDefaults() *GetModelByIDServingParams
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 ¶
func (o *GetModelByIDServingParams) WithID(id string) *GetModelByIDServingParams
WithID adds the id to the get model by Id serving params
func (*GetModelByIDServingParams) WithTimeout ¶
func (o *GetModelByIDServingParams) WithTimeout(timeout time.Duration) *GetModelByIDServingParams
WithTimeout adds the timeout to the get model by Id serving params
func (*GetModelByIDServingParams) WriteToRequest ¶
func (o *GetModelByIDServingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetModelByIDTaskCostBadRequest) Code() int
Code gets the status code for the get model by Id task cost bad request response
func (*GetModelByIDTaskCostBadRequest) Error ¶
func (o *GetModelByIDTaskCostBadRequest) Error() string
func (*GetModelByIDTaskCostBadRequest) GetPayload ¶
func (o *GetModelByIDTaskCostBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetModelByIDTaskCostBadRequest) String() 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 ¶
func (o *GetModelByIDTaskCostInternalServerError) Code() int
Code gets the status code for the get model by Id task cost internal server error response
func (*GetModelByIDTaskCostInternalServerError) Error ¶
func (o *GetModelByIDTaskCostInternalServerError) Error() string
func (*GetModelByIDTaskCostInternalServerError) GetPayload ¶
func (o *GetModelByIDTaskCostInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *GetModelByIDTaskCostInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetModelByIDTaskCostInternalServerError) IsRedirect() bool
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 ¶
func (o *GetModelByIDTaskCostInternalServerError) IsSuccess() bool
IsSuccess returns true when this get model by Id task cost internal server error response has a 2xx status code
func (*GetModelByIDTaskCostInternalServerError) String ¶
func (o *GetModelByIDTaskCostInternalServerError) String() 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 (o *GetModelByIDTaskCostOK) GetPayload() *models.ResponseEstimateCostResponse
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 ¶
func (o *GetModelByIDTaskCostParams) WithContext(ctx context.Context) *GetModelByIDTaskCostParams
WithContext adds the context to the get model by Id task cost params
func (*GetModelByIDTaskCostParams) WithDefaults ¶
func (o *GetModelByIDTaskCostParams) WithDefaults() *GetModelByIDTaskCostParams
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 ¶
func (o *GetModelByIDTaskCostParams) WithHTTPClient(client *http.Client) *GetModelByIDTaskCostParams
WithHTTPClient adds the HTTPClient to the get model by Id task cost params
func (*GetModelByIDTaskCostParams) WithID ¶
func (o *GetModelByIDTaskCostParams) WithID(id string) *GetModelByIDTaskCostParams
WithID adds the id to the get model by Id task cost params
func (*GetModelByIDTaskCostParams) WithTimeout ¶
func (o *GetModelByIDTaskCostParams) WithTimeout(timeout time.Duration) *GetModelByIDTaskCostParams
WithTimeout adds the timeout to the get model by Id task cost params
func (*GetModelByIDTaskCostParams) WriteToRequest ¶
func (o *GetModelByIDTaskCostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetModelByIDVersioningBadRequest) Code() int
Code gets the status code for the get model by Id versioning bad request response
func (*GetModelByIDVersioningBadRequest) Error ¶ added in v1.0.4
func (o *GetModelByIDVersioningBadRequest) Error() string
func (*GetModelByIDVersioningBadRequest) GetPayload ¶ added in v1.0.4
func (o *GetModelByIDVersioningBadRequest) GetPayload() *models.ResponseFailResponse
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
func (o *GetModelByIDVersioningBadRequest) String() string
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
func (o *GetModelByIDVersioningInternalServerError) Code() int
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 (o *GetModelByIDVersioningInternalServerError) Error() string
func (*GetModelByIDVersioningInternalServerError) GetPayload ¶ added in v1.0.4
func (o *GetModelByIDVersioningInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetModelByIDVersioningInternalServerError) IsClientError ¶ added in v1.0.4
func (o *GetModelByIDVersioningInternalServerError) IsClientError() bool
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
func (o *GetModelByIDVersioningInternalServerError) IsCode(code int) bool
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
func (o *GetModelByIDVersioningInternalServerError) IsRedirect() bool
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
func (o *GetModelByIDVersioningInternalServerError) IsServerError() bool
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
func (o *GetModelByIDVersioningInternalServerError) IsSuccess() bool
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
func (o *GetModelByIDVersioningInternalServerError) String() string
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 (o *GetModelByIDVersioningOK) GetPayload() *models.ResponseModelVersioningGroupLiteResponse
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
func (o *GetModelByIDVersioningParams) WithContext(ctx context.Context) *GetModelByIDVersioningParams
WithContext adds the context to the get model by Id versioning params
func (*GetModelByIDVersioningParams) WithDefaults ¶ added in v1.0.4
func (o *GetModelByIDVersioningParams) WithDefaults() *GetModelByIDVersioningParams
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
func (o *GetModelByIDVersioningParams) WithHTTPClient(client *http.Client) *GetModelByIDVersioningParams
WithHTTPClient adds the HTTPClient to the get model by Id versioning params
func (*GetModelByIDVersioningParams) WithID ¶ added in v1.0.4
func (o *GetModelByIDVersioningParams) WithID(id string) *GetModelByIDVersioningParams
WithID adds the id to the get model by Id versioning params
func (*GetModelByIDVersioningParams) WithTimeout ¶ added in v1.0.4
func (o *GetModelByIDVersioningParams) WithTimeout(timeout time.Duration) *GetModelByIDVersioningParams
WithTimeout adds the timeout to the get model by Id versioning params
func (*GetModelByIDVersioningParams) WriteToRequest ¶ added in v1.0.4
func (o *GetModelByIDVersioningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetModelByUsernameByNameBadRequest) Code() int
Code gets the status code for the get model by username by name bad request response
func (*GetModelByUsernameByNameBadRequest) Error ¶
func (o *GetModelByUsernameByNameBadRequest) Error() string
func (*GetModelByUsernameByNameBadRequest) GetPayload ¶
func (o *GetModelByUsernameByNameBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetModelByUsernameByNameBadRequest) IsCode(code int) bool
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 ¶
func (o *GetModelByUsernameByNameBadRequest) IsSuccess() bool
IsSuccess returns true when this get model by username by name bad request response has a 2xx status code
func (*GetModelByUsernameByNameBadRequest) String ¶
func (o *GetModelByUsernameByNameBadRequest) String() 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 ¶
func (o *GetModelByUsernameByNameInternalServerError) Code() int
Code gets the status code for the get model by username by name internal server error response
func (*GetModelByUsernameByNameInternalServerError) Error ¶
func (o *GetModelByUsernameByNameInternalServerError) Error() string
func (*GetModelByUsernameByNameInternalServerError) GetPayload ¶
func (o *GetModelByUsernameByNameInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetModelByUsernameByNameInternalServerError) IsClientError ¶
func (o *GetModelByUsernameByNameInternalServerError) IsClientError() bool
IsClientError returns true when this get model by username by name internal server error response has a 4xx status code
func (*GetModelByUsernameByNameInternalServerError) IsCode ¶
func (o *GetModelByUsernameByNameInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetModelByUsernameByNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this get model by username by name internal server error response has a 3xx status code
func (*GetModelByUsernameByNameInternalServerError) IsServerError ¶
func (o *GetModelByUsernameByNameInternalServerError) IsServerError() bool
IsServerError returns true when this get model by username by name internal server error response has a 5xx status code
func (*GetModelByUsernameByNameInternalServerError) IsSuccess ¶
func (o *GetModelByUsernameByNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this get model by username by name internal server error response has a 2xx status code
func (*GetModelByUsernameByNameInternalServerError) String ¶
func (o *GetModelByUsernameByNameInternalServerError) String() 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 (o *GetModelByUsernameByNameOK) Error() string
func (*GetModelByUsernameByNameOK) GetPayload ¶
func (o *GetModelByUsernameByNameOK) GetPayload() *models.ResponseModelResponse
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 ¶
func (o *GetModelByUsernameByNameParams) WithContext(ctx context.Context) *GetModelByUsernameByNameParams
WithContext adds the context to the get model by username by name params
func (*GetModelByUsernameByNameParams) WithDefaults ¶
func (o *GetModelByUsernameByNameParams) WithDefaults() *GetModelByUsernameByNameParams
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 ¶
func (o *GetModelByUsernameByNameParams) WithHTTPClient(client *http.Client) *GetModelByUsernameByNameParams
WithHTTPClient adds the HTTPClient to the get model by username by name params
func (*GetModelByUsernameByNameParams) WithName ¶
func (o *GetModelByUsernameByNameParams) WithName(name string) *GetModelByUsernameByNameParams
WithName adds the name to the get model by username by name params
func (*GetModelByUsernameByNameParams) WithTimeout ¶
func (o *GetModelByUsernameByNameParams) WithTimeout(timeout time.Duration) *GetModelByUsernameByNameParams
WithTimeout adds the timeout to the get model by username by name params
func (*GetModelByUsernameByNameParams) WithUsername ¶
func (o *GetModelByUsernameByNameParams) WithUsername(username string) *GetModelByUsernameByNameParams
WithUsername adds the username to the get model by username by name params
func (*GetModelByUsernameByNameParams) WriteToRequest ¶
func (o *GetModelByUsernameByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetModelOrganizationByOrgBadRequest) Code() int
Code gets the status code for the get model organization by org bad request response
func (*GetModelOrganizationByOrgBadRequest) Error ¶
func (o *GetModelOrganizationByOrgBadRequest) Error() string
func (*GetModelOrganizationByOrgBadRequest) GetPayload ¶
func (o *GetModelOrganizationByOrgBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *GetModelOrganizationByOrgBadRequest) IsCode(code int) bool
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 ¶
func (o *GetModelOrganizationByOrgBadRequest) IsSuccess() bool
IsSuccess returns true when this get model organization by org bad request response has a 2xx status code
func (*GetModelOrganizationByOrgBadRequest) String ¶
func (o *GetModelOrganizationByOrgBadRequest) String() 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 ¶
func (o *GetModelOrganizationByOrgInternalServerError) Code() int
Code gets the status code for the get model organization by org internal server error response
func (*GetModelOrganizationByOrgInternalServerError) Error ¶
func (o *GetModelOrganizationByOrgInternalServerError) Error() string
func (*GetModelOrganizationByOrgInternalServerError) GetPayload ¶
func (o *GetModelOrganizationByOrgInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetModelOrganizationByOrgInternalServerError) IsClientError ¶
func (o *GetModelOrganizationByOrgInternalServerError) IsClientError() bool
IsClientError returns true when this get model organization by org internal server error response has a 4xx status code
func (*GetModelOrganizationByOrgInternalServerError) IsCode ¶
func (o *GetModelOrganizationByOrgInternalServerError) IsCode(code int) bool
IsCode returns true when this get model organization by org internal server error response a status code equal to that given
func (*GetModelOrganizationByOrgInternalServerError) IsRedirect ¶
func (o *GetModelOrganizationByOrgInternalServerError) IsRedirect() bool
IsRedirect returns true when this get model organization by org internal server error response has a 3xx status code
func (*GetModelOrganizationByOrgInternalServerError) IsServerError ¶
func (o *GetModelOrganizationByOrgInternalServerError) IsServerError() bool
IsServerError returns true when this get model organization by org internal server error response has a 5xx status code
func (*GetModelOrganizationByOrgInternalServerError) IsSuccess ¶
func (o *GetModelOrganizationByOrgInternalServerError) IsSuccess() bool
IsSuccess returns true when this get model organization by org internal server error response has a 2xx status code
func (*GetModelOrganizationByOrgInternalServerError) String ¶
func (o *GetModelOrganizationByOrgInternalServerError) String() 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 (o *GetModelOrganizationByOrgOK) Error() string
func (*GetModelOrganizationByOrgOK) GetPayload ¶
func (o *GetModelOrganizationByOrgOK) GetPayload() *models.ResponseModelListResponse
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 ¶
func (o *GetModelOrganizationByOrgParams) WithContext(ctx context.Context) *GetModelOrganizationByOrgParams
WithContext adds the context to the get model organization by org params
func (*GetModelOrganizationByOrgParams) WithDefaults ¶
func (o *GetModelOrganizationByOrgParams) WithDefaults() *GetModelOrganizationByOrgParams
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 ¶
func (o *GetModelOrganizationByOrgParams) WithHTTPClient(client *http.Client) *GetModelOrganizationByOrgParams
WithHTTPClient adds the HTTPClient to the get model organization by org params
func (*GetModelOrganizationByOrgParams) WithLimit ¶
func (o *GetModelOrganizationByOrgParams) WithLimit(limit *int64) *GetModelOrganizationByOrgParams
WithLimit adds the limit to the get model organization by org params
func (*GetModelOrganizationByOrgParams) WithOffset ¶
func (o *GetModelOrganizationByOrgParams) WithOffset(offset *int64) *GetModelOrganizationByOrgParams
WithOffset adds the offset to the get model organization by org params
func (*GetModelOrganizationByOrgParams) WithOrg ¶
func (o *GetModelOrganizationByOrgParams) WithOrg(org string) *GetModelOrganizationByOrgParams
WithOrg adds the org to the get model organization by org params
func (*GetModelOrganizationByOrgParams) WithSort ¶
func (o *GetModelOrganizationByOrgParams) WithSort(sort *string) *GetModelOrganizationByOrgParams
WithSort adds the sort to the get model organization by org params
func (*GetModelOrganizationByOrgParams) WithTimeout ¶
func (o *GetModelOrganizationByOrgParams) WithTimeout(timeout time.Duration) *GetModelOrganizationByOrgParams
WithTimeout adds the timeout to the get model organization by org params
func (*GetModelOrganizationByOrgParams) WriteToRequest ¶
func (o *GetModelOrganizationByOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostModelBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostModelByIDStatisticsBadRequest) Code() int
Code gets the status code for the post model by Id statistics bad request response
func (*PostModelByIDStatisticsBadRequest) Error ¶
func (o *PostModelByIDStatisticsBadRequest) Error() string
func (*PostModelByIDStatisticsBadRequest) GetPayload ¶
func (o *PostModelByIDStatisticsBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostModelByIDStatisticsBadRequest) String() 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 ¶
func (o *PostModelByIDStatisticsInternalServerError) Code() int
Code gets the status code for the post model by Id statistics internal server error response
func (*PostModelByIDStatisticsInternalServerError) Error ¶
func (o *PostModelByIDStatisticsInternalServerError) Error() string
func (*PostModelByIDStatisticsInternalServerError) GetPayload ¶
func (o *PostModelByIDStatisticsInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostModelByIDStatisticsInternalServerError) IsClientError ¶
func (o *PostModelByIDStatisticsInternalServerError) IsClientError() bool
IsClientError returns true when this post model by Id statistics internal server error response has a 4xx status code
func (*PostModelByIDStatisticsInternalServerError) IsCode ¶
func (o *PostModelByIDStatisticsInternalServerError) IsCode(code int) bool
IsCode returns true when this post model by Id statistics internal server error response a status code equal to that given
func (*PostModelByIDStatisticsInternalServerError) IsRedirect ¶
func (o *PostModelByIDStatisticsInternalServerError) IsRedirect() bool
IsRedirect returns true when this post model by Id statistics internal server error response has a 3xx status code
func (*PostModelByIDStatisticsInternalServerError) IsServerError ¶
func (o *PostModelByIDStatisticsInternalServerError) IsServerError() bool
IsServerError returns true when this post model by Id statistics internal server error response has a 5xx status code
func (*PostModelByIDStatisticsInternalServerError) IsSuccess ¶
func (o *PostModelByIDStatisticsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post model by Id statistics internal server error response has a 2xx status code
func (*PostModelByIDStatisticsInternalServerError) String ¶
func (o *PostModelByIDStatisticsInternalServerError) String() 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 (o *PostModelByIDStatisticsOK) GetPayload() *models.ResponseGetTaskStatisticsResponse
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 ¶
func (o *PostModelByIDStatisticsParams) SetID(id string)
SetID adds the id to the post model by Id statistics params
func (*PostModelByIDStatisticsParams) SetInput ¶
func (o *PostModelByIDStatisticsParams) SetInput(input *models.RequestGetAPIKeyStatisticsByModelIDRequest)
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 ¶
func (o *PostModelByIDStatisticsParams) WithContext(ctx context.Context) *PostModelByIDStatisticsParams
WithContext adds the context to the post model by Id statistics params
func (*PostModelByIDStatisticsParams) WithDefaults ¶
func (o *PostModelByIDStatisticsParams) WithDefaults() *PostModelByIDStatisticsParams
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 ¶
func (o *PostModelByIDStatisticsParams) WithHTTPClient(client *http.Client) *PostModelByIDStatisticsParams
WithHTTPClient adds the HTTPClient to the post model by Id statistics params
func (*PostModelByIDStatisticsParams) WithID ¶
func (o *PostModelByIDStatisticsParams) WithID(id string) *PostModelByIDStatisticsParams
WithID adds the id to the post model by Id statistics params
func (*PostModelByIDStatisticsParams) WithInput ¶
func (o *PostModelByIDStatisticsParams) WithInput(input *models.RequestGetAPIKeyStatisticsByModelIDRequest) *PostModelByIDStatisticsParams
WithInput adds the input to the post model by Id statistics params
func (*PostModelByIDStatisticsParams) WithTimeout ¶
func (o *PostModelByIDStatisticsParams) WithTimeout(timeout time.Duration) *PostModelByIDStatisticsParams
WithTimeout adds the timeout to the post model by Id statistics params
func (*PostModelByIDStatisticsParams) WriteToRequest ¶
func (o *PostModelByIDStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostModelInternalServerError) Code() int
Code gets the status code for the post model internal server error response
func (*PostModelInternalServerError) Error ¶
func (o *PostModelInternalServerError) Error() string
func (*PostModelInternalServerError) GetPayload ¶
func (o *PostModelInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *PostModelInternalServerError) String() 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 (o *PostModelListBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostModelListByAuthorByUsernameBadRequest) Code() int
Code gets the status code for the post model list by author by username bad request response
func (*PostModelListByAuthorByUsernameBadRequest) Error ¶
func (o *PostModelListByAuthorByUsernameBadRequest) Error() string
func (*PostModelListByAuthorByUsernameBadRequest) GetPayload ¶
func (o *PostModelListByAuthorByUsernameBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostModelListByAuthorByUsernameBadRequest) IsClientError ¶
func (o *PostModelListByAuthorByUsernameBadRequest) IsClientError() bool
IsClientError returns true when this post model list by author by username bad request response has a 4xx status code
func (*PostModelListByAuthorByUsernameBadRequest) IsCode ¶
func (o *PostModelListByAuthorByUsernameBadRequest) IsCode(code int) bool
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 ¶
func (o *PostModelListByAuthorByUsernameBadRequest) IsRedirect() bool
IsRedirect returns true when this post model list by author by username bad request response has a 3xx status code
func (*PostModelListByAuthorByUsernameBadRequest) IsServerError ¶
func (o *PostModelListByAuthorByUsernameBadRequest) IsServerError() bool
IsServerError returns true when this post model list by author by username bad request response has a 5xx status code
func (*PostModelListByAuthorByUsernameBadRequest) IsSuccess ¶
func (o *PostModelListByAuthorByUsernameBadRequest) IsSuccess() bool
IsSuccess returns true when this post model list by author by username bad request response has a 2xx status code
func (*PostModelListByAuthorByUsernameBadRequest) String ¶
func (o *PostModelListByAuthorByUsernameBadRequest) String() 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 ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) Code() int
Code gets the status code for the post model list by author by username internal server error response
func (*PostModelListByAuthorByUsernameInternalServerError) Error ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) Error() string
func (*PostModelListByAuthorByUsernameInternalServerError) GetPayload ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostModelListByAuthorByUsernameInternalServerError) IsClientError ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) IsClientError() bool
IsClientError returns true when this post model list by author by username internal server error response has a 4xx status code
func (*PostModelListByAuthorByUsernameInternalServerError) IsCode ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) IsRedirect() bool
IsRedirect returns true when this post model list by author by username internal server error response has a 3xx status code
func (*PostModelListByAuthorByUsernameInternalServerError) IsServerError ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) IsServerError() bool
IsServerError returns true when this post model list by author by username internal server error response has a 5xx status code
func (*PostModelListByAuthorByUsernameInternalServerError) IsSuccess ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) IsSuccess() bool
IsSuccess returns true when this post model list by author by username internal server error response has a 2xx status code
func (*PostModelListByAuthorByUsernameInternalServerError) String ¶
func (o *PostModelListByAuthorByUsernameInternalServerError) String() 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 ¶
func (o *PostModelListByAuthorByUsernameOK) Code() int
Code gets the status code for the post model list by author by username o k response
func (*PostModelListByAuthorByUsernameOK) Error ¶
func (o *PostModelListByAuthorByUsernameOK) Error() string
func (*PostModelListByAuthorByUsernameOK) GetPayload ¶
func (o *PostModelListByAuthorByUsernameOK) GetPayload() *models.ResponseModelListResponse
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 ¶
func (o *PostModelListByAuthorByUsernameOK) String() 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 ¶
func (o *PostModelListByAuthorByUsernameParams) SetContext(ctx context.Context)
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 ¶
func (o *PostModelListByAuthorByUsernameParams) SetInput(input *models.RequestGetModelListByAuthorRequest)
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 ¶
func (o *PostModelListByAuthorByUsernameParams) WithContext(ctx context.Context) *PostModelListByAuthorByUsernameParams
WithContext adds the context to the post model list by author by username params
func (*PostModelListByAuthorByUsernameParams) WithDefaults ¶
func (o *PostModelListByAuthorByUsernameParams) WithDefaults() *PostModelListByAuthorByUsernameParams
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 ¶
func (o *PostModelListByAuthorByUsernameParams) WithHTTPClient(client *http.Client) *PostModelListByAuthorByUsernameParams
WithHTTPClient adds the HTTPClient to the post model list by author by username params
func (*PostModelListByAuthorByUsernameParams) WithInput ¶
func (o *PostModelListByAuthorByUsernameParams) WithInput(input *models.RequestGetModelListByAuthorRequest) *PostModelListByAuthorByUsernameParams
WithInput adds the input to the post model list by author by username params
func (*PostModelListByAuthorByUsernameParams) WithTimeout ¶
func (o *PostModelListByAuthorByUsernameParams) WithTimeout(timeout time.Duration) *PostModelListByAuthorByUsernameParams
WithTimeout adds the timeout to the post model list by author by username params
func (*PostModelListByAuthorByUsernameParams) WithUsername ¶
func (o *PostModelListByAuthorByUsernameParams) WithUsername(username string) *PostModelListByAuthorByUsernameParams
WithUsername adds the username to the post model list by author by username params
func (*PostModelListByAuthorByUsernameParams) WriteToRequest ¶
func (o *PostModelListByAuthorByUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostModelListInternalServerError) Code() int
Code gets the status code for the post model list internal server error response
func (*PostModelListInternalServerError) Error ¶
func (o *PostModelListInternalServerError) Error() string
func (*PostModelListInternalServerError) GetPayload ¶
func (o *PostModelListInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *PostModelListInternalServerError) String() 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 (o *PostModelListOK) GetPayload() *models.ResponseModelListResponse
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 ¶
func (o *PostModelListParams) SetInput(input *models.RequestGetModelListRequest)
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 ¶
func (o *PostModelListParams) WithContext(ctx context.Context) *PostModelListParams
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 ¶
func (o *PostModelListParams) WithInput(input *models.RequestGetModelListRequest) *PostModelListParams
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 ¶
func (o *PostModelMatchingTagsBadRequest) Code() int
Code gets the status code for the post model matching tags bad request response
func (*PostModelMatchingTagsBadRequest) Error ¶
func (o *PostModelMatchingTagsBadRequest) Error() string
func (*PostModelMatchingTagsBadRequest) GetPayload ¶
func (o *PostModelMatchingTagsBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PostModelMatchingTagsBadRequest) String() 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 ¶
func (o *PostModelMatchingTagsInternalServerError) Code() int
Code gets the status code for the post model matching tags internal server error response
func (*PostModelMatchingTagsInternalServerError) Error ¶
func (o *PostModelMatchingTagsInternalServerError) Error() string
func (*PostModelMatchingTagsInternalServerError) GetPayload ¶
func (o *PostModelMatchingTagsInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostModelMatchingTagsInternalServerError) IsClientError ¶
func (o *PostModelMatchingTagsInternalServerError) IsClientError() bool
IsClientError returns true when this post model matching tags internal server error response has a 4xx status code
func (*PostModelMatchingTagsInternalServerError) IsCode ¶
func (o *PostModelMatchingTagsInternalServerError) IsCode(code int) bool
IsCode returns true when this post model matching tags internal server error response a status code equal to that given
func (*PostModelMatchingTagsInternalServerError) IsRedirect ¶
func (o *PostModelMatchingTagsInternalServerError) IsRedirect() bool
IsRedirect returns true when this post model matching tags internal server error response has a 3xx status code
func (*PostModelMatchingTagsInternalServerError) IsServerError ¶
func (o *PostModelMatchingTagsInternalServerError) IsServerError() bool
IsServerError returns true when this post model matching tags internal server error response has a 5xx status code
func (*PostModelMatchingTagsInternalServerError) IsSuccess ¶
func (o *PostModelMatchingTagsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post model matching tags internal server error response has a 2xx status code
func (*PostModelMatchingTagsInternalServerError) String ¶
func (o *PostModelMatchingTagsInternalServerError) String() 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 (o *PostModelMatchingTagsOK) GetPayload() *models.ResponseMatchingModelsTagsResponse
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 ¶
func (o *PostModelMatchingTagsParams) SetInput(input *models.RequestMatchingModelsTagsRequest)
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 ¶
func (o *PostModelMatchingTagsParams) WithContext(ctx context.Context) *PostModelMatchingTagsParams
WithContext adds the context to the post model matching tags params
func (*PostModelMatchingTagsParams) WithDefaults ¶
func (o *PostModelMatchingTagsParams) WithDefaults() *PostModelMatchingTagsParams
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 ¶
func (o *PostModelMatchingTagsParams) WithHTTPClient(client *http.Client) *PostModelMatchingTagsParams
WithHTTPClient adds the HTTPClient to the post model matching tags params
func (*PostModelMatchingTagsParams) WithInput ¶
func (o *PostModelMatchingTagsParams) WithInput(input *models.RequestMatchingModelsTagsRequest) *PostModelMatchingTagsParams
WithInput adds the input to the post model matching tags params
func (*PostModelMatchingTagsParams) WithTimeout ¶
func (o *PostModelMatchingTagsParams) WithTimeout(timeout time.Duration) *PostModelMatchingTagsParams
WithTimeout adds the timeout to the post model matching tags params
func (*PostModelMatchingTagsParams) WriteToRequest ¶
func (o *PostModelMatchingTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostModelParams) WithInput(input *models.RequestCreateModelRequest) *PostModelParams
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 (o *PutModelByIDBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PutModelByIDInternalServerError) Code() int
Code gets the status code for the put model by Id internal server error response
func (*PutModelByIDInternalServerError) Error ¶
func (o *PutModelByIDInternalServerError) Error() string
func (*PutModelByIDInternalServerError) GetPayload ¶
func (o *PutModelByIDInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *PutModelByIDInternalServerError) String() 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 ¶
func (o *PutModelByIDMetadataBadRequest) Code() int
Code gets the status code for the put model by Id metadata bad request response
func (*PutModelByIDMetadataBadRequest) Error ¶
func (o *PutModelByIDMetadataBadRequest) Error() string
func (*PutModelByIDMetadataBadRequest) GetPayload ¶
func (o *PutModelByIDMetadataBadRequest) GetPayload() *models.ResponseFailResponse
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 ¶
func (o *PutModelByIDMetadataBadRequest) String() 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 ¶
func (o *PutModelByIDMetadataInternalServerError) Code() int
Code gets the status code for the put model by Id metadata internal server error response
func (*PutModelByIDMetadataInternalServerError) Error ¶
func (o *PutModelByIDMetadataInternalServerError) Error() string
func (*PutModelByIDMetadataInternalServerError) GetPayload ¶
func (o *PutModelByIDMetadataInternalServerError) GetPayload() *models.ResponseErrorResponse
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 ¶
func (o *PutModelByIDMetadataInternalServerError) IsCode(code int) bool
IsCode returns true when this put model by Id metadata internal server error response a status code equal to that given
func (*PutModelByIDMetadataInternalServerError) IsRedirect ¶
func (o *PutModelByIDMetadataInternalServerError) IsRedirect() bool
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 ¶
func (o *PutModelByIDMetadataInternalServerError) IsSuccess() bool
IsSuccess returns true when this put model by Id metadata internal server error response has a 2xx status code
func (*PutModelByIDMetadataInternalServerError) String ¶
func (o *PutModelByIDMetadataInternalServerError) String() 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 (o *PutModelByIDMetadataOK) GetPayload() *models.ResponseModelResponse
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 ¶
func (o *PutModelByIDMetadataParams) SetInput(input *models.RequestUpdateModelMetadataRequest)
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 ¶
func (o *PutModelByIDMetadataParams) WithContext(ctx context.Context) *PutModelByIDMetadataParams
WithContext adds the context to the put model by Id metadata params
func (*PutModelByIDMetadataParams) WithDefaults ¶
func (o *PutModelByIDMetadataParams) WithDefaults() *PutModelByIDMetadataParams
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 ¶
func (o *PutModelByIDMetadataParams) WithHTTPClient(client *http.Client) *PutModelByIDMetadataParams
WithHTTPClient adds the HTTPClient to the put model by Id metadata params
func (*PutModelByIDMetadataParams) WithID ¶
func (o *PutModelByIDMetadataParams) WithID(id string) *PutModelByIDMetadataParams
WithID adds the id to the put model by Id metadata params
func (*PutModelByIDMetadataParams) WithInput ¶
func (o *PutModelByIDMetadataParams) WithInput(input *models.RequestUpdateModelMetadataRequest) *PutModelByIDMetadataParams
WithInput adds the input to the put model by Id metadata params
func (*PutModelByIDMetadataParams) WithTimeout ¶
func (o *PutModelByIDMetadataParams) WithTimeout(timeout time.Duration) *PutModelByIDMetadataParams
WithTimeout adds the timeout to the put model by Id metadata params
func (*PutModelByIDMetadataParams) WriteToRequest ¶
func (o *PutModelByIDMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PutModelByIDParams) SetInput(input *models.RequestUpdateModelRequest)
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 ¶
func (o *PutModelByIDParams) WithContext(ctx context.Context) *PutModelByIDParams
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 ¶
func (o *PutModelByIDParams) WithID(id string) *PutModelByIDParams
WithID adds the id to the put model by Id params
func (*PutModelByIDParams) WithInput ¶
func (o *PutModelByIDParams) WithInput(input *models.RequestUpdateModelRequest) *PutModelByIDParams
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.
Source Files
¶
- get_model_by_id_info_parameters.go
- get_model_by_id_info_responses.go
- get_model_by_id_parameters.go
- get_model_by_id_responses.go
- get_model_by_id_serving_parameters.go
- get_model_by_id_serving_responses.go
- get_model_by_id_task_cost_parameters.go
- get_model_by_id_task_cost_responses.go
- get_model_by_id_versioning_parameters.go
- get_model_by_id_versioning_responses.go
- get_model_by_username_by_name_parameters.go
- get_model_by_username_by_name_responses.go
- get_model_organization_by_org_parameters.go
- get_model_organization_by_org_responses.go
- model_client.go
- post_model_by_id_statistics_parameters.go
- post_model_by_id_statistics_responses.go
- post_model_list_by_author_by_username_parameters.go
- post_model_list_by_author_by_username_responses.go
- post_model_list_parameters.go
- post_model_list_responses.go
- post_model_matching_tags_parameters.go
- post_model_matching_tags_responses.go
- post_model_parameters.go
- post_model_responses.go
- put_model_by_id_metadata_parameters.go
- put_model_by_id_metadata_responses.go
- put_model_by_id_parameters.go
- put_model_by_id_responses.go