Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) DeleteAPIKeyModelIDVersioning(params *DeleteAPIKeyModelIDVersioningParams, ...) (*DeleteAPIKeyModelIDVersioningOK, error)
- func (a *Client) GetAPIKeyModelIDVersioning(params *GetAPIKeyModelIDVersioningParams, ...) (*GetAPIKeyModelIDVersioningOK, error)
- func (a *Client) GetAPIKeyModelIDVersioningList(params *GetAPIKeyModelIDVersioningListParams, ...) (*GetAPIKeyModelIDVersioningListOK, error)
- func (a *Client) PutAPIKeyModelIDVersioning(params *PutAPIKeyModelIDVersioningParams, ...) (*PutAPIKeyModelIDVersioningOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPIKeyModelIDVersioningBadRequest
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) Code() int
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) Error() string
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsClientError() bool
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsCode(code int) bool
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsRedirect() bool
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsServerError() bool
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsSuccess() bool
- func (o *DeleteAPIKeyModelIDVersioningBadRequest) String() string
- type DeleteAPIKeyModelIDVersioningInternalServerError
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) Code() int
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) Error() string
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsClientError() bool
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsCode(code int) bool
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsRedirect() bool
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsServerError() bool
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsSuccess() bool
- func (o *DeleteAPIKeyModelIDVersioningInternalServerError) String() string
- type DeleteAPIKeyModelIDVersioningOK
- func (o *DeleteAPIKeyModelIDVersioningOK) Code() int
- func (o *DeleteAPIKeyModelIDVersioningOK) Error() string
- func (o *DeleteAPIKeyModelIDVersioningOK) GetPayload() *models.ResponseSuccessResponse
- func (o *DeleteAPIKeyModelIDVersioningOK) IsClientError() bool
- func (o *DeleteAPIKeyModelIDVersioningOK) IsCode(code int) bool
- func (o *DeleteAPIKeyModelIDVersioningOK) IsRedirect() bool
- func (o *DeleteAPIKeyModelIDVersioningOK) IsServerError() bool
- func (o *DeleteAPIKeyModelIDVersioningOK) IsSuccess() bool
- func (o *DeleteAPIKeyModelIDVersioningOK) String() string
- type DeleteAPIKeyModelIDVersioningParams
- func NewDeleteAPIKeyModelIDVersioningParams() *DeleteAPIKeyModelIDVersioningParams
- func NewDeleteAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *DeleteAPIKeyModelIDVersioningParams
- func NewDeleteAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyModelIDVersioningParams
- func NewDeleteAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyModelIDVersioningParams
- func (o *DeleteAPIKeyModelIDVersioningParams) SetCommitHash(commitHash string)
- func (o *DeleteAPIKeyModelIDVersioningParams) SetContext(ctx context.Context)
- func (o *DeleteAPIKeyModelIDVersioningParams) SetDefaults()
- func (o *DeleteAPIKeyModelIDVersioningParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIKeyModelIDVersioningParams) SetID(id string)
- func (o *DeleteAPIKeyModelIDVersioningParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIKeyModelIDVersioningParams) WithCommitHash(commitHash string) *DeleteAPIKeyModelIDVersioningParams
- func (o *DeleteAPIKeyModelIDVersioningParams) WithContext(ctx context.Context) *DeleteAPIKeyModelIDVersioningParams
- func (o *DeleteAPIKeyModelIDVersioningParams) WithDefaults() *DeleteAPIKeyModelIDVersioningParams
- func (o *DeleteAPIKeyModelIDVersioningParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyModelIDVersioningParams
- func (o *DeleteAPIKeyModelIDVersioningParams) WithID(id string) *DeleteAPIKeyModelIDVersioningParams
- func (o *DeleteAPIKeyModelIDVersioningParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyModelIDVersioningParams
- func (o *DeleteAPIKeyModelIDVersioningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIKeyModelIDVersioningReader
- type GetAPIKeyModelIDVersioningBadRequest
- func (o *GetAPIKeyModelIDVersioningBadRequest) Code() int
- func (o *GetAPIKeyModelIDVersioningBadRequest) Error() string
- func (o *GetAPIKeyModelIDVersioningBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyModelIDVersioningBadRequest) IsClientError() bool
- func (o *GetAPIKeyModelIDVersioningBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyModelIDVersioningBadRequest) IsRedirect() bool
- func (o *GetAPIKeyModelIDVersioningBadRequest) IsServerError() bool
- func (o *GetAPIKeyModelIDVersioningBadRequest) IsSuccess() bool
- func (o *GetAPIKeyModelIDVersioningBadRequest) String() string
- type GetAPIKeyModelIDVersioningInternalServerError
- func (o *GetAPIKeyModelIDVersioningInternalServerError) Code() int
- func (o *GetAPIKeyModelIDVersioningInternalServerError) Error() string
- func (o *GetAPIKeyModelIDVersioningInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyModelIDVersioningInternalServerError) IsClientError() bool
- func (o *GetAPIKeyModelIDVersioningInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyModelIDVersioningInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyModelIDVersioningInternalServerError) IsServerError() bool
- func (o *GetAPIKeyModelIDVersioningInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyModelIDVersioningInternalServerError) String() string
- type GetAPIKeyModelIDVersioningListBadRequest
- func (o *GetAPIKeyModelIDVersioningListBadRequest) Code() int
- func (o *GetAPIKeyModelIDVersioningListBadRequest) Error() string
- func (o *GetAPIKeyModelIDVersioningListBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyModelIDVersioningListBadRequest) IsClientError() bool
- func (o *GetAPIKeyModelIDVersioningListBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyModelIDVersioningListBadRequest) IsRedirect() bool
- func (o *GetAPIKeyModelIDVersioningListBadRequest) IsServerError() bool
- func (o *GetAPIKeyModelIDVersioningListBadRequest) IsSuccess() bool
- func (o *GetAPIKeyModelIDVersioningListBadRequest) String() string
- type GetAPIKeyModelIDVersioningListInternalServerError
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) Code() int
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) Error() string
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsClientError() bool
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsServerError() bool
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyModelIDVersioningListInternalServerError) String() string
- type GetAPIKeyModelIDVersioningListOK
- func (o *GetAPIKeyModelIDVersioningListOK) Code() int
- func (o *GetAPIKeyModelIDVersioningListOK) Error() string
- func (o *GetAPIKeyModelIDVersioningListOK) GetPayload() *models.ResponseGetListModelVersioningLiteResponse
- func (o *GetAPIKeyModelIDVersioningListOK) IsClientError() bool
- func (o *GetAPIKeyModelIDVersioningListOK) IsCode(code int) bool
- func (o *GetAPIKeyModelIDVersioningListOK) IsRedirect() bool
- func (o *GetAPIKeyModelIDVersioningListOK) IsServerError() bool
- func (o *GetAPIKeyModelIDVersioningListOK) IsSuccess() bool
- func (o *GetAPIKeyModelIDVersioningListOK) String() string
- type GetAPIKeyModelIDVersioningListParams
- func NewGetAPIKeyModelIDVersioningListParams() *GetAPIKeyModelIDVersioningListParams
- func NewGetAPIKeyModelIDVersioningListParamsWithContext(ctx context.Context) *GetAPIKeyModelIDVersioningListParams
- func NewGetAPIKeyModelIDVersioningListParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningListParams
- func NewGetAPIKeyModelIDVersioningListParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyModelIDVersioningListParams) SetDefaults()
- func (o *GetAPIKeyModelIDVersioningListParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyModelIDVersioningListParams) SetID(id string)
- func (o *GetAPIKeyModelIDVersioningListParams) SetLimit(limit *int64)
- func (o *GetAPIKeyModelIDVersioningListParams) SetOffset(offset *int64)
- func (o *GetAPIKeyModelIDVersioningListParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyModelIDVersioningListParams) SetVerifyStatus(verifyStatus *string)
- func (o *GetAPIKeyModelIDVersioningListParams) WithContext(ctx context.Context) *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) WithDefaults() *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) WithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) WithID(id string) *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) WithLimit(limit *int64) *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) WithOffset(offset *int64) *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) WithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) WithVerifyStatus(verifyStatus *string) *GetAPIKeyModelIDVersioningListParams
- func (o *GetAPIKeyModelIDVersioningListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyModelIDVersioningListReader
- type GetAPIKeyModelIDVersioningOK
- func (o *GetAPIKeyModelIDVersioningOK) Code() int
- func (o *GetAPIKeyModelIDVersioningOK) Error() string
- func (o *GetAPIKeyModelIDVersioningOK) GetPayload() *models.ResponseModelVersioningGroupLiteResponse
- func (o *GetAPIKeyModelIDVersioningOK) IsClientError() bool
- func (o *GetAPIKeyModelIDVersioningOK) IsCode(code int) bool
- func (o *GetAPIKeyModelIDVersioningOK) IsRedirect() bool
- func (o *GetAPIKeyModelIDVersioningOK) IsServerError() bool
- func (o *GetAPIKeyModelIDVersioningOK) IsSuccess() bool
- func (o *GetAPIKeyModelIDVersioningOK) String() string
- type GetAPIKeyModelIDVersioningParams
- func NewGetAPIKeyModelIDVersioningParams() *GetAPIKeyModelIDVersioningParams
- func NewGetAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *GetAPIKeyModelIDVersioningParams
- func NewGetAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningParams
- func NewGetAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningParams
- func (o *GetAPIKeyModelIDVersioningParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyModelIDVersioningParams) SetDefaults()
- func (o *GetAPIKeyModelIDVersioningParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyModelIDVersioningParams) SetID(id string)
- func (o *GetAPIKeyModelIDVersioningParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyModelIDVersioningParams) WithContext(ctx context.Context) *GetAPIKeyModelIDVersioningParams
- func (o *GetAPIKeyModelIDVersioningParams) WithDefaults() *GetAPIKeyModelIDVersioningParams
- func (o *GetAPIKeyModelIDVersioningParams) WithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningParams
- func (o *GetAPIKeyModelIDVersioningParams) WithID(id string) *GetAPIKeyModelIDVersioningParams
- func (o *GetAPIKeyModelIDVersioningParams) WithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningParams
- func (o *GetAPIKeyModelIDVersioningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyModelIDVersioningReader
- type PutAPIKeyModelIDVersioningBadRequest
- func (o *PutAPIKeyModelIDVersioningBadRequest) Code() int
- func (o *PutAPIKeyModelIDVersioningBadRequest) Error() string
- func (o *PutAPIKeyModelIDVersioningBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutAPIKeyModelIDVersioningBadRequest) IsClientError() bool
- func (o *PutAPIKeyModelIDVersioningBadRequest) IsCode(code int) bool
- func (o *PutAPIKeyModelIDVersioningBadRequest) IsRedirect() bool
- func (o *PutAPIKeyModelIDVersioningBadRequest) IsServerError() bool
- func (o *PutAPIKeyModelIDVersioningBadRequest) IsSuccess() bool
- func (o *PutAPIKeyModelIDVersioningBadRequest) String() string
- type PutAPIKeyModelIDVersioningInternalServerError
- func (o *PutAPIKeyModelIDVersioningInternalServerError) Code() int
- func (o *PutAPIKeyModelIDVersioningInternalServerError) Error() string
- func (o *PutAPIKeyModelIDVersioningInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutAPIKeyModelIDVersioningInternalServerError) IsClientError() bool
- func (o *PutAPIKeyModelIDVersioningInternalServerError) IsCode(code int) bool
- func (o *PutAPIKeyModelIDVersioningInternalServerError) IsRedirect() bool
- func (o *PutAPIKeyModelIDVersioningInternalServerError) IsServerError() bool
- func (o *PutAPIKeyModelIDVersioningInternalServerError) IsSuccess() bool
- func (o *PutAPIKeyModelIDVersioningInternalServerError) String() string
- type PutAPIKeyModelIDVersioningOK
- func (o *PutAPIKeyModelIDVersioningOK) Code() int
- func (o *PutAPIKeyModelIDVersioningOK) Error() string
- func (o *PutAPIKeyModelIDVersioningOK) GetPayload() *models.ResponseSuccessResponse
- func (o *PutAPIKeyModelIDVersioningOK) IsClientError() bool
- func (o *PutAPIKeyModelIDVersioningOK) IsCode(code int) bool
- func (o *PutAPIKeyModelIDVersioningOK) IsRedirect() bool
- func (o *PutAPIKeyModelIDVersioningOK) IsServerError() bool
- func (o *PutAPIKeyModelIDVersioningOK) IsSuccess() bool
- func (o *PutAPIKeyModelIDVersioningOK) String() string
- type PutAPIKeyModelIDVersioningParams
- func NewPutAPIKeyModelIDVersioningParams() *PutAPIKeyModelIDVersioningParams
- func NewPutAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *PutAPIKeyModelIDVersioningParams
- func NewPutAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *PutAPIKeyModelIDVersioningParams
- func NewPutAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *PutAPIKeyModelIDVersioningParams
- func (o *PutAPIKeyModelIDVersioningParams) SetCommitHash(commitHash string)
- func (o *PutAPIKeyModelIDVersioningParams) SetContext(ctx context.Context)
- func (o *PutAPIKeyModelIDVersioningParams) SetDefaults()
- func (o *PutAPIKeyModelIDVersioningParams) SetHTTPClient(client *http.Client)
- func (o *PutAPIKeyModelIDVersioningParams) SetID(id string)
- func (o *PutAPIKeyModelIDVersioningParams) SetTimeout(timeout time.Duration)
- func (o *PutAPIKeyModelIDVersioningParams) WithCommitHash(commitHash string) *PutAPIKeyModelIDVersioningParams
- func (o *PutAPIKeyModelIDVersioningParams) WithContext(ctx context.Context) *PutAPIKeyModelIDVersioningParams
- func (o *PutAPIKeyModelIDVersioningParams) WithDefaults() *PutAPIKeyModelIDVersioningParams
- func (o *PutAPIKeyModelIDVersioningParams) WithHTTPClient(client *http.Client) *PutAPIKeyModelIDVersioningParams
- func (o *PutAPIKeyModelIDVersioningParams) WithID(id string) *PutAPIKeyModelIDVersioningParams
- func (o *PutAPIKeyModelIDVersioningParams) WithTimeout(timeout time.Duration) *PutAPIKeyModelIDVersioningParams
- func (o *PutAPIKeyModelIDVersioningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPIKeyModelIDVersioningReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for api key model versioning API
func (*Client) DeleteAPIKeyModelIDVersioning ¶
func (a *Client) DeleteAPIKeyModelIDVersioning(params *DeleteAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyModelIDVersioningOK, error)
DeleteAPIKeyModelIDVersioning deletes model versioning by commit hash by Api key
func (*Client) GetAPIKeyModelIDVersioning ¶
func (a *Client) GetAPIKeyModelIDVersioning(params *GetAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVersioningOK, error)
GetAPIKeyModelIDVersioning gets current model versioning by model Id by Api key
func (*Client) GetAPIKeyModelIDVersioningList ¶
func (a *Client) GetAPIKeyModelIDVersioningList(params *GetAPIKeyModelIDVersioningListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVersioningListOK, error)
GetAPIKeyModelIDVersioningList gets verified list model versioning by Api key
verifyStatus is verified or all. Use verified to get verified versioning. Use all to get verified history
func (*Client) PutAPIKeyModelIDVersioning ¶
func (a *Client) PutAPIKeyModelIDVersioning(params *PutAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyModelIDVersioningOK, error)
PutAPIKeyModelIDVersioning changes model versioning by commit hash by Api key
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
DeleteAPIKeyModelIDVersioning(params *DeleteAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyModelIDVersioningOK, error)
GetAPIKeyModelIDVersioning(params *GetAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVersioningOK, error)
GetAPIKeyModelIDVersioningList(params *GetAPIKeyModelIDVersioningListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDVersioningListOK, error)
PutAPIKeyModelIDVersioning(params *PutAPIKeyModelIDVersioningParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyModelIDVersioningOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new api key model versioning API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new api key model versioning API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new api key model versioning API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DeleteAPIKeyModelIDVersioningBadRequest ¶
type DeleteAPIKeyModelIDVersioningBadRequest struct {
Payload *models.ResponseFailResponse
}
DeleteAPIKeyModelIDVersioningBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteAPIKeyModelIDVersioningBadRequest ¶
func NewDeleteAPIKeyModelIDVersioningBadRequest() *DeleteAPIKeyModelIDVersioningBadRequest
NewDeleteAPIKeyModelIDVersioningBadRequest creates a DeleteAPIKeyModelIDVersioningBadRequest with default headers values
func (*DeleteAPIKeyModelIDVersioningBadRequest) Code ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) Code() int
Code gets the status code for the delete Api key model Id versioning bad request response
func (*DeleteAPIKeyModelIDVersioningBadRequest) Error ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) Error() string
func (*DeleteAPIKeyModelIDVersioningBadRequest) GetPayload ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) GetPayload() *models.ResponseFailResponse
func (*DeleteAPIKeyModelIDVersioningBadRequest) IsClientError ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsClientError() bool
IsClientError returns true when this delete Api key model Id versioning bad request response has a 4xx status code
func (*DeleteAPIKeyModelIDVersioningBadRequest) IsCode ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsCode(code int) bool
IsCode returns true when this delete Api key model Id versioning bad request response a status code equal to that given
func (*DeleteAPIKeyModelIDVersioningBadRequest) IsRedirect ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsRedirect() bool
IsRedirect returns true when this delete Api key model Id versioning bad request response has a 3xx status code
func (*DeleteAPIKeyModelIDVersioningBadRequest) IsServerError ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsServerError() bool
IsServerError returns true when this delete Api key model Id versioning bad request response has a 5xx status code
func (*DeleteAPIKeyModelIDVersioningBadRequest) IsSuccess ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) IsSuccess() bool
IsSuccess returns true when this delete Api key model Id versioning bad request response has a 2xx status code
func (*DeleteAPIKeyModelIDVersioningBadRequest) String ¶
func (o *DeleteAPIKeyModelIDVersioningBadRequest) String() string
type DeleteAPIKeyModelIDVersioningInternalServerError ¶
type DeleteAPIKeyModelIDVersioningInternalServerError struct {
Payload *models.ResponseErrorResponse
}
DeleteAPIKeyModelIDVersioningInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAPIKeyModelIDVersioningInternalServerError ¶
func NewDeleteAPIKeyModelIDVersioningInternalServerError() *DeleteAPIKeyModelIDVersioningInternalServerError
NewDeleteAPIKeyModelIDVersioningInternalServerError creates a DeleteAPIKeyModelIDVersioningInternalServerError with default headers values
func (*DeleteAPIKeyModelIDVersioningInternalServerError) Code ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) Code() int
Code gets the status code for the delete Api key model Id versioning internal server error response
func (*DeleteAPIKeyModelIDVersioningInternalServerError) Error ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) Error() string
func (*DeleteAPIKeyModelIDVersioningInternalServerError) GetPayload ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsClientError ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsClientError() bool
IsClientError returns true when this delete Api key model Id versioning internal server error response has a 4xx status code
func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsCode ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsCode(code int) bool
IsCode returns true when this delete Api key model Id versioning internal server error response a status code equal to that given
func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsRedirect ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete Api key model Id versioning internal server error response has a 3xx status code
func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsServerError ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsServerError() bool
IsServerError returns true when this delete Api key model Id versioning internal server error response has a 5xx status code
func (*DeleteAPIKeyModelIDVersioningInternalServerError) IsSuccess ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete Api key model Id versioning internal server error response has a 2xx status code
func (*DeleteAPIKeyModelIDVersioningInternalServerError) String ¶
func (o *DeleteAPIKeyModelIDVersioningInternalServerError) String() string
type DeleteAPIKeyModelIDVersioningOK ¶
type DeleteAPIKeyModelIDVersioningOK struct {
Payload *models.ResponseSuccessResponse
}
DeleteAPIKeyModelIDVersioningOK describes a response with status code 200, with default header values.
OK
func NewDeleteAPIKeyModelIDVersioningOK ¶
func NewDeleteAPIKeyModelIDVersioningOK() *DeleteAPIKeyModelIDVersioningOK
NewDeleteAPIKeyModelIDVersioningOK creates a DeleteAPIKeyModelIDVersioningOK with default headers values
func (*DeleteAPIKeyModelIDVersioningOK) Code ¶
func (o *DeleteAPIKeyModelIDVersioningOK) Code() int
Code gets the status code for the delete Api key model Id versioning o k response
func (*DeleteAPIKeyModelIDVersioningOK) Error ¶
func (o *DeleteAPIKeyModelIDVersioningOK) Error() string
func (*DeleteAPIKeyModelIDVersioningOK) GetPayload ¶
func (o *DeleteAPIKeyModelIDVersioningOK) GetPayload() *models.ResponseSuccessResponse
func (*DeleteAPIKeyModelIDVersioningOK) IsClientError ¶
func (o *DeleteAPIKeyModelIDVersioningOK) IsClientError() bool
IsClientError returns true when this delete Api key model Id versioning o k response has a 4xx status code
func (*DeleteAPIKeyModelIDVersioningOK) IsCode ¶
func (o *DeleteAPIKeyModelIDVersioningOK) IsCode(code int) bool
IsCode returns true when this delete Api key model Id versioning o k response a status code equal to that given
func (*DeleteAPIKeyModelIDVersioningOK) IsRedirect ¶
func (o *DeleteAPIKeyModelIDVersioningOK) IsRedirect() bool
IsRedirect returns true when this delete Api key model Id versioning o k response has a 3xx status code
func (*DeleteAPIKeyModelIDVersioningOK) IsServerError ¶
func (o *DeleteAPIKeyModelIDVersioningOK) IsServerError() bool
IsServerError returns true when this delete Api key model Id versioning o k response has a 5xx status code
func (*DeleteAPIKeyModelIDVersioningOK) IsSuccess ¶
func (o *DeleteAPIKeyModelIDVersioningOK) IsSuccess() bool
IsSuccess returns true when this delete Api key model Id versioning o k response has a 2xx status code
func (*DeleteAPIKeyModelIDVersioningOK) String ¶
func (o *DeleteAPIKeyModelIDVersioningOK) String() string
type DeleteAPIKeyModelIDVersioningParams ¶
type DeleteAPIKeyModelIDVersioningParams struct {
// CommitHash.
CommitHash string
/* ID.
Model's id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAPIKeyModelIDVersioningParams contains all the parameters to send to the API endpoint
for the delete API key model ID versioning operation. Typically these are written to a http.Request.
func NewDeleteAPIKeyModelIDVersioningParams ¶
func NewDeleteAPIKeyModelIDVersioningParams() *DeleteAPIKeyModelIDVersioningParams
NewDeleteAPIKeyModelIDVersioningParams creates a new DeleteAPIKeyModelIDVersioningParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPIKeyModelIDVersioningParamsWithContext ¶
func NewDeleteAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *DeleteAPIKeyModelIDVersioningParams
NewDeleteAPIKeyModelIDVersioningParamsWithContext creates a new DeleteAPIKeyModelIDVersioningParams object with the ability to set a context for a request.
func NewDeleteAPIKeyModelIDVersioningParamsWithHTTPClient ¶
func NewDeleteAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyModelIDVersioningParams
NewDeleteAPIKeyModelIDVersioningParamsWithHTTPClient creates a new DeleteAPIKeyModelIDVersioningParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIKeyModelIDVersioningParamsWithTimeout ¶
func NewDeleteAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyModelIDVersioningParams
NewDeleteAPIKeyModelIDVersioningParamsWithTimeout creates a new DeleteAPIKeyModelIDVersioningParams object with the ability to set a timeout on a request.
func (*DeleteAPIKeyModelIDVersioningParams) SetCommitHash ¶
func (o *DeleteAPIKeyModelIDVersioningParams) SetCommitHash(commitHash string)
SetCommitHash adds the commitHash to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) SetContext ¶
func (o *DeleteAPIKeyModelIDVersioningParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) SetDefaults ¶
func (o *DeleteAPIKeyModelIDVersioningParams) SetDefaults()
SetDefaults hydrates default values in the delete API key model ID versioning params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyModelIDVersioningParams) SetHTTPClient ¶
func (o *DeleteAPIKeyModelIDVersioningParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) SetID ¶
func (o *DeleteAPIKeyModelIDVersioningParams) SetID(id string)
SetID adds the id to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) SetTimeout ¶
func (o *DeleteAPIKeyModelIDVersioningParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) WithCommitHash ¶
func (o *DeleteAPIKeyModelIDVersioningParams) WithCommitHash(commitHash string) *DeleteAPIKeyModelIDVersioningParams
WithCommitHash adds the commitHash to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) WithContext ¶
func (o *DeleteAPIKeyModelIDVersioningParams) WithContext(ctx context.Context) *DeleteAPIKeyModelIDVersioningParams
WithContext adds the context to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) WithDefaults ¶
func (o *DeleteAPIKeyModelIDVersioningParams) WithDefaults() *DeleteAPIKeyModelIDVersioningParams
WithDefaults hydrates default values in the delete API key model ID versioning params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyModelIDVersioningParams) WithHTTPClient ¶
func (o *DeleteAPIKeyModelIDVersioningParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyModelIDVersioningParams
WithHTTPClient adds the HTTPClient to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) WithID ¶
func (o *DeleteAPIKeyModelIDVersioningParams) WithID(id string) *DeleteAPIKeyModelIDVersioningParams
WithID adds the id to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) WithTimeout ¶
func (o *DeleteAPIKeyModelIDVersioningParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyModelIDVersioningParams
WithTimeout adds the timeout to the delete API key model ID versioning params
func (*DeleteAPIKeyModelIDVersioningParams) WriteToRequest ¶
func (o *DeleteAPIKeyModelIDVersioningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIKeyModelIDVersioningReader ¶
type DeleteAPIKeyModelIDVersioningReader struct {
// contains filtered or unexported fields
}
DeleteAPIKeyModelIDVersioningReader is a Reader for the DeleteAPIKeyModelIDVersioning structure.
func (*DeleteAPIKeyModelIDVersioningReader) ReadResponse ¶
func (o *DeleteAPIKeyModelIDVersioningReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetAPIKeyModelIDVersioningBadRequest ¶
type GetAPIKeyModelIDVersioningBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyModelIDVersioningBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyModelIDVersioningBadRequest ¶
func NewGetAPIKeyModelIDVersioningBadRequest() *GetAPIKeyModelIDVersioningBadRequest
NewGetAPIKeyModelIDVersioningBadRequest creates a GetAPIKeyModelIDVersioningBadRequest with default headers values
func (*GetAPIKeyModelIDVersioningBadRequest) Code ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) Code() int
Code gets the status code for the get Api key model Id versioning bad request response
func (*GetAPIKeyModelIDVersioningBadRequest) Error ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) Error() string
func (*GetAPIKeyModelIDVersioningBadRequest) GetPayload ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyModelIDVersioningBadRequest) IsClientError ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) IsClientError() bool
IsClientError returns true when this get Api key model Id versioning bad request response has a 4xx status code
func (*GetAPIKeyModelIDVersioningBadRequest) IsCode ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key model Id versioning bad request response a status code equal to that given
func (*GetAPIKeyModelIDVersioningBadRequest) IsRedirect ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key model Id versioning bad request response has a 3xx status code
func (*GetAPIKeyModelIDVersioningBadRequest) IsServerError ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) IsServerError() bool
IsServerError returns true when this get Api key model Id versioning bad request response has a 5xx status code
func (*GetAPIKeyModelIDVersioningBadRequest) IsSuccess ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key model Id versioning bad request response has a 2xx status code
func (*GetAPIKeyModelIDVersioningBadRequest) String ¶
func (o *GetAPIKeyModelIDVersioningBadRequest) String() string
type GetAPIKeyModelIDVersioningInternalServerError ¶
type GetAPIKeyModelIDVersioningInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyModelIDVersioningInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyModelIDVersioningInternalServerError ¶
func NewGetAPIKeyModelIDVersioningInternalServerError() *GetAPIKeyModelIDVersioningInternalServerError
NewGetAPIKeyModelIDVersioningInternalServerError creates a GetAPIKeyModelIDVersioningInternalServerError with default headers values
func (*GetAPIKeyModelIDVersioningInternalServerError) Code ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) Code() int
Code gets the status code for the get Api key model Id versioning internal server error response
func (*GetAPIKeyModelIDVersioningInternalServerError) Error ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) Error() string
func (*GetAPIKeyModelIDVersioningInternalServerError) GetPayload ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyModelIDVersioningInternalServerError) IsClientError ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key model Id versioning internal server error response has a 4xx status code
func (*GetAPIKeyModelIDVersioningInternalServerError) IsCode ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key model Id versioning internal server error response a status code equal to that given
func (*GetAPIKeyModelIDVersioningInternalServerError) IsRedirect ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key model Id versioning internal server error response has a 3xx status code
func (*GetAPIKeyModelIDVersioningInternalServerError) IsServerError ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key model Id versioning internal server error response has a 5xx status code
func (*GetAPIKeyModelIDVersioningInternalServerError) IsSuccess ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key model Id versioning internal server error response has a 2xx status code
func (*GetAPIKeyModelIDVersioningInternalServerError) String ¶
func (o *GetAPIKeyModelIDVersioningInternalServerError) String() string
type GetAPIKeyModelIDVersioningListBadRequest ¶
type GetAPIKeyModelIDVersioningListBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyModelIDVersioningListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyModelIDVersioningListBadRequest ¶
func NewGetAPIKeyModelIDVersioningListBadRequest() *GetAPIKeyModelIDVersioningListBadRequest
NewGetAPIKeyModelIDVersioningListBadRequest creates a GetAPIKeyModelIDVersioningListBadRequest with default headers values
func (*GetAPIKeyModelIDVersioningListBadRequest) Code ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) Code() int
Code gets the status code for the get Api key model Id versioning list bad request response
func (*GetAPIKeyModelIDVersioningListBadRequest) Error ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) Error() string
func (*GetAPIKeyModelIDVersioningListBadRequest) GetPayload ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyModelIDVersioningListBadRequest) IsClientError ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) IsClientError() bool
IsClientError returns true when this get Api key model Id versioning list bad request response has a 4xx status code
func (*GetAPIKeyModelIDVersioningListBadRequest) IsCode ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key model Id versioning list bad request response a status code equal to that given
func (*GetAPIKeyModelIDVersioningListBadRequest) IsRedirect ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key model Id versioning list bad request response has a 3xx status code
func (*GetAPIKeyModelIDVersioningListBadRequest) IsServerError ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) IsServerError() bool
IsServerError returns true when this get Api key model Id versioning list bad request response has a 5xx status code
func (*GetAPIKeyModelIDVersioningListBadRequest) IsSuccess ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key model Id versioning list bad request response has a 2xx status code
func (*GetAPIKeyModelIDVersioningListBadRequest) String ¶
func (o *GetAPIKeyModelIDVersioningListBadRequest) String() string
type GetAPIKeyModelIDVersioningListInternalServerError ¶
type GetAPIKeyModelIDVersioningListInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyModelIDVersioningListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyModelIDVersioningListInternalServerError ¶
func NewGetAPIKeyModelIDVersioningListInternalServerError() *GetAPIKeyModelIDVersioningListInternalServerError
NewGetAPIKeyModelIDVersioningListInternalServerError creates a GetAPIKeyModelIDVersioningListInternalServerError with default headers values
func (*GetAPIKeyModelIDVersioningListInternalServerError) Code ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) Code() int
Code gets the status code for the get Api key model Id versioning list internal server error response
func (*GetAPIKeyModelIDVersioningListInternalServerError) Error ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) Error() string
func (*GetAPIKeyModelIDVersioningListInternalServerError) GetPayload ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyModelIDVersioningListInternalServerError) IsClientError ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key model Id versioning list internal server error response has a 4xx status code
func (*GetAPIKeyModelIDVersioningListInternalServerError) IsCode ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key model Id versioning list internal server error response a status code equal to that given
func (*GetAPIKeyModelIDVersioningListInternalServerError) IsRedirect ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key model Id versioning list internal server error response has a 3xx status code
func (*GetAPIKeyModelIDVersioningListInternalServerError) IsServerError ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key model Id versioning list internal server error response has a 5xx status code
func (*GetAPIKeyModelIDVersioningListInternalServerError) IsSuccess ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key model Id versioning list internal server error response has a 2xx status code
func (*GetAPIKeyModelIDVersioningListInternalServerError) String ¶
func (o *GetAPIKeyModelIDVersioningListInternalServerError) String() string
type GetAPIKeyModelIDVersioningListOK ¶
type GetAPIKeyModelIDVersioningListOK struct {
Payload *models.ResponseGetListModelVersioningLiteResponse
}
GetAPIKeyModelIDVersioningListOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyModelIDVersioningListOK ¶
func NewGetAPIKeyModelIDVersioningListOK() *GetAPIKeyModelIDVersioningListOK
NewGetAPIKeyModelIDVersioningListOK creates a GetAPIKeyModelIDVersioningListOK with default headers values
func (*GetAPIKeyModelIDVersioningListOK) Code ¶
func (o *GetAPIKeyModelIDVersioningListOK) Code() int
Code gets the status code for the get Api key model Id versioning list o k response
func (*GetAPIKeyModelIDVersioningListOK) Error ¶
func (o *GetAPIKeyModelIDVersioningListOK) Error() string
func (*GetAPIKeyModelIDVersioningListOK) GetPayload ¶
func (o *GetAPIKeyModelIDVersioningListOK) GetPayload() *models.ResponseGetListModelVersioningLiteResponse
func (*GetAPIKeyModelIDVersioningListOK) IsClientError ¶
func (o *GetAPIKeyModelIDVersioningListOK) IsClientError() bool
IsClientError returns true when this get Api key model Id versioning list o k response has a 4xx status code
func (*GetAPIKeyModelIDVersioningListOK) IsCode ¶
func (o *GetAPIKeyModelIDVersioningListOK) IsCode(code int) bool
IsCode returns true when this get Api key model Id versioning list o k response a status code equal to that given
func (*GetAPIKeyModelIDVersioningListOK) IsRedirect ¶
func (o *GetAPIKeyModelIDVersioningListOK) IsRedirect() bool
IsRedirect returns true when this get Api key model Id versioning list o k response has a 3xx status code
func (*GetAPIKeyModelIDVersioningListOK) IsServerError ¶
func (o *GetAPIKeyModelIDVersioningListOK) IsServerError() bool
IsServerError returns true when this get Api key model Id versioning list o k response has a 5xx status code
func (*GetAPIKeyModelIDVersioningListOK) IsSuccess ¶
func (o *GetAPIKeyModelIDVersioningListOK) IsSuccess() bool
IsSuccess returns true when this get Api key model Id versioning list o k response has a 2xx status code
func (*GetAPIKeyModelIDVersioningListOK) String ¶
func (o *GetAPIKeyModelIDVersioningListOK) String() string
type GetAPIKeyModelIDVersioningListParams ¶
type GetAPIKeyModelIDVersioningListParams struct {
/* ID.
Model's id
*/
ID string
// Limit.
//
// Default: 10
Limit *int64
// Offset.
Offset *int64
// VerifyStatus.
VerifyStatus *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyModelIDVersioningListParams contains all the parameters to send to the API endpoint
for the get API key model ID versioning list operation. Typically these are written to a http.Request.
func NewGetAPIKeyModelIDVersioningListParams ¶
func NewGetAPIKeyModelIDVersioningListParams() *GetAPIKeyModelIDVersioningListParams
NewGetAPIKeyModelIDVersioningListParams creates a new GetAPIKeyModelIDVersioningListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIKeyModelIDVersioningListParamsWithContext ¶
func NewGetAPIKeyModelIDVersioningListParamsWithContext(ctx context.Context) *GetAPIKeyModelIDVersioningListParams
NewGetAPIKeyModelIDVersioningListParamsWithContext creates a new GetAPIKeyModelIDVersioningListParams object with the ability to set a context for a request.
func NewGetAPIKeyModelIDVersioningListParamsWithHTTPClient ¶
func NewGetAPIKeyModelIDVersioningListParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningListParams
NewGetAPIKeyModelIDVersioningListParamsWithHTTPClient creates a new GetAPIKeyModelIDVersioningListParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyModelIDVersioningListParamsWithTimeout ¶
func NewGetAPIKeyModelIDVersioningListParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningListParams
NewGetAPIKeyModelIDVersioningListParamsWithTimeout creates a new GetAPIKeyModelIDVersioningListParams object with the ability to set a timeout on a request.
func (*GetAPIKeyModelIDVersioningListParams) SetContext ¶
func (o *GetAPIKeyModelIDVersioningListParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) SetDefaults ¶
func (o *GetAPIKeyModelIDVersioningListParams) SetDefaults()
SetDefaults hydrates default values in the get API key model ID versioning list params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyModelIDVersioningListParams) SetHTTPClient ¶
func (o *GetAPIKeyModelIDVersioningListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) SetID ¶
func (o *GetAPIKeyModelIDVersioningListParams) SetID(id string)
SetID adds the id to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) SetLimit ¶
func (o *GetAPIKeyModelIDVersioningListParams) SetLimit(limit *int64)
SetLimit adds the limit to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) SetOffset ¶
func (o *GetAPIKeyModelIDVersioningListParams) SetOffset(offset *int64)
SetOffset adds the offset to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) SetTimeout ¶
func (o *GetAPIKeyModelIDVersioningListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) SetVerifyStatus ¶
func (o *GetAPIKeyModelIDVersioningListParams) SetVerifyStatus(verifyStatus *string)
SetVerifyStatus adds the verifyStatus to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) WithContext ¶
func (o *GetAPIKeyModelIDVersioningListParams) WithContext(ctx context.Context) *GetAPIKeyModelIDVersioningListParams
WithContext adds the context to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) WithDefaults ¶
func (o *GetAPIKeyModelIDVersioningListParams) WithDefaults() *GetAPIKeyModelIDVersioningListParams
WithDefaults hydrates default values in the get API key model ID versioning list params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyModelIDVersioningListParams) WithHTTPClient ¶
func (o *GetAPIKeyModelIDVersioningListParams) WithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningListParams
WithHTTPClient adds the HTTPClient to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) WithID ¶
func (o *GetAPIKeyModelIDVersioningListParams) WithID(id string) *GetAPIKeyModelIDVersioningListParams
WithID adds the id to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) WithLimit ¶
func (o *GetAPIKeyModelIDVersioningListParams) WithLimit(limit *int64) *GetAPIKeyModelIDVersioningListParams
WithLimit adds the limit to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) WithOffset ¶
func (o *GetAPIKeyModelIDVersioningListParams) WithOffset(offset *int64) *GetAPIKeyModelIDVersioningListParams
WithOffset adds the offset to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) WithTimeout ¶
func (o *GetAPIKeyModelIDVersioningListParams) WithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningListParams
WithTimeout adds the timeout to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) WithVerifyStatus ¶
func (o *GetAPIKeyModelIDVersioningListParams) WithVerifyStatus(verifyStatus *string) *GetAPIKeyModelIDVersioningListParams
WithVerifyStatus adds the verifyStatus to the get API key model ID versioning list params
func (*GetAPIKeyModelIDVersioningListParams) WriteToRequest ¶
func (o *GetAPIKeyModelIDVersioningListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyModelIDVersioningListReader ¶
type GetAPIKeyModelIDVersioningListReader struct {
// contains filtered or unexported fields
}
GetAPIKeyModelIDVersioningListReader is a Reader for the GetAPIKeyModelIDVersioningList structure.
func (*GetAPIKeyModelIDVersioningListReader) ReadResponse ¶
func (o *GetAPIKeyModelIDVersioningListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetAPIKeyModelIDVersioningOK ¶
type GetAPIKeyModelIDVersioningOK struct {
Payload *models.ResponseModelVersioningGroupLiteResponse
}
GetAPIKeyModelIDVersioningOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyModelIDVersioningOK ¶
func NewGetAPIKeyModelIDVersioningOK() *GetAPIKeyModelIDVersioningOK
NewGetAPIKeyModelIDVersioningOK creates a GetAPIKeyModelIDVersioningOK with default headers values
func (*GetAPIKeyModelIDVersioningOK) Code ¶
func (o *GetAPIKeyModelIDVersioningOK) Code() int
Code gets the status code for the get Api key model Id versioning o k response
func (*GetAPIKeyModelIDVersioningOK) Error ¶
func (o *GetAPIKeyModelIDVersioningOK) Error() string
func (*GetAPIKeyModelIDVersioningOK) GetPayload ¶
func (o *GetAPIKeyModelIDVersioningOK) GetPayload() *models.ResponseModelVersioningGroupLiteResponse
func (*GetAPIKeyModelIDVersioningOK) IsClientError ¶
func (o *GetAPIKeyModelIDVersioningOK) IsClientError() bool
IsClientError returns true when this get Api key model Id versioning o k response has a 4xx status code
func (*GetAPIKeyModelIDVersioningOK) IsCode ¶
func (o *GetAPIKeyModelIDVersioningOK) IsCode(code int) bool
IsCode returns true when this get Api key model Id versioning o k response a status code equal to that given
func (*GetAPIKeyModelIDVersioningOK) IsRedirect ¶
func (o *GetAPIKeyModelIDVersioningOK) IsRedirect() bool
IsRedirect returns true when this get Api key model Id versioning o k response has a 3xx status code
func (*GetAPIKeyModelIDVersioningOK) IsServerError ¶
func (o *GetAPIKeyModelIDVersioningOK) IsServerError() bool
IsServerError returns true when this get Api key model Id versioning o k response has a 5xx status code
func (*GetAPIKeyModelIDVersioningOK) IsSuccess ¶
func (o *GetAPIKeyModelIDVersioningOK) IsSuccess() bool
IsSuccess returns true when this get Api key model Id versioning o k response has a 2xx status code
func (*GetAPIKeyModelIDVersioningOK) String ¶
func (o *GetAPIKeyModelIDVersioningOK) String() string
type GetAPIKeyModelIDVersioningParams ¶
type GetAPIKeyModelIDVersioningParams struct {
/* ID.
Model's id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyModelIDVersioningParams contains all the parameters to send to the API endpoint
for the get API key model ID versioning operation. Typically these are written to a http.Request.
func NewGetAPIKeyModelIDVersioningParams ¶
func NewGetAPIKeyModelIDVersioningParams() *GetAPIKeyModelIDVersioningParams
NewGetAPIKeyModelIDVersioningParams creates a new GetAPIKeyModelIDVersioningParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIKeyModelIDVersioningParamsWithContext ¶
func NewGetAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *GetAPIKeyModelIDVersioningParams
NewGetAPIKeyModelIDVersioningParamsWithContext creates a new GetAPIKeyModelIDVersioningParams object with the ability to set a context for a request.
func NewGetAPIKeyModelIDVersioningParamsWithHTTPClient ¶
func NewGetAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningParams
NewGetAPIKeyModelIDVersioningParamsWithHTTPClient creates a new GetAPIKeyModelIDVersioningParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyModelIDVersioningParamsWithTimeout ¶
func NewGetAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningParams
NewGetAPIKeyModelIDVersioningParamsWithTimeout creates a new GetAPIKeyModelIDVersioningParams object with the ability to set a timeout on a request.
func (*GetAPIKeyModelIDVersioningParams) SetContext ¶
func (o *GetAPIKeyModelIDVersioningParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key model ID versioning params
func (*GetAPIKeyModelIDVersioningParams) SetDefaults ¶
func (o *GetAPIKeyModelIDVersioningParams) SetDefaults()
SetDefaults hydrates default values in the get API key model ID versioning params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyModelIDVersioningParams) SetHTTPClient ¶
func (o *GetAPIKeyModelIDVersioningParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key model ID versioning params
func (*GetAPIKeyModelIDVersioningParams) SetID ¶
func (o *GetAPIKeyModelIDVersioningParams) SetID(id string)
SetID adds the id to the get API key model ID versioning params
func (*GetAPIKeyModelIDVersioningParams) SetTimeout ¶
func (o *GetAPIKeyModelIDVersioningParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key model ID versioning params
func (*GetAPIKeyModelIDVersioningParams) WithContext ¶
func (o *GetAPIKeyModelIDVersioningParams) WithContext(ctx context.Context) *GetAPIKeyModelIDVersioningParams
WithContext adds the context to the get API key model ID versioning params
func (*GetAPIKeyModelIDVersioningParams) WithDefaults ¶
func (o *GetAPIKeyModelIDVersioningParams) WithDefaults() *GetAPIKeyModelIDVersioningParams
WithDefaults hydrates default values in the get API key model ID versioning params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyModelIDVersioningParams) WithHTTPClient ¶
func (o *GetAPIKeyModelIDVersioningParams) WithHTTPClient(client *http.Client) *GetAPIKeyModelIDVersioningParams
WithHTTPClient adds the HTTPClient to the get API key model ID versioning params
func (*GetAPIKeyModelIDVersioningParams) WithID ¶
func (o *GetAPIKeyModelIDVersioningParams) WithID(id string) *GetAPIKeyModelIDVersioningParams
WithID adds the id to the get API key model ID versioning params
func (*GetAPIKeyModelIDVersioningParams) WithTimeout ¶
func (o *GetAPIKeyModelIDVersioningParams) WithTimeout(timeout time.Duration) *GetAPIKeyModelIDVersioningParams
WithTimeout adds the timeout to the get API key model ID versioning params
func (*GetAPIKeyModelIDVersioningParams) WriteToRequest ¶
func (o *GetAPIKeyModelIDVersioningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyModelIDVersioningReader ¶
type GetAPIKeyModelIDVersioningReader struct {
// contains filtered or unexported fields
}
GetAPIKeyModelIDVersioningReader is a Reader for the GetAPIKeyModelIDVersioning structure.
func (*GetAPIKeyModelIDVersioningReader) ReadResponse ¶
func (o *GetAPIKeyModelIDVersioningReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutAPIKeyModelIDVersioningBadRequest ¶
type PutAPIKeyModelIDVersioningBadRequest struct {
Payload *models.ResponseFailResponse
}
PutAPIKeyModelIDVersioningBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutAPIKeyModelIDVersioningBadRequest ¶
func NewPutAPIKeyModelIDVersioningBadRequest() *PutAPIKeyModelIDVersioningBadRequest
NewPutAPIKeyModelIDVersioningBadRequest creates a PutAPIKeyModelIDVersioningBadRequest with default headers values
func (*PutAPIKeyModelIDVersioningBadRequest) Code ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) Code() int
Code gets the status code for the put Api key model Id versioning bad request response
func (*PutAPIKeyModelIDVersioningBadRequest) Error ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) Error() string
func (*PutAPIKeyModelIDVersioningBadRequest) GetPayload ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) GetPayload() *models.ResponseFailResponse
func (*PutAPIKeyModelIDVersioningBadRequest) IsClientError ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) IsClientError() bool
IsClientError returns true when this put Api key model Id versioning bad request response has a 4xx status code
func (*PutAPIKeyModelIDVersioningBadRequest) IsCode ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) IsCode(code int) bool
IsCode returns true when this put Api key model Id versioning bad request response a status code equal to that given
func (*PutAPIKeyModelIDVersioningBadRequest) IsRedirect ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) IsRedirect() bool
IsRedirect returns true when this put Api key model Id versioning bad request response has a 3xx status code
func (*PutAPIKeyModelIDVersioningBadRequest) IsServerError ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) IsServerError() bool
IsServerError returns true when this put Api key model Id versioning bad request response has a 5xx status code
func (*PutAPIKeyModelIDVersioningBadRequest) IsSuccess ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) IsSuccess() bool
IsSuccess returns true when this put Api key model Id versioning bad request response has a 2xx status code
func (*PutAPIKeyModelIDVersioningBadRequest) String ¶
func (o *PutAPIKeyModelIDVersioningBadRequest) String() string
type PutAPIKeyModelIDVersioningInternalServerError ¶
type PutAPIKeyModelIDVersioningInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PutAPIKeyModelIDVersioningInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutAPIKeyModelIDVersioningInternalServerError ¶
func NewPutAPIKeyModelIDVersioningInternalServerError() *PutAPIKeyModelIDVersioningInternalServerError
NewPutAPIKeyModelIDVersioningInternalServerError creates a PutAPIKeyModelIDVersioningInternalServerError with default headers values
func (*PutAPIKeyModelIDVersioningInternalServerError) Code ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) Code() int
Code gets the status code for the put Api key model Id versioning internal server error response
func (*PutAPIKeyModelIDVersioningInternalServerError) Error ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) Error() string
func (*PutAPIKeyModelIDVersioningInternalServerError) GetPayload ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PutAPIKeyModelIDVersioningInternalServerError) IsClientError ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) IsClientError() bool
IsClientError returns true when this put Api key model Id versioning internal server error response has a 4xx status code
func (*PutAPIKeyModelIDVersioningInternalServerError) IsCode ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) IsCode(code int) bool
IsCode returns true when this put Api key model Id versioning internal server error response a status code equal to that given
func (*PutAPIKeyModelIDVersioningInternalServerError) IsRedirect ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Api key model Id versioning internal server error response has a 3xx status code
func (*PutAPIKeyModelIDVersioningInternalServerError) IsServerError ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) IsServerError() bool
IsServerError returns true when this put Api key model Id versioning internal server error response has a 5xx status code
func (*PutAPIKeyModelIDVersioningInternalServerError) IsSuccess ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Api key model Id versioning internal server error response has a 2xx status code
func (*PutAPIKeyModelIDVersioningInternalServerError) String ¶
func (o *PutAPIKeyModelIDVersioningInternalServerError) String() string
type PutAPIKeyModelIDVersioningOK ¶
type PutAPIKeyModelIDVersioningOK struct {
Payload *models.ResponseSuccessResponse
}
PutAPIKeyModelIDVersioningOK describes a response with status code 200, with default header values.
OK
func NewPutAPIKeyModelIDVersioningOK ¶
func NewPutAPIKeyModelIDVersioningOK() *PutAPIKeyModelIDVersioningOK
NewPutAPIKeyModelIDVersioningOK creates a PutAPIKeyModelIDVersioningOK with default headers values
func (*PutAPIKeyModelIDVersioningOK) Code ¶
func (o *PutAPIKeyModelIDVersioningOK) Code() int
Code gets the status code for the put Api key model Id versioning o k response
func (*PutAPIKeyModelIDVersioningOK) Error ¶
func (o *PutAPIKeyModelIDVersioningOK) Error() string
func (*PutAPIKeyModelIDVersioningOK) GetPayload ¶
func (o *PutAPIKeyModelIDVersioningOK) GetPayload() *models.ResponseSuccessResponse
func (*PutAPIKeyModelIDVersioningOK) IsClientError ¶
func (o *PutAPIKeyModelIDVersioningOK) IsClientError() bool
IsClientError returns true when this put Api key model Id versioning o k response has a 4xx status code
func (*PutAPIKeyModelIDVersioningOK) IsCode ¶
func (o *PutAPIKeyModelIDVersioningOK) IsCode(code int) bool
IsCode returns true when this put Api key model Id versioning o k response a status code equal to that given
func (*PutAPIKeyModelIDVersioningOK) IsRedirect ¶
func (o *PutAPIKeyModelIDVersioningOK) IsRedirect() bool
IsRedirect returns true when this put Api key model Id versioning o k response has a 3xx status code
func (*PutAPIKeyModelIDVersioningOK) IsServerError ¶
func (o *PutAPIKeyModelIDVersioningOK) IsServerError() bool
IsServerError returns true when this put Api key model Id versioning o k response has a 5xx status code
func (*PutAPIKeyModelIDVersioningOK) IsSuccess ¶
func (o *PutAPIKeyModelIDVersioningOK) IsSuccess() bool
IsSuccess returns true when this put Api key model Id versioning o k response has a 2xx status code
func (*PutAPIKeyModelIDVersioningOK) String ¶
func (o *PutAPIKeyModelIDVersioningOK) String() string
type PutAPIKeyModelIDVersioningParams ¶
type PutAPIKeyModelIDVersioningParams struct {
// CommitHash.
CommitHash string
/* ID.
Model's id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPIKeyModelIDVersioningParams contains all the parameters to send to the API endpoint
for the put API key model ID versioning operation. Typically these are written to a http.Request.
func NewPutAPIKeyModelIDVersioningParams ¶
func NewPutAPIKeyModelIDVersioningParams() *PutAPIKeyModelIDVersioningParams
NewPutAPIKeyModelIDVersioningParams creates a new PutAPIKeyModelIDVersioningParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutAPIKeyModelIDVersioningParamsWithContext ¶
func NewPutAPIKeyModelIDVersioningParamsWithContext(ctx context.Context) *PutAPIKeyModelIDVersioningParams
NewPutAPIKeyModelIDVersioningParamsWithContext creates a new PutAPIKeyModelIDVersioningParams object with the ability to set a context for a request.
func NewPutAPIKeyModelIDVersioningParamsWithHTTPClient ¶
func NewPutAPIKeyModelIDVersioningParamsWithHTTPClient(client *http.Client) *PutAPIKeyModelIDVersioningParams
NewPutAPIKeyModelIDVersioningParamsWithHTTPClient creates a new PutAPIKeyModelIDVersioningParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPIKeyModelIDVersioningParamsWithTimeout ¶
func NewPutAPIKeyModelIDVersioningParamsWithTimeout(timeout time.Duration) *PutAPIKeyModelIDVersioningParams
NewPutAPIKeyModelIDVersioningParamsWithTimeout creates a new PutAPIKeyModelIDVersioningParams object with the ability to set a timeout on a request.
func (*PutAPIKeyModelIDVersioningParams) SetCommitHash ¶
func (o *PutAPIKeyModelIDVersioningParams) SetCommitHash(commitHash string)
SetCommitHash adds the commitHash to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) SetContext ¶
func (o *PutAPIKeyModelIDVersioningParams) SetContext(ctx context.Context)
SetContext adds the context to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) SetDefaults ¶
func (o *PutAPIKeyModelIDVersioningParams) SetDefaults()
SetDefaults hydrates default values in the put API key model ID versioning params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyModelIDVersioningParams) SetHTTPClient ¶
func (o *PutAPIKeyModelIDVersioningParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) SetID ¶
func (o *PutAPIKeyModelIDVersioningParams) SetID(id string)
SetID adds the id to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) SetTimeout ¶
func (o *PutAPIKeyModelIDVersioningParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) WithCommitHash ¶
func (o *PutAPIKeyModelIDVersioningParams) WithCommitHash(commitHash string) *PutAPIKeyModelIDVersioningParams
WithCommitHash adds the commitHash to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) WithContext ¶
func (o *PutAPIKeyModelIDVersioningParams) WithContext(ctx context.Context) *PutAPIKeyModelIDVersioningParams
WithContext adds the context to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) WithDefaults ¶
func (o *PutAPIKeyModelIDVersioningParams) WithDefaults() *PutAPIKeyModelIDVersioningParams
WithDefaults hydrates default values in the put API key model ID versioning params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyModelIDVersioningParams) WithHTTPClient ¶
func (o *PutAPIKeyModelIDVersioningParams) WithHTTPClient(client *http.Client) *PutAPIKeyModelIDVersioningParams
WithHTTPClient adds the HTTPClient to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) WithID ¶
func (o *PutAPIKeyModelIDVersioningParams) WithID(id string) *PutAPIKeyModelIDVersioningParams
WithID adds the id to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) WithTimeout ¶
func (o *PutAPIKeyModelIDVersioningParams) WithTimeout(timeout time.Duration) *PutAPIKeyModelIDVersioningParams
WithTimeout adds the timeout to the put API key model ID versioning params
func (*PutAPIKeyModelIDVersioningParams) WriteToRequest ¶
func (o *PutAPIKeyModelIDVersioningParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPIKeyModelIDVersioningReader ¶
type PutAPIKeyModelIDVersioningReader struct {
// contains filtered or unexported fields
}
PutAPIKeyModelIDVersioningReader is a Reader for the PutAPIKeyModelIDVersioning structure.
func (*PutAPIKeyModelIDVersioningReader) ReadResponse ¶
func (o *PutAPIKeyModelIDVersioningReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- api_key_model_versioning_client.go
- delete_api_key_model_id_versioning_parameters.go
- delete_api_key_model_id_versioning_responses.go
- get_api_key_model_id_versioning_list_parameters.go
- get_api_key_model_id_versioning_list_responses.go
- get_api_key_model_id_versioning_parameters.go
- get_api_key_model_id_versioning_responses.go
- put_api_key_model_id_versioning_parameters.go
- put_api_key_model_id_versioning_responses.go