Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePoolsPoolID(params *DeletePoolsPoolIDParams, opts ...ClientOption) (*DeletePoolsPoolIDNoContent, error)
- func (a *Client) GetPools(params *GetPoolsParams, opts ...ClientOption) (*GetPoolsOK, error)
- func (a *Client) GetPoolsPoolID(params *GetPoolsPoolIDParams, opts ...ClientOption) (*GetPoolsPoolIDOK, error)
- func (a *Client) PostPools(params *PostPoolsParams, opts ...ClientOption) (*PostPoolsCreated, error)
- func (a *Client) PutPoolsPoolID(params *PutPoolsPoolIDParams, opts ...ClientOption) (*PutPoolsPoolIDAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeletePoolsPoolIDDefault
- func (o *DeletePoolsPoolIDDefault) Code() int
- func (o *DeletePoolsPoolIDDefault) Error() string
- func (o *DeletePoolsPoolIDDefault) GetPayload() *models.Error
- func (o *DeletePoolsPoolIDDefault) IsClientError() bool
- func (o *DeletePoolsPoolIDDefault) IsCode(code int) bool
- func (o *DeletePoolsPoolIDDefault) IsRedirect() bool
- func (o *DeletePoolsPoolIDDefault) IsServerError() bool
- func (o *DeletePoolsPoolIDDefault) IsSuccess() bool
- func (o *DeletePoolsPoolIDDefault) String() string
- type DeletePoolsPoolIDNoContent
- func (o *DeletePoolsPoolIDNoContent) Code() int
- func (o *DeletePoolsPoolIDNoContent) Error() string
- func (o *DeletePoolsPoolIDNoContent) IsClientError() bool
- func (o *DeletePoolsPoolIDNoContent) IsCode(code int) bool
- func (o *DeletePoolsPoolIDNoContent) IsRedirect() bool
- func (o *DeletePoolsPoolIDNoContent) IsServerError() bool
- func (o *DeletePoolsPoolIDNoContent) IsSuccess() bool
- func (o *DeletePoolsPoolIDNoContent) String() string
- type DeletePoolsPoolIDNotFound
- func (o *DeletePoolsPoolIDNotFound) Code() int
- func (o *DeletePoolsPoolIDNotFound) Error() string
- func (o *DeletePoolsPoolIDNotFound) GetPayload() *models.Error
- func (o *DeletePoolsPoolIDNotFound) IsClientError() bool
- func (o *DeletePoolsPoolIDNotFound) IsCode(code int) bool
- func (o *DeletePoolsPoolIDNotFound) IsRedirect() bool
- func (o *DeletePoolsPoolIDNotFound) IsServerError() bool
- func (o *DeletePoolsPoolIDNotFound) IsSuccess() bool
- func (o *DeletePoolsPoolIDNotFound) String() string
- type DeletePoolsPoolIDParams
- func NewDeletePoolsPoolIDParams() *DeletePoolsPoolIDParams
- func NewDeletePoolsPoolIDParamsWithContext(ctx context.Context) *DeletePoolsPoolIDParams
- func NewDeletePoolsPoolIDParamsWithHTTPClient(client *http.Client) *DeletePoolsPoolIDParams
- func NewDeletePoolsPoolIDParamsWithTimeout(timeout time.Duration) *DeletePoolsPoolIDParams
- func (o *DeletePoolsPoolIDParams) SetContext(ctx context.Context)
- func (o *DeletePoolsPoolIDParams) SetDefaults()
- func (o *DeletePoolsPoolIDParams) SetHTTPClient(client *http.Client)
- func (o *DeletePoolsPoolIDParams) SetPoolID(poolID strfmt.UUID)
- func (o *DeletePoolsPoolIDParams) SetTimeout(timeout time.Duration)
- func (o *DeletePoolsPoolIDParams) WithContext(ctx context.Context) *DeletePoolsPoolIDParams
- func (o *DeletePoolsPoolIDParams) WithDefaults() *DeletePoolsPoolIDParams
- func (o *DeletePoolsPoolIDParams) WithHTTPClient(client *http.Client) *DeletePoolsPoolIDParams
- func (o *DeletePoolsPoolIDParams) WithPoolID(poolID strfmt.UUID) *DeletePoolsPoolIDParams
- func (o *DeletePoolsPoolIDParams) WithTimeout(timeout time.Duration) *DeletePoolsPoolIDParams
- func (o *DeletePoolsPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePoolsPoolIDReader
- type GetPoolsBadRequest
- func (o *GetPoolsBadRequest) Code() int
- func (o *GetPoolsBadRequest) Error() string
- func (o *GetPoolsBadRequest) GetPayload() *models.Error
- func (o *GetPoolsBadRequest) IsClientError() bool
- func (o *GetPoolsBadRequest) IsCode(code int) bool
- func (o *GetPoolsBadRequest) IsRedirect() bool
- func (o *GetPoolsBadRequest) IsServerError() bool
- func (o *GetPoolsBadRequest) IsSuccess() bool
- func (o *GetPoolsBadRequest) String() string
- type GetPoolsDefault
- func (o *GetPoolsDefault) Code() int
- func (o *GetPoolsDefault) Error() string
- func (o *GetPoolsDefault) GetPayload() *models.Error
- func (o *GetPoolsDefault) IsClientError() bool
- func (o *GetPoolsDefault) IsCode(code int) bool
- func (o *GetPoolsDefault) IsRedirect() bool
- func (o *GetPoolsDefault) IsServerError() bool
- func (o *GetPoolsDefault) IsSuccess() bool
- func (o *GetPoolsDefault) String() string
- type GetPoolsOK
- func (o *GetPoolsOK) Code() int
- func (o *GetPoolsOK) Error() string
- func (o *GetPoolsOK) GetPayload() *GetPoolsOKBody
- func (o *GetPoolsOK) IsClientError() bool
- func (o *GetPoolsOK) IsCode(code int) bool
- func (o *GetPoolsOK) IsRedirect() bool
- func (o *GetPoolsOK) IsServerError() bool
- func (o *GetPoolsOK) IsSuccess() bool
- func (o *GetPoolsOK) String() string
- type GetPoolsOKBody
- type GetPoolsParams
- func (o *GetPoolsParams) SetContext(ctx context.Context)
- func (o *GetPoolsParams) SetDefaults()
- func (o *GetPoolsParams) SetHTTPClient(client *http.Client)
- func (o *GetPoolsParams) SetLimit(limit *int64)
- func (o *GetPoolsParams) SetMarker(marker *strfmt.UUID)
- func (o *GetPoolsParams) SetNotTags(notTags []string)
- func (o *GetPoolsParams) SetNotTagsAny(notTagsAny []string)
- func (o *GetPoolsParams) SetPageReverse(pageReverse *bool)
- func (o *GetPoolsParams) SetSort(sort *string)
- func (o *GetPoolsParams) SetTags(tags []string)
- func (o *GetPoolsParams) SetTagsAny(tagsAny []string)
- func (o *GetPoolsParams) SetTimeout(timeout time.Duration)
- func (o *GetPoolsParams) WithContext(ctx context.Context) *GetPoolsParams
- func (o *GetPoolsParams) WithDefaults() *GetPoolsParams
- func (o *GetPoolsParams) WithHTTPClient(client *http.Client) *GetPoolsParams
- func (o *GetPoolsParams) WithLimit(limit *int64) *GetPoolsParams
- func (o *GetPoolsParams) WithMarker(marker *strfmt.UUID) *GetPoolsParams
- func (o *GetPoolsParams) WithNotTags(notTags []string) *GetPoolsParams
- func (o *GetPoolsParams) WithNotTagsAny(notTagsAny []string) *GetPoolsParams
- func (o *GetPoolsParams) WithPageReverse(pageReverse *bool) *GetPoolsParams
- func (o *GetPoolsParams) WithSort(sort *string) *GetPoolsParams
- func (o *GetPoolsParams) WithTags(tags []string) *GetPoolsParams
- func (o *GetPoolsParams) WithTagsAny(tagsAny []string) *GetPoolsParams
- func (o *GetPoolsParams) WithTimeout(timeout time.Duration) *GetPoolsParams
- func (o *GetPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPoolsPoolIDDefault
- func (o *GetPoolsPoolIDDefault) Code() int
- func (o *GetPoolsPoolIDDefault) Error() string
- func (o *GetPoolsPoolIDDefault) GetPayload() *models.Error
- func (o *GetPoolsPoolIDDefault) IsClientError() bool
- func (o *GetPoolsPoolIDDefault) IsCode(code int) bool
- func (o *GetPoolsPoolIDDefault) IsRedirect() bool
- func (o *GetPoolsPoolIDDefault) IsServerError() bool
- func (o *GetPoolsPoolIDDefault) IsSuccess() bool
- func (o *GetPoolsPoolIDDefault) String() string
- type GetPoolsPoolIDNotFound
- func (o *GetPoolsPoolIDNotFound) Code() int
- func (o *GetPoolsPoolIDNotFound) Error() string
- func (o *GetPoolsPoolIDNotFound) GetPayload() *models.Error
- func (o *GetPoolsPoolIDNotFound) IsClientError() bool
- func (o *GetPoolsPoolIDNotFound) IsCode(code int) bool
- func (o *GetPoolsPoolIDNotFound) IsRedirect() bool
- func (o *GetPoolsPoolIDNotFound) IsServerError() bool
- func (o *GetPoolsPoolIDNotFound) IsSuccess() bool
- func (o *GetPoolsPoolIDNotFound) String() string
- type GetPoolsPoolIDOK
- func (o *GetPoolsPoolIDOK) Code() int
- func (o *GetPoolsPoolIDOK) Error() string
- func (o *GetPoolsPoolIDOK) GetPayload() *GetPoolsPoolIDOKBody
- func (o *GetPoolsPoolIDOK) IsClientError() bool
- func (o *GetPoolsPoolIDOK) IsCode(code int) bool
- func (o *GetPoolsPoolIDOK) IsRedirect() bool
- func (o *GetPoolsPoolIDOK) IsServerError() bool
- func (o *GetPoolsPoolIDOK) IsSuccess() bool
- func (o *GetPoolsPoolIDOK) String() string
- type GetPoolsPoolIDOKBody
- type GetPoolsPoolIDParams
- func NewGetPoolsPoolIDParams() *GetPoolsPoolIDParams
- func NewGetPoolsPoolIDParamsWithContext(ctx context.Context) *GetPoolsPoolIDParams
- func NewGetPoolsPoolIDParamsWithHTTPClient(client *http.Client) *GetPoolsPoolIDParams
- func NewGetPoolsPoolIDParamsWithTimeout(timeout time.Duration) *GetPoolsPoolIDParams
- func (o *GetPoolsPoolIDParams) SetContext(ctx context.Context)
- func (o *GetPoolsPoolIDParams) SetDefaults()
- func (o *GetPoolsPoolIDParams) SetHTTPClient(client *http.Client)
- func (o *GetPoolsPoolIDParams) SetPoolID(poolID strfmt.UUID)
- func (o *GetPoolsPoolIDParams) SetTimeout(timeout time.Duration)
- func (o *GetPoolsPoolIDParams) WithContext(ctx context.Context) *GetPoolsPoolIDParams
- func (o *GetPoolsPoolIDParams) WithDefaults() *GetPoolsPoolIDParams
- func (o *GetPoolsPoolIDParams) WithHTTPClient(client *http.Client) *GetPoolsPoolIDParams
- func (o *GetPoolsPoolIDParams) WithPoolID(poolID strfmt.UUID) *GetPoolsPoolIDParams
- func (o *GetPoolsPoolIDParams) WithTimeout(timeout time.Duration) *GetPoolsPoolIDParams
- func (o *GetPoolsPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPoolsPoolIDReader
- type GetPoolsReader
- type PostPoolsBadRequest
- func (o *PostPoolsBadRequest) Code() int
- func (o *PostPoolsBadRequest) Error() string
- func (o *PostPoolsBadRequest) GetPayload() *models.Error
- func (o *PostPoolsBadRequest) IsClientError() bool
- func (o *PostPoolsBadRequest) IsCode(code int) bool
- func (o *PostPoolsBadRequest) IsRedirect() bool
- func (o *PostPoolsBadRequest) IsServerError() bool
- func (o *PostPoolsBadRequest) IsSuccess() bool
- func (o *PostPoolsBadRequest) String() string
- type PostPoolsBody
- type PostPoolsCreated
- func (o *PostPoolsCreated) Code() int
- func (o *PostPoolsCreated) Error() string
- func (o *PostPoolsCreated) GetPayload() *PostPoolsCreatedBody
- func (o *PostPoolsCreated) IsClientError() bool
- func (o *PostPoolsCreated) IsCode(code int) bool
- func (o *PostPoolsCreated) IsRedirect() bool
- func (o *PostPoolsCreated) IsServerError() bool
- func (o *PostPoolsCreated) IsSuccess() bool
- func (o *PostPoolsCreated) String() string
- type PostPoolsCreatedBody
- type PostPoolsDefault
- func (o *PostPoolsDefault) Code() int
- func (o *PostPoolsDefault) Error() string
- func (o *PostPoolsDefault) GetPayload() *models.Error
- func (o *PostPoolsDefault) IsClientError() bool
- func (o *PostPoolsDefault) IsCode(code int) bool
- func (o *PostPoolsDefault) IsRedirect() bool
- func (o *PostPoolsDefault) IsServerError() bool
- func (o *PostPoolsDefault) IsSuccess() bool
- func (o *PostPoolsDefault) String() string
- type PostPoolsParams
- func (o *PostPoolsParams) SetContext(ctx context.Context)
- func (o *PostPoolsParams) SetDefaults()
- func (o *PostPoolsParams) SetHTTPClient(client *http.Client)
- func (o *PostPoolsParams) SetPool(pool PostPoolsBody)
- func (o *PostPoolsParams) SetTimeout(timeout time.Duration)
- func (o *PostPoolsParams) WithContext(ctx context.Context) *PostPoolsParams
- func (o *PostPoolsParams) WithDefaults() *PostPoolsParams
- func (o *PostPoolsParams) WithHTTPClient(client *http.Client) *PostPoolsParams
- func (o *PostPoolsParams) WithPool(pool PostPoolsBody) *PostPoolsParams
- func (o *PostPoolsParams) WithTimeout(timeout time.Duration) *PostPoolsParams
- func (o *PostPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPoolsReader
- type PutPoolsPoolIDAccepted
- func (o *PutPoolsPoolIDAccepted) Code() int
- func (o *PutPoolsPoolIDAccepted) Error() string
- func (o *PutPoolsPoolIDAccepted) GetPayload() *PutPoolsPoolIDAcceptedBody
- func (o *PutPoolsPoolIDAccepted) IsClientError() bool
- func (o *PutPoolsPoolIDAccepted) IsCode(code int) bool
- func (o *PutPoolsPoolIDAccepted) IsRedirect() bool
- func (o *PutPoolsPoolIDAccepted) IsServerError() bool
- func (o *PutPoolsPoolIDAccepted) IsSuccess() bool
- func (o *PutPoolsPoolIDAccepted) String() string
- type PutPoolsPoolIDAcceptedBody
- func (o *PutPoolsPoolIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutPoolsPoolIDAcceptedBody) MarshalBinary() ([]byte, error)
- func (o *PutPoolsPoolIDAcceptedBody) UnmarshalBinary(b []byte) error
- func (o *PutPoolsPoolIDAcceptedBody) Validate(formats strfmt.Registry) error
- type PutPoolsPoolIDBody
- type PutPoolsPoolIDDefault
- func (o *PutPoolsPoolIDDefault) Code() int
- func (o *PutPoolsPoolIDDefault) Error() string
- func (o *PutPoolsPoolIDDefault) GetPayload() *models.Error
- func (o *PutPoolsPoolIDDefault) IsClientError() bool
- func (o *PutPoolsPoolIDDefault) IsCode(code int) bool
- func (o *PutPoolsPoolIDDefault) IsRedirect() bool
- func (o *PutPoolsPoolIDDefault) IsServerError() bool
- func (o *PutPoolsPoolIDDefault) IsSuccess() bool
- func (o *PutPoolsPoolIDDefault) String() string
- type PutPoolsPoolIDNotFound
- func (o *PutPoolsPoolIDNotFound) Code() int
- func (o *PutPoolsPoolIDNotFound) Error() string
- func (o *PutPoolsPoolIDNotFound) GetPayload() *models.Error
- func (o *PutPoolsPoolIDNotFound) IsClientError() bool
- func (o *PutPoolsPoolIDNotFound) IsCode(code int) bool
- func (o *PutPoolsPoolIDNotFound) IsRedirect() bool
- func (o *PutPoolsPoolIDNotFound) IsServerError() bool
- func (o *PutPoolsPoolIDNotFound) IsSuccess() bool
- func (o *PutPoolsPoolIDNotFound) String() string
- type PutPoolsPoolIDParams
- func NewPutPoolsPoolIDParams() *PutPoolsPoolIDParams
- func NewPutPoolsPoolIDParamsWithContext(ctx context.Context) *PutPoolsPoolIDParams
- func NewPutPoolsPoolIDParamsWithHTTPClient(client *http.Client) *PutPoolsPoolIDParams
- func NewPutPoolsPoolIDParamsWithTimeout(timeout time.Duration) *PutPoolsPoolIDParams
- func (o *PutPoolsPoolIDParams) SetContext(ctx context.Context)
- func (o *PutPoolsPoolIDParams) SetDefaults()
- func (o *PutPoolsPoolIDParams) SetHTTPClient(client *http.Client)
- func (o *PutPoolsPoolIDParams) SetPool(pool PutPoolsPoolIDBody)
- func (o *PutPoolsPoolIDParams) SetPoolID(poolID strfmt.UUID)
- func (o *PutPoolsPoolIDParams) SetTimeout(timeout time.Duration)
- func (o *PutPoolsPoolIDParams) WithContext(ctx context.Context) *PutPoolsPoolIDParams
- func (o *PutPoolsPoolIDParams) WithDefaults() *PutPoolsPoolIDParams
- func (o *PutPoolsPoolIDParams) WithHTTPClient(client *http.Client) *PutPoolsPoolIDParams
- func (o *PutPoolsPoolIDParams) WithPool(pool PutPoolsPoolIDBody) *PutPoolsPoolIDParams
- func (o *PutPoolsPoolIDParams) WithPoolID(poolID strfmt.UUID) *PutPoolsPoolIDParams
- func (o *PutPoolsPoolIDParams) WithTimeout(timeout time.Duration) *PutPoolsPoolIDParams
- func (o *PutPoolsPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutPoolsPoolIDReader
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 pools API
func (*Client) DeletePoolsPoolID ¶
func (a *Client) DeletePoolsPoolID(params *DeletePoolsPoolIDParams, opts ...ClientOption) (*DeletePoolsPoolIDNoContent, error)
DeletePoolsPoolID deletes a pool
func (*Client) GetPools ¶
func (a *Client) GetPools(params *GetPoolsParams, opts ...ClientOption) (*GetPoolsOK, error)
GetPools lists pools
func (*Client) GetPoolsPoolID ¶
func (a *Client) GetPoolsPoolID(params *GetPoolsPoolIDParams, opts ...ClientOption) (*GetPoolsPoolIDOK, error)
GetPoolsPoolID shows pool detail
func (*Client) PostPools ¶
func (a *Client) PostPools(params *PostPoolsParams, opts ...ClientOption) (*PostPoolsCreated, error)
PostPools creates new pool
func (*Client) PutPoolsPoolID ¶
func (a *Client) PutPoolsPoolID(params *PutPoolsPoolIDParams, opts ...ClientOption) (*PutPoolsPoolIDAccepted, error)
PutPoolsPoolID updates a pool
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeletePoolsPoolID(params *DeletePoolsPoolIDParams, opts ...ClientOption) (*DeletePoolsPoolIDNoContent, error) GetPools(params *GetPoolsParams, opts ...ClientOption) (*GetPoolsOK, error) GetPoolsPoolID(params *GetPoolsPoolIDParams, opts ...ClientOption) (*GetPoolsPoolIDOK, error) PostPools(params *PostPoolsParams, opts ...ClientOption) (*PostPoolsCreated, error) PutPoolsPoolID(params *PutPoolsPoolIDParams, opts ...ClientOption) (*PutPoolsPoolIDAccepted, 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 pools API client.
type DeletePoolsPoolIDDefault ¶
type DeletePoolsPoolIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeletePoolsPoolIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewDeletePoolsPoolIDDefault ¶
func NewDeletePoolsPoolIDDefault(code int) *DeletePoolsPoolIDDefault
NewDeletePoolsPoolIDDefault creates a DeletePoolsPoolIDDefault with default headers values
func (*DeletePoolsPoolIDDefault) Code ¶
func (o *DeletePoolsPoolIDDefault) Code() int
Code gets the status code for the delete pools pool ID default response
func (*DeletePoolsPoolIDDefault) Error ¶
func (o *DeletePoolsPoolIDDefault) Error() string
func (*DeletePoolsPoolIDDefault) GetPayload ¶
func (o *DeletePoolsPoolIDDefault) GetPayload() *models.Error
func (*DeletePoolsPoolIDDefault) IsClientError ¶
func (o *DeletePoolsPoolIDDefault) IsClientError() bool
IsClientError returns true when this delete pools pool ID default response has a 4xx status code
func (*DeletePoolsPoolIDDefault) IsCode ¶
func (o *DeletePoolsPoolIDDefault) IsCode(code int) bool
IsCode returns true when this delete pools pool ID default response a status code equal to that given
func (*DeletePoolsPoolIDDefault) IsRedirect ¶
func (o *DeletePoolsPoolIDDefault) IsRedirect() bool
IsRedirect returns true when this delete pools pool ID default response has a 3xx status code
func (*DeletePoolsPoolIDDefault) IsServerError ¶
func (o *DeletePoolsPoolIDDefault) IsServerError() bool
IsServerError returns true when this delete pools pool ID default response has a 5xx status code
func (*DeletePoolsPoolIDDefault) IsSuccess ¶
func (o *DeletePoolsPoolIDDefault) IsSuccess() bool
IsSuccess returns true when this delete pools pool ID default response has a 2xx status code
func (*DeletePoolsPoolIDDefault) String ¶
func (o *DeletePoolsPoolIDDefault) String() string
type DeletePoolsPoolIDNoContent ¶
type DeletePoolsPoolIDNoContent struct { }
DeletePoolsPoolIDNoContent describes a response with status code 204, with default header values.
Resource successfully deleted.
func NewDeletePoolsPoolIDNoContent ¶
func NewDeletePoolsPoolIDNoContent() *DeletePoolsPoolIDNoContent
NewDeletePoolsPoolIDNoContent creates a DeletePoolsPoolIDNoContent with default headers values
func (*DeletePoolsPoolIDNoContent) Code ¶
func (o *DeletePoolsPoolIDNoContent) Code() int
Code gets the status code for the delete pools pool Id no content response
func (*DeletePoolsPoolIDNoContent) Error ¶
func (o *DeletePoolsPoolIDNoContent) Error() string
func (*DeletePoolsPoolIDNoContent) IsClientError ¶
func (o *DeletePoolsPoolIDNoContent) IsClientError() bool
IsClientError returns true when this delete pools pool Id no content response has a 4xx status code
func (*DeletePoolsPoolIDNoContent) IsCode ¶
func (o *DeletePoolsPoolIDNoContent) IsCode(code int) bool
IsCode returns true when this delete pools pool Id no content response a status code equal to that given
func (*DeletePoolsPoolIDNoContent) IsRedirect ¶
func (o *DeletePoolsPoolIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete pools pool Id no content response has a 3xx status code
func (*DeletePoolsPoolIDNoContent) IsServerError ¶
func (o *DeletePoolsPoolIDNoContent) IsServerError() bool
IsServerError returns true when this delete pools pool Id no content response has a 5xx status code
func (*DeletePoolsPoolIDNoContent) IsSuccess ¶
func (o *DeletePoolsPoolIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete pools pool Id no content response has a 2xx status code
func (*DeletePoolsPoolIDNoContent) String ¶
func (o *DeletePoolsPoolIDNoContent) String() string
type DeletePoolsPoolIDNotFound ¶
DeletePoolsPoolIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeletePoolsPoolIDNotFound ¶
func NewDeletePoolsPoolIDNotFound() *DeletePoolsPoolIDNotFound
NewDeletePoolsPoolIDNotFound creates a DeletePoolsPoolIDNotFound with default headers values
func (*DeletePoolsPoolIDNotFound) Code ¶
func (o *DeletePoolsPoolIDNotFound) Code() int
Code gets the status code for the delete pools pool Id not found response
func (*DeletePoolsPoolIDNotFound) Error ¶
func (o *DeletePoolsPoolIDNotFound) Error() string
func (*DeletePoolsPoolIDNotFound) GetPayload ¶
func (o *DeletePoolsPoolIDNotFound) GetPayload() *models.Error
func (*DeletePoolsPoolIDNotFound) IsClientError ¶
func (o *DeletePoolsPoolIDNotFound) IsClientError() bool
IsClientError returns true when this delete pools pool Id not found response has a 4xx status code
func (*DeletePoolsPoolIDNotFound) IsCode ¶
func (o *DeletePoolsPoolIDNotFound) IsCode(code int) bool
IsCode returns true when this delete pools pool Id not found response a status code equal to that given
func (*DeletePoolsPoolIDNotFound) IsRedirect ¶
func (o *DeletePoolsPoolIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete pools pool Id not found response has a 3xx status code
func (*DeletePoolsPoolIDNotFound) IsServerError ¶
func (o *DeletePoolsPoolIDNotFound) IsServerError() bool
IsServerError returns true when this delete pools pool Id not found response has a 5xx status code
func (*DeletePoolsPoolIDNotFound) IsSuccess ¶
func (o *DeletePoolsPoolIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete pools pool Id not found response has a 2xx status code
func (*DeletePoolsPoolIDNotFound) String ¶
func (o *DeletePoolsPoolIDNotFound) String() string
type DeletePoolsPoolIDParams ¶
type DeletePoolsPoolIDParams struct { /* PoolID. The UUID of the pool Format: uuid */ PoolID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePoolsPoolIDParams contains all the parameters to send to the API endpoint
for the delete pools pool ID operation. Typically these are written to a http.Request.
func NewDeletePoolsPoolIDParams ¶
func NewDeletePoolsPoolIDParams() *DeletePoolsPoolIDParams
NewDeletePoolsPoolIDParams creates a new DeletePoolsPoolIDParams 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 NewDeletePoolsPoolIDParamsWithContext ¶
func NewDeletePoolsPoolIDParamsWithContext(ctx context.Context) *DeletePoolsPoolIDParams
NewDeletePoolsPoolIDParamsWithContext creates a new DeletePoolsPoolIDParams object with the ability to set a context for a request.
func NewDeletePoolsPoolIDParamsWithHTTPClient ¶
func NewDeletePoolsPoolIDParamsWithHTTPClient(client *http.Client) *DeletePoolsPoolIDParams
NewDeletePoolsPoolIDParamsWithHTTPClient creates a new DeletePoolsPoolIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePoolsPoolIDParamsWithTimeout ¶
func NewDeletePoolsPoolIDParamsWithTimeout(timeout time.Duration) *DeletePoolsPoolIDParams
NewDeletePoolsPoolIDParamsWithTimeout creates a new DeletePoolsPoolIDParams object with the ability to set a timeout on a request.
func (*DeletePoolsPoolIDParams) SetContext ¶
func (o *DeletePoolsPoolIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete pools pool ID params
func (*DeletePoolsPoolIDParams) SetDefaults ¶
func (o *DeletePoolsPoolIDParams) SetDefaults()
SetDefaults hydrates default values in the delete pools pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePoolsPoolIDParams) SetHTTPClient ¶
func (o *DeletePoolsPoolIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete pools pool ID params
func (*DeletePoolsPoolIDParams) SetPoolID ¶
func (o *DeletePoolsPoolIDParams) SetPoolID(poolID strfmt.UUID)
SetPoolID adds the poolId to the delete pools pool ID params
func (*DeletePoolsPoolIDParams) SetTimeout ¶
func (o *DeletePoolsPoolIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete pools pool ID params
func (*DeletePoolsPoolIDParams) WithContext ¶
func (o *DeletePoolsPoolIDParams) WithContext(ctx context.Context) *DeletePoolsPoolIDParams
WithContext adds the context to the delete pools pool ID params
func (*DeletePoolsPoolIDParams) WithDefaults ¶
func (o *DeletePoolsPoolIDParams) WithDefaults() *DeletePoolsPoolIDParams
WithDefaults hydrates default values in the delete pools pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePoolsPoolIDParams) WithHTTPClient ¶
func (o *DeletePoolsPoolIDParams) WithHTTPClient(client *http.Client) *DeletePoolsPoolIDParams
WithHTTPClient adds the HTTPClient to the delete pools pool ID params
func (*DeletePoolsPoolIDParams) WithPoolID ¶
func (o *DeletePoolsPoolIDParams) WithPoolID(poolID strfmt.UUID) *DeletePoolsPoolIDParams
WithPoolID adds the poolID to the delete pools pool ID params
func (*DeletePoolsPoolIDParams) WithTimeout ¶
func (o *DeletePoolsPoolIDParams) WithTimeout(timeout time.Duration) *DeletePoolsPoolIDParams
WithTimeout adds the timeout to the delete pools pool ID params
func (*DeletePoolsPoolIDParams) WriteToRequest ¶
func (o *DeletePoolsPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePoolsPoolIDReader ¶
type DeletePoolsPoolIDReader struct {
// contains filtered or unexported fields
}
DeletePoolsPoolIDReader is a Reader for the DeletePoolsPoolID structure.
func (*DeletePoolsPoolIDReader) ReadResponse ¶
func (o *DeletePoolsPoolIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPoolsBadRequest ¶
GetPoolsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetPoolsBadRequest ¶
func NewGetPoolsBadRequest() *GetPoolsBadRequest
NewGetPoolsBadRequest creates a GetPoolsBadRequest with default headers values
func (*GetPoolsBadRequest) Code ¶
func (o *GetPoolsBadRequest) Code() int
Code gets the status code for the get pools bad request response
func (*GetPoolsBadRequest) Error ¶
func (o *GetPoolsBadRequest) Error() string
func (*GetPoolsBadRequest) GetPayload ¶
func (o *GetPoolsBadRequest) GetPayload() *models.Error
func (*GetPoolsBadRequest) IsClientError ¶
func (o *GetPoolsBadRequest) IsClientError() bool
IsClientError returns true when this get pools bad request response has a 4xx status code
func (*GetPoolsBadRequest) IsCode ¶
func (o *GetPoolsBadRequest) IsCode(code int) bool
IsCode returns true when this get pools bad request response a status code equal to that given
func (*GetPoolsBadRequest) IsRedirect ¶
func (o *GetPoolsBadRequest) IsRedirect() bool
IsRedirect returns true when this get pools bad request response has a 3xx status code
func (*GetPoolsBadRequest) IsServerError ¶
func (o *GetPoolsBadRequest) IsServerError() bool
IsServerError returns true when this get pools bad request response has a 5xx status code
func (*GetPoolsBadRequest) IsSuccess ¶
func (o *GetPoolsBadRequest) IsSuccess() bool
IsSuccess returns true when this get pools bad request response has a 2xx status code
func (*GetPoolsBadRequest) String ¶
func (o *GetPoolsBadRequest) String() string
type GetPoolsDefault ¶
GetPoolsDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetPoolsDefault ¶
func NewGetPoolsDefault(code int) *GetPoolsDefault
NewGetPoolsDefault creates a GetPoolsDefault with default headers values
func (*GetPoolsDefault) Code ¶
func (o *GetPoolsDefault) Code() int
Code gets the status code for the get pools default response
func (*GetPoolsDefault) Error ¶
func (o *GetPoolsDefault) Error() string
func (*GetPoolsDefault) GetPayload ¶
func (o *GetPoolsDefault) GetPayload() *models.Error
func (*GetPoolsDefault) IsClientError ¶
func (o *GetPoolsDefault) IsClientError() bool
IsClientError returns true when this get pools default response has a 4xx status code
func (*GetPoolsDefault) IsCode ¶
func (o *GetPoolsDefault) IsCode(code int) bool
IsCode returns true when this get pools default response a status code equal to that given
func (*GetPoolsDefault) IsRedirect ¶
func (o *GetPoolsDefault) IsRedirect() bool
IsRedirect returns true when this get pools default response has a 3xx status code
func (*GetPoolsDefault) IsServerError ¶
func (o *GetPoolsDefault) IsServerError() bool
IsServerError returns true when this get pools default response has a 5xx status code
func (*GetPoolsDefault) IsSuccess ¶
func (o *GetPoolsDefault) IsSuccess() bool
IsSuccess returns true when this get pools default response has a 2xx status code
func (*GetPoolsDefault) String ¶
func (o *GetPoolsDefault) String() string
type GetPoolsOK ¶
type GetPoolsOK struct {
Payload *GetPoolsOKBody
}
GetPoolsOK describes a response with status code 200, with default header values.
A JSON array of pools
func NewGetPoolsOK ¶
func NewGetPoolsOK() *GetPoolsOK
NewGetPoolsOK creates a GetPoolsOK with default headers values
func (*GetPoolsOK) Code ¶
func (o *GetPoolsOK) Code() int
Code gets the status code for the get pools o k response
func (*GetPoolsOK) Error ¶
func (o *GetPoolsOK) Error() string
func (*GetPoolsOK) GetPayload ¶
func (o *GetPoolsOK) GetPayload() *GetPoolsOKBody
func (*GetPoolsOK) IsClientError ¶
func (o *GetPoolsOK) IsClientError() bool
IsClientError returns true when this get pools o k response has a 4xx status code
func (*GetPoolsOK) IsCode ¶
func (o *GetPoolsOK) IsCode(code int) bool
IsCode returns true when this get pools o k response a status code equal to that given
func (*GetPoolsOK) IsRedirect ¶
func (o *GetPoolsOK) IsRedirect() bool
IsRedirect returns true when this get pools o k response has a 3xx status code
func (*GetPoolsOK) IsServerError ¶
func (o *GetPoolsOK) IsServerError() bool
IsServerError returns true when this get pools o k response has a 5xx status code
func (*GetPoolsOK) IsSuccess ¶
func (o *GetPoolsOK) IsSuccess() bool
IsSuccess returns true when this get pools o k response has a 2xx status code
func (*GetPoolsOK) String ¶
func (o *GetPoolsOK) String() string
type GetPoolsOKBody ¶
type GetPoolsOKBody struct { // links Links []*models.Link `json:"links,omitempty"` // pools Pools []*models.Pool `json:"pools"` }
GetPoolsOKBody get pools o k body swagger:model GetPoolsOKBody
func (*GetPoolsOKBody) ContextValidate ¶
ContextValidate validate this get pools o k body based on the context it is used
func (*GetPoolsOKBody) MarshalBinary ¶
func (o *GetPoolsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPoolsOKBody) UnmarshalBinary ¶
func (o *GetPoolsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPoolsParams ¶
type GetPoolsParams struct { /* Limit. Sets the page size. */ Limit *int64 /* Marker. Pagination ID of the last item in the previous list. Format: uuid */ Marker *strfmt.UUID /* NotTags. Filter for resources not having tags, multiple not-tags are considered as logical AND. Should be provided in a comma separated list. */ NotTags []string /* NotTagsAny. Filter for resources not having tags, multiple tags are considered as logical OR. Should be provided in a comma separated list. */ NotTagsAny []string /* PageReverse. Sets the page direction. */ PageReverse *bool /* Sort. Comma-separated list of sort keys, optinally prefix with - to reverse sort order. */ Sort *string /* Tags. Filter for tags, multiple tags are considered as logical AND. Should be provided in a comma separated list. */ Tags []string /* TagsAny. Filter for tags, multiple tags are considered as logical OR. Should be provided in a comma separated list. */ TagsAny []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPoolsParams contains all the parameters to send to the API endpoint
for the get pools operation. Typically these are written to a http.Request.
func NewGetPoolsParams ¶
func NewGetPoolsParams() *GetPoolsParams
NewGetPoolsParams creates a new GetPoolsParams 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 NewGetPoolsParamsWithContext ¶
func NewGetPoolsParamsWithContext(ctx context.Context) *GetPoolsParams
NewGetPoolsParamsWithContext creates a new GetPoolsParams object with the ability to set a context for a request.
func NewGetPoolsParamsWithHTTPClient ¶
func NewGetPoolsParamsWithHTTPClient(client *http.Client) *GetPoolsParams
NewGetPoolsParamsWithHTTPClient creates a new GetPoolsParams object with the ability to set a custom HTTPClient for a request.
func NewGetPoolsParamsWithTimeout ¶
func NewGetPoolsParamsWithTimeout(timeout time.Duration) *GetPoolsParams
NewGetPoolsParamsWithTimeout creates a new GetPoolsParams object with the ability to set a timeout on a request.
func (*GetPoolsParams) SetContext ¶
func (o *GetPoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the get pools params
func (*GetPoolsParams) SetDefaults ¶
func (o *GetPoolsParams) SetDefaults()
SetDefaults hydrates default values in the get pools params (not the query body).
All values with no default are reset to their zero value.
func (*GetPoolsParams) SetHTTPClient ¶
func (o *GetPoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pools params
func (*GetPoolsParams) SetLimit ¶
func (o *GetPoolsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get pools params
func (*GetPoolsParams) SetMarker ¶
func (o *GetPoolsParams) SetMarker(marker *strfmt.UUID)
SetMarker adds the marker to the get pools params
func (*GetPoolsParams) SetNotTags ¶
func (o *GetPoolsParams) SetNotTags(notTags []string)
SetNotTags adds the notTags to the get pools params
func (*GetPoolsParams) SetNotTagsAny ¶
func (o *GetPoolsParams) SetNotTagsAny(notTagsAny []string)
SetNotTagsAny adds the notTagsAny to the get pools params
func (*GetPoolsParams) SetPageReverse ¶
func (o *GetPoolsParams) SetPageReverse(pageReverse *bool)
SetPageReverse adds the pageReverse to the get pools params
func (*GetPoolsParams) SetSort ¶
func (o *GetPoolsParams) SetSort(sort *string)
SetSort adds the sort to the get pools params
func (*GetPoolsParams) SetTags ¶
func (o *GetPoolsParams) SetTags(tags []string)
SetTags adds the tags to the get pools params
func (*GetPoolsParams) SetTagsAny ¶
func (o *GetPoolsParams) SetTagsAny(tagsAny []string)
SetTagsAny adds the tagsAny to the get pools params
func (*GetPoolsParams) SetTimeout ¶
func (o *GetPoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pools params
func (*GetPoolsParams) WithContext ¶
func (o *GetPoolsParams) WithContext(ctx context.Context) *GetPoolsParams
WithContext adds the context to the get pools params
func (*GetPoolsParams) WithDefaults ¶
func (o *GetPoolsParams) WithDefaults() *GetPoolsParams
WithDefaults hydrates default values in the get pools params (not the query body).
All values with no default are reset to their zero value.
func (*GetPoolsParams) WithHTTPClient ¶
func (o *GetPoolsParams) WithHTTPClient(client *http.Client) *GetPoolsParams
WithHTTPClient adds the HTTPClient to the get pools params
func (*GetPoolsParams) WithLimit ¶
func (o *GetPoolsParams) WithLimit(limit *int64) *GetPoolsParams
WithLimit adds the limit to the get pools params
func (*GetPoolsParams) WithMarker ¶
func (o *GetPoolsParams) WithMarker(marker *strfmt.UUID) *GetPoolsParams
WithMarker adds the marker to the get pools params
func (*GetPoolsParams) WithNotTags ¶
func (o *GetPoolsParams) WithNotTags(notTags []string) *GetPoolsParams
WithNotTags adds the notTags to the get pools params
func (*GetPoolsParams) WithNotTagsAny ¶
func (o *GetPoolsParams) WithNotTagsAny(notTagsAny []string) *GetPoolsParams
WithNotTagsAny adds the notTagsAny to the get pools params
func (*GetPoolsParams) WithPageReverse ¶
func (o *GetPoolsParams) WithPageReverse(pageReverse *bool) *GetPoolsParams
WithPageReverse adds the pageReverse to the get pools params
func (*GetPoolsParams) WithSort ¶
func (o *GetPoolsParams) WithSort(sort *string) *GetPoolsParams
WithSort adds the sort to the get pools params
func (*GetPoolsParams) WithTags ¶
func (o *GetPoolsParams) WithTags(tags []string) *GetPoolsParams
WithTags adds the tags to the get pools params
func (*GetPoolsParams) WithTagsAny ¶
func (o *GetPoolsParams) WithTagsAny(tagsAny []string) *GetPoolsParams
WithTagsAny adds the tagsAny to the get pools params
func (*GetPoolsParams) WithTimeout ¶
func (o *GetPoolsParams) WithTimeout(timeout time.Duration) *GetPoolsParams
WithTimeout adds the timeout to the get pools params
func (*GetPoolsParams) WriteToRequest ¶
func (o *GetPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPoolsPoolIDDefault ¶
type GetPoolsPoolIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetPoolsPoolIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetPoolsPoolIDDefault ¶
func NewGetPoolsPoolIDDefault(code int) *GetPoolsPoolIDDefault
NewGetPoolsPoolIDDefault creates a GetPoolsPoolIDDefault with default headers values
func (*GetPoolsPoolIDDefault) Code ¶
func (o *GetPoolsPoolIDDefault) Code() int
Code gets the status code for the get pools pool ID default response
func (*GetPoolsPoolIDDefault) Error ¶
func (o *GetPoolsPoolIDDefault) Error() string
func (*GetPoolsPoolIDDefault) GetPayload ¶
func (o *GetPoolsPoolIDDefault) GetPayload() *models.Error
func (*GetPoolsPoolIDDefault) IsClientError ¶
func (o *GetPoolsPoolIDDefault) IsClientError() bool
IsClientError returns true when this get pools pool ID default response has a 4xx status code
func (*GetPoolsPoolIDDefault) IsCode ¶
func (o *GetPoolsPoolIDDefault) IsCode(code int) bool
IsCode returns true when this get pools pool ID default response a status code equal to that given
func (*GetPoolsPoolIDDefault) IsRedirect ¶
func (o *GetPoolsPoolIDDefault) IsRedirect() bool
IsRedirect returns true when this get pools pool ID default response has a 3xx status code
func (*GetPoolsPoolIDDefault) IsServerError ¶
func (o *GetPoolsPoolIDDefault) IsServerError() bool
IsServerError returns true when this get pools pool ID default response has a 5xx status code
func (*GetPoolsPoolIDDefault) IsSuccess ¶
func (o *GetPoolsPoolIDDefault) IsSuccess() bool
IsSuccess returns true when this get pools pool ID default response has a 2xx status code
func (*GetPoolsPoolIDDefault) String ¶
func (o *GetPoolsPoolIDDefault) String() string
type GetPoolsPoolIDNotFound ¶
GetPoolsPoolIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetPoolsPoolIDNotFound ¶
func NewGetPoolsPoolIDNotFound() *GetPoolsPoolIDNotFound
NewGetPoolsPoolIDNotFound creates a GetPoolsPoolIDNotFound with default headers values
func (*GetPoolsPoolIDNotFound) Code ¶
func (o *GetPoolsPoolIDNotFound) Code() int
Code gets the status code for the get pools pool Id not found response
func (*GetPoolsPoolIDNotFound) Error ¶
func (o *GetPoolsPoolIDNotFound) Error() string
func (*GetPoolsPoolIDNotFound) GetPayload ¶
func (o *GetPoolsPoolIDNotFound) GetPayload() *models.Error
func (*GetPoolsPoolIDNotFound) IsClientError ¶
func (o *GetPoolsPoolIDNotFound) IsClientError() bool
IsClientError returns true when this get pools pool Id not found response has a 4xx status code
func (*GetPoolsPoolIDNotFound) IsCode ¶
func (o *GetPoolsPoolIDNotFound) IsCode(code int) bool
IsCode returns true when this get pools pool Id not found response a status code equal to that given
func (*GetPoolsPoolIDNotFound) IsRedirect ¶
func (o *GetPoolsPoolIDNotFound) IsRedirect() bool
IsRedirect returns true when this get pools pool Id not found response has a 3xx status code
func (*GetPoolsPoolIDNotFound) IsServerError ¶
func (o *GetPoolsPoolIDNotFound) IsServerError() bool
IsServerError returns true when this get pools pool Id not found response has a 5xx status code
func (*GetPoolsPoolIDNotFound) IsSuccess ¶
func (o *GetPoolsPoolIDNotFound) IsSuccess() bool
IsSuccess returns true when this get pools pool Id not found response has a 2xx status code
func (*GetPoolsPoolIDNotFound) String ¶
func (o *GetPoolsPoolIDNotFound) String() string
type GetPoolsPoolIDOK ¶
type GetPoolsPoolIDOK struct {
Payload *GetPoolsPoolIDOKBody
}
GetPoolsPoolIDOK describes a response with status code 200, with default header values.
Shows the details of a specific pool.
func NewGetPoolsPoolIDOK ¶
func NewGetPoolsPoolIDOK() *GetPoolsPoolIDOK
NewGetPoolsPoolIDOK creates a GetPoolsPoolIDOK with default headers values
func (*GetPoolsPoolIDOK) Code ¶
func (o *GetPoolsPoolIDOK) Code() int
Code gets the status code for the get pools pool Id o k response
func (*GetPoolsPoolIDOK) Error ¶
func (o *GetPoolsPoolIDOK) Error() string
func (*GetPoolsPoolIDOK) GetPayload ¶
func (o *GetPoolsPoolIDOK) GetPayload() *GetPoolsPoolIDOKBody
func (*GetPoolsPoolIDOK) IsClientError ¶
func (o *GetPoolsPoolIDOK) IsClientError() bool
IsClientError returns true when this get pools pool Id o k response has a 4xx status code
func (*GetPoolsPoolIDOK) IsCode ¶
func (o *GetPoolsPoolIDOK) IsCode(code int) bool
IsCode returns true when this get pools pool Id o k response a status code equal to that given
func (*GetPoolsPoolIDOK) IsRedirect ¶
func (o *GetPoolsPoolIDOK) IsRedirect() bool
IsRedirect returns true when this get pools pool Id o k response has a 3xx status code
func (*GetPoolsPoolIDOK) IsServerError ¶
func (o *GetPoolsPoolIDOK) IsServerError() bool
IsServerError returns true when this get pools pool Id o k response has a 5xx status code
func (*GetPoolsPoolIDOK) IsSuccess ¶
func (o *GetPoolsPoolIDOK) IsSuccess() bool
IsSuccess returns true when this get pools pool Id o k response has a 2xx status code
func (*GetPoolsPoolIDOK) String ¶
func (o *GetPoolsPoolIDOK) String() string
type GetPoolsPoolIDOKBody ¶
GetPoolsPoolIDOKBody get pools pool ID o k body swagger:model GetPoolsPoolIDOKBody
func (*GetPoolsPoolIDOKBody) ContextValidate ¶
ContextValidate validate this get pools pool ID o k body based on the context it is used
func (*GetPoolsPoolIDOKBody) MarshalBinary ¶
func (o *GetPoolsPoolIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPoolsPoolIDOKBody) UnmarshalBinary ¶
func (o *GetPoolsPoolIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPoolsPoolIDParams ¶
type GetPoolsPoolIDParams struct { /* PoolID. The UUID of the pool Format: uuid */ PoolID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPoolsPoolIDParams contains all the parameters to send to the API endpoint
for the get pools pool ID operation. Typically these are written to a http.Request.
func NewGetPoolsPoolIDParams ¶
func NewGetPoolsPoolIDParams() *GetPoolsPoolIDParams
NewGetPoolsPoolIDParams creates a new GetPoolsPoolIDParams 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 NewGetPoolsPoolIDParamsWithContext ¶
func NewGetPoolsPoolIDParamsWithContext(ctx context.Context) *GetPoolsPoolIDParams
NewGetPoolsPoolIDParamsWithContext creates a new GetPoolsPoolIDParams object with the ability to set a context for a request.
func NewGetPoolsPoolIDParamsWithHTTPClient ¶
func NewGetPoolsPoolIDParamsWithHTTPClient(client *http.Client) *GetPoolsPoolIDParams
NewGetPoolsPoolIDParamsWithHTTPClient creates a new GetPoolsPoolIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetPoolsPoolIDParamsWithTimeout ¶
func NewGetPoolsPoolIDParamsWithTimeout(timeout time.Duration) *GetPoolsPoolIDParams
NewGetPoolsPoolIDParamsWithTimeout creates a new GetPoolsPoolIDParams object with the ability to set a timeout on a request.
func (*GetPoolsPoolIDParams) SetContext ¶
func (o *GetPoolsPoolIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get pools pool ID params
func (*GetPoolsPoolIDParams) SetDefaults ¶
func (o *GetPoolsPoolIDParams) SetDefaults()
SetDefaults hydrates default values in the get pools pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetPoolsPoolIDParams) SetHTTPClient ¶
func (o *GetPoolsPoolIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pools pool ID params
func (*GetPoolsPoolIDParams) SetPoolID ¶
func (o *GetPoolsPoolIDParams) SetPoolID(poolID strfmt.UUID)
SetPoolID adds the poolId to the get pools pool ID params
func (*GetPoolsPoolIDParams) SetTimeout ¶
func (o *GetPoolsPoolIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pools pool ID params
func (*GetPoolsPoolIDParams) WithContext ¶
func (o *GetPoolsPoolIDParams) WithContext(ctx context.Context) *GetPoolsPoolIDParams
WithContext adds the context to the get pools pool ID params
func (*GetPoolsPoolIDParams) WithDefaults ¶
func (o *GetPoolsPoolIDParams) WithDefaults() *GetPoolsPoolIDParams
WithDefaults hydrates default values in the get pools pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetPoolsPoolIDParams) WithHTTPClient ¶
func (o *GetPoolsPoolIDParams) WithHTTPClient(client *http.Client) *GetPoolsPoolIDParams
WithHTTPClient adds the HTTPClient to the get pools pool ID params
func (*GetPoolsPoolIDParams) WithPoolID ¶
func (o *GetPoolsPoolIDParams) WithPoolID(poolID strfmt.UUID) *GetPoolsPoolIDParams
WithPoolID adds the poolID to the get pools pool ID params
func (*GetPoolsPoolIDParams) WithTimeout ¶
func (o *GetPoolsPoolIDParams) WithTimeout(timeout time.Duration) *GetPoolsPoolIDParams
WithTimeout adds the timeout to the get pools pool ID params
func (*GetPoolsPoolIDParams) WriteToRequest ¶
func (o *GetPoolsPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPoolsPoolIDReader ¶
type GetPoolsPoolIDReader struct {
// contains filtered or unexported fields
}
GetPoolsPoolIDReader is a Reader for the GetPoolsPoolID structure.
func (*GetPoolsPoolIDReader) ReadResponse ¶
func (o *GetPoolsPoolIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPoolsReader ¶
type GetPoolsReader struct {
// contains filtered or unexported fields
}
GetPoolsReader is a Reader for the GetPools structure.
func (*GetPoolsReader) ReadResponse ¶
func (o *GetPoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPoolsBadRequest ¶
PostPoolsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPostPoolsBadRequest ¶
func NewPostPoolsBadRequest() *PostPoolsBadRequest
NewPostPoolsBadRequest creates a PostPoolsBadRequest with default headers values
func (*PostPoolsBadRequest) Code ¶
func (o *PostPoolsBadRequest) Code() int
Code gets the status code for the post pools bad request response
func (*PostPoolsBadRequest) Error ¶
func (o *PostPoolsBadRequest) Error() string
func (*PostPoolsBadRequest) GetPayload ¶
func (o *PostPoolsBadRequest) GetPayload() *models.Error
func (*PostPoolsBadRequest) IsClientError ¶
func (o *PostPoolsBadRequest) IsClientError() bool
IsClientError returns true when this post pools bad request response has a 4xx status code
func (*PostPoolsBadRequest) IsCode ¶
func (o *PostPoolsBadRequest) IsCode(code int) bool
IsCode returns true when this post pools bad request response a status code equal to that given
func (*PostPoolsBadRequest) IsRedirect ¶
func (o *PostPoolsBadRequest) IsRedirect() bool
IsRedirect returns true when this post pools bad request response has a 3xx status code
func (*PostPoolsBadRequest) IsServerError ¶
func (o *PostPoolsBadRequest) IsServerError() bool
IsServerError returns true when this post pools bad request response has a 5xx status code
func (*PostPoolsBadRequest) IsSuccess ¶
func (o *PostPoolsBadRequest) IsSuccess() bool
IsSuccess returns true when this post pools bad request response has a 2xx status code
func (*PostPoolsBadRequest) String ¶
func (o *PostPoolsBadRequest) String() string
type PostPoolsBody ¶
PostPoolsBody post pools body swagger:model PostPoolsBody
func (*PostPoolsBody) ContextValidate ¶
ContextValidate validate this post pools body based on the context it is used
func (*PostPoolsBody) MarshalBinary ¶
func (o *PostPoolsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostPoolsBody) UnmarshalBinary ¶
func (o *PostPoolsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostPoolsCreated ¶
type PostPoolsCreated struct {
Payload *PostPoolsCreatedBody
}
PostPoolsCreated describes a response with status code 201, with default header values.
Created pool.
func NewPostPoolsCreated ¶
func NewPostPoolsCreated() *PostPoolsCreated
NewPostPoolsCreated creates a PostPoolsCreated with default headers values
func (*PostPoolsCreated) Code ¶
func (o *PostPoolsCreated) Code() int
Code gets the status code for the post pools created response
func (*PostPoolsCreated) Error ¶
func (o *PostPoolsCreated) Error() string
func (*PostPoolsCreated) GetPayload ¶
func (o *PostPoolsCreated) GetPayload() *PostPoolsCreatedBody
func (*PostPoolsCreated) IsClientError ¶
func (o *PostPoolsCreated) IsClientError() bool
IsClientError returns true when this post pools created response has a 4xx status code
func (*PostPoolsCreated) IsCode ¶
func (o *PostPoolsCreated) IsCode(code int) bool
IsCode returns true when this post pools created response a status code equal to that given
func (*PostPoolsCreated) IsRedirect ¶
func (o *PostPoolsCreated) IsRedirect() bool
IsRedirect returns true when this post pools created response has a 3xx status code
func (*PostPoolsCreated) IsServerError ¶
func (o *PostPoolsCreated) IsServerError() bool
IsServerError returns true when this post pools created response has a 5xx status code
func (*PostPoolsCreated) IsSuccess ¶
func (o *PostPoolsCreated) IsSuccess() bool
IsSuccess returns true when this post pools created response has a 2xx status code
func (*PostPoolsCreated) String ¶
func (o *PostPoolsCreated) String() string
type PostPoolsCreatedBody ¶
PostPoolsCreatedBody post pools created body swagger:model PostPoolsCreatedBody
func (*PostPoolsCreatedBody) ContextValidate ¶
ContextValidate validate this post pools created body based on the context it is used
func (*PostPoolsCreatedBody) MarshalBinary ¶
func (o *PostPoolsCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostPoolsCreatedBody) UnmarshalBinary ¶
func (o *PostPoolsCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostPoolsDefault ¶
PostPoolsDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewPostPoolsDefault ¶
func NewPostPoolsDefault(code int) *PostPoolsDefault
NewPostPoolsDefault creates a PostPoolsDefault with default headers values
func (*PostPoolsDefault) Code ¶
func (o *PostPoolsDefault) Code() int
Code gets the status code for the post pools default response
func (*PostPoolsDefault) Error ¶
func (o *PostPoolsDefault) Error() string
func (*PostPoolsDefault) GetPayload ¶
func (o *PostPoolsDefault) GetPayload() *models.Error
func (*PostPoolsDefault) IsClientError ¶
func (o *PostPoolsDefault) IsClientError() bool
IsClientError returns true when this post pools default response has a 4xx status code
func (*PostPoolsDefault) IsCode ¶
func (o *PostPoolsDefault) IsCode(code int) bool
IsCode returns true when this post pools default response a status code equal to that given
func (*PostPoolsDefault) IsRedirect ¶
func (o *PostPoolsDefault) IsRedirect() bool
IsRedirect returns true when this post pools default response has a 3xx status code
func (*PostPoolsDefault) IsServerError ¶
func (o *PostPoolsDefault) IsServerError() bool
IsServerError returns true when this post pools default response has a 5xx status code
func (*PostPoolsDefault) IsSuccess ¶
func (o *PostPoolsDefault) IsSuccess() bool
IsSuccess returns true when this post pools default response has a 2xx status code
func (*PostPoolsDefault) String ¶
func (o *PostPoolsDefault) String() string
type PostPoolsParams ¶
type PostPoolsParams struct { // Pool. Pool PostPoolsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPoolsParams contains all the parameters to send to the API endpoint
for the post pools operation. Typically these are written to a http.Request.
func NewPostPoolsParams ¶
func NewPostPoolsParams() *PostPoolsParams
NewPostPoolsParams creates a new PostPoolsParams 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 NewPostPoolsParamsWithContext ¶
func NewPostPoolsParamsWithContext(ctx context.Context) *PostPoolsParams
NewPostPoolsParamsWithContext creates a new PostPoolsParams object with the ability to set a context for a request.
func NewPostPoolsParamsWithHTTPClient ¶
func NewPostPoolsParamsWithHTTPClient(client *http.Client) *PostPoolsParams
NewPostPoolsParamsWithHTTPClient creates a new PostPoolsParams object with the ability to set a custom HTTPClient for a request.
func NewPostPoolsParamsWithTimeout ¶
func NewPostPoolsParamsWithTimeout(timeout time.Duration) *PostPoolsParams
NewPostPoolsParamsWithTimeout creates a new PostPoolsParams object with the ability to set a timeout on a request.
func (*PostPoolsParams) SetContext ¶
func (o *PostPoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the post pools params
func (*PostPoolsParams) SetDefaults ¶
func (o *PostPoolsParams) SetDefaults()
SetDefaults hydrates default values in the post pools params (not the query body).
All values with no default are reset to their zero value.
func (*PostPoolsParams) SetHTTPClient ¶
func (o *PostPoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post pools params
func (*PostPoolsParams) SetPool ¶
func (o *PostPoolsParams) SetPool(pool PostPoolsBody)
SetPool adds the pool to the post pools params
func (*PostPoolsParams) SetTimeout ¶
func (o *PostPoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post pools params
func (*PostPoolsParams) WithContext ¶
func (o *PostPoolsParams) WithContext(ctx context.Context) *PostPoolsParams
WithContext adds the context to the post pools params
func (*PostPoolsParams) WithDefaults ¶
func (o *PostPoolsParams) WithDefaults() *PostPoolsParams
WithDefaults hydrates default values in the post pools params (not the query body).
All values with no default are reset to their zero value.
func (*PostPoolsParams) WithHTTPClient ¶
func (o *PostPoolsParams) WithHTTPClient(client *http.Client) *PostPoolsParams
WithHTTPClient adds the HTTPClient to the post pools params
func (*PostPoolsParams) WithPool ¶
func (o *PostPoolsParams) WithPool(pool PostPoolsBody) *PostPoolsParams
WithPool adds the pool to the post pools params
func (*PostPoolsParams) WithTimeout ¶
func (o *PostPoolsParams) WithTimeout(timeout time.Duration) *PostPoolsParams
WithTimeout adds the timeout to the post pools params
func (*PostPoolsParams) WriteToRequest ¶
func (o *PostPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPoolsReader ¶
type PostPoolsReader struct {
// contains filtered or unexported fields
}
PostPoolsReader is a Reader for the PostPools structure.
func (*PostPoolsReader) ReadResponse ¶
func (o *PostPoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutPoolsPoolIDAccepted ¶
type PutPoolsPoolIDAccepted struct {
Payload *PutPoolsPoolIDAcceptedBody
}
PutPoolsPoolIDAccepted describes a response with status code 202, with default header values.
Updated pool.
func NewPutPoolsPoolIDAccepted ¶
func NewPutPoolsPoolIDAccepted() *PutPoolsPoolIDAccepted
NewPutPoolsPoolIDAccepted creates a PutPoolsPoolIDAccepted with default headers values
func (*PutPoolsPoolIDAccepted) Code ¶
func (o *PutPoolsPoolIDAccepted) Code() int
Code gets the status code for the put pools pool Id accepted response
func (*PutPoolsPoolIDAccepted) Error ¶
func (o *PutPoolsPoolIDAccepted) Error() string
func (*PutPoolsPoolIDAccepted) GetPayload ¶
func (o *PutPoolsPoolIDAccepted) GetPayload() *PutPoolsPoolIDAcceptedBody
func (*PutPoolsPoolIDAccepted) IsClientError ¶
func (o *PutPoolsPoolIDAccepted) IsClientError() bool
IsClientError returns true when this put pools pool Id accepted response has a 4xx status code
func (*PutPoolsPoolIDAccepted) IsCode ¶
func (o *PutPoolsPoolIDAccepted) IsCode(code int) bool
IsCode returns true when this put pools pool Id accepted response a status code equal to that given
func (*PutPoolsPoolIDAccepted) IsRedirect ¶
func (o *PutPoolsPoolIDAccepted) IsRedirect() bool
IsRedirect returns true when this put pools pool Id accepted response has a 3xx status code
func (*PutPoolsPoolIDAccepted) IsServerError ¶
func (o *PutPoolsPoolIDAccepted) IsServerError() bool
IsServerError returns true when this put pools pool Id accepted response has a 5xx status code
func (*PutPoolsPoolIDAccepted) IsSuccess ¶
func (o *PutPoolsPoolIDAccepted) IsSuccess() bool
IsSuccess returns true when this put pools pool Id accepted response has a 2xx status code
func (*PutPoolsPoolIDAccepted) String ¶
func (o *PutPoolsPoolIDAccepted) String() string
type PutPoolsPoolIDAcceptedBody ¶
PutPoolsPoolIDAcceptedBody put pools pool ID accepted body swagger:model PutPoolsPoolIDAcceptedBody
func (*PutPoolsPoolIDAcceptedBody) ContextValidate ¶
func (o *PutPoolsPoolIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this put pools pool ID accepted body based on the context it is used
func (*PutPoolsPoolIDAcceptedBody) MarshalBinary ¶
func (o *PutPoolsPoolIDAcceptedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutPoolsPoolIDAcceptedBody) UnmarshalBinary ¶
func (o *PutPoolsPoolIDAcceptedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutPoolsPoolIDBody ¶
PutPoolsPoolIDBody put pools pool ID body swagger:model PutPoolsPoolIDBody
func (*PutPoolsPoolIDBody) ContextValidate ¶
ContextValidate validate this put pools pool ID body based on the context it is used
func (*PutPoolsPoolIDBody) MarshalBinary ¶
func (o *PutPoolsPoolIDBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutPoolsPoolIDBody) UnmarshalBinary ¶
func (o *PutPoolsPoolIDBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutPoolsPoolIDDefault ¶
type PutPoolsPoolIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutPoolsPoolIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewPutPoolsPoolIDDefault ¶
func NewPutPoolsPoolIDDefault(code int) *PutPoolsPoolIDDefault
NewPutPoolsPoolIDDefault creates a PutPoolsPoolIDDefault with default headers values
func (*PutPoolsPoolIDDefault) Code ¶
func (o *PutPoolsPoolIDDefault) Code() int
Code gets the status code for the put pools pool ID default response
func (*PutPoolsPoolIDDefault) Error ¶
func (o *PutPoolsPoolIDDefault) Error() string
func (*PutPoolsPoolIDDefault) GetPayload ¶
func (o *PutPoolsPoolIDDefault) GetPayload() *models.Error
func (*PutPoolsPoolIDDefault) IsClientError ¶
func (o *PutPoolsPoolIDDefault) IsClientError() bool
IsClientError returns true when this put pools pool ID default response has a 4xx status code
func (*PutPoolsPoolIDDefault) IsCode ¶
func (o *PutPoolsPoolIDDefault) IsCode(code int) bool
IsCode returns true when this put pools pool ID default response a status code equal to that given
func (*PutPoolsPoolIDDefault) IsRedirect ¶
func (o *PutPoolsPoolIDDefault) IsRedirect() bool
IsRedirect returns true when this put pools pool ID default response has a 3xx status code
func (*PutPoolsPoolIDDefault) IsServerError ¶
func (o *PutPoolsPoolIDDefault) IsServerError() bool
IsServerError returns true when this put pools pool ID default response has a 5xx status code
func (*PutPoolsPoolIDDefault) IsSuccess ¶
func (o *PutPoolsPoolIDDefault) IsSuccess() bool
IsSuccess returns true when this put pools pool ID default response has a 2xx status code
func (*PutPoolsPoolIDDefault) String ¶
func (o *PutPoolsPoolIDDefault) String() string
type PutPoolsPoolIDNotFound ¶
PutPoolsPoolIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutPoolsPoolIDNotFound ¶
func NewPutPoolsPoolIDNotFound() *PutPoolsPoolIDNotFound
NewPutPoolsPoolIDNotFound creates a PutPoolsPoolIDNotFound with default headers values
func (*PutPoolsPoolIDNotFound) Code ¶
func (o *PutPoolsPoolIDNotFound) Code() int
Code gets the status code for the put pools pool Id not found response
func (*PutPoolsPoolIDNotFound) Error ¶
func (o *PutPoolsPoolIDNotFound) Error() string
func (*PutPoolsPoolIDNotFound) GetPayload ¶
func (o *PutPoolsPoolIDNotFound) GetPayload() *models.Error
func (*PutPoolsPoolIDNotFound) IsClientError ¶
func (o *PutPoolsPoolIDNotFound) IsClientError() bool
IsClientError returns true when this put pools pool Id not found response has a 4xx status code
func (*PutPoolsPoolIDNotFound) IsCode ¶
func (o *PutPoolsPoolIDNotFound) IsCode(code int) bool
IsCode returns true when this put pools pool Id not found response a status code equal to that given
func (*PutPoolsPoolIDNotFound) IsRedirect ¶
func (o *PutPoolsPoolIDNotFound) IsRedirect() bool
IsRedirect returns true when this put pools pool Id not found response has a 3xx status code
func (*PutPoolsPoolIDNotFound) IsServerError ¶
func (o *PutPoolsPoolIDNotFound) IsServerError() bool
IsServerError returns true when this put pools pool Id not found response has a 5xx status code
func (*PutPoolsPoolIDNotFound) IsSuccess ¶
func (o *PutPoolsPoolIDNotFound) IsSuccess() bool
IsSuccess returns true when this put pools pool Id not found response has a 2xx status code
func (*PutPoolsPoolIDNotFound) String ¶
func (o *PutPoolsPoolIDNotFound) String() string
type PutPoolsPoolIDParams ¶
type PutPoolsPoolIDParams struct { // Pool. Pool PutPoolsPoolIDBody /* PoolID. The UUID of the pool Format: uuid */ PoolID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutPoolsPoolIDParams contains all the parameters to send to the API endpoint
for the put pools pool ID operation. Typically these are written to a http.Request.
func NewPutPoolsPoolIDParams ¶
func NewPutPoolsPoolIDParams() *PutPoolsPoolIDParams
NewPutPoolsPoolIDParams creates a new PutPoolsPoolIDParams 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 NewPutPoolsPoolIDParamsWithContext ¶
func NewPutPoolsPoolIDParamsWithContext(ctx context.Context) *PutPoolsPoolIDParams
NewPutPoolsPoolIDParamsWithContext creates a new PutPoolsPoolIDParams object with the ability to set a context for a request.
func NewPutPoolsPoolIDParamsWithHTTPClient ¶
func NewPutPoolsPoolIDParamsWithHTTPClient(client *http.Client) *PutPoolsPoolIDParams
NewPutPoolsPoolIDParamsWithHTTPClient creates a new PutPoolsPoolIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutPoolsPoolIDParamsWithTimeout ¶
func NewPutPoolsPoolIDParamsWithTimeout(timeout time.Duration) *PutPoolsPoolIDParams
NewPutPoolsPoolIDParamsWithTimeout creates a new PutPoolsPoolIDParams object with the ability to set a timeout on a request.
func (*PutPoolsPoolIDParams) SetContext ¶
func (o *PutPoolsPoolIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put pools pool ID params
func (*PutPoolsPoolIDParams) SetDefaults ¶
func (o *PutPoolsPoolIDParams) SetDefaults()
SetDefaults hydrates default values in the put pools pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutPoolsPoolIDParams) SetHTTPClient ¶
func (o *PutPoolsPoolIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put pools pool ID params
func (*PutPoolsPoolIDParams) SetPool ¶
func (o *PutPoolsPoolIDParams) SetPool(pool PutPoolsPoolIDBody)
SetPool adds the pool to the put pools pool ID params
func (*PutPoolsPoolIDParams) SetPoolID ¶
func (o *PutPoolsPoolIDParams) SetPoolID(poolID strfmt.UUID)
SetPoolID adds the poolId to the put pools pool ID params
func (*PutPoolsPoolIDParams) SetTimeout ¶
func (o *PutPoolsPoolIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put pools pool ID params
func (*PutPoolsPoolIDParams) WithContext ¶
func (o *PutPoolsPoolIDParams) WithContext(ctx context.Context) *PutPoolsPoolIDParams
WithContext adds the context to the put pools pool ID params
func (*PutPoolsPoolIDParams) WithDefaults ¶
func (o *PutPoolsPoolIDParams) WithDefaults() *PutPoolsPoolIDParams
WithDefaults hydrates default values in the put pools pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutPoolsPoolIDParams) WithHTTPClient ¶
func (o *PutPoolsPoolIDParams) WithHTTPClient(client *http.Client) *PutPoolsPoolIDParams
WithHTTPClient adds the HTTPClient to the put pools pool ID params
func (*PutPoolsPoolIDParams) WithPool ¶
func (o *PutPoolsPoolIDParams) WithPool(pool PutPoolsPoolIDBody) *PutPoolsPoolIDParams
WithPool adds the pool to the put pools pool ID params
func (*PutPoolsPoolIDParams) WithPoolID ¶
func (o *PutPoolsPoolIDParams) WithPoolID(poolID strfmt.UUID) *PutPoolsPoolIDParams
WithPoolID adds the poolID to the put pools pool ID params
func (*PutPoolsPoolIDParams) WithTimeout ¶
func (o *PutPoolsPoolIDParams) WithTimeout(timeout time.Duration) *PutPoolsPoolIDParams
WithTimeout adds the timeout to the put pools pool ID params
func (*PutPoolsPoolIDParams) WriteToRequest ¶
func (o *PutPoolsPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutPoolsPoolIDReader ¶
type PutPoolsPoolIDReader struct {
// contains filtered or unexported fields
}
PutPoolsPoolIDReader is a Reader for the PutPoolsPoolID structure.
func (*PutPoolsPoolIDReader) ReadResponse ¶
func (o *PutPoolsPoolIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_pools_pool_id_parameters.go
- delete_pools_pool_id_responses.go
- get_pools_parameters.go
- get_pools_pool_id_parameters.go
- get_pools_pool_id_responses.go
- get_pools_responses.go
- pools_client.go
- post_pools_parameters.go
- post_pools_responses.go
- put_pools_pool_id_parameters.go
- put_pools_pool_id_responses.go