Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSizeImageConstraint(params *CreateSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSizeImageConstraintCreated, error)
- func (a *Client) DeleteSizeImageConstraint(params *DeleteSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSizeImageConstraintOK, error)
- func (a *Client) FindSizeImageConstraint(params *FindSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindSizeImageConstraintOK, error)
- func (a *Client) ListSizeImageConstraints(params *ListSizeImageConstraintsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSizeImageConstraintsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TrySizeImageConstraint(params *TrySizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TrySizeImageConstraintOK, error)
- func (a *Client) UpdateSizeImageConstraint(params *UpdateSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateSizeImageConstraintOK, error)
- type ClientOption
- type ClientService
- type CreateSizeImageConstraintConflict
- func (o *CreateSizeImageConstraintConflict) Code() int
- func (o *CreateSizeImageConstraintConflict) Error() string
- func (o *CreateSizeImageConstraintConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateSizeImageConstraintConflict) IsClientError() bool
- func (o *CreateSizeImageConstraintConflict) IsCode(code int) bool
- func (o *CreateSizeImageConstraintConflict) IsRedirect() bool
- func (o *CreateSizeImageConstraintConflict) IsServerError() bool
- func (o *CreateSizeImageConstraintConflict) IsSuccess() bool
- func (o *CreateSizeImageConstraintConflict) String() string
- type CreateSizeImageConstraintCreated
- func (o *CreateSizeImageConstraintCreated) Code() int
- func (o *CreateSizeImageConstraintCreated) Error() string
- func (o *CreateSizeImageConstraintCreated) GetPayload() *models.V1SizeImageConstraintResponse
- func (o *CreateSizeImageConstraintCreated) IsClientError() bool
- func (o *CreateSizeImageConstraintCreated) IsCode(code int) bool
- func (o *CreateSizeImageConstraintCreated) IsRedirect() bool
- func (o *CreateSizeImageConstraintCreated) IsServerError() bool
- func (o *CreateSizeImageConstraintCreated) IsSuccess() bool
- func (o *CreateSizeImageConstraintCreated) String() string
- type CreateSizeImageConstraintDefault
- func (o *CreateSizeImageConstraintDefault) Code() int
- func (o *CreateSizeImageConstraintDefault) Error() string
- func (o *CreateSizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateSizeImageConstraintDefault) IsClientError() bool
- func (o *CreateSizeImageConstraintDefault) IsCode(code int) bool
- func (o *CreateSizeImageConstraintDefault) IsRedirect() bool
- func (o *CreateSizeImageConstraintDefault) IsServerError() bool
- func (o *CreateSizeImageConstraintDefault) IsSuccess() bool
- func (o *CreateSizeImageConstraintDefault) String() string
- type CreateSizeImageConstraintParams
- func NewCreateSizeImageConstraintParams() *CreateSizeImageConstraintParams
- func NewCreateSizeImageConstraintParamsWithContext(ctx context.Context) *CreateSizeImageConstraintParams
- func NewCreateSizeImageConstraintParamsWithHTTPClient(client *http.Client) *CreateSizeImageConstraintParams
- func NewCreateSizeImageConstraintParamsWithTimeout(timeout time.Duration) *CreateSizeImageConstraintParams
- func (o *CreateSizeImageConstraintParams) SetBody(body *models.V1SizeImageConstraintCreateRequest)
- func (o *CreateSizeImageConstraintParams) SetContext(ctx context.Context)
- func (o *CreateSizeImageConstraintParams) SetDefaults()
- func (o *CreateSizeImageConstraintParams) SetHTTPClient(client *http.Client)
- func (o *CreateSizeImageConstraintParams) SetTimeout(timeout time.Duration)
- func (o *CreateSizeImageConstraintParams) WithBody(body *models.V1SizeImageConstraintCreateRequest) *CreateSizeImageConstraintParams
- func (o *CreateSizeImageConstraintParams) WithContext(ctx context.Context) *CreateSizeImageConstraintParams
- func (o *CreateSizeImageConstraintParams) WithDefaults() *CreateSizeImageConstraintParams
- func (o *CreateSizeImageConstraintParams) WithHTTPClient(client *http.Client) *CreateSizeImageConstraintParams
- func (o *CreateSizeImageConstraintParams) WithTimeout(timeout time.Duration) *CreateSizeImageConstraintParams
- func (o *CreateSizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSizeImageConstraintReader
- type DeleteSizeImageConstraintDefault
- func (o *DeleteSizeImageConstraintDefault) Code() int
- func (o *DeleteSizeImageConstraintDefault) Error() string
- func (o *DeleteSizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteSizeImageConstraintDefault) IsClientError() bool
- func (o *DeleteSizeImageConstraintDefault) IsCode(code int) bool
- func (o *DeleteSizeImageConstraintDefault) IsRedirect() bool
- func (o *DeleteSizeImageConstraintDefault) IsServerError() bool
- func (o *DeleteSizeImageConstraintDefault) IsSuccess() bool
- func (o *DeleteSizeImageConstraintDefault) String() string
- type DeleteSizeImageConstraintOK
- func (o *DeleteSizeImageConstraintOK) Code() int
- func (o *DeleteSizeImageConstraintOK) Error() string
- func (o *DeleteSizeImageConstraintOK) GetPayload() *models.V1SizeImageConstraintResponse
- func (o *DeleteSizeImageConstraintOK) IsClientError() bool
- func (o *DeleteSizeImageConstraintOK) IsCode(code int) bool
- func (o *DeleteSizeImageConstraintOK) IsRedirect() bool
- func (o *DeleteSizeImageConstraintOK) IsServerError() bool
- func (o *DeleteSizeImageConstraintOK) IsSuccess() bool
- func (o *DeleteSizeImageConstraintOK) String() string
- type DeleteSizeImageConstraintParams
- func NewDeleteSizeImageConstraintParams() *DeleteSizeImageConstraintParams
- func NewDeleteSizeImageConstraintParamsWithContext(ctx context.Context) *DeleteSizeImageConstraintParams
- func NewDeleteSizeImageConstraintParamsWithHTTPClient(client *http.Client) *DeleteSizeImageConstraintParams
- func NewDeleteSizeImageConstraintParamsWithTimeout(timeout time.Duration) *DeleteSizeImageConstraintParams
- func (o *DeleteSizeImageConstraintParams) SetContext(ctx context.Context)
- func (o *DeleteSizeImageConstraintParams) SetDefaults()
- func (o *DeleteSizeImageConstraintParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSizeImageConstraintParams) SetID(id string)
- func (o *DeleteSizeImageConstraintParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSizeImageConstraintParams) WithContext(ctx context.Context) *DeleteSizeImageConstraintParams
- func (o *DeleteSizeImageConstraintParams) WithDefaults() *DeleteSizeImageConstraintParams
- func (o *DeleteSizeImageConstraintParams) WithHTTPClient(client *http.Client) *DeleteSizeImageConstraintParams
- func (o *DeleteSizeImageConstraintParams) WithID(id string) *DeleteSizeImageConstraintParams
- func (o *DeleteSizeImageConstraintParams) WithTimeout(timeout time.Duration) *DeleteSizeImageConstraintParams
- func (o *DeleteSizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSizeImageConstraintReader
- type FindSizeImageConstraintDefault
- func (o *FindSizeImageConstraintDefault) Code() int
- func (o *FindSizeImageConstraintDefault) Error() string
- func (o *FindSizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindSizeImageConstraintDefault) IsClientError() bool
- func (o *FindSizeImageConstraintDefault) IsCode(code int) bool
- func (o *FindSizeImageConstraintDefault) IsRedirect() bool
- func (o *FindSizeImageConstraintDefault) IsServerError() bool
- func (o *FindSizeImageConstraintDefault) IsSuccess() bool
- func (o *FindSizeImageConstraintDefault) String() string
- type FindSizeImageConstraintOK
- func (o *FindSizeImageConstraintOK) Code() int
- func (o *FindSizeImageConstraintOK) Error() string
- func (o *FindSizeImageConstraintOK) GetPayload() *models.V1SizeImageConstraintResponse
- func (o *FindSizeImageConstraintOK) IsClientError() bool
- func (o *FindSizeImageConstraintOK) IsCode(code int) bool
- func (o *FindSizeImageConstraintOK) IsRedirect() bool
- func (o *FindSizeImageConstraintOK) IsServerError() bool
- func (o *FindSizeImageConstraintOK) IsSuccess() bool
- func (o *FindSizeImageConstraintOK) String() string
- type FindSizeImageConstraintParams
- func NewFindSizeImageConstraintParams() *FindSizeImageConstraintParams
- func NewFindSizeImageConstraintParamsWithContext(ctx context.Context) *FindSizeImageConstraintParams
- func NewFindSizeImageConstraintParamsWithHTTPClient(client *http.Client) *FindSizeImageConstraintParams
- func NewFindSizeImageConstraintParamsWithTimeout(timeout time.Duration) *FindSizeImageConstraintParams
- func (o *FindSizeImageConstraintParams) SetContext(ctx context.Context)
- func (o *FindSizeImageConstraintParams) SetDefaults()
- func (o *FindSizeImageConstraintParams) SetHTTPClient(client *http.Client)
- func (o *FindSizeImageConstraintParams) SetID(id string)
- func (o *FindSizeImageConstraintParams) SetTimeout(timeout time.Duration)
- func (o *FindSizeImageConstraintParams) WithContext(ctx context.Context) *FindSizeImageConstraintParams
- func (o *FindSizeImageConstraintParams) WithDefaults() *FindSizeImageConstraintParams
- func (o *FindSizeImageConstraintParams) WithHTTPClient(client *http.Client) *FindSizeImageConstraintParams
- func (o *FindSizeImageConstraintParams) WithID(id string) *FindSizeImageConstraintParams
- func (o *FindSizeImageConstraintParams) WithTimeout(timeout time.Duration) *FindSizeImageConstraintParams
- func (o *FindSizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindSizeImageConstraintReader
- type ListSizeImageConstraintsDefault
- func (o *ListSizeImageConstraintsDefault) Code() int
- func (o *ListSizeImageConstraintsDefault) Error() string
- func (o *ListSizeImageConstraintsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListSizeImageConstraintsDefault) IsClientError() bool
- func (o *ListSizeImageConstraintsDefault) IsCode(code int) bool
- func (o *ListSizeImageConstraintsDefault) IsRedirect() bool
- func (o *ListSizeImageConstraintsDefault) IsServerError() bool
- func (o *ListSizeImageConstraintsDefault) IsSuccess() bool
- func (o *ListSizeImageConstraintsDefault) String() string
- type ListSizeImageConstraintsOK
- func (o *ListSizeImageConstraintsOK) Code() int
- func (o *ListSizeImageConstraintsOK) Error() string
- func (o *ListSizeImageConstraintsOK) GetPayload() []*models.V1SizeImageConstraintResponse
- func (o *ListSizeImageConstraintsOK) IsClientError() bool
- func (o *ListSizeImageConstraintsOK) IsCode(code int) bool
- func (o *ListSizeImageConstraintsOK) IsRedirect() bool
- func (o *ListSizeImageConstraintsOK) IsServerError() bool
- func (o *ListSizeImageConstraintsOK) IsSuccess() bool
- func (o *ListSizeImageConstraintsOK) String() string
- type ListSizeImageConstraintsParams
- func NewListSizeImageConstraintsParams() *ListSizeImageConstraintsParams
- func NewListSizeImageConstraintsParamsWithContext(ctx context.Context) *ListSizeImageConstraintsParams
- func NewListSizeImageConstraintsParamsWithHTTPClient(client *http.Client) *ListSizeImageConstraintsParams
- func NewListSizeImageConstraintsParamsWithTimeout(timeout time.Duration) *ListSizeImageConstraintsParams
- func (o *ListSizeImageConstraintsParams) SetContext(ctx context.Context)
- func (o *ListSizeImageConstraintsParams) SetDefaults()
- func (o *ListSizeImageConstraintsParams) SetHTTPClient(client *http.Client)
- func (o *ListSizeImageConstraintsParams) SetTimeout(timeout time.Duration)
- func (o *ListSizeImageConstraintsParams) WithContext(ctx context.Context) *ListSizeImageConstraintsParams
- func (o *ListSizeImageConstraintsParams) WithDefaults() *ListSizeImageConstraintsParams
- func (o *ListSizeImageConstraintsParams) WithHTTPClient(client *http.Client) *ListSizeImageConstraintsParams
- func (o *ListSizeImageConstraintsParams) WithTimeout(timeout time.Duration) *ListSizeImageConstraintsParams
- func (o *ListSizeImageConstraintsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSizeImageConstraintsReader
- type TrySizeImageConstraintDefault
- func (o *TrySizeImageConstraintDefault) Code() int
- func (o *TrySizeImageConstraintDefault) Error() string
- func (o *TrySizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *TrySizeImageConstraintDefault) IsClientError() bool
- func (o *TrySizeImageConstraintDefault) IsCode(code int) bool
- func (o *TrySizeImageConstraintDefault) IsRedirect() bool
- func (o *TrySizeImageConstraintDefault) IsServerError() bool
- func (o *TrySizeImageConstraintDefault) IsSuccess() bool
- func (o *TrySizeImageConstraintDefault) String() string
- type TrySizeImageConstraintOK
- func (o *TrySizeImageConstraintOK) Code() int
- func (o *TrySizeImageConstraintOK) Error() string
- func (o *TrySizeImageConstraintOK) GetPayload() models.V1EmptyBody
- func (o *TrySizeImageConstraintOK) IsClientError() bool
- func (o *TrySizeImageConstraintOK) IsCode(code int) bool
- func (o *TrySizeImageConstraintOK) IsRedirect() bool
- func (o *TrySizeImageConstraintOK) IsServerError() bool
- func (o *TrySizeImageConstraintOK) IsSuccess() bool
- func (o *TrySizeImageConstraintOK) String() string
- type TrySizeImageConstraintParams
- func NewTrySizeImageConstraintParams() *TrySizeImageConstraintParams
- func NewTrySizeImageConstraintParamsWithContext(ctx context.Context) *TrySizeImageConstraintParams
- func NewTrySizeImageConstraintParamsWithHTTPClient(client *http.Client) *TrySizeImageConstraintParams
- func NewTrySizeImageConstraintParamsWithTimeout(timeout time.Duration) *TrySizeImageConstraintParams
- func (o *TrySizeImageConstraintParams) SetBody(body *models.V1SizeImageConstraintTryRequest)
- func (o *TrySizeImageConstraintParams) SetContext(ctx context.Context)
- func (o *TrySizeImageConstraintParams) SetDefaults()
- func (o *TrySizeImageConstraintParams) SetHTTPClient(client *http.Client)
- func (o *TrySizeImageConstraintParams) SetTimeout(timeout time.Duration)
- func (o *TrySizeImageConstraintParams) WithBody(body *models.V1SizeImageConstraintTryRequest) *TrySizeImageConstraintParams
- func (o *TrySizeImageConstraintParams) WithContext(ctx context.Context) *TrySizeImageConstraintParams
- func (o *TrySizeImageConstraintParams) WithDefaults() *TrySizeImageConstraintParams
- func (o *TrySizeImageConstraintParams) WithHTTPClient(client *http.Client) *TrySizeImageConstraintParams
- func (o *TrySizeImageConstraintParams) WithTimeout(timeout time.Duration) *TrySizeImageConstraintParams
- func (o *TrySizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TrySizeImageConstraintReader
- type UpdateSizeImageConstraintConflict
- func (o *UpdateSizeImageConstraintConflict) Code() int
- func (o *UpdateSizeImageConstraintConflict) Error() string
- func (o *UpdateSizeImageConstraintConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateSizeImageConstraintConflict) IsClientError() bool
- func (o *UpdateSizeImageConstraintConflict) IsCode(code int) bool
- func (o *UpdateSizeImageConstraintConflict) IsRedirect() bool
- func (o *UpdateSizeImageConstraintConflict) IsServerError() bool
- func (o *UpdateSizeImageConstraintConflict) IsSuccess() bool
- func (o *UpdateSizeImageConstraintConflict) String() string
- type UpdateSizeImageConstraintDefault
- func (o *UpdateSizeImageConstraintDefault) Code() int
- func (o *UpdateSizeImageConstraintDefault) Error() string
- func (o *UpdateSizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateSizeImageConstraintDefault) IsClientError() bool
- func (o *UpdateSizeImageConstraintDefault) IsCode(code int) bool
- func (o *UpdateSizeImageConstraintDefault) IsRedirect() bool
- func (o *UpdateSizeImageConstraintDefault) IsServerError() bool
- func (o *UpdateSizeImageConstraintDefault) IsSuccess() bool
- func (o *UpdateSizeImageConstraintDefault) String() string
- type UpdateSizeImageConstraintOK
- func (o *UpdateSizeImageConstraintOK) Code() int
- func (o *UpdateSizeImageConstraintOK) Error() string
- func (o *UpdateSizeImageConstraintOK) GetPayload() *models.V1SizeImageConstraintResponse
- func (o *UpdateSizeImageConstraintOK) IsClientError() bool
- func (o *UpdateSizeImageConstraintOK) IsCode(code int) bool
- func (o *UpdateSizeImageConstraintOK) IsRedirect() bool
- func (o *UpdateSizeImageConstraintOK) IsServerError() bool
- func (o *UpdateSizeImageConstraintOK) IsSuccess() bool
- func (o *UpdateSizeImageConstraintOK) String() string
- type UpdateSizeImageConstraintParams
- func NewUpdateSizeImageConstraintParams() *UpdateSizeImageConstraintParams
- func NewUpdateSizeImageConstraintParamsWithContext(ctx context.Context) *UpdateSizeImageConstraintParams
- func NewUpdateSizeImageConstraintParamsWithHTTPClient(client *http.Client) *UpdateSizeImageConstraintParams
- func NewUpdateSizeImageConstraintParamsWithTimeout(timeout time.Duration) *UpdateSizeImageConstraintParams
- func (o *UpdateSizeImageConstraintParams) SetBody(body *models.V1SizeImageConstraintUpdateRequest)
- func (o *UpdateSizeImageConstraintParams) SetContext(ctx context.Context)
- func (o *UpdateSizeImageConstraintParams) SetDefaults()
- func (o *UpdateSizeImageConstraintParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSizeImageConstraintParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSizeImageConstraintParams) WithBody(body *models.V1SizeImageConstraintUpdateRequest) *UpdateSizeImageConstraintParams
- func (o *UpdateSizeImageConstraintParams) WithContext(ctx context.Context) *UpdateSizeImageConstraintParams
- func (o *UpdateSizeImageConstraintParams) WithDefaults() *UpdateSizeImageConstraintParams
- func (o *UpdateSizeImageConstraintParams) WithHTTPClient(client *http.Client) *UpdateSizeImageConstraintParams
- func (o *UpdateSizeImageConstraintParams) WithTimeout(timeout time.Duration) *UpdateSizeImageConstraintParams
- func (o *UpdateSizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSizeImageConstraintReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for sizeimageconstraint API
func (*Client) CreateSizeImageConstraint ¶
func (a *Client) CreateSizeImageConstraint(params *CreateSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSizeImageConstraintCreated, error)
CreateSizeImageConstraint creates a sizeimageconstraint if the given ID already exists a conflict is returned
func (*Client) DeleteSizeImageConstraint ¶
func (a *Client) DeleteSizeImageConstraint(params *DeleteSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSizeImageConstraintOK, error)
DeleteSizeImageConstraint deletes an sizeimageconstraint and returns the deleted entity
func (*Client) FindSizeImageConstraint ¶
func (a *Client) FindSizeImageConstraint(params *FindSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSizeImageConstraintOK, error)
FindSizeImageConstraint gets sizeimageconstraint by id
func (*Client) ListSizeImageConstraints ¶
func (a *Client) ListSizeImageConstraints(params *ListSizeImageConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSizeImageConstraintsOK, error)
ListSizeImageConstraints gets all sizeimageconstraints
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TrySizeImageConstraint ¶
func (a *Client) TrySizeImageConstraint(params *TrySizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrySizeImageConstraintOK, error)
TrySizeImageConstraint tries if the given combination of image and size is supported and possible to allocate
func (*Client) UpdateSizeImageConstraint ¶
func (a *Client) UpdateSizeImageConstraint(params *UpdateSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSizeImageConstraintOK, error)
UpdateSizeImageConstraint updates a sizeimageconstraint if the sizeimageconstraint was changed since this one was read a conflict is returned
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CreateSizeImageConstraint(params *CreateSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSizeImageConstraintCreated, error) DeleteSizeImageConstraint(params *DeleteSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSizeImageConstraintOK, error) FindSizeImageConstraint(params *FindSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSizeImageConstraintOK, error) ListSizeImageConstraints(params *ListSizeImageConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSizeImageConstraintsOK, error) TrySizeImageConstraint(params *TrySizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrySizeImageConstraintOK, error) UpdateSizeImageConstraint(params *UpdateSizeImageConstraintParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSizeImageConstraintOK, 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 sizeimageconstraint API client.
func NewClientWithBasicAuth ¶ added in v0.32.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new sizeimageconstraint 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 ¶ added in v0.32.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new sizeimageconstraint 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 CreateSizeImageConstraintConflict ¶
type CreateSizeImageConstraintConflict struct {
Payload *httperrors.HTTPErrorResponse
}
CreateSizeImageConstraintConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateSizeImageConstraintConflict ¶
func NewCreateSizeImageConstraintConflict() *CreateSizeImageConstraintConflict
NewCreateSizeImageConstraintConflict creates a CreateSizeImageConstraintConflict with default headers values
func (*CreateSizeImageConstraintConflict) Code ¶ added in v0.22.1
func (o *CreateSizeImageConstraintConflict) Code() int
Code gets the status code for the create size image constraint conflict response
func (*CreateSizeImageConstraintConflict) Error ¶
func (o *CreateSizeImageConstraintConflict) Error() string
func (*CreateSizeImageConstraintConflict) GetPayload ¶
func (o *CreateSizeImageConstraintConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateSizeImageConstraintConflict) IsClientError ¶ added in v0.19.3
func (o *CreateSizeImageConstraintConflict) IsClientError() bool
IsClientError returns true when this create size image constraint conflict response has a 4xx status code
func (*CreateSizeImageConstraintConflict) IsCode ¶ added in v0.19.3
func (o *CreateSizeImageConstraintConflict) IsCode(code int) bool
IsCode returns true when this create size image constraint conflict response a status code equal to that given
func (*CreateSizeImageConstraintConflict) IsRedirect ¶ added in v0.19.3
func (o *CreateSizeImageConstraintConflict) IsRedirect() bool
IsRedirect returns true when this create size image constraint conflict response has a 3xx status code
func (*CreateSizeImageConstraintConflict) IsServerError ¶ added in v0.19.3
func (o *CreateSizeImageConstraintConflict) IsServerError() bool
IsServerError returns true when this create size image constraint conflict response has a 5xx status code
func (*CreateSizeImageConstraintConflict) IsSuccess ¶ added in v0.19.3
func (o *CreateSizeImageConstraintConflict) IsSuccess() bool
IsSuccess returns true when this create size image constraint conflict response has a 2xx status code
func (*CreateSizeImageConstraintConflict) String ¶ added in v0.19.3
func (o *CreateSizeImageConstraintConflict) String() string
type CreateSizeImageConstraintCreated ¶
type CreateSizeImageConstraintCreated struct {
Payload *models.V1SizeImageConstraintResponse
}
CreateSizeImageConstraintCreated describes a response with status code 201, with default header values.
Created
func NewCreateSizeImageConstraintCreated ¶
func NewCreateSizeImageConstraintCreated() *CreateSizeImageConstraintCreated
NewCreateSizeImageConstraintCreated creates a CreateSizeImageConstraintCreated with default headers values
func (*CreateSizeImageConstraintCreated) Code ¶ added in v0.22.1
func (o *CreateSizeImageConstraintCreated) Code() int
Code gets the status code for the create size image constraint created response
func (*CreateSizeImageConstraintCreated) Error ¶
func (o *CreateSizeImageConstraintCreated) Error() string
func (*CreateSizeImageConstraintCreated) GetPayload ¶
func (o *CreateSizeImageConstraintCreated) GetPayload() *models.V1SizeImageConstraintResponse
func (*CreateSizeImageConstraintCreated) IsClientError ¶ added in v0.19.3
func (o *CreateSizeImageConstraintCreated) IsClientError() bool
IsClientError returns true when this create size image constraint created response has a 4xx status code
func (*CreateSizeImageConstraintCreated) IsCode ¶ added in v0.19.3
func (o *CreateSizeImageConstraintCreated) IsCode(code int) bool
IsCode returns true when this create size image constraint created response a status code equal to that given
func (*CreateSizeImageConstraintCreated) IsRedirect ¶ added in v0.19.3
func (o *CreateSizeImageConstraintCreated) IsRedirect() bool
IsRedirect returns true when this create size image constraint created response has a 3xx status code
func (*CreateSizeImageConstraintCreated) IsServerError ¶ added in v0.19.3
func (o *CreateSizeImageConstraintCreated) IsServerError() bool
IsServerError returns true when this create size image constraint created response has a 5xx status code
func (*CreateSizeImageConstraintCreated) IsSuccess ¶ added in v0.19.3
func (o *CreateSizeImageConstraintCreated) IsSuccess() bool
IsSuccess returns true when this create size image constraint created response has a 2xx status code
func (*CreateSizeImageConstraintCreated) String ¶ added in v0.19.3
func (o *CreateSizeImageConstraintCreated) String() string
type CreateSizeImageConstraintDefault ¶
type CreateSizeImageConstraintDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CreateSizeImageConstraintDefault describes a response with status code -1, with default header values.
Error
func NewCreateSizeImageConstraintDefault ¶
func NewCreateSizeImageConstraintDefault(code int) *CreateSizeImageConstraintDefault
NewCreateSizeImageConstraintDefault creates a CreateSizeImageConstraintDefault with default headers values
func (*CreateSizeImageConstraintDefault) Code ¶
func (o *CreateSizeImageConstraintDefault) Code() int
Code gets the status code for the create size image constraint default response
func (*CreateSizeImageConstraintDefault) Error ¶
func (o *CreateSizeImageConstraintDefault) Error() string
func (*CreateSizeImageConstraintDefault) GetPayload ¶
func (o *CreateSizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateSizeImageConstraintDefault) IsClientError ¶ added in v0.19.3
func (o *CreateSizeImageConstraintDefault) IsClientError() bool
IsClientError returns true when this create size image constraint default response has a 4xx status code
func (*CreateSizeImageConstraintDefault) IsCode ¶ added in v0.19.3
func (o *CreateSizeImageConstraintDefault) IsCode(code int) bool
IsCode returns true when this create size image constraint default response a status code equal to that given
func (*CreateSizeImageConstraintDefault) IsRedirect ¶ added in v0.19.3
func (o *CreateSizeImageConstraintDefault) IsRedirect() bool
IsRedirect returns true when this create size image constraint default response has a 3xx status code
func (*CreateSizeImageConstraintDefault) IsServerError ¶ added in v0.19.3
func (o *CreateSizeImageConstraintDefault) IsServerError() bool
IsServerError returns true when this create size image constraint default response has a 5xx status code
func (*CreateSizeImageConstraintDefault) IsSuccess ¶ added in v0.19.3
func (o *CreateSizeImageConstraintDefault) IsSuccess() bool
IsSuccess returns true when this create size image constraint default response has a 2xx status code
func (*CreateSizeImageConstraintDefault) String ¶ added in v0.19.3
func (o *CreateSizeImageConstraintDefault) String() string
type CreateSizeImageConstraintParams ¶
type CreateSizeImageConstraintParams struct { // Body. Body *models.V1SizeImageConstraintCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSizeImageConstraintParams contains all the parameters to send to the API endpoint
for the create size image constraint operation. Typically these are written to a http.Request.
func NewCreateSizeImageConstraintParams ¶
func NewCreateSizeImageConstraintParams() *CreateSizeImageConstraintParams
NewCreateSizeImageConstraintParams creates a new CreateSizeImageConstraintParams 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 NewCreateSizeImageConstraintParamsWithContext ¶
func NewCreateSizeImageConstraintParamsWithContext(ctx context.Context) *CreateSizeImageConstraintParams
NewCreateSizeImageConstraintParamsWithContext creates a new CreateSizeImageConstraintParams object with the ability to set a context for a request.
func NewCreateSizeImageConstraintParamsWithHTTPClient ¶
func NewCreateSizeImageConstraintParamsWithHTTPClient(client *http.Client) *CreateSizeImageConstraintParams
NewCreateSizeImageConstraintParamsWithHTTPClient creates a new CreateSizeImageConstraintParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSizeImageConstraintParamsWithTimeout ¶
func NewCreateSizeImageConstraintParamsWithTimeout(timeout time.Duration) *CreateSizeImageConstraintParams
NewCreateSizeImageConstraintParamsWithTimeout creates a new CreateSizeImageConstraintParams object with the ability to set a timeout on a request.
func (*CreateSizeImageConstraintParams) SetBody ¶
func (o *CreateSizeImageConstraintParams) SetBody(body *models.V1SizeImageConstraintCreateRequest)
SetBody adds the body to the create size image constraint params
func (*CreateSizeImageConstraintParams) SetContext ¶
func (o *CreateSizeImageConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the create size image constraint params
func (*CreateSizeImageConstraintParams) SetDefaults ¶
func (o *CreateSizeImageConstraintParams) SetDefaults()
SetDefaults hydrates default values in the create size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSizeImageConstraintParams) SetHTTPClient ¶
func (o *CreateSizeImageConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create size image constraint params
func (*CreateSizeImageConstraintParams) SetTimeout ¶
func (o *CreateSizeImageConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create size image constraint params
func (*CreateSizeImageConstraintParams) WithBody ¶
func (o *CreateSizeImageConstraintParams) WithBody(body *models.V1SizeImageConstraintCreateRequest) *CreateSizeImageConstraintParams
WithBody adds the body to the create size image constraint params
func (*CreateSizeImageConstraintParams) WithContext ¶
func (o *CreateSizeImageConstraintParams) WithContext(ctx context.Context) *CreateSizeImageConstraintParams
WithContext adds the context to the create size image constraint params
func (*CreateSizeImageConstraintParams) WithDefaults ¶
func (o *CreateSizeImageConstraintParams) WithDefaults() *CreateSizeImageConstraintParams
WithDefaults hydrates default values in the create size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSizeImageConstraintParams) WithHTTPClient ¶
func (o *CreateSizeImageConstraintParams) WithHTTPClient(client *http.Client) *CreateSizeImageConstraintParams
WithHTTPClient adds the HTTPClient to the create size image constraint params
func (*CreateSizeImageConstraintParams) WithTimeout ¶
func (o *CreateSizeImageConstraintParams) WithTimeout(timeout time.Duration) *CreateSizeImageConstraintParams
WithTimeout adds the timeout to the create size image constraint params
func (*CreateSizeImageConstraintParams) WriteToRequest ¶
func (o *CreateSizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSizeImageConstraintReader ¶
type CreateSizeImageConstraintReader struct {
// contains filtered or unexported fields
}
CreateSizeImageConstraintReader is a Reader for the CreateSizeImageConstraint structure.
func (*CreateSizeImageConstraintReader) ReadResponse ¶
func (o *CreateSizeImageConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSizeImageConstraintDefault ¶
type DeleteSizeImageConstraintDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteSizeImageConstraintDefault describes a response with status code -1, with default header values.
Error
func NewDeleteSizeImageConstraintDefault ¶
func NewDeleteSizeImageConstraintDefault(code int) *DeleteSizeImageConstraintDefault
NewDeleteSizeImageConstraintDefault creates a DeleteSizeImageConstraintDefault with default headers values
func (*DeleteSizeImageConstraintDefault) Code ¶
func (o *DeleteSizeImageConstraintDefault) Code() int
Code gets the status code for the delete size image constraint default response
func (*DeleteSizeImageConstraintDefault) Error ¶
func (o *DeleteSizeImageConstraintDefault) Error() string
func (*DeleteSizeImageConstraintDefault) GetPayload ¶
func (o *DeleteSizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteSizeImageConstraintDefault) IsClientError ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintDefault) IsClientError() bool
IsClientError returns true when this delete size image constraint default response has a 4xx status code
func (*DeleteSizeImageConstraintDefault) IsCode ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintDefault) IsCode(code int) bool
IsCode returns true when this delete size image constraint default response a status code equal to that given
func (*DeleteSizeImageConstraintDefault) IsRedirect ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintDefault) IsRedirect() bool
IsRedirect returns true when this delete size image constraint default response has a 3xx status code
func (*DeleteSizeImageConstraintDefault) IsServerError ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintDefault) IsServerError() bool
IsServerError returns true when this delete size image constraint default response has a 5xx status code
func (*DeleteSizeImageConstraintDefault) IsSuccess ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintDefault) IsSuccess() bool
IsSuccess returns true when this delete size image constraint default response has a 2xx status code
func (*DeleteSizeImageConstraintDefault) String ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintDefault) String() string
type DeleteSizeImageConstraintOK ¶
type DeleteSizeImageConstraintOK struct {
Payload *models.V1SizeImageConstraintResponse
}
DeleteSizeImageConstraintOK describes a response with status code 200, with default header values.
OK
func NewDeleteSizeImageConstraintOK ¶
func NewDeleteSizeImageConstraintOK() *DeleteSizeImageConstraintOK
NewDeleteSizeImageConstraintOK creates a DeleteSizeImageConstraintOK with default headers values
func (*DeleteSizeImageConstraintOK) Code ¶ added in v0.22.1
func (o *DeleteSizeImageConstraintOK) Code() int
Code gets the status code for the delete size image constraint o k response
func (*DeleteSizeImageConstraintOK) Error ¶
func (o *DeleteSizeImageConstraintOK) Error() string
func (*DeleteSizeImageConstraintOK) GetPayload ¶
func (o *DeleteSizeImageConstraintOK) GetPayload() *models.V1SizeImageConstraintResponse
func (*DeleteSizeImageConstraintOK) IsClientError ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintOK) IsClientError() bool
IsClientError returns true when this delete size image constraint o k response has a 4xx status code
func (*DeleteSizeImageConstraintOK) IsCode ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintOK) IsCode(code int) bool
IsCode returns true when this delete size image constraint o k response a status code equal to that given
func (*DeleteSizeImageConstraintOK) IsRedirect ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintOK) IsRedirect() bool
IsRedirect returns true when this delete size image constraint o k response has a 3xx status code
func (*DeleteSizeImageConstraintOK) IsServerError ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintOK) IsServerError() bool
IsServerError returns true when this delete size image constraint o k response has a 5xx status code
func (*DeleteSizeImageConstraintOK) IsSuccess ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintOK) IsSuccess() bool
IsSuccess returns true when this delete size image constraint o k response has a 2xx status code
func (*DeleteSizeImageConstraintOK) String ¶ added in v0.19.3
func (o *DeleteSizeImageConstraintOK) String() string
type DeleteSizeImageConstraintParams ¶
type DeleteSizeImageConstraintParams struct { /* ID. identifier of the size */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSizeImageConstraintParams contains all the parameters to send to the API endpoint
for the delete size image constraint operation. Typically these are written to a http.Request.
func NewDeleteSizeImageConstraintParams ¶
func NewDeleteSizeImageConstraintParams() *DeleteSizeImageConstraintParams
NewDeleteSizeImageConstraintParams creates a new DeleteSizeImageConstraintParams 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 NewDeleteSizeImageConstraintParamsWithContext ¶
func NewDeleteSizeImageConstraintParamsWithContext(ctx context.Context) *DeleteSizeImageConstraintParams
NewDeleteSizeImageConstraintParamsWithContext creates a new DeleteSizeImageConstraintParams object with the ability to set a context for a request.
func NewDeleteSizeImageConstraintParamsWithHTTPClient ¶
func NewDeleteSizeImageConstraintParamsWithHTTPClient(client *http.Client) *DeleteSizeImageConstraintParams
NewDeleteSizeImageConstraintParamsWithHTTPClient creates a new DeleteSizeImageConstraintParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSizeImageConstraintParamsWithTimeout ¶
func NewDeleteSizeImageConstraintParamsWithTimeout(timeout time.Duration) *DeleteSizeImageConstraintParams
NewDeleteSizeImageConstraintParamsWithTimeout creates a new DeleteSizeImageConstraintParams object with the ability to set a timeout on a request.
func (*DeleteSizeImageConstraintParams) SetContext ¶
func (o *DeleteSizeImageConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the delete size image constraint params
func (*DeleteSizeImageConstraintParams) SetDefaults ¶
func (o *DeleteSizeImageConstraintParams) SetDefaults()
SetDefaults hydrates default values in the delete size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSizeImageConstraintParams) SetHTTPClient ¶
func (o *DeleteSizeImageConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete size image constraint params
func (*DeleteSizeImageConstraintParams) SetID ¶
func (o *DeleteSizeImageConstraintParams) SetID(id string)
SetID adds the id to the delete size image constraint params
func (*DeleteSizeImageConstraintParams) SetTimeout ¶
func (o *DeleteSizeImageConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete size image constraint params
func (*DeleteSizeImageConstraintParams) WithContext ¶
func (o *DeleteSizeImageConstraintParams) WithContext(ctx context.Context) *DeleteSizeImageConstraintParams
WithContext adds the context to the delete size image constraint params
func (*DeleteSizeImageConstraintParams) WithDefaults ¶
func (o *DeleteSizeImageConstraintParams) WithDefaults() *DeleteSizeImageConstraintParams
WithDefaults hydrates default values in the delete size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSizeImageConstraintParams) WithHTTPClient ¶
func (o *DeleteSizeImageConstraintParams) WithHTTPClient(client *http.Client) *DeleteSizeImageConstraintParams
WithHTTPClient adds the HTTPClient to the delete size image constraint params
func (*DeleteSizeImageConstraintParams) WithID ¶
func (o *DeleteSizeImageConstraintParams) WithID(id string) *DeleteSizeImageConstraintParams
WithID adds the id to the delete size image constraint params
func (*DeleteSizeImageConstraintParams) WithTimeout ¶
func (o *DeleteSizeImageConstraintParams) WithTimeout(timeout time.Duration) *DeleteSizeImageConstraintParams
WithTimeout adds the timeout to the delete size image constraint params
func (*DeleteSizeImageConstraintParams) WriteToRequest ¶
func (o *DeleteSizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSizeImageConstraintReader ¶
type DeleteSizeImageConstraintReader struct {
// contains filtered or unexported fields
}
DeleteSizeImageConstraintReader is a Reader for the DeleteSizeImageConstraint structure.
func (*DeleteSizeImageConstraintReader) ReadResponse ¶
func (o *DeleteSizeImageConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindSizeImageConstraintDefault ¶
type FindSizeImageConstraintDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindSizeImageConstraintDefault describes a response with status code -1, with default header values.
Error
func NewFindSizeImageConstraintDefault ¶
func NewFindSizeImageConstraintDefault(code int) *FindSizeImageConstraintDefault
NewFindSizeImageConstraintDefault creates a FindSizeImageConstraintDefault with default headers values
func (*FindSizeImageConstraintDefault) Code ¶
func (o *FindSizeImageConstraintDefault) Code() int
Code gets the status code for the find size image constraint default response
func (*FindSizeImageConstraintDefault) Error ¶
func (o *FindSizeImageConstraintDefault) Error() string
func (*FindSizeImageConstraintDefault) GetPayload ¶
func (o *FindSizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindSizeImageConstraintDefault) IsClientError ¶ added in v0.19.3
func (o *FindSizeImageConstraintDefault) IsClientError() bool
IsClientError returns true when this find size image constraint default response has a 4xx status code
func (*FindSizeImageConstraintDefault) IsCode ¶ added in v0.19.3
func (o *FindSizeImageConstraintDefault) IsCode(code int) bool
IsCode returns true when this find size image constraint default response a status code equal to that given
func (*FindSizeImageConstraintDefault) IsRedirect ¶ added in v0.19.3
func (o *FindSizeImageConstraintDefault) IsRedirect() bool
IsRedirect returns true when this find size image constraint default response has a 3xx status code
func (*FindSizeImageConstraintDefault) IsServerError ¶ added in v0.19.3
func (o *FindSizeImageConstraintDefault) IsServerError() bool
IsServerError returns true when this find size image constraint default response has a 5xx status code
func (*FindSizeImageConstraintDefault) IsSuccess ¶ added in v0.19.3
func (o *FindSizeImageConstraintDefault) IsSuccess() bool
IsSuccess returns true when this find size image constraint default response has a 2xx status code
func (*FindSizeImageConstraintDefault) String ¶ added in v0.19.3
func (o *FindSizeImageConstraintDefault) String() string
type FindSizeImageConstraintOK ¶
type FindSizeImageConstraintOK struct {
Payload *models.V1SizeImageConstraintResponse
}
FindSizeImageConstraintOK describes a response with status code 200, with default header values.
OK
func NewFindSizeImageConstraintOK ¶
func NewFindSizeImageConstraintOK() *FindSizeImageConstraintOK
NewFindSizeImageConstraintOK creates a FindSizeImageConstraintOK with default headers values
func (*FindSizeImageConstraintOK) Code ¶ added in v0.22.1
func (o *FindSizeImageConstraintOK) Code() int
Code gets the status code for the find size image constraint o k response
func (*FindSizeImageConstraintOK) Error ¶
func (o *FindSizeImageConstraintOK) Error() string
func (*FindSizeImageConstraintOK) GetPayload ¶
func (o *FindSizeImageConstraintOK) GetPayload() *models.V1SizeImageConstraintResponse
func (*FindSizeImageConstraintOK) IsClientError ¶ added in v0.19.3
func (o *FindSizeImageConstraintOK) IsClientError() bool
IsClientError returns true when this find size image constraint o k response has a 4xx status code
func (*FindSizeImageConstraintOK) IsCode ¶ added in v0.19.3
func (o *FindSizeImageConstraintOK) IsCode(code int) bool
IsCode returns true when this find size image constraint o k response a status code equal to that given
func (*FindSizeImageConstraintOK) IsRedirect ¶ added in v0.19.3
func (o *FindSizeImageConstraintOK) IsRedirect() bool
IsRedirect returns true when this find size image constraint o k response has a 3xx status code
func (*FindSizeImageConstraintOK) IsServerError ¶ added in v0.19.3
func (o *FindSizeImageConstraintOK) IsServerError() bool
IsServerError returns true when this find size image constraint o k response has a 5xx status code
func (*FindSizeImageConstraintOK) IsSuccess ¶ added in v0.19.3
func (o *FindSizeImageConstraintOK) IsSuccess() bool
IsSuccess returns true when this find size image constraint o k response has a 2xx status code
func (*FindSizeImageConstraintOK) String ¶ added in v0.19.3
func (o *FindSizeImageConstraintOK) String() string
type FindSizeImageConstraintParams ¶
type FindSizeImageConstraintParams struct { /* ID. identifier of the sizeimageconstraint */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindSizeImageConstraintParams contains all the parameters to send to the API endpoint
for the find size image constraint operation. Typically these are written to a http.Request.
func NewFindSizeImageConstraintParams ¶
func NewFindSizeImageConstraintParams() *FindSizeImageConstraintParams
NewFindSizeImageConstraintParams creates a new FindSizeImageConstraintParams 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 NewFindSizeImageConstraintParamsWithContext ¶
func NewFindSizeImageConstraintParamsWithContext(ctx context.Context) *FindSizeImageConstraintParams
NewFindSizeImageConstraintParamsWithContext creates a new FindSizeImageConstraintParams object with the ability to set a context for a request.
func NewFindSizeImageConstraintParamsWithHTTPClient ¶
func NewFindSizeImageConstraintParamsWithHTTPClient(client *http.Client) *FindSizeImageConstraintParams
NewFindSizeImageConstraintParamsWithHTTPClient creates a new FindSizeImageConstraintParams object with the ability to set a custom HTTPClient for a request.
func NewFindSizeImageConstraintParamsWithTimeout ¶
func NewFindSizeImageConstraintParamsWithTimeout(timeout time.Duration) *FindSizeImageConstraintParams
NewFindSizeImageConstraintParamsWithTimeout creates a new FindSizeImageConstraintParams object with the ability to set a timeout on a request.
func (*FindSizeImageConstraintParams) SetContext ¶
func (o *FindSizeImageConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the find size image constraint params
func (*FindSizeImageConstraintParams) SetDefaults ¶
func (o *FindSizeImageConstraintParams) SetDefaults()
SetDefaults hydrates default values in the find size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*FindSizeImageConstraintParams) SetHTTPClient ¶
func (o *FindSizeImageConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find size image constraint params
func (*FindSizeImageConstraintParams) SetID ¶
func (o *FindSizeImageConstraintParams) SetID(id string)
SetID adds the id to the find size image constraint params
func (*FindSizeImageConstraintParams) SetTimeout ¶
func (o *FindSizeImageConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find size image constraint params
func (*FindSizeImageConstraintParams) WithContext ¶
func (o *FindSizeImageConstraintParams) WithContext(ctx context.Context) *FindSizeImageConstraintParams
WithContext adds the context to the find size image constraint params
func (*FindSizeImageConstraintParams) WithDefaults ¶
func (o *FindSizeImageConstraintParams) WithDefaults() *FindSizeImageConstraintParams
WithDefaults hydrates default values in the find size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*FindSizeImageConstraintParams) WithHTTPClient ¶
func (o *FindSizeImageConstraintParams) WithHTTPClient(client *http.Client) *FindSizeImageConstraintParams
WithHTTPClient adds the HTTPClient to the find size image constraint params
func (*FindSizeImageConstraintParams) WithID ¶
func (o *FindSizeImageConstraintParams) WithID(id string) *FindSizeImageConstraintParams
WithID adds the id to the find size image constraint params
func (*FindSizeImageConstraintParams) WithTimeout ¶
func (o *FindSizeImageConstraintParams) WithTimeout(timeout time.Duration) *FindSizeImageConstraintParams
WithTimeout adds the timeout to the find size image constraint params
func (*FindSizeImageConstraintParams) WriteToRequest ¶
func (o *FindSizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindSizeImageConstraintReader ¶
type FindSizeImageConstraintReader struct {
// contains filtered or unexported fields
}
FindSizeImageConstraintReader is a Reader for the FindSizeImageConstraint structure.
func (*FindSizeImageConstraintReader) ReadResponse ¶
func (o *FindSizeImageConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSizeImageConstraintsDefault ¶
type ListSizeImageConstraintsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListSizeImageConstraintsDefault describes a response with status code -1, with default header values.
Error
func NewListSizeImageConstraintsDefault ¶
func NewListSizeImageConstraintsDefault(code int) *ListSizeImageConstraintsDefault
NewListSizeImageConstraintsDefault creates a ListSizeImageConstraintsDefault with default headers values
func (*ListSizeImageConstraintsDefault) Code ¶
func (o *ListSizeImageConstraintsDefault) Code() int
Code gets the status code for the list size image constraints default response
func (*ListSizeImageConstraintsDefault) Error ¶
func (o *ListSizeImageConstraintsDefault) Error() string
func (*ListSizeImageConstraintsDefault) GetPayload ¶
func (o *ListSizeImageConstraintsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListSizeImageConstraintsDefault) IsClientError ¶ added in v0.19.3
func (o *ListSizeImageConstraintsDefault) IsClientError() bool
IsClientError returns true when this list size image constraints default response has a 4xx status code
func (*ListSizeImageConstraintsDefault) IsCode ¶ added in v0.19.3
func (o *ListSizeImageConstraintsDefault) IsCode(code int) bool
IsCode returns true when this list size image constraints default response a status code equal to that given
func (*ListSizeImageConstraintsDefault) IsRedirect ¶ added in v0.19.3
func (o *ListSizeImageConstraintsDefault) IsRedirect() bool
IsRedirect returns true when this list size image constraints default response has a 3xx status code
func (*ListSizeImageConstraintsDefault) IsServerError ¶ added in v0.19.3
func (o *ListSizeImageConstraintsDefault) IsServerError() bool
IsServerError returns true when this list size image constraints default response has a 5xx status code
func (*ListSizeImageConstraintsDefault) IsSuccess ¶ added in v0.19.3
func (o *ListSizeImageConstraintsDefault) IsSuccess() bool
IsSuccess returns true when this list size image constraints default response has a 2xx status code
func (*ListSizeImageConstraintsDefault) String ¶ added in v0.19.3
func (o *ListSizeImageConstraintsDefault) String() string
type ListSizeImageConstraintsOK ¶
type ListSizeImageConstraintsOK struct {
Payload []*models.V1SizeImageConstraintResponse
}
ListSizeImageConstraintsOK describes a response with status code 200, with default header values.
OK
func NewListSizeImageConstraintsOK ¶
func NewListSizeImageConstraintsOK() *ListSizeImageConstraintsOK
NewListSizeImageConstraintsOK creates a ListSizeImageConstraintsOK with default headers values
func (*ListSizeImageConstraintsOK) Code ¶ added in v0.22.1
func (o *ListSizeImageConstraintsOK) Code() int
Code gets the status code for the list size image constraints o k response
func (*ListSizeImageConstraintsOK) Error ¶
func (o *ListSizeImageConstraintsOK) Error() string
func (*ListSizeImageConstraintsOK) GetPayload ¶
func (o *ListSizeImageConstraintsOK) GetPayload() []*models.V1SizeImageConstraintResponse
func (*ListSizeImageConstraintsOK) IsClientError ¶ added in v0.19.3
func (o *ListSizeImageConstraintsOK) IsClientError() bool
IsClientError returns true when this list size image constraints o k response has a 4xx status code
func (*ListSizeImageConstraintsOK) IsCode ¶ added in v0.19.3
func (o *ListSizeImageConstraintsOK) IsCode(code int) bool
IsCode returns true when this list size image constraints o k response a status code equal to that given
func (*ListSizeImageConstraintsOK) IsRedirect ¶ added in v0.19.3
func (o *ListSizeImageConstraintsOK) IsRedirect() bool
IsRedirect returns true when this list size image constraints o k response has a 3xx status code
func (*ListSizeImageConstraintsOK) IsServerError ¶ added in v0.19.3
func (o *ListSizeImageConstraintsOK) IsServerError() bool
IsServerError returns true when this list size image constraints o k response has a 5xx status code
func (*ListSizeImageConstraintsOK) IsSuccess ¶ added in v0.19.3
func (o *ListSizeImageConstraintsOK) IsSuccess() bool
IsSuccess returns true when this list size image constraints o k response has a 2xx status code
func (*ListSizeImageConstraintsOK) String ¶ added in v0.19.3
func (o *ListSizeImageConstraintsOK) String() string
type ListSizeImageConstraintsParams ¶
type ListSizeImageConstraintsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSizeImageConstraintsParams contains all the parameters to send to the API endpoint
for the list size image constraints operation. Typically these are written to a http.Request.
func NewListSizeImageConstraintsParams ¶
func NewListSizeImageConstraintsParams() *ListSizeImageConstraintsParams
NewListSizeImageConstraintsParams creates a new ListSizeImageConstraintsParams 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 NewListSizeImageConstraintsParamsWithContext ¶
func NewListSizeImageConstraintsParamsWithContext(ctx context.Context) *ListSizeImageConstraintsParams
NewListSizeImageConstraintsParamsWithContext creates a new ListSizeImageConstraintsParams object with the ability to set a context for a request.
func NewListSizeImageConstraintsParamsWithHTTPClient ¶
func NewListSizeImageConstraintsParamsWithHTTPClient(client *http.Client) *ListSizeImageConstraintsParams
NewListSizeImageConstraintsParamsWithHTTPClient creates a new ListSizeImageConstraintsParams object with the ability to set a custom HTTPClient for a request.
func NewListSizeImageConstraintsParamsWithTimeout ¶
func NewListSizeImageConstraintsParamsWithTimeout(timeout time.Duration) *ListSizeImageConstraintsParams
NewListSizeImageConstraintsParamsWithTimeout creates a new ListSizeImageConstraintsParams object with the ability to set a timeout on a request.
func (*ListSizeImageConstraintsParams) SetContext ¶
func (o *ListSizeImageConstraintsParams) SetContext(ctx context.Context)
SetContext adds the context to the list size image constraints params
func (*ListSizeImageConstraintsParams) SetDefaults ¶
func (o *ListSizeImageConstraintsParams) SetDefaults()
SetDefaults hydrates default values in the list size image constraints params (not the query body).
All values with no default are reset to their zero value.
func (*ListSizeImageConstraintsParams) SetHTTPClient ¶
func (o *ListSizeImageConstraintsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list size image constraints params
func (*ListSizeImageConstraintsParams) SetTimeout ¶
func (o *ListSizeImageConstraintsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list size image constraints params
func (*ListSizeImageConstraintsParams) WithContext ¶
func (o *ListSizeImageConstraintsParams) WithContext(ctx context.Context) *ListSizeImageConstraintsParams
WithContext adds the context to the list size image constraints params
func (*ListSizeImageConstraintsParams) WithDefaults ¶
func (o *ListSizeImageConstraintsParams) WithDefaults() *ListSizeImageConstraintsParams
WithDefaults hydrates default values in the list size image constraints params (not the query body).
All values with no default are reset to their zero value.
func (*ListSizeImageConstraintsParams) WithHTTPClient ¶
func (o *ListSizeImageConstraintsParams) WithHTTPClient(client *http.Client) *ListSizeImageConstraintsParams
WithHTTPClient adds the HTTPClient to the list size image constraints params
func (*ListSizeImageConstraintsParams) WithTimeout ¶
func (o *ListSizeImageConstraintsParams) WithTimeout(timeout time.Duration) *ListSizeImageConstraintsParams
WithTimeout adds the timeout to the list size image constraints params
func (*ListSizeImageConstraintsParams) WriteToRequest ¶
func (o *ListSizeImageConstraintsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSizeImageConstraintsReader ¶
type ListSizeImageConstraintsReader struct {
// contains filtered or unexported fields
}
ListSizeImageConstraintsReader is a Reader for the ListSizeImageConstraints structure.
func (*ListSizeImageConstraintsReader) ReadResponse ¶
func (o *ListSizeImageConstraintsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TrySizeImageConstraintDefault ¶
type TrySizeImageConstraintDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
TrySizeImageConstraintDefault describes a response with status code -1, with default header values.
Error
func NewTrySizeImageConstraintDefault ¶
func NewTrySizeImageConstraintDefault(code int) *TrySizeImageConstraintDefault
NewTrySizeImageConstraintDefault creates a TrySizeImageConstraintDefault with default headers values
func (*TrySizeImageConstraintDefault) Code ¶
func (o *TrySizeImageConstraintDefault) Code() int
Code gets the status code for the try size image constraint default response
func (*TrySizeImageConstraintDefault) Error ¶
func (o *TrySizeImageConstraintDefault) Error() string
func (*TrySizeImageConstraintDefault) GetPayload ¶
func (o *TrySizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*TrySizeImageConstraintDefault) IsClientError ¶ added in v0.19.3
func (o *TrySizeImageConstraintDefault) IsClientError() bool
IsClientError returns true when this try size image constraint default response has a 4xx status code
func (*TrySizeImageConstraintDefault) IsCode ¶ added in v0.19.3
func (o *TrySizeImageConstraintDefault) IsCode(code int) bool
IsCode returns true when this try size image constraint default response a status code equal to that given
func (*TrySizeImageConstraintDefault) IsRedirect ¶ added in v0.19.3
func (o *TrySizeImageConstraintDefault) IsRedirect() bool
IsRedirect returns true when this try size image constraint default response has a 3xx status code
func (*TrySizeImageConstraintDefault) IsServerError ¶ added in v0.19.3
func (o *TrySizeImageConstraintDefault) IsServerError() bool
IsServerError returns true when this try size image constraint default response has a 5xx status code
func (*TrySizeImageConstraintDefault) IsSuccess ¶ added in v0.19.3
func (o *TrySizeImageConstraintDefault) IsSuccess() bool
IsSuccess returns true when this try size image constraint default response has a 2xx status code
func (*TrySizeImageConstraintDefault) String ¶ added in v0.19.3
func (o *TrySizeImageConstraintDefault) String() string
type TrySizeImageConstraintOK ¶
type TrySizeImageConstraintOK struct {
Payload models.V1EmptyBody
}
TrySizeImageConstraintOK describes a response with status code 200, with default header values.
OK
func NewTrySizeImageConstraintOK ¶
func NewTrySizeImageConstraintOK() *TrySizeImageConstraintOK
NewTrySizeImageConstraintOK creates a TrySizeImageConstraintOK with default headers values
func (*TrySizeImageConstraintOK) Code ¶ added in v0.22.1
func (o *TrySizeImageConstraintOK) Code() int
Code gets the status code for the try size image constraint o k response
func (*TrySizeImageConstraintOK) Error ¶
func (o *TrySizeImageConstraintOK) Error() string
func (*TrySizeImageConstraintOK) GetPayload ¶
func (o *TrySizeImageConstraintOK) GetPayload() models.V1EmptyBody
func (*TrySizeImageConstraintOK) IsClientError ¶ added in v0.19.3
func (o *TrySizeImageConstraintOK) IsClientError() bool
IsClientError returns true when this try size image constraint o k response has a 4xx status code
func (*TrySizeImageConstraintOK) IsCode ¶ added in v0.19.3
func (o *TrySizeImageConstraintOK) IsCode(code int) bool
IsCode returns true when this try size image constraint o k response a status code equal to that given
func (*TrySizeImageConstraintOK) IsRedirect ¶ added in v0.19.3
func (o *TrySizeImageConstraintOK) IsRedirect() bool
IsRedirect returns true when this try size image constraint o k response has a 3xx status code
func (*TrySizeImageConstraintOK) IsServerError ¶ added in v0.19.3
func (o *TrySizeImageConstraintOK) IsServerError() bool
IsServerError returns true when this try size image constraint o k response has a 5xx status code
func (*TrySizeImageConstraintOK) IsSuccess ¶ added in v0.19.3
func (o *TrySizeImageConstraintOK) IsSuccess() bool
IsSuccess returns true when this try size image constraint o k response has a 2xx status code
func (*TrySizeImageConstraintOK) String ¶ added in v0.19.3
func (o *TrySizeImageConstraintOK) String() string
type TrySizeImageConstraintParams ¶
type TrySizeImageConstraintParams struct { // Body. Body *models.V1SizeImageConstraintTryRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TrySizeImageConstraintParams contains all the parameters to send to the API endpoint
for the try size image constraint operation. Typically these are written to a http.Request.
func NewTrySizeImageConstraintParams ¶
func NewTrySizeImageConstraintParams() *TrySizeImageConstraintParams
NewTrySizeImageConstraintParams creates a new TrySizeImageConstraintParams 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 NewTrySizeImageConstraintParamsWithContext ¶
func NewTrySizeImageConstraintParamsWithContext(ctx context.Context) *TrySizeImageConstraintParams
NewTrySizeImageConstraintParamsWithContext creates a new TrySizeImageConstraintParams object with the ability to set a context for a request.
func NewTrySizeImageConstraintParamsWithHTTPClient ¶
func NewTrySizeImageConstraintParamsWithHTTPClient(client *http.Client) *TrySizeImageConstraintParams
NewTrySizeImageConstraintParamsWithHTTPClient creates a new TrySizeImageConstraintParams object with the ability to set a custom HTTPClient for a request.
func NewTrySizeImageConstraintParamsWithTimeout ¶
func NewTrySizeImageConstraintParamsWithTimeout(timeout time.Duration) *TrySizeImageConstraintParams
NewTrySizeImageConstraintParamsWithTimeout creates a new TrySizeImageConstraintParams object with the ability to set a timeout on a request.
func (*TrySizeImageConstraintParams) SetBody ¶
func (o *TrySizeImageConstraintParams) SetBody(body *models.V1SizeImageConstraintTryRequest)
SetBody adds the body to the try size image constraint params
func (*TrySizeImageConstraintParams) SetContext ¶
func (o *TrySizeImageConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the try size image constraint params
func (*TrySizeImageConstraintParams) SetDefaults ¶
func (o *TrySizeImageConstraintParams) SetDefaults()
SetDefaults hydrates default values in the try size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*TrySizeImageConstraintParams) SetHTTPClient ¶
func (o *TrySizeImageConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the try size image constraint params
func (*TrySizeImageConstraintParams) SetTimeout ¶
func (o *TrySizeImageConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the try size image constraint params
func (*TrySizeImageConstraintParams) WithBody ¶
func (o *TrySizeImageConstraintParams) WithBody(body *models.V1SizeImageConstraintTryRequest) *TrySizeImageConstraintParams
WithBody adds the body to the try size image constraint params
func (*TrySizeImageConstraintParams) WithContext ¶
func (o *TrySizeImageConstraintParams) WithContext(ctx context.Context) *TrySizeImageConstraintParams
WithContext adds the context to the try size image constraint params
func (*TrySizeImageConstraintParams) WithDefaults ¶
func (o *TrySizeImageConstraintParams) WithDefaults() *TrySizeImageConstraintParams
WithDefaults hydrates default values in the try size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*TrySizeImageConstraintParams) WithHTTPClient ¶
func (o *TrySizeImageConstraintParams) WithHTTPClient(client *http.Client) *TrySizeImageConstraintParams
WithHTTPClient adds the HTTPClient to the try size image constraint params
func (*TrySizeImageConstraintParams) WithTimeout ¶
func (o *TrySizeImageConstraintParams) WithTimeout(timeout time.Duration) *TrySizeImageConstraintParams
WithTimeout adds the timeout to the try size image constraint params
func (*TrySizeImageConstraintParams) WriteToRequest ¶
func (o *TrySizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TrySizeImageConstraintReader ¶
type TrySizeImageConstraintReader struct {
// contains filtered or unexported fields
}
TrySizeImageConstraintReader is a Reader for the TrySizeImageConstraint structure.
func (*TrySizeImageConstraintReader) ReadResponse ¶
func (o *TrySizeImageConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSizeImageConstraintConflict ¶
type UpdateSizeImageConstraintConflict struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateSizeImageConstraintConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateSizeImageConstraintConflict ¶
func NewUpdateSizeImageConstraintConflict() *UpdateSizeImageConstraintConflict
NewUpdateSizeImageConstraintConflict creates a UpdateSizeImageConstraintConflict with default headers values
func (*UpdateSizeImageConstraintConflict) Code ¶ added in v0.22.1
func (o *UpdateSizeImageConstraintConflict) Code() int
Code gets the status code for the update size image constraint conflict response
func (*UpdateSizeImageConstraintConflict) Error ¶
func (o *UpdateSizeImageConstraintConflict) Error() string
func (*UpdateSizeImageConstraintConflict) GetPayload ¶
func (o *UpdateSizeImageConstraintConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateSizeImageConstraintConflict) IsClientError ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintConflict) IsClientError() bool
IsClientError returns true when this update size image constraint conflict response has a 4xx status code
func (*UpdateSizeImageConstraintConflict) IsCode ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintConflict) IsCode(code int) bool
IsCode returns true when this update size image constraint conflict response a status code equal to that given
func (*UpdateSizeImageConstraintConflict) IsRedirect ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintConflict) IsRedirect() bool
IsRedirect returns true when this update size image constraint conflict response has a 3xx status code
func (*UpdateSizeImageConstraintConflict) IsServerError ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintConflict) IsServerError() bool
IsServerError returns true when this update size image constraint conflict response has a 5xx status code
func (*UpdateSizeImageConstraintConflict) IsSuccess ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintConflict) IsSuccess() bool
IsSuccess returns true when this update size image constraint conflict response has a 2xx status code
func (*UpdateSizeImageConstraintConflict) String ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintConflict) String() string
type UpdateSizeImageConstraintDefault ¶
type UpdateSizeImageConstraintDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateSizeImageConstraintDefault describes a response with status code -1, with default header values.
Error
func NewUpdateSizeImageConstraintDefault ¶
func NewUpdateSizeImageConstraintDefault(code int) *UpdateSizeImageConstraintDefault
NewUpdateSizeImageConstraintDefault creates a UpdateSizeImageConstraintDefault with default headers values
func (*UpdateSizeImageConstraintDefault) Code ¶
func (o *UpdateSizeImageConstraintDefault) Code() int
Code gets the status code for the update size image constraint default response
func (*UpdateSizeImageConstraintDefault) Error ¶
func (o *UpdateSizeImageConstraintDefault) Error() string
func (*UpdateSizeImageConstraintDefault) GetPayload ¶
func (o *UpdateSizeImageConstraintDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateSizeImageConstraintDefault) IsClientError ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintDefault) IsClientError() bool
IsClientError returns true when this update size image constraint default response has a 4xx status code
func (*UpdateSizeImageConstraintDefault) IsCode ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintDefault) IsCode(code int) bool
IsCode returns true when this update size image constraint default response a status code equal to that given
func (*UpdateSizeImageConstraintDefault) IsRedirect ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintDefault) IsRedirect() bool
IsRedirect returns true when this update size image constraint default response has a 3xx status code
func (*UpdateSizeImageConstraintDefault) IsServerError ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintDefault) IsServerError() bool
IsServerError returns true when this update size image constraint default response has a 5xx status code
func (*UpdateSizeImageConstraintDefault) IsSuccess ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintDefault) IsSuccess() bool
IsSuccess returns true when this update size image constraint default response has a 2xx status code
func (*UpdateSizeImageConstraintDefault) String ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintDefault) String() string
type UpdateSizeImageConstraintOK ¶
type UpdateSizeImageConstraintOK struct {
Payload *models.V1SizeImageConstraintResponse
}
UpdateSizeImageConstraintOK describes a response with status code 200, with default header values.
OK
func NewUpdateSizeImageConstraintOK ¶
func NewUpdateSizeImageConstraintOK() *UpdateSizeImageConstraintOK
NewUpdateSizeImageConstraintOK creates a UpdateSizeImageConstraintOK with default headers values
func (*UpdateSizeImageConstraintOK) Code ¶ added in v0.22.1
func (o *UpdateSizeImageConstraintOK) Code() int
Code gets the status code for the update size image constraint o k response
func (*UpdateSizeImageConstraintOK) Error ¶
func (o *UpdateSizeImageConstraintOK) Error() string
func (*UpdateSizeImageConstraintOK) GetPayload ¶
func (o *UpdateSizeImageConstraintOK) GetPayload() *models.V1SizeImageConstraintResponse
func (*UpdateSizeImageConstraintOK) IsClientError ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintOK) IsClientError() bool
IsClientError returns true when this update size image constraint o k response has a 4xx status code
func (*UpdateSizeImageConstraintOK) IsCode ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintOK) IsCode(code int) bool
IsCode returns true when this update size image constraint o k response a status code equal to that given
func (*UpdateSizeImageConstraintOK) IsRedirect ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintOK) IsRedirect() bool
IsRedirect returns true when this update size image constraint o k response has a 3xx status code
func (*UpdateSizeImageConstraintOK) IsServerError ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintOK) IsServerError() bool
IsServerError returns true when this update size image constraint o k response has a 5xx status code
func (*UpdateSizeImageConstraintOK) IsSuccess ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintOK) IsSuccess() bool
IsSuccess returns true when this update size image constraint o k response has a 2xx status code
func (*UpdateSizeImageConstraintOK) String ¶ added in v0.19.3
func (o *UpdateSizeImageConstraintOK) String() string
type UpdateSizeImageConstraintParams ¶
type UpdateSizeImageConstraintParams struct { // Body. Body *models.V1SizeImageConstraintUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSizeImageConstraintParams contains all the parameters to send to the API endpoint
for the update size image constraint operation. Typically these are written to a http.Request.
func NewUpdateSizeImageConstraintParams ¶
func NewUpdateSizeImageConstraintParams() *UpdateSizeImageConstraintParams
NewUpdateSizeImageConstraintParams creates a new UpdateSizeImageConstraintParams 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 NewUpdateSizeImageConstraintParamsWithContext ¶
func NewUpdateSizeImageConstraintParamsWithContext(ctx context.Context) *UpdateSizeImageConstraintParams
NewUpdateSizeImageConstraintParamsWithContext creates a new UpdateSizeImageConstraintParams object with the ability to set a context for a request.
func NewUpdateSizeImageConstraintParamsWithHTTPClient ¶
func NewUpdateSizeImageConstraintParamsWithHTTPClient(client *http.Client) *UpdateSizeImageConstraintParams
NewUpdateSizeImageConstraintParamsWithHTTPClient creates a new UpdateSizeImageConstraintParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSizeImageConstraintParamsWithTimeout ¶
func NewUpdateSizeImageConstraintParamsWithTimeout(timeout time.Duration) *UpdateSizeImageConstraintParams
NewUpdateSizeImageConstraintParamsWithTimeout creates a new UpdateSizeImageConstraintParams object with the ability to set a timeout on a request.
func (*UpdateSizeImageConstraintParams) SetBody ¶
func (o *UpdateSizeImageConstraintParams) SetBody(body *models.V1SizeImageConstraintUpdateRequest)
SetBody adds the body to the update size image constraint params
func (*UpdateSizeImageConstraintParams) SetContext ¶
func (o *UpdateSizeImageConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the update size image constraint params
func (*UpdateSizeImageConstraintParams) SetDefaults ¶
func (o *UpdateSizeImageConstraintParams) SetDefaults()
SetDefaults hydrates default values in the update size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSizeImageConstraintParams) SetHTTPClient ¶
func (o *UpdateSizeImageConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update size image constraint params
func (*UpdateSizeImageConstraintParams) SetTimeout ¶
func (o *UpdateSizeImageConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update size image constraint params
func (*UpdateSizeImageConstraintParams) WithBody ¶
func (o *UpdateSizeImageConstraintParams) WithBody(body *models.V1SizeImageConstraintUpdateRequest) *UpdateSizeImageConstraintParams
WithBody adds the body to the update size image constraint params
func (*UpdateSizeImageConstraintParams) WithContext ¶
func (o *UpdateSizeImageConstraintParams) WithContext(ctx context.Context) *UpdateSizeImageConstraintParams
WithContext adds the context to the update size image constraint params
func (*UpdateSizeImageConstraintParams) WithDefaults ¶
func (o *UpdateSizeImageConstraintParams) WithDefaults() *UpdateSizeImageConstraintParams
WithDefaults hydrates default values in the update size image constraint params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSizeImageConstraintParams) WithHTTPClient ¶
func (o *UpdateSizeImageConstraintParams) WithHTTPClient(client *http.Client) *UpdateSizeImageConstraintParams
WithHTTPClient adds the HTTPClient to the update size image constraint params
func (*UpdateSizeImageConstraintParams) WithTimeout ¶
func (o *UpdateSizeImageConstraintParams) WithTimeout(timeout time.Duration) *UpdateSizeImageConstraintParams
WithTimeout adds the timeout to the update size image constraint params
func (*UpdateSizeImageConstraintParams) WriteToRequest ¶
func (o *UpdateSizeImageConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSizeImageConstraintReader ¶
type UpdateSizeImageConstraintReader struct {
// contains filtered or unexported fields
}
UpdateSizeImageConstraintReader is a Reader for the UpdateSizeImageConstraint structure.
func (*UpdateSizeImageConstraintReader) ReadResponse ¶
func (o *UpdateSizeImageConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_size_image_constraint_parameters.go
- create_size_image_constraint_responses.go
- delete_size_image_constraint_parameters.go
- delete_size_image_constraint_responses.go
- find_size_image_constraint_parameters.go
- find_size_image_constraint_responses.go
- list_size_image_constraints_parameters.go
- list_size_image_constraints_responses.go
- sizeimageconstraint_client.go
- try_size_image_constraint_parameters.go
- try_size_image_constraint_responses.go
- update_size_image_constraint_parameters.go
- update_size_image_constraint_responses.go