Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSize(params *CreateSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSizeCreated, error)
- func (a *Client) DeleteSize(params *DeleteSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSizeOK, error)
- func (a *Client) FindSize(params *FindSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindSizeOK, error)
- func (a *Client) ListSizeReservations(params *ListSizeReservationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSizeReservationsOK, error)
- func (a *Client) ListSizes(params *ListSizesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSizesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Suggest(params *SuggestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SuggestOK, error)
- func (a *Client) UpdateSize(params *UpdateSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateSizeOK, error)
- type ClientOption
- type ClientService
- type CreateSizeConflict
- func (o *CreateSizeConflict) Code() int
- func (o *CreateSizeConflict) Error() string
- func (o *CreateSizeConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateSizeConflict) IsClientError() bool
- func (o *CreateSizeConflict) IsCode(code int) bool
- func (o *CreateSizeConflict) IsRedirect() bool
- func (o *CreateSizeConflict) IsServerError() bool
- func (o *CreateSizeConflict) IsSuccess() bool
- func (o *CreateSizeConflict) String() string
- type CreateSizeCreated
- func (o *CreateSizeCreated) Code() int
- func (o *CreateSizeCreated) Error() string
- func (o *CreateSizeCreated) GetPayload() *models.V1SizeResponse
- func (o *CreateSizeCreated) IsClientError() bool
- func (o *CreateSizeCreated) IsCode(code int) bool
- func (o *CreateSizeCreated) IsRedirect() bool
- func (o *CreateSizeCreated) IsServerError() bool
- func (o *CreateSizeCreated) IsSuccess() bool
- func (o *CreateSizeCreated) String() string
- type CreateSizeDefault
- func (o *CreateSizeDefault) Code() int
- func (o *CreateSizeDefault) Error() string
- func (o *CreateSizeDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateSizeDefault) IsClientError() bool
- func (o *CreateSizeDefault) IsCode(code int) bool
- func (o *CreateSizeDefault) IsRedirect() bool
- func (o *CreateSizeDefault) IsServerError() bool
- func (o *CreateSizeDefault) IsSuccess() bool
- func (o *CreateSizeDefault) String() string
- type CreateSizeParams
- func (o *CreateSizeParams) SetBody(body *models.V1SizeCreateRequest)
- func (o *CreateSizeParams) SetContext(ctx context.Context)
- func (o *CreateSizeParams) SetDefaults()
- func (o *CreateSizeParams) SetHTTPClient(client *http.Client)
- func (o *CreateSizeParams) SetTimeout(timeout time.Duration)
- func (o *CreateSizeParams) WithBody(body *models.V1SizeCreateRequest) *CreateSizeParams
- func (o *CreateSizeParams) WithContext(ctx context.Context) *CreateSizeParams
- func (o *CreateSizeParams) WithDefaults() *CreateSizeParams
- func (o *CreateSizeParams) WithHTTPClient(client *http.Client) *CreateSizeParams
- func (o *CreateSizeParams) WithTimeout(timeout time.Duration) *CreateSizeParams
- func (o *CreateSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSizeReader
- type DeleteSizeDefault
- func (o *DeleteSizeDefault) Code() int
- func (o *DeleteSizeDefault) Error() string
- func (o *DeleteSizeDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteSizeDefault) IsClientError() bool
- func (o *DeleteSizeDefault) IsCode(code int) bool
- func (o *DeleteSizeDefault) IsRedirect() bool
- func (o *DeleteSizeDefault) IsServerError() bool
- func (o *DeleteSizeDefault) IsSuccess() bool
- func (o *DeleteSizeDefault) String() string
- type DeleteSizeOK
- func (o *DeleteSizeOK) Code() int
- func (o *DeleteSizeOK) Error() string
- func (o *DeleteSizeOK) GetPayload() *models.V1SizeResponse
- func (o *DeleteSizeOK) IsClientError() bool
- func (o *DeleteSizeOK) IsCode(code int) bool
- func (o *DeleteSizeOK) IsRedirect() bool
- func (o *DeleteSizeOK) IsServerError() bool
- func (o *DeleteSizeOK) IsSuccess() bool
- func (o *DeleteSizeOK) String() string
- type DeleteSizeParams
- func (o *DeleteSizeParams) SetContext(ctx context.Context)
- func (o *DeleteSizeParams) SetDefaults()
- func (o *DeleteSizeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSizeParams) SetID(id string)
- func (o *DeleteSizeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSizeParams) WithContext(ctx context.Context) *DeleteSizeParams
- func (o *DeleteSizeParams) WithDefaults() *DeleteSizeParams
- func (o *DeleteSizeParams) WithHTTPClient(client *http.Client) *DeleteSizeParams
- func (o *DeleteSizeParams) WithID(id string) *DeleteSizeParams
- func (o *DeleteSizeParams) WithTimeout(timeout time.Duration) *DeleteSizeParams
- func (o *DeleteSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSizeReader
- type FindSizeDefault
- func (o *FindSizeDefault) Code() int
- func (o *FindSizeDefault) Error() string
- func (o *FindSizeDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindSizeDefault) IsClientError() bool
- func (o *FindSizeDefault) IsCode(code int) bool
- func (o *FindSizeDefault) IsRedirect() bool
- func (o *FindSizeDefault) IsServerError() bool
- func (o *FindSizeDefault) IsSuccess() bool
- func (o *FindSizeDefault) String() string
- type FindSizeOK
- func (o *FindSizeOK) Code() int
- func (o *FindSizeOK) Error() string
- func (o *FindSizeOK) GetPayload() *models.V1SizeResponse
- func (o *FindSizeOK) IsClientError() bool
- func (o *FindSizeOK) IsCode(code int) bool
- func (o *FindSizeOK) IsRedirect() bool
- func (o *FindSizeOK) IsServerError() bool
- func (o *FindSizeOK) IsSuccess() bool
- func (o *FindSizeOK) String() string
- type FindSizeParams
- func (o *FindSizeParams) SetContext(ctx context.Context)
- func (o *FindSizeParams) SetDefaults()
- func (o *FindSizeParams) SetHTTPClient(client *http.Client)
- func (o *FindSizeParams) SetID(id string)
- func (o *FindSizeParams) SetTimeout(timeout time.Duration)
- func (o *FindSizeParams) WithContext(ctx context.Context) *FindSizeParams
- func (o *FindSizeParams) WithDefaults() *FindSizeParams
- func (o *FindSizeParams) WithHTTPClient(client *http.Client) *FindSizeParams
- func (o *FindSizeParams) WithID(id string) *FindSizeParams
- func (o *FindSizeParams) WithTimeout(timeout time.Duration) *FindSizeParams
- func (o *FindSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindSizeReader
- type ListSizeReservationsDefault
- func (o *ListSizeReservationsDefault) Code() int
- func (o *ListSizeReservationsDefault) Error() string
- func (o *ListSizeReservationsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListSizeReservationsDefault) IsClientError() bool
- func (o *ListSizeReservationsDefault) IsCode(code int) bool
- func (o *ListSizeReservationsDefault) IsRedirect() bool
- func (o *ListSizeReservationsDefault) IsServerError() bool
- func (o *ListSizeReservationsDefault) IsSuccess() bool
- func (o *ListSizeReservationsDefault) String() string
- type ListSizeReservationsOK
- func (o *ListSizeReservationsOK) Code() int
- func (o *ListSizeReservationsOK) Error() string
- func (o *ListSizeReservationsOK) GetPayload() []*models.V1SizeReservationResponse
- func (o *ListSizeReservationsOK) IsClientError() bool
- func (o *ListSizeReservationsOK) IsCode(code int) bool
- func (o *ListSizeReservationsOK) IsRedirect() bool
- func (o *ListSizeReservationsOK) IsServerError() bool
- func (o *ListSizeReservationsOK) IsSuccess() bool
- func (o *ListSizeReservationsOK) String() string
- type ListSizeReservationsParams
- func NewListSizeReservationsParams() *ListSizeReservationsParams
- func NewListSizeReservationsParamsWithContext(ctx context.Context) *ListSizeReservationsParams
- func NewListSizeReservationsParamsWithHTTPClient(client *http.Client) *ListSizeReservationsParams
- func NewListSizeReservationsParamsWithTimeout(timeout time.Duration) *ListSizeReservationsParams
- func (o *ListSizeReservationsParams) SetBody(body models.V1EmptyBody)
- func (o *ListSizeReservationsParams) SetContext(ctx context.Context)
- func (o *ListSizeReservationsParams) SetDefaults()
- func (o *ListSizeReservationsParams) SetHTTPClient(client *http.Client)
- func (o *ListSizeReservationsParams) SetTimeout(timeout time.Duration)
- func (o *ListSizeReservationsParams) WithBody(body models.V1EmptyBody) *ListSizeReservationsParams
- func (o *ListSizeReservationsParams) WithContext(ctx context.Context) *ListSizeReservationsParams
- func (o *ListSizeReservationsParams) WithDefaults() *ListSizeReservationsParams
- func (o *ListSizeReservationsParams) WithHTTPClient(client *http.Client) *ListSizeReservationsParams
- func (o *ListSizeReservationsParams) WithTimeout(timeout time.Duration) *ListSizeReservationsParams
- func (o *ListSizeReservationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSizeReservationsReader
- type ListSizesDefault
- func (o *ListSizesDefault) Code() int
- func (o *ListSizesDefault) Error() string
- func (o *ListSizesDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListSizesDefault) IsClientError() bool
- func (o *ListSizesDefault) IsCode(code int) bool
- func (o *ListSizesDefault) IsRedirect() bool
- func (o *ListSizesDefault) IsServerError() bool
- func (o *ListSizesDefault) IsSuccess() bool
- func (o *ListSizesDefault) String() string
- type ListSizesOK
- func (o *ListSizesOK) Code() int
- func (o *ListSizesOK) Error() string
- func (o *ListSizesOK) GetPayload() []*models.V1SizeResponse
- func (o *ListSizesOK) IsClientError() bool
- func (o *ListSizesOK) IsCode(code int) bool
- func (o *ListSizesOK) IsRedirect() bool
- func (o *ListSizesOK) IsServerError() bool
- func (o *ListSizesOK) IsSuccess() bool
- func (o *ListSizesOK) String() string
- type ListSizesParams
- func (o *ListSizesParams) SetContext(ctx context.Context)
- func (o *ListSizesParams) SetDefaults()
- func (o *ListSizesParams) SetHTTPClient(client *http.Client)
- func (o *ListSizesParams) SetTimeout(timeout time.Duration)
- func (o *ListSizesParams) WithContext(ctx context.Context) *ListSizesParams
- func (o *ListSizesParams) WithDefaults() *ListSizesParams
- func (o *ListSizesParams) WithHTTPClient(client *http.Client) *ListSizesParams
- func (o *ListSizesParams) WithTimeout(timeout time.Duration) *ListSizesParams
- func (o *ListSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSizesReader
- type SuggestDefault
- func (o *SuggestDefault) Code() int
- func (o *SuggestDefault) Error() string
- func (o *SuggestDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *SuggestDefault) IsClientError() bool
- func (o *SuggestDefault) IsCode(code int) bool
- func (o *SuggestDefault) IsRedirect() bool
- func (o *SuggestDefault) IsServerError() bool
- func (o *SuggestDefault) IsSuccess() bool
- func (o *SuggestDefault) String() string
- type SuggestOK
- func (o *SuggestOK) Code() int
- func (o *SuggestOK) Error() string
- func (o *SuggestOK) GetPayload() []*models.V1SizeConstraint
- func (o *SuggestOK) IsClientError() bool
- func (o *SuggestOK) IsCode(code int) bool
- func (o *SuggestOK) IsRedirect() bool
- func (o *SuggestOK) IsServerError() bool
- func (o *SuggestOK) IsSuccess() bool
- func (o *SuggestOK) String() string
- type SuggestParams
- func (o *SuggestParams) SetBody(body *models.V1SizeSuggestRequest)
- func (o *SuggestParams) SetContext(ctx context.Context)
- func (o *SuggestParams) SetDefaults()
- func (o *SuggestParams) SetHTTPClient(client *http.Client)
- func (o *SuggestParams) SetTimeout(timeout time.Duration)
- func (o *SuggestParams) WithBody(body *models.V1SizeSuggestRequest) *SuggestParams
- func (o *SuggestParams) WithContext(ctx context.Context) *SuggestParams
- func (o *SuggestParams) WithDefaults() *SuggestParams
- func (o *SuggestParams) WithHTTPClient(client *http.Client) *SuggestParams
- func (o *SuggestParams) WithTimeout(timeout time.Duration) *SuggestParams
- func (o *SuggestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SuggestReader
- type UpdateSizeConflict
- func (o *UpdateSizeConflict) Code() int
- func (o *UpdateSizeConflict) Error() string
- func (o *UpdateSizeConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateSizeConflict) IsClientError() bool
- func (o *UpdateSizeConflict) IsCode(code int) bool
- func (o *UpdateSizeConflict) IsRedirect() bool
- func (o *UpdateSizeConflict) IsServerError() bool
- func (o *UpdateSizeConflict) IsSuccess() bool
- func (o *UpdateSizeConflict) String() string
- type UpdateSizeDefault
- func (o *UpdateSizeDefault) Code() int
- func (o *UpdateSizeDefault) Error() string
- func (o *UpdateSizeDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateSizeDefault) IsClientError() bool
- func (o *UpdateSizeDefault) IsCode(code int) bool
- func (o *UpdateSizeDefault) IsRedirect() bool
- func (o *UpdateSizeDefault) IsServerError() bool
- func (o *UpdateSizeDefault) IsSuccess() bool
- func (o *UpdateSizeDefault) String() string
- type UpdateSizeOK
- func (o *UpdateSizeOK) Code() int
- func (o *UpdateSizeOK) Error() string
- func (o *UpdateSizeOK) GetPayload() *models.V1SizeResponse
- func (o *UpdateSizeOK) IsClientError() bool
- func (o *UpdateSizeOK) IsCode(code int) bool
- func (o *UpdateSizeOK) IsRedirect() bool
- func (o *UpdateSizeOK) IsServerError() bool
- func (o *UpdateSizeOK) IsSuccess() bool
- func (o *UpdateSizeOK) String() string
- type UpdateSizeParams
- func (o *UpdateSizeParams) SetBody(body *models.V1SizeUpdateRequest)
- func (o *UpdateSizeParams) SetContext(ctx context.Context)
- func (o *UpdateSizeParams) SetDefaults()
- func (o *UpdateSizeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSizeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSizeParams) WithBody(body *models.V1SizeUpdateRequest) *UpdateSizeParams
- func (o *UpdateSizeParams) WithContext(ctx context.Context) *UpdateSizeParams
- func (o *UpdateSizeParams) WithDefaults() *UpdateSizeParams
- func (o *UpdateSizeParams) WithHTTPClient(client *http.Client) *UpdateSizeParams
- func (o *UpdateSizeParams) WithTimeout(timeout time.Duration) *UpdateSizeParams
- func (o *UpdateSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSizeReader
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 size API
func (*Client) CreateSize ¶
func (a *Client) CreateSize(params *CreateSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSizeCreated, error)
CreateSize creates a size if the given ID already exists a conflict is returned
func (*Client) DeleteSize ¶
func (a *Client) DeleteSize(params *DeleteSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSizeOK, error)
DeleteSize deletes an size and returns the deleted entity
func (*Client) FindSize ¶
func (a *Client) FindSize(params *FindSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSizeOK, error)
FindSize gets size by id
func (*Client) ListSizeReservations ¶ added in v0.26.0
func (a *Client) ListSizeReservations(params *ListSizeReservationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSizeReservationsOK, error)
ListSizeReservations gets all size reservations
func (*Client) ListSizes ¶
func (a *Client) ListSizes(params *ListSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSizesOK, error)
ListSizes gets all sizes
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Suggest ¶ added in v0.24.3
func (a *Client) Suggest(params *SuggestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SuggestOK, error)
Suggest froms a given machine id returns the appropriate size
func (*Client) UpdateSize ¶
func (a *Client) UpdateSize(params *UpdateSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSizeOK, error)
UpdateSize updates a size if the size was changed since this one was read a conflict is returned
type ClientOption ¶ added in v0.13.1
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.11.0
type ClientService interface { CreateSize(params *CreateSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSizeCreated, error) DeleteSize(params *DeleteSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSizeOK, error) FindSize(params *FindSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSizeOK, error) ListSizeReservations(params *ListSizeReservationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSizeReservationsOK, error) ListSizes(params *ListSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSizesOK, error) Suggest(params *SuggestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SuggestOK, error) UpdateSize(params *UpdateSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSizeOK, 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 size API client.
type CreateSizeConflict ¶
type CreateSizeConflict struct {
Payload *httperrors.HTTPErrorResponse
}
CreateSizeConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateSizeConflict ¶
func NewCreateSizeConflict() *CreateSizeConflict
NewCreateSizeConflict creates a CreateSizeConflict with default headers values
func (*CreateSizeConflict) Code ¶ added in v0.22.1
func (o *CreateSizeConflict) Code() int
Code gets the status code for the create size conflict response
func (*CreateSizeConflict) Error ¶
func (o *CreateSizeConflict) Error() string
func (*CreateSizeConflict) GetPayload ¶ added in v0.11.0
func (o *CreateSizeConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateSizeConflict) IsClientError ¶ added in v0.19.3
func (o *CreateSizeConflict) IsClientError() bool
IsClientError returns true when this create size conflict response has a 4xx status code
func (*CreateSizeConflict) IsCode ¶ added in v0.19.3
func (o *CreateSizeConflict) IsCode(code int) bool
IsCode returns true when this create size conflict response a status code equal to that given
func (*CreateSizeConflict) IsRedirect ¶ added in v0.19.3
func (o *CreateSizeConflict) IsRedirect() bool
IsRedirect returns true when this create size conflict response has a 3xx status code
func (*CreateSizeConflict) IsServerError ¶ added in v0.19.3
func (o *CreateSizeConflict) IsServerError() bool
IsServerError returns true when this create size conflict response has a 5xx status code
func (*CreateSizeConflict) IsSuccess ¶ added in v0.19.3
func (o *CreateSizeConflict) IsSuccess() bool
IsSuccess returns true when this create size conflict response has a 2xx status code
func (*CreateSizeConflict) String ¶ added in v0.19.3
func (o *CreateSizeConflict) String() string
type CreateSizeCreated ¶
type CreateSizeCreated struct {
Payload *models.V1SizeResponse
}
CreateSizeCreated describes a response with status code 201, with default header values.
Created
func NewCreateSizeCreated ¶
func NewCreateSizeCreated() *CreateSizeCreated
NewCreateSizeCreated creates a CreateSizeCreated with default headers values
func (*CreateSizeCreated) Code ¶ added in v0.22.1
func (o *CreateSizeCreated) Code() int
Code gets the status code for the create size created response
func (*CreateSizeCreated) Error ¶
func (o *CreateSizeCreated) Error() string
func (*CreateSizeCreated) GetPayload ¶ added in v0.11.0
func (o *CreateSizeCreated) GetPayload() *models.V1SizeResponse
func (*CreateSizeCreated) IsClientError ¶ added in v0.19.3
func (o *CreateSizeCreated) IsClientError() bool
IsClientError returns true when this create size created response has a 4xx status code
func (*CreateSizeCreated) IsCode ¶ added in v0.19.3
func (o *CreateSizeCreated) IsCode(code int) bool
IsCode returns true when this create size created response a status code equal to that given
func (*CreateSizeCreated) IsRedirect ¶ added in v0.19.3
func (o *CreateSizeCreated) IsRedirect() bool
IsRedirect returns true when this create size created response has a 3xx status code
func (*CreateSizeCreated) IsServerError ¶ added in v0.19.3
func (o *CreateSizeCreated) IsServerError() bool
IsServerError returns true when this create size created response has a 5xx status code
func (*CreateSizeCreated) IsSuccess ¶ added in v0.19.3
func (o *CreateSizeCreated) IsSuccess() bool
IsSuccess returns true when this create size created response has a 2xx status code
func (*CreateSizeCreated) String ¶ added in v0.19.3
func (o *CreateSizeCreated) String() string
type CreateSizeDefault ¶
type CreateSizeDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CreateSizeDefault describes a response with status code -1, with default header values.
Error
func NewCreateSizeDefault ¶
func NewCreateSizeDefault(code int) *CreateSizeDefault
NewCreateSizeDefault creates a CreateSizeDefault with default headers values
func (*CreateSizeDefault) Code ¶
func (o *CreateSizeDefault) Code() int
Code gets the status code for the create size default response
func (*CreateSizeDefault) Error ¶
func (o *CreateSizeDefault) Error() string
func (*CreateSizeDefault) GetPayload ¶ added in v0.11.0
func (o *CreateSizeDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateSizeDefault) IsClientError ¶ added in v0.19.3
func (o *CreateSizeDefault) IsClientError() bool
IsClientError returns true when this create size default response has a 4xx status code
func (*CreateSizeDefault) IsCode ¶ added in v0.19.3
func (o *CreateSizeDefault) IsCode(code int) bool
IsCode returns true when this create size default response a status code equal to that given
func (*CreateSizeDefault) IsRedirect ¶ added in v0.19.3
func (o *CreateSizeDefault) IsRedirect() bool
IsRedirect returns true when this create size default response has a 3xx status code
func (*CreateSizeDefault) IsServerError ¶ added in v0.19.3
func (o *CreateSizeDefault) IsServerError() bool
IsServerError returns true when this create size default response has a 5xx status code
func (*CreateSizeDefault) IsSuccess ¶ added in v0.19.3
func (o *CreateSizeDefault) IsSuccess() bool
IsSuccess returns true when this create size default response has a 2xx status code
func (*CreateSizeDefault) String ¶ added in v0.19.3
func (o *CreateSizeDefault) String() string
type CreateSizeParams ¶
type CreateSizeParams struct { // Body. Body *models.V1SizeCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSizeParams contains all the parameters to send to the API endpoint
for the create size operation. Typically these are written to a http.Request.
func NewCreateSizeParams ¶
func NewCreateSizeParams() *CreateSizeParams
NewCreateSizeParams creates a new CreateSizeParams 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 NewCreateSizeParamsWithContext ¶
func NewCreateSizeParamsWithContext(ctx context.Context) *CreateSizeParams
NewCreateSizeParamsWithContext creates a new CreateSizeParams object with the ability to set a context for a request.
func NewCreateSizeParamsWithHTTPClient ¶
func NewCreateSizeParamsWithHTTPClient(client *http.Client) *CreateSizeParams
NewCreateSizeParamsWithHTTPClient creates a new CreateSizeParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSizeParamsWithTimeout ¶
func NewCreateSizeParamsWithTimeout(timeout time.Duration) *CreateSizeParams
NewCreateSizeParamsWithTimeout creates a new CreateSizeParams object with the ability to set a timeout on a request.
func (*CreateSizeParams) SetBody ¶
func (o *CreateSizeParams) SetBody(body *models.V1SizeCreateRequest)
SetBody adds the body to the create size params
func (*CreateSizeParams) SetContext ¶
func (o *CreateSizeParams) SetContext(ctx context.Context)
SetContext adds the context to the create size params
func (*CreateSizeParams) SetDefaults ¶ added in v0.12.1
func (o *CreateSizeParams) SetDefaults()
SetDefaults hydrates default values in the create size params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSizeParams) SetHTTPClient ¶
func (o *CreateSizeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create size params
func (*CreateSizeParams) SetTimeout ¶
func (o *CreateSizeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create size params
func (*CreateSizeParams) WithBody ¶
func (o *CreateSizeParams) WithBody(body *models.V1SizeCreateRequest) *CreateSizeParams
WithBody adds the body to the create size params
func (*CreateSizeParams) WithContext ¶
func (o *CreateSizeParams) WithContext(ctx context.Context) *CreateSizeParams
WithContext adds the context to the create size params
func (*CreateSizeParams) WithDefaults ¶ added in v0.12.1
func (o *CreateSizeParams) WithDefaults() *CreateSizeParams
WithDefaults hydrates default values in the create size params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSizeParams) WithHTTPClient ¶
func (o *CreateSizeParams) WithHTTPClient(client *http.Client) *CreateSizeParams
WithHTTPClient adds the HTTPClient to the create size params
func (*CreateSizeParams) WithTimeout ¶
func (o *CreateSizeParams) WithTimeout(timeout time.Duration) *CreateSizeParams
WithTimeout adds the timeout to the create size params
func (*CreateSizeParams) WriteToRequest ¶
func (o *CreateSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSizeReader ¶
type CreateSizeReader struct {
// contains filtered or unexported fields
}
CreateSizeReader is a Reader for the CreateSize structure.
func (*CreateSizeReader) ReadResponse ¶
func (o *CreateSizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSizeDefault ¶
type DeleteSizeDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteSizeDefault describes a response with status code -1, with default header values.
Error
func NewDeleteSizeDefault ¶
func NewDeleteSizeDefault(code int) *DeleteSizeDefault
NewDeleteSizeDefault creates a DeleteSizeDefault with default headers values
func (*DeleteSizeDefault) Code ¶
func (o *DeleteSizeDefault) Code() int
Code gets the status code for the delete size default response
func (*DeleteSizeDefault) Error ¶
func (o *DeleteSizeDefault) Error() string
func (*DeleteSizeDefault) GetPayload ¶ added in v0.11.0
func (o *DeleteSizeDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteSizeDefault) IsClientError ¶ added in v0.19.3
func (o *DeleteSizeDefault) IsClientError() bool
IsClientError returns true when this delete size default response has a 4xx status code
func (*DeleteSizeDefault) IsCode ¶ added in v0.19.3
func (o *DeleteSizeDefault) IsCode(code int) bool
IsCode returns true when this delete size default response a status code equal to that given
func (*DeleteSizeDefault) IsRedirect ¶ added in v0.19.3
func (o *DeleteSizeDefault) IsRedirect() bool
IsRedirect returns true when this delete size default response has a 3xx status code
func (*DeleteSizeDefault) IsServerError ¶ added in v0.19.3
func (o *DeleteSizeDefault) IsServerError() bool
IsServerError returns true when this delete size default response has a 5xx status code
func (*DeleteSizeDefault) IsSuccess ¶ added in v0.19.3
func (o *DeleteSizeDefault) IsSuccess() bool
IsSuccess returns true when this delete size default response has a 2xx status code
func (*DeleteSizeDefault) String ¶ added in v0.19.3
func (o *DeleteSizeDefault) String() string
type DeleteSizeOK ¶
type DeleteSizeOK struct {
Payload *models.V1SizeResponse
}
DeleteSizeOK describes a response with status code 200, with default header values.
OK
func NewDeleteSizeOK ¶
func NewDeleteSizeOK() *DeleteSizeOK
NewDeleteSizeOK creates a DeleteSizeOK with default headers values
func (*DeleteSizeOK) Code ¶ added in v0.22.1
func (o *DeleteSizeOK) Code() int
Code gets the status code for the delete size o k response
func (*DeleteSizeOK) Error ¶
func (o *DeleteSizeOK) Error() string
func (*DeleteSizeOK) GetPayload ¶ added in v0.11.0
func (o *DeleteSizeOK) GetPayload() *models.V1SizeResponse
func (*DeleteSizeOK) IsClientError ¶ added in v0.19.3
func (o *DeleteSizeOK) IsClientError() bool
IsClientError returns true when this delete size o k response has a 4xx status code
func (*DeleteSizeOK) IsCode ¶ added in v0.19.3
func (o *DeleteSizeOK) IsCode(code int) bool
IsCode returns true when this delete size o k response a status code equal to that given
func (*DeleteSizeOK) IsRedirect ¶ added in v0.19.3
func (o *DeleteSizeOK) IsRedirect() bool
IsRedirect returns true when this delete size o k response has a 3xx status code
func (*DeleteSizeOK) IsServerError ¶ added in v0.19.3
func (o *DeleteSizeOK) IsServerError() bool
IsServerError returns true when this delete size o k response has a 5xx status code
func (*DeleteSizeOK) IsSuccess ¶ added in v0.19.3
func (o *DeleteSizeOK) IsSuccess() bool
IsSuccess returns true when this delete size o k response has a 2xx status code
func (*DeleteSizeOK) String ¶ added in v0.19.3
func (o *DeleteSizeOK) String() string
type DeleteSizeParams ¶
type DeleteSizeParams struct { /* ID. identifier of the size */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSizeParams contains all the parameters to send to the API endpoint
for the delete size operation. Typically these are written to a http.Request.
func NewDeleteSizeParams ¶
func NewDeleteSizeParams() *DeleteSizeParams
NewDeleteSizeParams creates a new DeleteSizeParams 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 NewDeleteSizeParamsWithContext ¶
func NewDeleteSizeParamsWithContext(ctx context.Context) *DeleteSizeParams
NewDeleteSizeParamsWithContext creates a new DeleteSizeParams object with the ability to set a context for a request.
func NewDeleteSizeParamsWithHTTPClient ¶
func NewDeleteSizeParamsWithHTTPClient(client *http.Client) *DeleteSizeParams
NewDeleteSizeParamsWithHTTPClient creates a new DeleteSizeParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSizeParamsWithTimeout ¶
func NewDeleteSizeParamsWithTimeout(timeout time.Duration) *DeleteSizeParams
NewDeleteSizeParamsWithTimeout creates a new DeleteSizeParams object with the ability to set a timeout on a request.
func (*DeleteSizeParams) SetContext ¶
func (o *DeleteSizeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete size params
func (*DeleteSizeParams) SetDefaults ¶ added in v0.12.1
func (o *DeleteSizeParams) SetDefaults()
SetDefaults hydrates default values in the delete size params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSizeParams) SetHTTPClient ¶
func (o *DeleteSizeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete size params
func (*DeleteSizeParams) SetID ¶
func (o *DeleteSizeParams) SetID(id string)
SetID adds the id to the delete size params
func (*DeleteSizeParams) SetTimeout ¶
func (o *DeleteSizeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete size params
func (*DeleteSizeParams) WithContext ¶
func (o *DeleteSizeParams) WithContext(ctx context.Context) *DeleteSizeParams
WithContext adds the context to the delete size params
func (*DeleteSizeParams) WithDefaults ¶ added in v0.12.1
func (o *DeleteSizeParams) WithDefaults() *DeleteSizeParams
WithDefaults hydrates default values in the delete size params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSizeParams) WithHTTPClient ¶
func (o *DeleteSizeParams) WithHTTPClient(client *http.Client) *DeleteSizeParams
WithHTTPClient adds the HTTPClient to the delete size params
func (*DeleteSizeParams) WithID ¶
func (o *DeleteSizeParams) WithID(id string) *DeleteSizeParams
WithID adds the id to the delete size params
func (*DeleteSizeParams) WithTimeout ¶
func (o *DeleteSizeParams) WithTimeout(timeout time.Duration) *DeleteSizeParams
WithTimeout adds the timeout to the delete size params
func (*DeleteSizeParams) WriteToRequest ¶
func (o *DeleteSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSizeReader ¶
type DeleteSizeReader struct {
// contains filtered or unexported fields
}
DeleteSizeReader is a Reader for the DeleteSize structure.
func (*DeleteSizeReader) ReadResponse ¶
func (o *DeleteSizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindSizeDefault ¶
type FindSizeDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindSizeDefault describes a response with status code -1, with default header values.
Error
func NewFindSizeDefault ¶
func NewFindSizeDefault(code int) *FindSizeDefault
NewFindSizeDefault creates a FindSizeDefault with default headers values
func (*FindSizeDefault) Code ¶
func (o *FindSizeDefault) Code() int
Code gets the status code for the find size default response
func (*FindSizeDefault) Error ¶
func (o *FindSizeDefault) Error() string
func (*FindSizeDefault) GetPayload ¶ added in v0.11.0
func (o *FindSizeDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindSizeDefault) IsClientError ¶ added in v0.19.3
func (o *FindSizeDefault) IsClientError() bool
IsClientError returns true when this find size default response has a 4xx status code
func (*FindSizeDefault) IsCode ¶ added in v0.19.3
func (o *FindSizeDefault) IsCode(code int) bool
IsCode returns true when this find size default response a status code equal to that given
func (*FindSizeDefault) IsRedirect ¶ added in v0.19.3
func (o *FindSizeDefault) IsRedirect() bool
IsRedirect returns true when this find size default response has a 3xx status code
func (*FindSizeDefault) IsServerError ¶ added in v0.19.3
func (o *FindSizeDefault) IsServerError() bool
IsServerError returns true when this find size default response has a 5xx status code
func (*FindSizeDefault) IsSuccess ¶ added in v0.19.3
func (o *FindSizeDefault) IsSuccess() bool
IsSuccess returns true when this find size default response has a 2xx status code
func (*FindSizeDefault) String ¶ added in v0.19.3
func (o *FindSizeDefault) String() string
type FindSizeOK ¶
type FindSizeOK struct {
Payload *models.V1SizeResponse
}
FindSizeOK describes a response with status code 200, with default header values.
OK
func NewFindSizeOK ¶
func NewFindSizeOK() *FindSizeOK
NewFindSizeOK creates a FindSizeOK with default headers values
func (*FindSizeOK) Code ¶ added in v0.22.1
func (o *FindSizeOK) Code() int
Code gets the status code for the find size o k response
func (*FindSizeOK) Error ¶
func (o *FindSizeOK) Error() string
func (*FindSizeOK) GetPayload ¶ added in v0.11.0
func (o *FindSizeOK) GetPayload() *models.V1SizeResponse
func (*FindSizeOK) IsClientError ¶ added in v0.19.3
func (o *FindSizeOK) IsClientError() bool
IsClientError returns true when this find size o k response has a 4xx status code
func (*FindSizeOK) IsCode ¶ added in v0.19.3
func (o *FindSizeOK) IsCode(code int) bool
IsCode returns true when this find size o k response a status code equal to that given
func (*FindSizeOK) IsRedirect ¶ added in v0.19.3
func (o *FindSizeOK) IsRedirect() bool
IsRedirect returns true when this find size o k response has a 3xx status code
func (*FindSizeOK) IsServerError ¶ added in v0.19.3
func (o *FindSizeOK) IsServerError() bool
IsServerError returns true when this find size o k response has a 5xx status code
func (*FindSizeOK) IsSuccess ¶ added in v0.19.3
func (o *FindSizeOK) IsSuccess() bool
IsSuccess returns true when this find size o k response has a 2xx status code
func (*FindSizeOK) String ¶ added in v0.19.3
func (o *FindSizeOK) String() string
type FindSizeParams ¶
type FindSizeParams struct { /* ID. identifier of the size */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindSizeParams contains all the parameters to send to the API endpoint
for the find size operation. Typically these are written to a http.Request.
func NewFindSizeParams ¶
func NewFindSizeParams() *FindSizeParams
NewFindSizeParams creates a new FindSizeParams 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 NewFindSizeParamsWithContext ¶
func NewFindSizeParamsWithContext(ctx context.Context) *FindSizeParams
NewFindSizeParamsWithContext creates a new FindSizeParams object with the ability to set a context for a request.
func NewFindSizeParamsWithHTTPClient ¶
func NewFindSizeParamsWithHTTPClient(client *http.Client) *FindSizeParams
NewFindSizeParamsWithHTTPClient creates a new FindSizeParams object with the ability to set a custom HTTPClient for a request.
func NewFindSizeParamsWithTimeout ¶
func NewFindSizeParamsWithTimeout(timeout time.Duration) *FindSizeParams
NewFindSizeParamsWithTimeout creates a new FindSizeParams object with the ability to set a timeout on a request.
func (*FindSizeParams) SetContext ¶
func (o *FindSizeParams) SetContext(ctx context.Context)
SetContext adds the context to the find size params
func (*FindSizeParams) SetDefaults ¶ added in v0.12.1
func (o *FindSizeParams) SetDefaults()
SetDefaults hydrates default values in the find size params (not the query body).
All values with no default are reset to their zero value.
func (*FindSizeParams) SetHTTPClient ¶
func (o *FindSizeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find size params
func (*FindSizeParams) SetID ¶
func (o *FindSizeParams) SetID(id string)
SetID adds the id to the find size params
func (*FindSizeParams) SetTimeout ¶
func (o *FindSizeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find size params
func (*FindSizeParams) WithContext ¶
func (o *FindSizeParams) WithContext(ctx context.Context) *FindSizeParams
WithContext adds the context to the find size params
func (*FindSizeParams) WithDefaults ¶ added in v0.12.1
func (o *FindSizeParams) WithDefaults() *FindSizeParams
WithDefaults hydrates default values in the find size params (not the query body).
All values with no default are reset to their zero value.
func (*FindSizeParams) WithHTTPClient ¶
func (o *FindSizeParams) WithHTTPClient(client *http.Client) *FindSizeParams
WithHTTPClient adds the HTTPClient to the find size params
func (*FindSizeParams) WithID ¶
func (o *FindSizeParams) WithID(id string) *FindSizeParams
WithID adds the id to the find size params
func (*FindSizeParams) WithTimeout ¶
func (o *FindSizeParams) WithTimeout(timeout time.Duration) *FindSizeParams
WithTimeout adds the timeout to the find size params
func (*FindSizeParams) WriteToRequest ¶
func (o *FindSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindSizeReader ¶
type FindSizeReader struct {
// contains filtered or unexported fields
}
FindSizeReader is a Reader for the FindSize structure.
func (*FindSizeReader) ReadResponse ¶
func (o *FindSizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSizeReservationsDefault ¶ added in v0.26.0
type ListSizeReservationsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListSizeReservationsDefault describes a response with status code -1, with default header values.
Error
func NewListSizeReservationsDefault ¶ added in v0.26.0
func NewListSizeReservationsDefault(code int) *ListSizeReservationsDefault
NewListSizeReservationsDefault creates a ListSizeReservationsDefault with default headers values
func (*ListSizeReservationsDefault) Code ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) Code() int
Code gets the status code for the list size reservations default response
func (*ListSizeReservationsDefault) Error ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) Error() string
func (*ListSizeReservationsDefault) GetPayload ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListSizeReservationsDefault) IsClientError ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) IsClientError() bool
IsClientError returns true when this list size reservations default response has a 4xx status code
func (*ListSizeReservationsDefault) IsCode ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) IsCode(code int) bool
IsCode returns true when this list size reservations default response a status code equal to that given
func (*ListSizeReservationsDefault) IsRedirect ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) IsRedirect() bool
IsRedirect returns true when this list size reservations default response has a 3xx status code
func (*ListSizeReservationsDefault) IsServerError ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) IsServerError() bool
IsServerError returns true when this list size reservations default response has a 5xx status code
func (*ListSizeReservationsDefault) IsSuccess ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) IsSuccess() bool
IsSuccess returns true when this list size reservations default response has a 2xx status code
func (*ListSizeReservationsDefault) String ¶ added in v0.26.0
func (o *ListSizeReservationsDefault) String() string
type ListSizeReservationsOK ¶ added in v0.26.0
type ListSizeReservationsOK struct {
Payload []*models.V1SizeReservationResponse
}
ListSizeReservationsOK describes a response with status code 200, with default header values.
OK
func NewListSizeReservationsOK ¶ added in v0.26.0
func NewListSizeReservationsOK() *ListSizeReservationsOK
NewListSizeReservationsOK creates a ListSizeReservationsOK with default headers values
func (*ListSizeReservationsOK) Code ¶ added in v0.26.0
func (o *ListSizeReservationsOK) Code() int
Code gets the status code for the list size reservations o k response
func (*ListSizeReservationsOK) Error ¶ added in v0.26.0
func (o *ListSizeReservationsOK) Error() string
func (*ListSizeReservationsOK) GetPayload ¶ added in v0.26.0
func (o *ListSizeReservationsOK) GetPayload() []*models.V1SizeReservationResponse
func (*ListSizeReservationsOK) IsClientError ¶ added in v0.26.0
func (o *ListSizeReservationsOK) IsClientError() bool
IsClientError returns true when this list size reservations o k response has a 4xx status code
func (*ListSizeReservationsOK) IsCode ¶ added in v0.26.0
func (o *ListSizeReservationsOK) IsCode(code int) bool
IsCode returns true when this list size reservations o k response a status code equal to that given
func (*ListSizeReservationsOK) IsRedirect ¶ added in v0.26.0
func (o *ListSizeReservationsOK) IsRedirect() bool
IsRedirect returns true when this list size reservations o k response has a 3xx status code
func (*ListSizeReservationsOK) IsServerError ¶ added in v0.26.0
func (o *ListSizeReservationsOK) IsServerError() bool
IsServerError returns true when this list size reservations o k response has a 5xx status code
func (*ListSizeReservationsOK) IsSuccess ¶ added in v0.26.0
func (o *ListSizeReservationsOK) IsSuccess() bool
IsSuccess returns true when this list size reservations o k response has a 2xx status code
func (*ListSizeReservationsOK) String ¶ added in v0.26.0
func (o *ListSizeReservationsOK) String() string
type ListSizeReservationsParams ¶ added in v0.26.0
type ListSizeReservationsParams struct { // Body. Body models.V1EmptyBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSizeReservationsParams contains all the parameters to send to the API endpoint
for the list size reservations operation. Typically these are written to a http.Request.
func NewListSizeReservationsParams ¶ added in v0.26.0
func NewListSizeReservationsParams() *ListSizeReservationsParams
NewListSizeReservationsParams creates a new ListSizeReservationsParams 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 NewListSizeReservationsParamsWithContext ¶ added in v0.26.0
func NewListSizeReservationsParamsWithContext(ctx context.Context) *ListSizeReservationsParams
NewListSizeReservationsParamsWithContext creates a new ListSizeReservationsParams object with the ability to set a context for a request.
func NewListSizeReservationsParamsWithHTTPClient ¶ added in v0.26.0
func NewListSizeReservationsParamsWithHTTPClient(client *http.Client) *ListSizeReservationsParams
NewListSizeReservationsParamsWithHTTPClient creates a new ListSizeReservationsParams object with the ability to set a custom HTTPClient for a request.
func NewListSizeReservationsParamsWithTimeout ¶ added in v0.26.0
func NewListSizeReservationsParamsWithTimeout(timeout time.Duration) *ListSizeReservationsParams
NewListSizeReservationsParamsWithTimeout creates a new ListSizeReservationsParams object with the ability to set a timeout on a request.
func (*ListSizeReservationsParams) SetBody ¶ added in v0.26.1
func (o *ListSizeReservationsParams) SetBody(body models.V1EmptyBody)
SetBody adds the body to the list size reservations params
func (*ListSizeReservationsParams) SetContext ¶ added in v0.26.0
func (o *ListSizeReservationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list size reservations params
func (*ListSizeReservationsParams) SetDefaults ¶ added in v0.26.0
func (o *ListSizeReservationsParams) SetDefaults()
SetDefaults hydrates default values in the list size reservations params (not the query body).
All values with no default are reset to their zero value.
func (*ListSizeReservationsParams) SetHTTPClient ¶ added in v0.26.0
func (o *ListSizeReservationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list size reservations params
func (*ListSizeReservationsParams) SetTimeout ¶ added in v0.26.0
func (o *ListSizeReservationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list size reservations params
func (*ListSizeReservationsParams) WithBody ¶ added in v0.26.1
func (o *ListSizeReservationsParams) WithBody(body models.V1EmptyBody) *ListSizeReservationsParams
WithBody adds the body to the list size reservations params
func (*ListSizeReservationsParams) WithContext ¶ added in v0.26.0
func (o *ListSizeReservationsParams) WithContext(ctx context.Context) *ListSizeReservationsParams
WithContext adds the context to the list size reservations params
func (*ListSizeReservationsParams) WithDefaults ¶ added in v0.26.0
func (o *ListSizeReservationsParams) WithDefaults() *ListSizeReservationsParams
WithDefaults hydrates default values in the list size reservations params (not the query body).
All values with no default are reset to their zero value.
func (*ListSizeReservationsParams) WithHTTPClient ¶ added in v0.26.0
func (o *ListSizeReservationsParams) WithHTTPClient(client *http.Client) *ListSizeReservationsParams
WithHTTPClient adds the HTTPClient to the list size reservations params
func (*ListSizeReservationsParams) WithTimeout ¶ added in v0.26.0
func (o *ListSizeReservationsParams) WithTimeout(timeout time.Duration) *ListSizeReservationsParams
WithTimeout adds the timeout to the list size reservations params
func (*ListSizeReservationsParams) WriteToRequest ¶ added in v0.26.0
func (o *ListSizeReservationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSizeReservationsReader ¶ added in v0.26.0
type ListSizeReservationsReader struct {
// contains filtered or unexported fields
}
ListSizeReservationsReader is a Reader for the ListSizeReservations structure.
func (*ListSizeReservationsReader) ReadResponse ¶ added in v0.26.0
func (o *ListSizeReservationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSizesDefault ¶
type ListSizesDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListSizesDefault describes a response with status code -1, with default header values.
Error
func NewListSizesDefault ¶
func NewListSizesDefault(code int) *ListSizesDefault
NewListSizesDefault creates a ListSizesDefault with default headers values
func (*ListSizesDefault) Code ¶
func (o *ListSizesDefault) Code() int
Code gets the status code for the list sizes default response
func (*ListSizesDefault) Error ¶
func (o *ListSizesDefault) Error() string
func (*ListSizesDefault) GetPayload ¶ added in v0.11.0
func (o *ListSizesDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListSizesDefault) IsClientError ¶ added in v0.19.3
func (o *ListSizesDefault) IsClientError() bool
IsClientError returns true when this list sizes default response has a 4xx status code
func (*ListSizesDefault) IsCode ¶ added in v0.19.3
func (o *ListSizesDefault) IsCode(code int) bool
IsCode returns true when this list sizes default response a status code equal to that given
func (*ListSizesDefault) IsRedirect ¶ added in v0.19.3
func (o *ListSizesDefault) IsRedirect() bool
IsRedirect returns true when this list sizes default response has a 3xx status code
func (*ListSizesDefault) IsServerError ¶ added in v0.19.3
func (o *ListSizesDefault) IsServerError() bool
IsServerError returns true when this list sizes default response has a 5xx status code
func (*ListSizesDefault) IsSuccess ¶ added in v0.19.3
func (o *ListSizesDefault) IsSuccess() bool
IsSuccess returns true when this list sizes default response has a 2xx status code
func (*ListSizesDefault) String ¶ added in v0.19.3
func (o *ListSizesDefault) String() string
type ListSizesOK ¶
type ListSizesOK struct {
Payload []*models.V1SizeResponse
}
ListSizesOK describes a response with status code 200, with default header values.
OK
func NewListSizesOK ¶
func NewListSizesOK() *ListSizesOK
NewListSizesOK creates a ListSizesOK with default headers values
func (*ListSizesOK) Code ¶ added in v0.22.1
func (o *ListSizesOK) Code() int
Code gets the status code for the list sizes o k response
func (*ListSizesOK) Error ¶
func (o *ListSizesOK) Error() string
func (*ListSizesOK) GetPayload ¶ added in v0.11.0
func (o *ListSizesOK) GetPayload() []*models.V1SizeResponse
func (*ListSizesOK) IsClientError ¶ added in v0.19.3
func (o *ListSizesOK) IsClientError() bool
IsClientError returns true when this list sizes o k response has a 4xx status code
func (*ListSizesOK) IsCode ¶ added in v0.19.3
func (o *ListSizesOK) IsCode(code int) bool
IsCode returns true when this list sizes o k response a status code equal to that given
func (*ListSizesOK) IsRedirect ¶ added in v0.19.3
func (o *ListSizesOK) IsRedirect() bool
IsRedirect returns true when this list sizes o k response has a 3xx status code
func (*ListSizesOK) IsServerError ¶ added in v0.19.3
func (o *ListSizesOK) IsServerError() bool
IsServerError returns true when this list sizes o k response has a 5xx status code
func (*ListSizesOK) IsSuccess ¶ added in v0.19.3
func (o *ListSizesOK) IsSuccess() bool
IsSuccess returns true when this list sizes o k response has a 2xx status code
func (*ListSizesOK) String ¶ added in v0.19.3
func (o *ListSizesOK) String() string
type ListSizesParams ¶
type ListSizesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSizesParams contains all the parameters to send to the API endpoint
for the list sizes operation. Typically these are written to a http.Request.
func NewListSizesParams ¶
func NewListSizesParams() *ListSizesParams
NewListSizesParams creates a new ListSizesParams 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 NewListSizesParamsWithContext ¶
func NewListSizesParamsWithContext(ctx context.Context) *ListSizesParams
NewListSizesParamsWithContext creates a new ListSizesParams object with the ability to set a context for a request.
func NewListSizesParamsWithHTTPClient ¶
func NewListSizesParamsWithHTTPClient(client *http.Client) *ListSizesParams
NewListSizesParamsWithHTTPClient creates a new ListSizesParams object with the ability to set a custom HTTPClient for a request.
func NewListSizesParamsWithTimeout ¶
func NewListSizesParamsWithTimeout(timeout time.Duration) *ListSizesParams
NewListSizesParamsWithTimeout creates a new ListSizesParams object with the ability to set a timeout on a request.
func (*ListSizesParams) SetContext ¶
func (o *ListSizesParams) SetContext(ctx context.Context)
SetContext adds the context to the list sizes params
func (*ListSizesParams) SetDefaults ¶ added in v0.12.1
func (o *ListSizesParams) SetDefaults()
SetDefaults hydrates default values in the list sizes params (not the query body).
All values with no default are reset to their zero value.
func (*ListSizesParams) SetHTTPClient ¶
func (o *ListSizesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list sizes params
func (*ListSizesParams) SetTimeout ¶
func (o *ListSizesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list sizes params
func (*ListSizesParams) WithContext ¶
func (o *ListSizesParams) WithContext(ctx context.Context) *ListSizesParams
WithContext adds the context to the list sizes params
func (*ListSizesParams) WithDefaults ¶ added in v0.12.1
func (o *ListSizesParams) WithDefaults() *ListSizesParams
WithDefaults hydrates default values in the list sizes params (not the query body).
All values with no default are reset to their zero value.
func (*ListSizesParams) WithHTTPClient ¶
func (o *ListSizesParams) WithHTTPClient(client *http.Client) *ListSizesParams
WithHTTPClient adds the HTTPClient to the list sizes params
func (*ListSizesParams) WithTimeout ¶
func (o *ListSizesParams) WithTimeout(timeout time.Duration) *ListSizesParams
WithTimeout adds the timeout to the list sizes params
func (*ListSizesParams) WriteToRequest ¶
func (o *ListSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSizesReader ¶
type ListSizesReader struct {
// contains filtered or unexported fields
}
ListSizesReader is a Reader for the ListSizes structure.
func (*ListSizesReader) ReadResponse ¶
func (o *ListSizesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SuggestDefault ¶ added in v0.24.3
type SuggestDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
SuggestDefault describes a response with status code -1, with default header values.
Error
func NewSuggestDefault ¶ added in v0.24.3
func NewSuggestDefault(code int) *SuggestDefault
NewSuggestDefault creates a SuggestDefault with default headers values
func (*SuggestDefault) Code ¶ added in v0.24.3
func (o *SuggestDefault) Code() int
Code gets the status code for the suggest default response
func (*SuggestDefault) Error ¶ added in v0.24.3
func (o *SuggestDefault) Error() string
func (*SuggestDefault) GetPayload ¶ added in v0.24.3
func (o *SuggestDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*SuggestDefault) IsClientError ¶ added in v0.24.3
func (o *SuggestDefault) IsClientError() bool
IsClientError returns true when this suggest default response has a 4xx status code
func (*SuggestDefault) IsCode ¶ added in v0.24.3
func (o *SuggestDefault) IsCode(code int) bool
IsCode returns true when this suggest default response a status code equal to that given
func (*SuggestDefault) IsRedirect ¶ added in v0.24.3
func (o *SuggestDefault) IsRedirect() bool
IsRedirect returns true when this suggest default response has a 3xx status code
func (*SuggestDefault) IsServerError ¶ added in v0.24.3
func (o *SuggestDefault) IsServerError() bool
IsServerError returns true when this suggest default response has a 5xx status code
func (*SuggestDefault) IsSuccess ¶ added in v0.24.3
func (o *SuggestDefault) IsSuccess() bool
IsSuccess returns true when this suggest default response has a 2xx status code
func (*SuggestDefault) String ¶ added in v0.24.3
func (o *SuggestDefault) String() string
type SuggestOK ¶ added in v0.24.3
type SuggestOK struct {
Payload []*models.V1SizeConstraint
}
SuggestOK describes a response with status code 200, with default header values.
OK
func NewSuggestOK ¶ added in v0.24.3
func NewSuggestOK() *SuggestOK
NewSuggestOK creates a SuggestOK with default headers values
func (*SuggestOK) GetPayload ¶ added in v0.24.3
func (o *SuggestOK) GetPayload() []*models.V1SizeConstraint
func (*SuggestOK) IsClientError ¶ added in v0.24.3
IsClientError returns true when this suggest o k response has a 4xx status code
func (*SuggestOK) IsCode ¶ added in v0.24.3
IsCode returns true when this suggest o k response a status code equal to that given
func (*SuggestOK) IsRedirect ¶ added in v0.24.3
IsRedirect returns true when this suggest o k response has a 3xx status code
func (*SuggestOK) IsServerError ¶ added in v0.24.3
IsServerError returns true when this suggest o k response has a 5xx status code
type SuggestParams ¶ added in v0.24.3
type SuggestParams struct { // Body. Body *models.V1SizeSuggestRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SuggestParams contains all the parameters to send to the API endpoint
for the suggest operation. Typically these are written to a http.Request.
func NewSuggestParams ¶ added in v0.24.3
func NewSuggestParams() *SuggestParams
NewSuggestParams creates a new SuggestParams 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 NewSuggestParamsWithContext ¶ added in v0.24.3
func NewSuggestParamsWithContext(ctx context.Context) *SuggestParams
NewSuggestParamsWithContext creates a new SuggestParams object with the ability to set a context for a request.
func NewSuggestParamsWithHTTPClient ¶ added in v0.24.3
func NewSuggestParamsWithHTTPClient(client *http.Client) *SuggestParams
NewSuggestParamsWithHTTPClient creates a new SuggestParams object with the ability to set a custom HTTPClient for a request.
func NewSuggestParamsWithTimeout ¶ added in v0.24.3
func NewSuggestParamsWithTimeout(timeout time.Duration) *SuggestParams
NewSuggestParamsWithTimeout creates a new SuggestParams object with the ability to set a timeout on a request.
func (*SuggestParams) SetBody ¶ added in v0.24.3
func (o *SuggestParams) SetBody(body *models.V1SizeSuggestRequest)
SetBody adds the body to the suggest params
func (*SuggestParams) SetContext ¶ added in v0.24.3
func (o *SuggestParams) SetContext(ctx context.Context)
SetContext adds the context to the suggest params
func (*SuggestParams) SetDefaults ¶ added in v0.24.3
func (o *SuggestParams) SetDefaults()
SetDefaults hydrates default values in the suggest params (not the query body).
All values with no default are reset to their zero value.
func (*SuggestParams) SetHTTPClient ¶ added in v0.24.3
func (o *SuggestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the suggest params
func (*SuggestParams) SetTimeout ¶ added in v0.24.3
func (o *SuggestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the suggest params
func (*SuggestParams) WithBody ¶ added in v0.24.3
func (o *SuggestParams) WithBody(body *models.V1SizeSuggestRequest) *SuggestParams
WithBody adds the body to the suggest params
func (*SuggestParams) WithContext ¶ added in v0.24.3
func (o *SuggestParams) WithContext(ctx context.Context) *SuggestParams
WithContext adds the context to the suggest params
func (*SuggestParams) WithDefaults ¶ added in v0.24.3
func (o *SuggestParams) WithDefaults() *SuggestParams
WithDefaults hydrates default values in the suggest params (not the query body).
All values with no default are reset to their zero value.
func (*SuggestParams) WithHTTPClient ¶ added in v0.24.3
func (o *SuggestParams) WithHTTPClient(client *http.Client) *SuggestParams
WithHTTPClient adds the HTTPClient to the suggest params
func (*SuggestParams) WithTimeout ¶ added in v0.24.3
func (o *SuggestParams) WithTimeout(timeout time.Duration) *SuggestParams
WithTimeout adds the timeout to the suggest params
func (*SuggestParams) WriteToRequest ¶ added in v0.24.3
func (o *SuggestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SuggestReader ¶ added in v0.24.3
type SuggestReader struct {
// contains filtered or unexported fields
}
SuggestReader is a Reader for the Suggest structure.
func (*SuggestReader) ReadResponse ¶ added in v0.24.3
func (o *SuggestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSizeConflict ¶
type UpdateSizeConflict struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateSizeConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateSizeConflict ¶
func NewUpdateSizeConflict() *UpdateSizeConflict
NewUpdateSizeConflict creates a UpdateSizeConflict with default headers values
func (*UpdateSizeConflict) Code ¶ added in v0.22.1
func (o *UpdateSizeConflict) Code() int
Code gets the status code for the update size conflict response
func (*UpdateSizeConflict) Error ¶
func (o *UpdateSizeConflict) Error() string
func (*UpdateSizeConflict) GetPayload ¶ added in v0.11.0
func (o *UpdateSizeConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateSizeConflict) IsClientError ¶ added in v0.19.3
func (o *UpdateSizeConflict) IsClientError() bool
IsClientError returns true when this update size conflict response has a 4xx status code
func (*UpdateSizeConflict) IsCode ¶ added in v0.19.3
func (o *UpdateSizeConflict) IsCode(code int) bool
IsCode returns true when this update size conflict response a status code equal to that given
func (*UpdateSizeConflict) IsRedirect ¶ added in v0.19.3
func (o *UpdateSizeConflict) IsRedirect() bool
IsRedirect returns true when this update size conflict response has a 3xx status code
func (*UpdateSizeConflict) IsServerError ¶ added in v0.19.3
func (o *UpdateSizeConflict) IsServerError() bool
IsServerError returns true when this update size conflict response has a 5xx status code
func (*UpdateSizeConflict) IsSuccess ¶ added in v0.19.3
func (o *UpdateSizeConflict) IsSuccess() bool
IsSuccess returns true when this update size conflict response has a 2xx status code
func (*UpdateSizeConflict) String ¶ added in v0.19.3
func (o *UpdateSizeConflict) String() string
type UpdateSizeDefault ¶
type UpdateSizeDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateSizeDefault describes a response with status code -1, with default header values.
Error
func NewUpdateSizeDefault ¶
func NewUpdateSizeDefault(code int) *UpdateSizeDefault
NewUpdateSizeDefault creates a UpdateSizeDefault with default headers values
func (*UpdateSizeDefault) Code ¶
func (o *UpdateSizeDefault) Code() int
Code gets the status code for the update size default response
func (*UpdateSizeDefault) Error ¶
func (o *UpdateSizeDefault) Error() string
func (*UpdateSizeDefault) GetPayload ¶ added in v0.11.0
func (o *UpdateSizeDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateSizeDefault) IsClientError ¶ added in v0.19.3
func (o *UpdateSizeDefault) IsClientError() bool
IsClientError returns true when this update size default response has a 4xx status code
func (*UpdateSizeDefault) IsCode ¶ added in v0.19.3
func (o *UpdateSizeDefault) IsCode(code int) bool
IsCode returns true when this update size default response a status code equal to that given
func (*UpdateSizeDefault) IsRedirect ¶ added in v0.19.3
func (o *UpdateSizeDefault) IsRedirect() bool
IsRedirect returns true when this update size default response has a 3xx status code
func (*UpdateSizeDefault) IsServerError ¶ added in v0.19.3
func (o *UpdateSizeDefault) IsServerError() bool
IsServerError returns true when this update size default response has a 5xx status code
func (*UpdateSizeDefault) IsSuccess ¶ added in v0.19.3
func (o *UpdateSizeDefault) IsSuccess() bool
IsSuccess returns true when this update size default response has a 2xx status code
func (*UpdateSizeDefault) String ¶ added in v0.19.3
func (o *UpdateSizeDefault) String() string
type UpdateSizeOK ¶
type UpdateSizeOK struct {
Payload *models.V1SizeResponse
}
UpdateSizeOK describes a response with status code 200, with default header values.
OK
func NewUpdateSizeOK ¶
func NewUpdateSizeOK() *UpdateSizeOK
NewUpdateSizeOK creates a UpdateSizeOK with default headers values
func (*UpdateSizeOK) Code ¶ added in v0.22.1
func (o *UpdateSizeOK) Code() int
Code gets the status code for the update size o k response
func (*UpdateSizeOK) Error ¶
func (o *UpdateSizeOK) Error() string
func (*UpdateSizeOK) GetPayload ¶ added in v0.11.0
func (o *UpdateSizeOK) GetPayload() *models.V1SizeResponse
func (*UpdateSizeOK) IsClientError ¶ added in v0.19.3
func (o *UpdateSizeOK) IsClientError() bool
IsClientError returns true when this update size o k response has a 4xx status code
func (*UpdateSizeOK) IsCode ¶ added in v0.19.3
func (o *UpdateSizeOK) IsCode(code int) bool
IsCode returns true when this update size o k response a status code equal to that given
func (*UpdateSizeOK) IsRedirect ¶ added in v0.19.3
func (o *UpdateSizeOK) IsRedirect() bool
IsRedirect returns true when this update size o k response has a 3xx status code
func (*UpdateSizeOK) IsServerError ¶ added in v0.19.3
func (o *UpdateSizeOK) IsServerError() bool
IsServerError returns true when this update size o k response has a 5xx status code
func (*UpdateSizeOK) IsSuccess ¶ added in v0.19.3
func (o *UpdateSizeOK) IsSuccess() bool
IsSuccess returns true when this update size o k response has a 2xx status code
func (*UpdateSizeOK) String ¶ added in v0.19.3
func (o *UpdateSizeOK) String() string
type UpdateSizeParams ¶
type UpdateSizeParams struct { // Body. Body *models.V1SizeUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSizeParams contains all the parameters to send to the API endpoint
for the update size operation. Typically these are written to a http.Request.
func NewUpdateSizeParams ¶
func NewUpdateSizeParams() *UpdateSizeParams
NewUpdateSizeParams creates a new UpdateSizeParams 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 NewUpdateSizeParamsWithContext ¶
func NewUpdateSizeParamsWithContext(ctx context.Context) *UpdateSizeParams
NewUpdateSizeParamsWithContext creates a new UpdateSizeParams object with the ability to set a context for a request.
func NewUpdateSizeParamsWithHTTPClient ¶
func NewUpdateSizeParamsWithHTTPClient(client *http.Client) *UpdateSizeParams
NewUpdateSizeParamsWithHTTPClient creates a new UpdateSizeParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSizeParamsWithTimeout ¶
func NewUpdateSizeParamsWithTimeout(timeout time.Duration) *UpdateSizeParams
NewUpdateSizeParamsWithTimeout creates a new UpdateSizeParams object with the ability to set a timeout on a request.
func (*UpdateSizeParams) SetBody ¶
func (o *UpdateSizeParams) SetBody(body *models.V1SizeUpdateRequest)
SetBody adds the body to the update size params
func (*UpdateSizeParams) SetContext ¶
func (o *UpdateSizeParams) SetContext(ctx context.Context)
SetContext adds the context to the update size params
func (*UpdateSizeParams) SetDefaults ¶ added in v0.12.1
func (o *UpdateSizeParams) SetDefaults()
SetDefaults hydrates default values in the update size params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSizeParams) SetHTTPClient ¶
func (o *UpdateSizeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update size params
func (*UpdateSizeParams) SetTimeout ¶
func (o *UpdateSizeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update size params
func (*UpdateSizeParams) WithBody ¶
func (o *UpdateSizeParams) WithBody(body *models.V1SizeUpdateRequest) *UpdateSizeParams
WithBody adds the body to the update size params
func (*UpdateSizeParams) WithContext ¶
func (o *UpdateSizeParams) WithContext(ctx context.Context) *UpdateSizeParams
WithContext adds the context to the update size params
func (*UpdateSizeParams) WithDefaults ¶ added in v0.12.1
func (o *UpdateSizeParams) WithDefaults() *UpdateSizeParams
WithDefaults hydrates default values in the update size params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSizeParams) WithHTTPClient ¶
func (o *UpdateSizeParams) WithHTTPClient(client *http.Client) *UpdateSizeParams
WithHTTPClient adds the HTTPClient to the update size params
func (*UpdateSizeParams) WithTimeout ¶
func (o *UpdateSizeParams) WithTimeout(timeout time.Duration) *UpdateSizeParams
WithTimeout adds the timeout to the update size params
func (*UpdateSizeParams) WriteToRequest ¶
func (o *UpdateSizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSizeReader ¶
type UpdateSizeReader struct {
// contains filtered or unexported fields
}
UpdateSizeReader is a Reader for the UpdateSize structure.
func (*UpdateSizeReader) ReadResponse ¶
func (o *UpdateSizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_size_parameters.go
- create_size_responses.go
- delete_size_parameters.go
- delete_size_responses.go
- find_size_parameters.go
- find_size_responses.go
- list_size_reservations_parameters.go
- list_size_reservations_responses.go
- list_sizes_parameters.go
- list_sizes_responses.go
- size_client.go
- suggest_parameters.go
- suggest_responses.go
- update_size_parameters.go
- update_size_responses.go