sizeimageconstraint

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 11 Imported by: 2

Documentation

Index

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 is the option for 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.

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

Code gets the status code for the create size image constraint conflict response

func (*CreateSizeImageConstraintConflict) Error

func (*CreateSizeImageConstraintConflict) GetPayload

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

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

Code gets the status code for the create size image constraint created response

func (*CreateSizeImageConstraintCreated) Error

func (*CreateSizeImageConstraintCreated) GetPayload

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

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

Code gets the status code for the create size image constraint default response

func (*CreateSizeImageConstraintDefault) Error

func (*CreateSizeImageConstraintDefault) GetPayload

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

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

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

WithBody adds the body to the create size image constraint params

func (*CreateSizeImageConstraintParams) WithContext

WithContext adds the context to the create size image constraint params

func (*CreateSizeImageConstraintParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create size image constraint params

func (*CreateSizeImageConstraintParams) WithTimeout

WithTimeout adds the timeout to the create size image constraint params

func (*CreateSizeImageConstraintParams) WriteToRequest

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

Code gets the status code for the delete size image constraint default response

func (*DeleteSizeImageConstraintDefault) Error

func (*DeleteSizeImageConstraintDefault) GetPayload

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

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 (*DeleteSizeImageConstraintOK) GetPayload

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

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

WithContext adds the context to the delete size image constraint params

func (*DeleteSizeImageConstraintParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete size image constraint params

func (*DeleteSizeImageConstraintParams) WithID

WithID adds the id to the delete size image constraint params

func (*DeleteSizeImageConstraintParams) WithTimeout

WithTimeout adds the timeout to the delete size image constraint params

func (*DeleteSizeImageConstraintParams) WriteToRequest

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

Code gets the status code for the find size image constraint default response

func (*FindSizeImageConstraintDefault) Error

func (*FindSizeImageConstraintDefault) GetPayload

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

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 (*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

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

WithContext adds the context to the find size image constraint params

func (*FindSizeImageConstraintParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the find size image constraint params

func (*FindSizeImageConstraintParams) WithID

WithID adds the id to the find size image constraint params

func (*FindSizeImageConstraintParams) WithTimeout

WithTimeout adds the timeout to the find size image constraint params

func (*FindSizeImageConstraintParams) WriteToRequest

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

Code gets the status code for the list size image constraints default response

func (*ListSizeImageConstraintsDefault) Error

func (*ListSizeImageConstraintsDefault) GetPayload

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

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 (*ListSizeImageConstraintsOK) GetPayload

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

WithContext adds the context to the list size image constraints params

func (*ListSizeImageConstraintsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list size image constraints params

func (*ListSizeImageConstraintsParams) WithTimeout

WithTimeout adds the timeout to the list size image constraints params

func (*ListSizeImageConstraintsParams) WriteToRequest

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

Code gets the status code for the try size image constraint default response

func (*TrySizeImageConstraintDefault) Error

func (*TrySizeImageConstraintDefault) GetPayload

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

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 (*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

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

WithBody adds the body to the try size image constraint params

func (*TrySizeImageConstraintParams) WithContext

WithContext adds the context to the try size image constraint params

func (*TrySizeImageConstraintParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the try size image constraint params

func (*TrySizeImageConstraintParams) WithTimeout

WithTimeout adds the timeout to the try size image constraint params

func (*TrySizeImageConstraintParams) WriteToRequest

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

Code gets the status code for the update size image constraint conflict response

func (*UpdateSizeImageConstraintConflict) Error

func (*UpdateSizeImageConstraintConflict) GetPayload

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

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

Code gets the status code for the update size image constraint default response

func (*UpdateSizeImageConstraintDefault) Error

func (*UpdateSizeImageConstraintDefault) GetPayload

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

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 (*UpdateSizeImageConstraintOK) GetPayload

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

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

WithBody adds the body to the update size image constraint params

func (*UpdateSizeImageConstraintParams) WithContext

WithContext adds the context to the update size image constraint params

func (*UpdateSizeImageConstraintParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update size image constraint params

func (*UpdateSizeImageConstraintParams) WithTimeout

WithTimeout adds the timeout to the update size image constraint params

func (*UpdateSizeImageConstraintParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL