Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSize(params *CreateSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSizeCreated, error)
- func (a *Client) CreateSizeReservation(params *CreateSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSizeReservationCreated, error)
- func (a *Client) DeleteSize(params *DeleteSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSizeOK, error)
- func (a *Client) DeleteSizeReservation(params *DeleteSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSizeReservationOK, error)
- func (a *Client) FindSize(params *FindSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindSizeOK, error)
- func (a *Client) FindSizeReservations(params *FindSizeReservationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindSizeReservationsOK, error)
- func (a *Client) GetSizeReservation(params *GetSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSizeReservationOK, 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) SizeReservationsUsage(params *SizeReservationsUsageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SizeReservationsUsageOK, error)
- func (a *Client) Suggest(params *SuggestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SuggestOK, error)
- func (a *Client) UpdateSize(params *UpdateSizeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateSizeOK, error)
- func (a *Client) UpdateSizeReservation(params *UpdateSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateSizeReservationOK, 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 CreateSizeReservationConflict
- func (o *CreateSizeReservationConflict) Code() int
- func (o *CreateSizeReservationConflict) Error() string
- func (o *CreateSizeReservationConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateSizeReservationConflict) IsClientError() bool
- func (o *CreateSizeReservationConflict) IsCode(code int) bool
- func (o *CreateSizeReservationConflict) IsRedirect() bool
- func (o *CreateSizeReservationConflict) IsServerError() bool
- func (o *CreateSizeReservationConflict) IsSuccess() bool
- func (o *CreateSizeReservationConflict) String() string
- type CreateSizeReservationCreated
- func (o *CreateSizeReservationCreated) Code() int
- func (o *CreateSizeReservationCreated) Error() string
- func (o *CreateSizeReservationCreated) GetPayload() *models.V1SizeReservationResponse
- func (o *CreateSizeReservationCreated) IsClientError() bool
- func (o *CreateSizeReservationCreated) IsCode(code int) bool
- func (o *CreateSizeReservationCreated) IsRedirect() bool
- func (o *CreateSizeReservationCreated) IsServerError() bool
- func (o *CreateSizeReservationCreated) IsSuccess() bool
- func (o *CreateSizeReservationCreated) String() string
- type CreateSizeReservationDefault
- func (o *CreateSizeReservationDefault) Code() int
- func (o *CreateSizeReservationDefault) Error() string
- func (o *CreateSizeReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateSizeReservationDefault) IsClientError() bool
- func (o *CreateSizeReservationDefault) IsCode(code int) bool
- func (o *CreateSizeReservationDefault) IsRedirect() bool
- func (o *CreateSizeReservationDefault) IsServerError() bool
- func (o *CreateSizeReservationDefault) IsSuccess() bool
- func (o *CreateSizeReservationDefault) String() string
- type CreateSizeReservationParams
- func NewCreateSizeReservationParams() *CreateSizeReservationParams
- func NewCreateSizeReservationParamsWithContext(ctx context.Context) *CreateSizeReservationParams
- func NewCreateSizeReservationParamsWithHTTPClient(client *http.Client) *CreateSizeReservationParams
- func NewCreateSizeReservationParamsWithTimeout(timeout time.Duration) *CreateSizeReservationParams
- func (o *CreateSizeReservationParams) SetBody(body *models.V1SizeReservationCreateRequest)
- func (o *CreateSizeReservationParams) SetContext(ctx context.Context)
- func (o *CreateSizeReservationParams) SetDefaults()
- func (o *CreateSizeReservationParams) SetHTTPClient(client *http.Client)
- func (o *CreateSizeReservationParams) SetTimeout(timeout time.Duration)
- func (o *CreateSizeReservationParams) WithBody(body *models.V1SizeReservationCreateRequest) *CreateSizeReservationParams
- func (o *CreateSizeReservationParams) WithContext(ctx context.Context) *CreateSizeReservationParams
- func (o *CreateSizeReservationParams) WithDefaults() *CreateSizeReservationParams
- func (o *CreateSizeReservationParams) WithHTTPClient(client *http.Client) *CreateSizeReservationParams
- func (o *CreateSizeReservationParams) WithTimeout(timeout time.Duration) *CreateSizeReservationParams
- func (o *CreateSizeReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSizeReservationReader
- 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 DeleteSizeReservationDefault
- func (o *DeleteSizeReservationDefault) Code() int
- func (o *DeleteSizeReservationDefault) Error() string
- func (o *DeleteSizeReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteSizeReservationDefault) IsClientError() bool
- func (o *DeleteSizeReservationDefault) IsCode(code int) bool
- func (o *DeleteSizeReservationDefault) IsRedirect() bool
- func (o *DeleteSizeReservationDefault) IsServerError() bool
- func (o *DeleteSizeReservationDefault) IsSuccess() bool
- func (o *DeleteSizeReservationDefault) String() string
- type DeleteSizeReservationOK
- func (o *DeleteSizeReservationOK) Code() int
- func (o *DeleteSizeReservationOK) Error() string
- func (o *DeleteSizeReservationOK) GetPayload() *models.V1SizeReservationResponse
- func (o *DeleteSizeReservationOK) IsClientError() bool
- func (o *DeleteSizeReservationOK) IsCode(code int) bool
- func (o *DeleteSizeReservationOK) IsRedirect() bool
- func (o *DeleteSizeReservationOK) IsServerError() bool
- func (o *DeleteSizeReservationOK) IsSuccess() bool
- func (o *DeleteSizeReservationOK) String() string
- type DeleteSizeReservationParams
- func NewDeleteSizeReservationParams() *DeleteSizeReservationParams
- func NewDeleteSizeReservationParamsWithContext(ctx context.Context) *DeleteSizeReservationParams
- func NewDeleteSizeReservationParamsWithHTTPClient(client *http.Client) *DeleteSizeReservationParams
- func NewDeleteSizeReservationParamsWithTimeout(timeout time.Duration) *DeleteSizeReservationParams
- func (o *DeleteSizeReservationParams) SetContext(ctx context.Context)
- func (o *DeleteSizeReservationParams) SetDefaults()
- func (o *DeleteSizeReservationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSizeReservationParams) SetID(id string)
- func (o *DeleteSizeReservationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSizeReservationParams) WithContext(ctx context.Context) *DeleteSizeReservationParams
- func (o *DeleteSizeReservationParams) WithDefaults() *DeleteSizeReservationParams
- func (o *DeleteSizeReservationParams) WithHTTPClient(client *http.Client) *DeleteSizeReservationParams
- func (o *DeleteSizeReservationParams) WithID(id string) *DeleteSizeReservationParams
- func (o *DeleteSizeReservationParams) WithTimeout(timeout time.Duration) *DeleteSizeReservationParams
- func (o *DeleteSizeReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSizeReservationReader
- 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 FindSizeReservationsDefault
- func (o *FindSizeReservationsDefault) Code() int
- func (o *FindSizeReservationsDefault) Error() string
- func (o *FindSizeReservationsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindSizeReservationsDefault) IsClientError() bool
- func (o *FindSizeReservationsDefault) IsCode(code int) bool
- func (o *FindSizeReservationsDefault) IsRedirect() bool
- func (o *FindSizeReservationsDefault) IsServerError() bool
- func (o *FindSizeReservationsDefault) IsSuccess() bool
- func (o *FindSizeReservationsDefault) String() string
- type FindSizeReservationsOK
- func (o *FindSizeReservationsOK) Code() int
- func (o *FindSizeReservationsOK) Error() string
- func (o *FindSizeReservationsOK) GetPayload() []*models.V1SizeReservationResponse
- func (o *FindSizeReservationsOK) IsClientError() bool
- func (o *FindSizeReservationsOK) IsCode(code int) bool
- func (o *FindSizeReservationsOK) IsRedirect() bool
- func (o *FindSizeReservationsOK) IsServerError() bool
- func (o *FindSizeReservationsOK) IsSuccess() bool
- func (o *FindSizeReservationsOK) String() string
- type FindSizeReservationsParams
- func NewFindSizeReservationsParams() *FindSizeReservationsParams
- func NewFindSizeReservationsParamsWithContext(ctx context.Context) *FindSizeReservationsParams
- func NewFindSizeReservationsParamsWithHTTPClient(client *http.Client) *FindSizeReservationsParams
- func NewFindSizeReservationsParamsWithTimeout(timeout time.Duration) *FindSizeReservationsParams
- func (o *FindSizeReservationsParams) SetBody(body *models.V1SizeReservationListRequest)
- func (o *FindSizeReservationsParams) SetContext(ctx context.Context)
- func (o *FindSizeReservationsParams) SetDefaults()
- func (o *FindSizeReservationsParams) SetHTTPClient(client *http.Client)
- func (o *FindSizeReservationsParams) SetTimeout(timeout time.Duration)
- func (o *FindSizeReservationsParams) WithBody(body *models.V1SizeReservationListRequest) *FindSizeReservationsParams
- func (o *FindSizeReservationsParams) WithContext(ctx context.Context) *FindSizeReservationsParams
- func (o *FindSizeReservationsParams) WithDefaults() *FindSizeReservationsParams
- func (o *FindSizeReservationsParams) WithHTTPClient(client *http.Client) *FindSizeReservationsParams
- func (o *FindSizeReservationsParams) WithTimeout(timeout time.Duration) *FindSizeReservationsParams
- func (o *FindSizeReservationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindSizeReservationsReader
- type GetSizeReservationDefault
- func (o *GetSizeReservationDefault) Code() int
- func (o *GetSizeReservationDefault) Error() string
- func (o *GetSizeReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetSizeReservationDefault) IsClientError() bool
- func (o *GetSizeReservationDefault) IsCode(code int) bool
- func (o *GetSizeReservationDefault) IsRedirect() bool
- func (o *GetSizeReservationDefault) IsServerError() bool
- func (o *GetSizeReservationDefault) IsSuccess() bool
- func (o *GetSizeReservationDefault) String() string
- type GetSizeReservationOK
- func (o *GetSizeReservationOK) Code() int
- func (o *GetSizeReservationOK) Error() string
- func (o *GetSizeReservationOK) GetPayload() *models.V1SizeReservationResponse
- func (o *GetSizeReservationOK) IsClientError() bool
- func (o *GetSizeReservationOK) IsCode(code int) bool
- func (o *GetSizeReservationOK) IsRedirect() bool
- func (o *GetSizeReservationOK) IsServerError() bool
- func (o *GetSizeReservationOK) IsSuccess() bool
- func (o *GetSizeReservationOK) String() string
- type GetSizeReservationParams
- func NewGetSizeReservationParams() *GetSizeReservationParams
- func NewGetSizeReservationParamsWithContext(ctx context.Context) *GetSizeReservationParams
- func NewGetSizeReservationParamsWithHTTPClient(client *http.Client) *GetSizeReservationParams
- func NewGetSizeReservationParamsWithTimeout(timeout time.Duration) *GetSizeReservationParams
- func (o *GetSizeReservationParams) SetContext(ctx context.Context)
- func (o *GetSizeReservationParams) SetDefaults()
- func (o *GetSizeReservationParams) SetHTTPClient(client *http.Client)
- func (o *GetSizeReservationParams) SetID(id string)
- func (o *GetSizeReservationParams) SetTimeout(timeout time.Duration)
- func (o *GetSizeReservationParams) WithContext(ctx context.Context) *GetSizeReservationParams
- func (o *GetSizeReservationParams) WithDefaults() *GetSizeReservationParams
- func (o *GetSizeReservationParams) WithHTTPClient(client *http.Client) *GetSizeReservationParams
- func (o *GetSizeReservationParams) WithID(id string) *GetSizeReservationParams
- func (o *GetSizeReservationParams) WithTimeout(timeout time.Duration) *GetSizeReservationParams
- func (o *GetSizeReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSizeReservationReader
- 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) 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) 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 SizeReservationsUsageDefault
- func (o *SizeReservationsUsageDefault) Code() int
- func (o *SizeReservationsUsageDefault) Error() string
- func (o *SizeReservationsUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *SizeReservationsUsageDefault) IsClientError() bool
- func (o *SizeReservationsUsageDefault) IsCode(code int) bool
- func (o *SizeReservationsUsageDefault) IsRedirect() bool
- func (o *SizeReservationsUsageDefault) IsServerError() bool
- func (o *SizeReservationsUsageDefault) IsSuccess() bool
- func (o *SizeReservationsUsageDefault) String() string
- type SizeReservationsUsageOK
- func (o *SizeReservationsUsageOK) Code() int
- func (o *SizeReservationsUsageOK) Error() string
- func (o *SizeReservationsUsageOK) GetPayload() []*models.V1SizeReservationUsageResponse
- func (o *SizeReservationsUsageOK) IsClientError() bool
- func (o *SizeReservationsUsageOK) IsCode(code int) bool
- func (o *SizeReservationsUsageOK) IsRedirect() bool
- func (o *SizeReservationsUsageOK) IsServerError() bool
- func (o *SizeReservationsUsageOK) IsSuccess() bool
- func (o *SizeReservationsUsageOK) String() string
- type SizeReservationsUsageParams
- func NewSizeReservationsUsageParams() *SizeReservationsUsageParams
- func NewSizeReservationsUsageParamsWithContext(ctx context.Context) *SizeReservationsUsageParams
- func NewSizeReservationsUsageParamsWithHTTPClient(client *http.Client) *SizeReservationsUsageParams
- func NewSizeReservationsUsageParamsWithTimeout(timeout time.Duration) *SizeReservationsUsageParams
- func (o *SizeReservationsUsageParams) SetBody(body *models.V1SizeReservationListRequest)
- func (o *SizeReservationsUsageParams) SetContext(ctx context.Context)
- func (o *SizeReservationsUsageParams) SetDefaults()
- func (o *SizeReservationsUsageParams) SetHTTPClient(client *http.Client)
- func (o *SizeReservationsUsageParams) SetTimeout(timeout time.Duration)
- func (o *SizeReservationsUsageParams) WithBody(body *models.V1SizeReservationListRequest) *SizeReservationsUsageParams
- func (o *SizeReservationsUsageParams) WithContext(ctx context.Context) *SizeReservationsUsageParams
- func (o *SizeReservationsUsageParams) WithDefaults() *SizeReservationsUsageParams
- func (o *SizeReservationsUsageParams) WithHTTPClient(client *http.Client) *SizeReservationsUsageParams
- func (o *SizeReservationsUsageParams) WithTimeout(timeout time.Duration) *SizeReservationsUsageParams
- func (o *SizeReservationsUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SizeReservationsUsageReader
- 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
- type UpdateSizeReservationConflict
- func (o *UpdateSizeReservationConflict) Code() int
- func (o *UpdateSizeReservationConflict) Error() string
- func (o *UpdateSizeReservationConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateSizeReservationConflict) IsClientError() bool
- func (o *UpdateSizeReservationConflict) IsCode(code int) bool
- func (o *UpdateSizeReservationConflict) IsRedirect() bool
- func (o *UpdateSizeReservationConflict) IsServerError() bool
- func (o *UpdateSizeReservationConflict) IsSuccess() bool
- func (o *UpdateSizeReservationConflict) String() string
- type UpdateSizeReservationDefault
- func (o *UpdateSizeReservationDefault) Code() int
- func (o *UpdateSizeReservationDefault) Error() string
- func (o *UpdateSizeReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateSizeReservationDefault) IsClientError() bool
- func (o *UpdateSizeReservationDefault) IsCode(code int) bool
- func (o *UpdateSizeReservationDefault) IsRedirect() bool
- func (o *UpdateSizeReservationDefault) IsServerError() bool
- func (o *UpdateSizeReservationDefault) IsSuccess() bool
- func (o *UpdateSizeReservationDefault) String() string
- type UpdateSizeReservationOK
- func (o *UpdateSizeReservationOK) Code() int
- func (o *UpdateSizeReservationOK) Error() string
- func (o *UpdateSizeReservationOK) GetPayload() *models.V1SizeReservationResponse
- func (o *UpdateSizeReservationOK) IsClientError() bool
- func (o *UpdateSizeReservationOK) IsCode(code int) bool
- func (o *UpdateSizeReservationOK) IsRedirect() bool
- func (o *UpdateSizeReservationOK) IsServerError() bool
- func (o *UpdateSizeReservationOK) IsSuccess() bool
- func (o *UpdateSizeReservationOK) String() string
- type UpdateSizeReservationParams
- func NewUpdateSizeReservationParams() *UpdateSizeReservationParams
- func NewUpdateSizeReservationParamsWithContext(ctx context.Context) *UpdateSizeReservationParams
- func NewUpdateSizeReservationParamsWithHTTPClient(client *http.Client) *UpdateSizeReservationParams
- func NewUpdateSizeReservationParamsWithTimeout(timeout time.Duration) *UpdateSizeReservationParams
- func (o *UpdateSizeReservationParams) SetBody(body *models.V1SizeReservationUpdateRequest)
- func (o *UpdateSizeReservationParams) SetContext(ctx context.Context)
- func (o *UpdateSizeReservationParams) SetDefaults()
- func (o *UpdateSizeReservationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSizeReservationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSizeReservationParams) WithBody(body *models.V1SizeReservationUpdateRequest) *UpdateSizeReservationParams
- func (o *UpdateSizeReservationParams) WithContext(ctx context.Context) *UpdateSizeReservationParams
- func (o *UpdateSizeReservationParams) WithDefaults() *UpdateSizeReservationParams
- func (o *UpdateSizeReservationParams) WithHTTPClient(client *http.Client) *UpdateSizeReservationParams
- func (o *UpdateSizeReservationParams) WithTimeout(timeout time.Duration) *UpdateSizeReservationParams
- func (o *UpdateSizeReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSizeReservationReader
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) CreateSizeReservation ¶ added in v0.36.0
func (a *Client) CreateSizeReservation(params *CreateSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSizeReservationCreated, error)
CreateSizeReservation creates a size reservation 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) DeleteSizeReservation ¶ added in v0.36.0
func (a *Client) DeleteSizeReservation(params *DeleteSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSizeReservationOK, error)
DeleteSizeReservation deletes a size reservation 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) FindSizeReservations ¶ added in v0.36.0
func (a *Client) FindSizeReservations(params *FindSizeReservationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSizeReservationsOK, error)
FindSizeReservations gets all size reservations
func (*Client) GetSizeReservation ¶ added in v0.36.0
func (a *Client) GetSizeReservation(params *GetSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSizeReservationOK, error)
GetSizeReservation gets size reservation 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) SizeReservationsUsage ¶ added in v0.36.0
func (a *Client) SizeReservationsUsage(params *SizeReservationsUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SizeReservationsUsageOK, error)
SizeReservationsUsage gets all size reservations
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
func (*Client) UpdateSizeReservation ¶ added in v0.36.0
func (a *Client) UpdateSizeReservation(params *UpdateSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSizeReservationOK, error)
UpdateSizeReservation updates a size reservation if the size reservation was changed since this one was read a conflict is returned
type ClientOption ¶ added in v0.13.1
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v0.11.0
type ClientService interface { CreateSize(params *CreateSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSizeCreated, error) CreateSizeReservation(params *CreateSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSizeReservationCreated, error) DeleteSize(params *DeleteSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSizeOK, error) DeleteSizeReservation(params *DeleteSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSizeReservationOK, error) FindSize(params *FindSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSizeOK, error) FindSizeReservations(params *FindSizeReservationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindSizeReservationsOK, error) GetSizeReservation(params *GetSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSizeReservationOK, error) ListSizeReservations(params *ListSizeReservationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSizeReservationsOK, error) ListSizes(params *ListSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSizesOK, error) SizeReservationsUsage(params *SizeReservationsUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SizeReservationsUsageOK, error) Suggest(params *SuggestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SuggestOK, error) UpdateSize(params *UpdateSizeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSizeOK, error) UpdateSizeReservation(params *UpdateSizeReservationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSizeReservationOK, 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.
func NewClientWithBasicAuth ¶ added in v0.32.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new size API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.32.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new size API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type 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 CreateSizeReservationConflict ¶ added in v0.36.0
type CreateSizeReservationConflict struct {
Payload *httperrors.HTTPErrorResponse
}
CreateSizeReservationConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateSizeReservationConflict ¶ added in v0.36.0
func NewCreateSizeReservationConflict() *CreateSizeReservationConflict
NewCreateSizeReservationConflict creates a CreateSizeReservationConflict with default headers values
func (*CreateSizeReservationConflict) Code ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) Code() int
Code gets the status code for the create size reservation conflict response
func (*CreateSizeReservationConflict) Error ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) Error() string
func (*CreateSizeReservationConflict) GetPayload ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateSizeReservationConflict) IsClientError ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) IsClientError() bool
IsClientError returns true when this create size reservation conflict response has a 4xx status code
func (*CreateSizeReservationConflict) IsCode ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) IsCode(code int) bool
IsCode returns true when this create size reservation conflict response a status code equal to that given
func (*CreateSizeReservationConflict) IsRedirect ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) IsRedirect() bool
IsRedirect returns true when this create size reservation conflict response has a 3xx status code
func (*CreateSizeReservationConflict) IsServerError ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) IsServerError() bool
IsServerError returns true when this create size reservation conflict response has a 5xx status code
func (*CreateSizeReservationConflict) IsSuccess ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) IsSuccess() bool
IsSuccess returns true when this create size reservation conflict response has a 2xx status code
func (*CreateSizeReservationConflict) String ¶ added in v0.36.0
func (o *CreateSizeReservationConflict) String() string
type CreateSizeReservationCreated ¶ added in v0.36.0
type CreateSizeReservationCreated struct {
Payload *models.V1SizeReservationResponse
}
CreateSizeReservationCreated describes a response with status code 201, with default header values.
Created
func NewCreateSizeReservationCreated ¶ added in v0.36.0
func NewCreateSizeReservationCreated() *CreateSizeReservationCreated
NewCreateSizeReservationCreated creates a CreateSizeReservationCreated with default headers values
func (*CreateSizeReservationCreated) Code ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) Code() int
Code gets the status code for the create size reservation created response
func (*CreateSizeReservationCreated) Error ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) Error() string
func (*CreateSizeReservationCreated) GetPayload ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) GetPayload() *models.V1SizeReservationResponse
func (*CreateSizeReservationCreated) IsClientError ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) IsClientError() bool
IsClientError returns true when this create size reservation created response has a 4xx status code
func (*CreateSizeReservationCreated) IsCode ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) IsCode(code int) bool
IsCode returns true when this create size reservation created response a status code equal to that given
func (*CreateSizeReservationCreated) IsRedirect ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) IsRedirect() bool
IsRedirect returns true when this create size reservation created response has a 3xx status code
func (*CreateSizeReservationCreated) IsServerError ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) IsServerError() bool
IsServerError returns true when this create size reservation created response has a 5xx status code
func (*CreateSizeReservationCreated) IsSuccess ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) IsSuccess() bool
IsSuccess returns true when this create size reservation created response has a 2xx status code
func (*CreateSizeReservationCreated) String ¶ added in v0.36.0
func (o *CreateSizeReservationCreated) String() string
type CreateSizeReservationDefault ¶ added in v0.36.0
type CreateSizeReservationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CreateSizeReservationDefault describes a response with status code -1, with default header values.
Error
func NewCreateSizeReservationDefault ¶ added in v0.36.0
func NewCreateSizeReservationDefault(code int) *CreateSizeReservationDefault
NewCreateSizeReservationDefault creates a CreateSizeReservationDefault with default headers values
func (*CreateSizeReservationDefault) Code ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) Code() int
Code gets the status code for the create size reservation default response
func (*CreateSizeReservationDefault) Error ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) Error() string
func (*CreateSizeReservationDefault) GetPayload ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateSizeReservationDefault) IsClientError ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) IsClientError() bool
IsClientError returns true when this create size reservation default response has a 4xx status code
func (*CreateSizeReservationDefault) IsCode ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) IsCode(code int) bool
IsCode returns true when this create size reservation default response a status code equal to that given
func (*CreateSizeReservationDefault) IsRedirect ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) IsRedirect() bool
IsRedirect returns true when this create size reservation default response has a 3xx status code
func (*CreateSizeReservationDefault) IsServerError ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) IsServerError() bool
IsServerError returns true when this create size reservation default response has a 5xx status code
func (*CreateSizeReservationDefault) IsSuccess ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) IsSuccess() bool
IsSuccess returns true when this create size reservation default response has a 2xx status code
func (*CreateSizeReservationDefault) String ¶ added in v0.36.0
func (o *CreateSizeReservationDefault) String() string
type CreateSizeReservationParams ¶ added in v0.36.0
type CreateSizeReservationParams struct { // Body. Body *models.V1SizeReservationCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSizeReservationParams contains all the parameters to send to the API endpoint
for the create size reservation operation. Typically these are written to a http.Request.
func NewCreateSizeReservationParams ¶ added in v0.36.0
func NewCreateSizeReservationParams() *CreateSizeReservationParams
NewCreateSizeReservationParams creates a new CreateSizeReservationParams 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 NewCreateSizeReservationParamsWithContext ¶ added in v0.36.0
func NewCreateSizeReservationParamsWithContext(ctx context.Context) *CreateSizeReservationParams
NewCreateSizeReservationParamsWithContext creates a new CreateSizeReservationParams object with the ability to set a context for a request.
func NewCreateSizeReservationParamsWithHTTPClient ¶ added in v0.36.0
func NewCreateSizeReservationParamsWithHTTPClient(client *http.Client) *CreateSizeReservationParams
NewCreateSizeReservationParamsWithHTTPClient creates a new CreateSizeReservationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSizeReservationParamsWithTimeout ¶ added in v0.36.0
func NewCreateSizeReservationParamsWithTimeout(timeout time.Duration) *CreateSizeReservationParams
NewCreateSizeReservationParamsWithTimeout creates a new CreateSizeReservationParams object with the ability to set a timeout on a request.
func (*CreateSizeReservationParams) SetBody ¶ added in v0.36.0
func (o *CreateSizeReservationParams) SetBody(body *models.V1SizeReservationCreateRequest)
SetBody adds the body to the create size reservation params
func (*CreateSizeReservationParams) SetContext ¶ added in v0.36.0
func (o *CreateSizeReservationParams) SetContext(ctx context.Context)
SetContext adds the context to the create size reservation params
func (*CreateSizeReservationParams) SetDefaults ¶ added in v0.36.0
func (o *CreateSizeReservationParams) SetDefaults()
SetDefaults hydrates default values in the create size reservation params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSizeReservationParams) SetHTTPClient ¶ added in v0.36.0
func (o *CreateSizeReservationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create size reservation params
func (*CreateSizeReservationParams) SetTimeout ¶ added in v0.36.0
func (o *CreateSizeReservationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create size reservation params
func (*CreateSizeReservationParams) WithBody ¶ added in v0.36.0
func (o *CreateSizeReservationParams) WithBody(body *models.V1SizeReservationCreateRequest) *CreateSizeReservationParams
WithBody adds the body to the create size reservation params
func (*CreateSizeReservationParams) WithContext ¶ added in v0.36.0
func (o *CreateSizeReservationParams) WithContext(ctx context.Context) *CreateSizeReservationParams
WithContext adds the context to the create size reservation params
func (*CreateSizeReservationParams) WithDefaults ¶ added in v0.36.0
func (o *CreateSizeReservationParams) WithDefaults() *CreateSizeReservationParams
WithDefaults hydrates default values in the create size reservation params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSizeReservationParams) WithHTTPClient ¶ added in v0.36.0
func (o *CreateSizeReservationParams) WithHTTPClient(client *http.Client) *CreateSizeReservationParams
WithHTTPClient adds the HTTPClient to the create size reservation params
func (*CreateSizeReservationParams) WithTimeout ¶ added in v0.36.0
func (o *CreateSizeReservationParams) WithTimeout(timeout time.Duration) *CreateSizeReservationParams
WithTimeout adds the timeout to the create size reservation params
func (*CreateSizeReservationParams) WriteToRequest ¶ added in v0.36.0
func (o *CreateSizeReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSizeReservationReader ¶ added in v0.36.0
type CreateSizeReservationReader struct {
// contains filtered or unexported fields
}
CreateSizeReservationReader is a Reader for the CreateSizeReservation structure.
func (*CreateSizeReservationReader) ReadResponse ¶ added in v0.36.0
func (o *CreateSizeReservationReader) 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 DeleteSizeReservationDefault ¶ added in v0.36.0
type DeleteSizeReservationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteSizeReservationDefault describes a response with status code -1, with default header values.
Error
func NewDeleteSizeReservationDefault ¶ added in v0.36.0
func NewDeleteSizeReservationDefault(code int) *DeleteSizeReservationDefault
NewDeleteSizeReservationDefault creates a DeleteSizeReservationDefault with default headers values
func (*DeleteSizeReservationDefault) Code ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) Code() int
Code gets the status code for the delete size reservation default response
func (*DeleteSizeReservationDefault) Error ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) Error() string
func (*DeleteSizeReservationDefault) GetPayload ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteSizeReservationDefault) IsClientError ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) IsClientError() bool
IsClientError returns true when this delete size reservation default response has a 4xx status code
func (*DeleteSizeReservationDefault) IsCode ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) IsCode(code int) bool
IsCode returns true when this delete size reservation default response a status code equal to that given
func (*DeleteSizeReservationDefault) IsRedirect ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) IsRedirect() bool
IsRedirect returns true when this delete size reservation default response has a 3xx status code
func (*DeleteSizeReservationDefault) IsServerError ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) IsServerError() bool
IsServerError returns true when this delete size reservation default response has a 5xx status code
func (*DeleteSizeReservationDefault) IsSuccess ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) IsSuccess() bool
IsSuccess returns true when this delete size reservation default response has a 2xx status code
func (*DeleteSizeReservationDefault) String ¶ added in v0.36.0
func (o *DeleteSizeReservationDefault) String() string
type DeleteSizeReservationOK ¶ added in v0.36.0
type DeleteSizeReservationOK struct {
Payload *models.V1SizeReservationResponse
}
DeleteSizeReservationOK describes a response with status code 200, with default header values.
OK
func NewDeleteSizeReservationOK ¶ added in v0.36.0
func NewDeleteSizeReservationOK() *DeleteSizeReservationOK
NewDeleteSizeReservationOK creates a DeleteSizeReservationOK with default headers values
func (*DeleteSizeReservationOK) Code ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) Code() int
Code gets the status code for the delete size reservation o k response
func (*DeleteSizeReservationOK) Error ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) Error() string
func (*DeleteSizeReservationOK) GetPayload ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) GetPayload() *models.V1SizeReservationResponse
func (*DeleteSizeReservationOK) IsClientError ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) IsClientError() bool
IsClientError returns true when this delete size reservation o k response has a 4xx status code
func (*DeleteSizeReservationOK) IsCode ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) IsCode(code int) bool
IsCode returns true when this delete size reservation o k response a status code equal to that given
func (*DeleteSizeReservationOK) IsRedirect ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) IsRedirect() bool
IsRedirect returns true when this delete size reservation o k response has a 3xx status code
func (*DeleteSizeReservationOK) IsServerError ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) IsServerError() bool
IsServerError returns true when this delete size reservation o k response has a 5xx status code
func (*DeleteSizeReservationOK) IsSuccess ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) IsSuccess() bool
IsSuccess returns true when this delete size reservation o k response has a 2xx status code
func (*DeleteSizeReservationOK) String ¶ added in v0.36.0
func (o *DeleteSizeReservationOK) String() string
type DeleteSizeReservationParams ¶ added in v0.36.0
type DeleteSizeReservationParams struct { /* ID. identifier of the size reservation */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSizeReservationParams contains all the parameters to send to the API endpoint
for the delete size reservation operation. Typically these are written to a http.Request.
func NewDeleteSizeReservationParams ¶ added in v0.36.0
func NewDeleteSizeReservationParams() *DeleteSizeReservationParams
NewDeleteSizeReservationParams creates a new DeleteSizeReservationParams 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 NewDeleteSizeReservationParamsWithContext ¶ added in v0.36.0
func NewDeleteSizeReservationParamsWithContext(ctx context.Context) *DeleteSizeReservationParams
NewDeleteSizeReservationParamsWithContext creates a new DeleteSizeReservationParams object with the ability to set a context for a request.
func NewDeleteSizeReservationParamsWithHTTPClient ¶ added in v0.36.0
func NewDeleteSizeReservationParamsWithHTTPClient(client *http.Client) *DeleteSizeReservationParams
NewDeleteSizeReservationParamsWithHTTPClient creates a new DeleteSizeReservationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSizeReservationParamsWithTimeout ¶ added in v0.36.0
func NewDeleteSizeReservationParamsWithTimeout(timeout time.Duration) *DeleteSizeReservationParams
NewDeleteSizeReservationParamsWithTimeout creates a new DeleteSizeReservationParams object with the ability to set a timeout on a request.
func (*DeleteSizeReservationParams) SetContext ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete size reservation params
func (*DeleteSizeReservationParams) SetDefaults ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) SetDefaults()
SetDefaults hydrates default values in the delete size reservation params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSizeReservationParams) SetHTTPClient ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete size reservation params
func (*DeleteSizeReservationParams) SetID ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) SetID(id string)
SetID adds the id to the delete size reservation params
func (*DeleteSizeReservationParams) SetTimeout ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete size reservation params
func (*DeleteSizeReservationParams) WithContext ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) WithContext(ctx context.Context) *DeleteSizeReservationParams
WithContext adds the context to the delete size reservation params
func (*DeleteSizeReservationParams) WithDefaults ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) WithDefaults() *DeleteSizeReservationParams
WithDefaults hydrates default values in the delete size reservation params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSizeReservationParams) WithHTTPClient ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) WithHTTPClient(client *http.Client) *DeleteSizeReservationParams
WithHTTPClient adds the HTTPClient to the delete size reservation params
func (*DeleteSizeReservationParams) WithID ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) WithID(id string) *DeleteSizeReservationParams
WithID adds the id to the delete size reservation params
func (*DeleteSizeReservationParams) WithTimeout ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) WithTimeout(timeout time.Duration) *DeleteSizeReservationParams
WithTimeout adds the timeout to the delete size reservation params
func (*DeleteSizeReservationParams) WriteToRequest ¶ added in v0.36.0
func (o *DeleteSizeReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSizeReservationReader ¶ added in v0.36.0
type DeleteSizeReservationReader struct {
// contains filtered or unexported fields
}
DeleteSizeReservationReader is a Reader for the DeleteSizeReservation structure.
func (*DeleteSizeReservationReader) ReadResponse ¶ added in v0.36.0
func (o *DeleteSizeReservationReader) 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 FindSizeReservationsDefault ¶ added in v0.36.0
type FindSizeReservationsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindSizeReservationsDefault describes a response with status code -1, with default header values.
Error
func NewFindSizeReservationsDefault ¶ added in v0.36.0
func NewFindSizeReservationsDefault(code int) *FindSizeReservationsDefault
NewFindSizeReservationsDefault creates a FindSizeReservationsDefault with default headers values
func (*FindSizeReservationsDefault) Code ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) Code() int
Code gets the status code for the find size reservations default response
func (*FindSizeReservationsDefault) Error ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) Error() string
func (*FindSizeReservationsDefault) GetPayload ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindSizeReservationsDefault) IsClientError ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) IsClientError() bool
IsClientError returns true when this find size reservations default response has a 4xx status code
func (*FindSizeReservationsDefault) IsCode ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) IsCode(code int) bool
IsCode returns true when this find size reservations default response a status code equal to that given
func (*FindSizeReservationsDefault) IsRedirect ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) IsRedirect() bool
IsRedirect returns true when this find size reservations default response has a 3xx status code
func (*FindSizeReservationsDefault) IsServerError ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) IsServerError() bool
IsServerError returns true when this find size reservations default response has a 5xx status code
func (*FindSizeReservationsDefault) IsSuccess ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) IsSuccess() bool
IsSuccess returns true when this find size reservations default response has a 2xx status code
func (*FindSizeReservationsDefault) String ¶ added in v0.36.0
func (o *FindSizeReservationsDefault) String() string
type FindSizeReservationsOK ¶ added in v0.36.0
type FindSizeReservationsOK struct {
Payload []*models.V1SizeReservationResponse
}
FindSizeReservationsOK describes a response with status code 200, with default header values.
OK
func NewFindSizeReservationsOK ¶ added in v0.36.0
func NewFindSizeReservationsOK() *FindSizeReservationsOK
NewFindSizeReservationsOK creates a FindSizeReservationsOK with default headers values
func (*FindSizeReservationsOK) Code ¶ added in v0.36.0
func (o *FindSizeReservationsOK) Code() int
Code gets the status code for the find size reservations o k response
func (*FindSizeReservationsOK) Error ¶ added in v0.36.0
func (o *FindSizeReservationsOK) Error() string
func (*FindSizeReservationsOK) GetPayload ¶ added in v0.36.0
func (o *FindSizeReservationsOK) GetPayload() []*models.V1SizeReservationResponse
func (*FindSizeReservationsOK) IsClientError ¶ added in v0.36.0
func (o *FindSizeReservationsOK) IsClientError() bool
IsClientError returns true when this find size reservations o k response has a 4xx status code
func (*FindSizeReservationsOK) IsCode ¶ added in v0.36.0
func (o *FindSizeReservationsOK) IsCode(code int) bool
IsCode returns true when this find size reservations o k response a status code equal to that given
func (*FindSizeReservationsOK) IsRedirect ¶ added in v0.36.0
func (o *FindSizeReservationsOK) IsRedirect() bool
IsRedirect returns true when this find size reservations o k response has a 3xx status code
func (*FindSizeReservationsOK) IsServerError ¶ added in v0.36.0
func (o *FindSizeReservationsOK) IsServerError() bool
IsServerError returns true when this find size reservations o k response has a 5xx status code
func (*FindSizeReservationsOK) IsSuccess ¶ added in v0.36.0
func (o *FindSizeReservationsOK) IsSuccess() bool
IsSuccess returns true when this find size reservations o k response has a 2xx status code
func (*FindSizeReservationsOK) String ¶ added in v0.36.0
func (o *FindSizeReservationsOK) String() string
type FindSizeReservationsParams ¶ added in v0.36.0
type FindSizeReservationsParams struct { // Body. Body *models.V1SizeReservationListRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindSizeReservationsParams contains all the parameters to send to the API endpoint
for the find size reservations operation. Typically these are written to a http.Request.
func NewFindSizeReservationsParams ¶ added in v0.36.0
func NewFindSizeReservationsParams() *FindSizeReservationsParams
NewFindSizeReservationsParams creates a new FindSizeReservationsParams 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 NewFindSizeReservationsParamsWithContext ¶ added in v0.36.0
func NewFindSizeReservationsParamsWithContext(ctx context.Context) *FindSizeReservationsParams
NewFindSizeReservationsParamsWithContext creates a new FindSizeReservationsParams object with the ability to set a context for a request.
func NewFindSizeReservationsParamsWithHTTPClient ¶ added in v0.36.0
func NewFindSizeReservationsParamsWithHTTPClient(client *http.Client) *FindSizeReservationsParams
NewFindSizeReservationsParamsWithHTTPClient creates a new FindSizeReservationsParams object with the ability to set a custom HTTPClient for a request.
func NewFindSizeReservationsParamsWithTimeout ¶ added in v0.36.0
func NewFindSizeReservationsParamsWithTimeout(timeout time.Duration) *FindSizeReservationsParams
NewFindSizeReservationsParamsWithTimeout creates a new FindSizeReservationsParams object with the ability to set a timeout on a request.
func (*FindSizeReservationsParams) SetBody ¶ added in v0.36.0
func (o *FindSizeReservationsParams) SetBody(body *models.V1SizeReservationListRequest)
SetBody adds the body to the find size reservations params
func (*FindSizeReservationsParams) SetContext ¶ added in v0.36.0
func (o *FindSizeReservationsParams) SetContext(ctx context.Context)
SetContext adds the context to the find size reservations params
func (*FindSizeReservationsParams) SetDefaults ¶ added in v0.36.0
func (o *FindSizeReservationsParams) SetDefaults()
SetDefaults hydrates default values in the find size reservations params (not the query body).
All values with no default are reset to their zero value.
func (*FindSizeReservationsParams) SetHTTPClient ¶ added in v0.36.0
func (o *FindSizeReservationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find size reservations params
func (*FindSizeReservationsParams) SetTimeout ¶ added in v0.36.0
func (o *FindSizeReservationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find size reservations params
func (*FindSizeReservationsParams) WithBody ¶ added in v0.36.0
func (o *FindSizeReservationsParams) WithBody(body *models.V1SizeReservationListRequest) *FindSizeReservationsParams
WithBody adds the body to the find size reservations params
func (*FindSizeReservationsParams) WithContext ¶ added in v0.36.0
func (o *FindSizeReservationsParams) WithContext(ctx context.Context) *FindSizeReservationsParams
WithContext adds the context to the find size reservations params
func (*FindSizeReservationsParams) WithDefaults ¶ added in v0.36.0
func (o *FindSizeReservationsParams) WithDefaults() *FindSizeReservationsParams
WithDefaults hydrates default values in the find size reservations params (not the query body).
All values with no default are reset to their zero value.
func (*FindSizeReservationsParams) WithHTTPClient ¶ added in v0.36.0
func (o *FindSizeReservationsParams) WithHTTPClient(client *http.Client) *FindSizeReservationsParams
WithHTTPClient adds the HTTPClient to the find size reservations params
func (*FindSizeReservationsParams) WithTimeout ¶ added in v0.36.0
func (o *FindSizeReservationsParams) WithTimeout(timeout time.Duration) *FindSizeReservationsParams
WithTimeout adds the timeout to the find size reservations params
func (*FindSizeReservationsParams) WriteToRequest ¶ added in v0.36.0
func (o *FindSizeReservationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindSizeReservationsReader ¶ added in v0.36.0
type FindSizeReservationsReader struct {
// contains filtered or unexported fields
}
FindSizeReservationsReader is a Reader for the FindSizeReservations structure.
func (*FindSizeReservationsReader) ReadResponse ¶ added in v0.36.0
func (o *FindSizeReservationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSizeReservationDefault ¶ added in v0.36.0
type GetSizeReservationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetSizeReservationDefault describes a response with status code -1, with default header values.
Error
func NewGetSizeReservationDefault ¶ added in v0.36.0
func NewGetSizeReservationDefault(code int) *GetSizeReservationDefault
NewGetSizeReservationDefault creates a GetSizeReservationDefault with default headers values
func (*GetSizeReservationDefault) Code ¶ added in v0.36.0
func (o *GetSizeReservationDefault) Code() int
Code gets the status code for the get size reservation default response
func (*GetSizeReservationDefault) Error ¶ added in v0.36.0
func (o *GetSizeReservationDefault) Error() string
func (*GetSizeReservationDefault) GetPayload ¶ added in v0.36.0
func (o *GetSizeReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetSizeReservationDefault) IsClientError ¶ added in v0.36.0
func (o *GetSizeReservationDefault) IsClientError() bool
IsClientError returns true when this get size reservation default response has a 4xx status code
func (*GetSizeReservationDefault) IsCode ¶ added in v0.36.0
func (o *GetSizeReservationDefault) IsCode(code int) bool
IsCode returns true when this get size reservation default response a status code equal to that given
func (*GetSizeReservationDefault) IsRedirect ¶ added in v0.36.0
func (o *GetSizeReservationDefault) IsRedirect() bool
IsRedirect returns true when this get size reservation default response has a 3xx status code
func (*GetSizeReservationDefault) IsServerError ¶ added in v0.36.0
func (o *GetSizeReservationDefault) IsServerError() bool
IsServerError returns true when this get size reservation default response has a 5xx status code
func (*GetSizeReservationDefault) IsSuccess ¶ added in v0.36.0
func (o *GetSizeReservationDefault) IsSuccess() bool
IsSuccess returns true when this get size reservation default response has a 2xx status code
func (*GetSizeReservationDefault) String ¶ added in v0.36.0
func (o *GetSizeReservationDefault) String() string
type GetSizeReservationOK ¶ added in v0.36.0
type GetSizeReservationOK struct {
Payload *models.V1SizeReservationResponse
}
GetSizeReservationOK describes a response with status code 200, with default header values.
OK
func NewGetSizeReservationOK ¶ added in v0.36.0
func NewGetSizeReservationOK() *GetSizeReservationOK
NewGetSizeReservationOK creates a GetSizeReservationOK with default headers values
func (*GetSizeReservationOK) Code ¶ added in v0.36.0
func (o *GetSizeReservationOK) Code() int
Code gets the status code for the get size reservation o k response
func (*GetSizeReservationOK) Error ¶ added in v0.36.0
func (o *GetSizeReservationOK) Error() string
func (*GetSizeReservationOK) GetPayload ¶ added in v0.36.0
func (o *GetSizeReservationOK) GetPayload() *models.V1SizeReservationResponse
func (*GetSizeReservationOK) IsClientError ¶ added in v0.36.0
func (o *GetSizeReservationOK) IsClientError() bool
IsClientError returns true when this get size reservation o k response has a 4xx status code
func (*GetSizeReservationOK) IsCode ¶ added in v0.36.0
func (o *GetSizeReservationOK) IsCode(code int) bool
IsCode returns true when this get size reservation o k response a status code equal to that given
func (*GetSizeReservationOK) IsRedirect ¶ added in v0.36.0
func (o *GetSizeReservationOK) IsRedirect() bool
IsRedirect returns true when this get size reservation o k response has a 3xx status code
func (*GetSizeReservationOK) IsServerError ¶ added in v0.36.0
func (o *GetSizeReservationOK) IsServerError() bool
IsServerError returns true when this get size reservation o k response has a 5xx status code
func (*GetSizeReservationOK) IsSuccess ¶ added in v0.36.0
func (o *GetSizeReservationOK) IsSuccess() bool
IsSuccess returns true when this get size reservation o k response has a 2xx status code
func (*GetSizeReservationOK) String ¶ added in v0.36.0
func (o *GetSizeReservationOK) String() string
type GetSizeReservationParams ¶ added in v0.36.0
type GetSizeReservationParams struct { /* ID. identifier of the size reservation */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSizeReservationParams contains all the parameters to send to the API endpoint
for the get size reservation operation. Typically these are written to a http.Request.
func NewGetSizeReservationParams ¶ added in v0.36.0
func NewGetSizeReservationParams() *GetSizeReservationParams
NewGetSizeReservationParams creates a new GetSizeReservationParams 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 NewGetSizeReservationParamsWithContext ¶ added in v0.36.0
func NewGetSizeReservationParamsWithContext(ctx context.Context) *GetSizeReservationParams
NewGetSizeReservationParamsWithContext creates a new GetSizeReservationParams object with the ability to set a context for a request.
func NewGetSizeReservationParamsWithHTTPClient ¶ added in v0.36.0
func NewGetSizeReservationParamsWithHTTPClient(client *http.Client) *GetSizeReservationParams
NewGetSizeReservationParamsWithHTTPClient creates a new GetSizeReservationParams object with the ability to set a custom HTTPClient for a request.
func NewGetSizeReservationParamsWithTimeout ¶ added in v0.36.0
func NewGetSizeReservationParamsWithTimeout(timeout time.Duration) *GetSizeReservationParams
NewGetSizeReservationParamsWithTimeout creates a new GetSizeReservationParams object with the ability to set a timeout on a request.
func (*GetSizeReservationParams) SetContext ¶ added in v0.36.0
func (o *GetSizeReservationParams) SetContext(ctx context.Context)
SetContext adds the context to the get size reservation params
func (*GetSizeReservationParams) SetDefaults ¶ added in v0.36.0
func (o *GetSizeReservationParams) SetDefaults()
SetDefaults hydrates default values in the get size reservation params (not the query body).
All values with no default are reset to their zero value.
func (*GetSizeReservationParams) SetHTTPClient ¶ added in v0.36.0
func (o *GetSizeReservationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get size reservation params
func (*GetSizeReservationParams) SetID ¶ added in v0.36.0
func (o *GetSizeReservationParams) SetID(id string)
SetID adds the id to the get size reservation params
func (*GetSizeReservationParams) SetTimeout ¶ added in v0.36.0
func (o *GetSizeReservationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get size reservation params
func (*GetSizeReservationParams) WithContext ¶ added in v0.36.0
func (o *GetSizeReservationParams) WithContext(ctx context.Context) *GetSizeReservationParams
WithContext adds the context to the get size reservation params
func (*GetSizeReservationParams) WithDefaults ¶ added in v0.36.0
func (o *GetSizeReservationParams) WithDefaults() *GetSizeReservationParams
WithDefaults hydrates default values in the get size reservation params (not the query body).
All values with no default are reset to their zero value.
func (*GetSizeReservationParams) WithHTTPClient ¶ added in v0.36.0
func (o *GetSizeReservationParams) WithHTTPClient(client *http.Client) *GetSizeReservationParams
WithHTTPClient adds the HTTPClient to the get size reservation params
func (*GetSizeReservationParams) WithID ¶ added in v0.36.0
func (o *GetSizeReservationParams) WithID(id string) *GetSizeReservationParams
WithID adds the id to the get size reservation params
func (*GetSizeReservationParams) WithTimeout ¶ added in v0.36.0
func (o *GetSizeReservationParams) WithTimeout(timeout time.Duration) *GetSizeReservationParams
WithTimeout adds the timeout to the get size reservation params
func (*GetSizeReservationParams) WriteToRequest ¶ added in v0.36.0
func (o *GetSizeReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSizeReservationReader ¶ added in v0.36.0
type GetSizeReservationReader struct {
// contains filtered or unexported fields
}
GetSizeReservationReader is a Reader for the GetSizeReservation structure.
func (*GetSizeReservationReader) ReadResponse ¶ added in v0.36.0
func (o *GetSizeReservationReader) 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 { 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) 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) 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 SizeReservationsUsageDefault ¶ added in v0.36.0
type SizeReservationsUsageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
SizeReservationsUsageDefault describes a response with status code -1, with default header values.
Error
func NewSizeReservationsUsageDefault ¶ added in v0.36.0
func NewSizeReservationsUsageDefault(code int) *SizeReservationsUsageDefault
NewSizeReservationsUsageDefault creates a SizeReservationsUsageDefault with default headers values
func (*SizeReservationsUsageDefault) Code ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) Code() int
Code gets the status code for the size reservations usage default response
func (*SizeReservationsUsageDefault) Error ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) Error() string
func (*SizeReservationsUsageDefault) GetPayload ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*SizeReservationsUsageDefault) IsClientError ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) IsClientError() bool
IsClientError returns true when this size reservations usage default response has a 4xx status code
func (*SizeReservationsUsageDefault) IsCode ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) IsCode(code int) bool
IsCode returns true when this size reservations usage default response a status code equal to that given
func (*SizeReservationsUsageDefault) IsRedirect ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) IsRedirect() bool
IsRedirect returns true when this size reservations usage default response has a 3xx status code
func (*SizeReservationsUsageDefault) IsServerError ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) IsServerError() bool
IsServerError returns true when this size reservations usage default response has a 5xx status code
func (*SizeReservationsUsageDefault) IsSuccess ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) IsSuccess() bool
IsSuccess returns true when this size reservations usage default response has a 2xx status code
func (*SizeReservationsUsageDefault) String ¶ added in v0.36.0
func (o *SizeReservationsUsageDefault) String() string
type SizeReservationsUsageOK ¶ added in v0.36.0
type SizeReservationsUsageOK struct {
Payload []*models.V1SizeReservationUsageResponse
}
SizeReservationsUsageOK describes a response with status code 200, with default header values.
OK
func NewSizeReservationsUsageOK ¶ added in v0.36.0
func NewSizeReservationsUsageOK() *SizeReservationsUsageOK
NewSizeReservationsUsageOK creates a SizeReservationsUsageOK with default headers values
func (*SizeReservationsUsageOK) Code ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) Code() int
Code gets the status code for the size reservations usage o k response
func (*SizeReservationsUsageOK) Error ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) Error() string
func (*SizeReservationsUsageOK) GetPayload ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) GetPayload() []*models.V1SizeReservationUsageResponse
func (*SizeReservationsUsageOK) IsClientError ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) IsClientError() bool
IsClientError returns true when this size reservations usage o k response has a 4xx status code
func (*SizeReservationsUsageOK) IsCode ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) IsCode(code int) bool
IsCode returns true when this size reservations usage o k response a status code equal to that given
func (*SizeReservationsUsageOK) IsRedirect ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) IsRedirect() bool
IsRedirect returns true when this size reservations usage o k response has a 3xx status code
func (*SizeReservationsUsageOK) IsServerError ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) IsServerError() bool
IsServerError returns true when this size reservations usage o k response has a 5xx status code
func (*SizeReservationsUsageOK) IsSuccess ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) IsSuccess() bool
IsSuccess returns true when this size reservations usage o k response has a 2xx status code
func (*SizeReservationsUsageOK) String ¶ added in v0.36.0
func (o *SizeReservationsUsageOK) String() string
type SizeReservationsUsageParams ¶ added in v0.36.0
type SizeReservationsUsageParams struct { // Body. Body *models.V1SizeReservationListRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SizeReservationsUsageParams contains all the parameters to send to the API endpoint
for the size reservations usage operation. Typically these are written to a http.Request.
func NewSizeReservationsUsageParams ¶ added in v0.36.0
func NewSizeReservationsUsageParams() *SizeReservationsUsageParams
NewSizeReservationsUsageParams creates a new SizeReservationsUsageParams 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 NewSizeReservationsUsageParamsWithContext ¶ added in v0.36.0
func NewSizeReservationsUsageParamsWithContext(ctx context.Context) *SizeReservationsUsageParams
NewSizeReservationsUsageParamsWithContext creates a new SizeReservationsUsageParams object with the ability to set a context for a request.
func NewSizeReservationsUsageParamsWithHTTPClient ¶ added in v0.36.0
func NewSizeReservationsUsageParamsWithHTTPClient(client *http.Client) *SizeReservationsUsageParams
NewSizeReservationsUsageParamsWithHTTPClient creates a new SizeReservationsUsageParams object with the ability to set a custom HTTPClient for a request.
func NewSizeReservationsUsageParamsWithTimeout ¶ added in v0.36.0
func NewSizeReservationsUsageParamsWithTimeout(timeout time.Duration) *SizeReservationsUsageParams
NewSizeReservationsUsageParamsWithTimeout creates a new SizeReservationsUsageParams object with the ability to set a timeout on a request.
func (*SizeReservationsUsageParams) SetBody ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) SetBody(body *models.V1SizeReservationListRequest)
SetBody adds the body to the size reservations usage params
func (*SizeReservationsUsageParams) SetContext ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the size reservations usage params
func (*SizeReservationsUsageParams) SetDefaults ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) SetDefaults()
SetDefaults hydrates default values in the size reservations usage params (not the query body).
All values with no default are reset to their zero value.
func (*SizeReservationsUsageParams) SetHTTPClient ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the size reservations usage params
func (*SizeReservationsUsageParams) SetTimeout ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the size reservations usage params
func (*SizeReservationsUsageParams) WithBody ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) WithBody(body *models.V1SizeReservationListRequest) *SizeReservationsUsageParams
WithBody adds the body to the size reservations usage params
func (*SizeReservationsUsageParams) WithContext ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) WithContext(ctx context.Context) *SizeReservationsUsageParams
WithContext adds the context to the size reservations usage params
func (*SizeReservationsUsageParams) WithDefaults ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) WithDefaults() *SizeReservationsUsageParams
WithDefaults hydrates default values in the size reservations usage params (not the query body).
All values with no default are reset to their zero value.
func (*SizeReservationsUsageParams) WithHTTPClient ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) WithHTTPClient(client *http.Client) *SizeReservationsUsageParams
WithHTTPClient adds the HTTPClient to the size reservations usage params
func (*SizeReservationsUsageParams) WithTimeout ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) WithTimeout(timeout time.Duration) *SizeReservationsUsageParams
WithTimeout adds the timeout to the size reservations usage params
func (*SizeReservationsUsageParams) WriteToRequest ¶ added in v0.36.0
func (o *SizeReservationsUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SizeReservationsUsageReader ¶ added in v0.36.0
type SizeReservationsUsageReader struct {
// contains filtered or unexported fields
}
SizeReservationsUsageReader is a Reader for the SizeReservationsUsage structure.
func (*SizeReservationsUsageReader) ReadResponse ¶ added in v0.36.0
func (o *SizeReservationsUsageReader) 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.
type UpdateSizeReservationConflict ¶ added in v0.36.0
type UpdateSizeReservationConflict struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateSizeReservationConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateSizeReservationConflict ¶ added in v0.36.0
func NewUpdateSizeReservationConflict() *UpdateSizeReservationConflict
NewUpdateSizeReservationConflict creates a UpdateSizeReservationConflict with default headers values
func (*UpdateSizeReservationConflict) Code ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) Code() int
Code gets the status code for the update size reservation conflict response
func (*UpdateSizeReservationConflict) Error ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) Error() string
func (*UpdateSizeReservationConflict) GetPayload ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateSizeReservationConflict) IsClientError ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) IsClientError() bool
IsClientError returns true when this update size reservation conflict response has a 4xx status code
func (*UpdateSizeReservationConflict) IsCode ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) IsCode(code int) bool
IsCode returns true when this update size reservation conflict response a status code equal to that given
func (*UpdateSizeReservationConflict) IsRedirect ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) IsRedirect() bool
IsRedirect returns true when this update size reservation conflict response has a 3xx status code
func (*UpdateSizeReservationConflict) IsServerError ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) IsServerError() bool
IsServerError returns true when this update size reservation conflict response has a 5xx status code
func (*UpdateSizeReservationConflict) IsSuccess ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) IsSuccess() bool
IsSuccess returns true when this update size reservation conflict response has a 2xx status code
func (*UpdateSizeReservationConflict) String ¶ added in v0.36.0
func (o *UpdateSizeReservationConflict) String() string
type UpdateSizeReservationDefault ¶ added in v0.36.0
type UpdateSizeReservationDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateSizeReservationDefault describes a response with status code -1, with default header values.
Error
func NewUpdateSizeReservationDefault ¶ added in v0.36.0
func NewUpdateSizeReservationDefault(code int) *UpdateSizeReservationDefault
NewUpdateSizeReservationDefault creates a UpdateSizeReservationDefault with default headers values
func (*UpdateSizeReservationDefault) Code ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) Code() int
Code gets the status code for the update size reservation default response
func (*UpdateSizeReservationDefault) Error ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) Error() string
func (*UpdateSizeReservationDefault) GetPayload ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateSizeReservationDefault) IsClientError ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) IsClientError() bool
IsClientError returns true when this update size reservation default response has a 4xx status code
func (*UpdateSizeReservationDefault) IsCode ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) IsCode(code int) bool
IsCode returns true when this update size reservation default response a status code equal to that given
func (*UpdateSizeReservationDefault) IsRedirect ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) IsRedirect() bool
IsRedirect returns true when this update size reservation default response has a 3xx status code
func (*UpdateSizeReservationDefault) IsServerError ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) IsServerError() bool
IsServerError returns true when this update size reservation default response has a 5xx status code
func (*UpdateSizeReservationDefault) IsSuccess ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) IsSuccess() bool
IsSuccess returns true when this update size reservation default response has a 2xx status code
func (*UpdateSizeReservationDefault) String ¶ added in v0.36.0
func (o *UpdateSizeReservationDefault) String() string
type UpdateSizeReservationOK ¶ added in v0.36.0
type UpdateSizeReservationOK struct {
Payload *models.V1SizeReservationResponse
}
UpdateSizeReservationOK describes a response with status code 200, with default header values.
OK
func NewUpdateSizeReservationOK ¶ added in v0.36.0
func NewUpdateSizeReservationOK() *UpdateSizeReservationOK
NewUpdateSizeReservationOK creates a UpdateSizeReservationOK with default headers values
func (*UpdateSizeReservationOK) Code ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) Code() int
Code gets the status code for the update size reservation o k response
func (*UpdateSizeReservationOK) Error ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) Error() string
func (*UpdateSizeReservationOK) GetPayload ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) GetPayload() *models.V1SizeReservationResponse
func (*UpdateSizeReservationOK) IsClientError ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) IsClientError() bool
IsClientError returns true when this update size reservation o k response has a 4xx status code
func (*UpdateSizeReservationOK) IsCode ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) IsCode(code int) bool
IsCode returns true when this update size reservation o k response a status code equal to that given
func (*UpdateSizeReservationOK) IsRedirect ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) IsRedirect() bool
IsRedirect returns true when this update size reservation o k response has a 3xx status code
func (*UpdateSizeReservationOK) IsServerError ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) IsServerError() bool
IsServerError returns true when this update size reservation o k response has a 5xx status code
func (*UpdateSizeReservationOK) IsSuccess ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) IsSuccess() bool
IsSuccess returns true when this update size reservation o k response has a 2xx status code
func (*UpdateSizeReservationOK) String ¶ added in v0.36.0
func (o *UpdateSizeReservationOK) String() string
type UpdateSizeReservationParams ¶ added in v0.36.0
type UpdateSizeReservationParams struct { // Body. Body *models.V1SizeReservationUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSizeReservationParams contains all the parameters to send to the API endpoint
for the update size reservation operation. Typically these are written to a http.Request.
func NewUpdateSizeReservationParams ¶ added in v0.36.0
func NewUpdateSizeReservationParams() *UpdateSizeReservationParams
NewUpdateSizeReservationParams creates a new UpdateSizeReservationParams 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 NewUpdateSizeReservationParamsWithContext ¶ added in v0.36.0
func NewUpdateSizeReservationParamsWithContext(ctx context.Context) *UpdateSizeReservationParams
NewUpdateSizeReservationParamsWithContext creates a new UpdateSizeReservationParams object with the ability to set a context for a request.
func NewUpdateSizeReservationParamsWithHTTPClient ¶ added in v0.36.0
func NewUpdateSizeReservationParamsWithHTTPClient(client *http.Client) *UpdateSizeReservationParams
NewUpdateSizeReservationParamsWithHTTPClient creates a new UpdateSizeReservationParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSizeReservationParamsWithTimeout ¶ added in v0.36.0
func NewUpdateSizeReservationParamsWithTimeout(timeout time.Duration) *UpdateSizeReservationParams
NewUpdateSizeReservationParamsWithTimeout creates a new UpdateSizeReservationParams object with the ability to set a timeout on a request.
func (*UpdateSizeReservationParams) SetBody ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) SetBody(body *models.V1SizeReservationUpdateRequest)
SetBody adds the body to the update size reservation params
func (*UpdateSizeReservationParams) SetContext ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) SetContext(ctx context.Context)
SetContext adds the context to the update size reservation params
func (*UpdateSizeReservationParams) SetDefaults ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) SetDefaults()
SetDefaults hydrates default values in the update size reservation params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSizeReservationParams) SetHTTPClient ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update size reservation params
func (*UpdateSizeReservationParams) SetTimeout ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update size reservation params
func (*UpdateSizeReservationParams) WithBody ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) WithBody(body *models.V1SizeReservationUpdateRequest) *UpdateSizeReservationParams
WithBody adds the body to the update size reservation params
func (*UpdateSizeReservationParams) WithContext ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) WithContext(ctx context.Context) *UpdateSizeReservationParams
WithContext adds the context to the update size reservation params
func (*UpdateSizeReservationParams) WithDefaults ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) WithDefaults() *UpdateSizeReservationParams
WithDefaults hydrates default values in the update size reservation params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSizeReservationParams) WithHTTPClient ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) WithHTTPClient(client *http.Client) *UpdateSizeReservationParams
WithHTTPClient adds the HTTPClient to the update size reservation params
func (*UpdateSizeReservationParams) WithTimeout ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) WithTimeout(timeout time.Duration) *UpdateSizeReservationParams
WithTimeout adds the timeout to the update size reservation params
func (*UpdateSizeReservationParams) WriteToRequest ¶ added in v0.36.0
func (o *UpdateSizeReservationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSizeReservationReader ¶ added in v0.36.0
type UpdateSizeReservationReader struct {
// contains filtered or unexported fields
}
UpdateSizeReservationReader is a Reader for the UpdateSizeReservation structure.
func (*UpdateSizeReservationReader) ReadResponse ¶ added in v0.36.0
func (o *UpdateSizeReservationReader) 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_reservation_parameters.go
- create_size_reservation_responses.go
- create_size_responses.go
- delete_size_parameters.go
- delete_size_reservation_parameters.go
- delete_size_reservation_responses.go
- delete_size_responses.go
- find_size_parameters.go
- find_size_reservations_parameters.go
- find_size_reservations_responses.go
- find_size_responses.go
- get_size_reservation_parameters.go
- get_size_reservation_responses.go
- list_size_reservations_parameters.go
- list_size_reservations_responses.go
- list_sizes_parameters.go
- list_sizes_responses.go
- size_client.go
- size_reservations_usage_parameters.go
- size_reservations_usage_responses.go
- suggest_parameters.go
- suggest_responses.go
- update_size_parameters.go
- update_size_reservation_parameters.go
- update_size_reservation_responses.go
- update_size_responses.go