Documentation
¶
Index ¶
- type AddActivityByPoolIDInternalServerError
- type AddActivityByPoolIDNotFound
- type AddActivityByPoolIDOK
- type AddActivityByPoolIDParams
- func NewAddActivityByPoolIDParams() *AddActivityByPoolIDParams
- func NewAddActivityByPoolIDParamsWithContext(ctx context.Context) *AddActivityByPoolIDParams
- func NewAddActivityByPoolIDParamsWithHTTPClient(client *http.Client) *AddActivityByPoolIDParams
- func NewAddActivityByPoolIDParamsWithTimeout(timeout time.Duration) *AddActivityByPoolIDParams
- func (o *AddActivityByPoolIDParams) SetActivity(activity *models.Activity)
- func (o *AddActivityByPoolIDParams) SetContext(ctx context.Context)
- func (o *AddActivityByPoolIDParams) SetDefaults()
- func (o *AddActivityByPoolIDParams) SetHTTPClient(client *http.Client)
- func (o *AddActivityByPoolIDParams) SetPoolID(poolID string)
- func (o *AddActivityByPoolIDParams) SetTimeout(timeout time.Duration)
- func (o *AddActivityByPoolIDParams) WithActivity(activity *models.Activity) *AddActivityByPoolIDParams
- func (o *AddActivityByPoolIDParams) WithContext(ctx context.Context) *AddActivityByPoolIDParams
- func (o *AddActivityByPoolIDParams) WithDefaults() *AddActivityByPoolIDParams
- func (o *AddActivityByPoolIDParams) WithHTTPClient(client *http.Client) *AddActivityByPoolIDParams
- func (o *AddActivityByPoolIDParams) WithPoolID(poolID string) *AddActivityByPoolIDParams
- func (o *AddActivityByPoolIDParams) WithTimeout(timeout time.Duration) *AddActivityByPoolIDParams
- func (o *AddActivityByPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddActivityByPoolIDReader
- type AddActivityByPoolIDUnauthorized
- type AddNewPoolInternalServerError
- type AddNewPoolNotFound
- type AddNewPoolOK
- type AddNewPoolParams
- func (o *AddNewPoolParams) SetContext(ctx context.Context)
- func (o *AddNewPoolParams) SetDefaults()
- func (o *AddNewPoolParams) SetHTTPClient(client *http.Client)
- func (o *AddNewPoolParams) SetPool(pool *models.Pool)
- func (o *AddNewPoolParams) SetTimeout(timeout time.Duration)
- func (o *AddNewPoolParams) WithContext(ctx context.Context) *AddNewPoolParams
- func (o *AddNewPoolParams) WithDefaults() *AddNewPoolParams
- func (o *AddNewPoolParams) WithHTTPClient(client *http.Client) *AddNewPoolParams
- func (o *AddNewPoolParams) WithPool(pool *models.Pool) *AddNewPoolParams
- func (o *AddNewPoolParams) WithTimeout(timeout time.Duration) *AddNewPoolParams
- func (o *AddNewPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddNewPoolReader
- type AddNewPoolUnauthorized
- type Client
- func (a *Client) AddActivityByPoolID(params *AddActivityByPoolIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddActivityByPoolIDOK, error)
- func (a *Client) AddNewPool(params *AddNewPoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddNewPoolOK, error)
- func (a *Client) DeleteActivityByID(params *DeleteActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) DeletePool(params *DeletePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) GetActivityByID(params *GetActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetActivityByIDOK, error)
- func (a *Client) GetAllPools(params *GetAllPoolsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAllPoolsOK, error)
- func (a *Client) GetPoolDescriptionByID(params *GetPoolDescriptionByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPoolDescriptionByIDOK, error)
- func (a *Client) GetPoolStatusByID(params *GetPoolStatusByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPoolStatusByIDOK, error)
- func (a *Client) RequestSessionByPoolID(params *RequestSessionByPoolIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RequestSessionByPoolIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateActivityByID(params *UpdateActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateActivityByIDOK, error)
- type ClientOption
- type ClientService
- type DeleteActivityByIDInternalServerError
- type DeleteActivityByIDNotFound
- type DeleteActivityByIDParams
- func NewDeleteActivityByIDParams() *DeleteActivityByIDParams
- func NewDeleteActivityByIDParamsWithContext(ctx context.Context) *DeleteActivityByIDParams
- func NewDeleteActivityByIDParamsWithHTTPClient(client *http.Client) *DeleteActivityByIDParams
- func NewDeleteActivityByIDParamsWithTimeout(timeout time.Duration) *DeleteActivityByIDParams
- func (o *DeleteActivityByIDParams) SetActivityID(activityID string)
- func (o *DeleteActivityByIDParams) SetContext(ctx context.Context)
- func (o *DeleteActivityByIDParams) SetDefaults()
- func (o *DeleteActivityByIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteActivityByIDParams) SetPoolID(poolID string)
- func (o *DeleteActivityByIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteActivityByIDParams) WithActivityID(activityID string) *DeleteActivityByIDParams
- func (o *DeleteActivityByIDParams) WithContext(ctx context.Context) *DeleteActivityByIDParams
- func (o *DeleteActivityByIDParams) WithDefaults() *DeleteActivityByIDParams
- func (o *DeleteActivityByIDParams) WithHTTPClient(client *http.Client) *DeleteActivityByIDParams
- func (o *DeleteActivityByIDParams) WithPoolID(poolID string) *DeleteActivityByIDParams
- func (o *DeleteActivityByIDParams) WithTimeout(timeout time.Duration) *DeleteActivityByIDParams
- func (o *DeleteActivityByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteActivityByIDReader
- type DeleteActivityByIDUnauthorized
- type DeletePoolInternalServerError
- type DeletePoolNotFound
- type DeletePoolParams
- func (o *DeletePoolParams) SetContext(ctx context.Context)
- func (o *DeletePoolParams) SetDefaults()
- func (o *DeletePoolParams) SetHTTPClient(client *http.Client)
- func (o *DeletePoolParams) SetPoolID(poolID string)
- func (o *DeletePoolParams) SetTimeout(timeout time.Duration)
- func (o *DeletePoolParams) WithContext(ctx context.Context) *DeletePoolParams
- func (o *DeletePoolParams) WithDefaults() *DeletePoolParams
- func (o *DeletePoolParams) WithHTTPClient(client *http.Client) *DeletePoolParams
- func (o *DeletePoolParams) WithPoolID(poolID string) *DeletePoolParams
- func (o *DeletePoolParams) WithTimeout(timeout time.Duration) *DeletePoolParams
- func (o *DeletePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePoolReader
- type DeletePoolUnauthorized
- type GetActivityByIDInternalServerError
- type GetActivityByIDNotFound
- type GetActivityByIDOK
- type GetActivityByIDParams
- func NewGetActivityByIDParams() *GetActivityByIDParams
- func NewGetActivityByIDParamsWithContext(ctx context.Context) *GetActivityByIDParams
- func NewGetActivityByIDParamsWithHTTPClient(client *http.Client) *GetActivityByIDParams
- func NewGetActivityByIDParamsWithTimeout(timeout time.Duration) *GetActivityByIDParams
- func (o *GetActivityByIDParams) SetActivityID(activityID string)
- func (o *GetActivityByIDParams) SetContext(ctx context.Context)
- func (o *GetActivityByIDParams) SetDefaults()
- func (o *GetActivityByIDParams) SetDetails(details *bool)
- func (o *GetActivityByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetActivityByIDParams) SetPoolID(poolID string)
- func (o *GetActivityByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetActivityByIDParams) WithActivityID(activityID string) *GetActivityByIDParams
- func (o *GetActivityByIDParams) WithContext(ctx context.Context) *GetActivityByIDParams
- func (o *GetActivityByIDParams) WithDefaults() *GetActivityByIDParams
- func (o *GetActivityByIDParams) WithDetails(details *bool) *GetActivityByIDParams
- func (o *GetActivityByIDParams) WithHTTPClient(client *http.Client) *GetActivityByIDParams
- func (o *GetActivityByIDParams) WithPoolID(poolID string) *GetActivityByIDParams
- func (o *GetActivityByIDParams) WithTimeout(timeout time.Duration) *GetActivityByIDParams
- func (o *GetActivityByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetActivityByIDReader
- type GetActivityByIDUnauthorized
- type GetAllPoolsInternalServerError
- type GetAllPoolsNotFound
- type GetAllPoolsOK
- type GetAllPoolsParams
- func (o *GetAllPoolsParams) SetContext(ctx context.Context)
- func (o *GetAllPoolsParams) SetDefaults()
- func (o *GetAllPoolsParams) SetExact(exact *bool)
- func (o *GetAllPoolsParams) SetHTTPClient(client *http.Client)
- func (o *GetAllPoolsParams) SetName(name *string)
- func (o *GetAllPoolsParams) SetTimeout(timeout time.Duration)
- func (o *GetAllPoolsParams) WithContext(ctx context.Context) *GetAllPoolsParams
- func (o *GetAllPoolsParams) WithDefaults() *GetAllPoolsParams
- func (o *GetAllPoolsParams) WithExact(exact *bool) *GetAllPoolsParams
- func (o *GetAllPoolsParams) WithHTTPClient(client *http.Client) *GetAllPoolsParams
- func (o *GetAllPoolsParams) WithName(name *string) *GetAllPoolsParams
- func (o *GetAllPoolsParams) WithTimeout(timeout time.Duration) *GetAllPoolsParams
- func (o *GetAllPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllPoolsReader
- type GetAllPoolsUnauthorized
- type GetPoolDescriptionByIDInternalServerError
- type GetPoolDescriptionByIDOK
- type GetPoolDescriptionByIDParams
- func NewGetPoolDescriptionByIDParams() *GetPoolDescriptionByIDParams
- func NewGetPoolDescriptionByIDParamsWithContext(ctx context.Context) *GetPoolDescriptionByIDParams
- func NewGetPoolDescriptionByIDParamsWithHTTPClient(client *http.Client) *GetPoolDescriptionByIDParams
- func NewGetPoolDescriptionByIDParamsWithTimeout(timeout time.Duration) *GetPoolDescriptionByIDParams
- func (o *GetPoolDescriptionByIDParams) SetContext(ctx context.Context)
- func (o *GetPoolDescriptionByIDParams) SetDefaults()
- func (o *GetPoolDescriptionByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetPoolDescriptionByIDParams) SetPoolID(poolID string)
- func (o *GetPoolDescriptionByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetPoolDescriptionByIDParams) WithContext(ctx context.Context) *GetPoolDescriptionByIDParams
- func (o *GetPoolDescriptionByIDParams) WithDefaults() *GetPoolDescriptionByIDParams
- func (o *GetPoolDescriptionByIDParams) WithHTTPClient(client *http.Client) *GetPoolDescriptionByIDParams
- func (o *GetPoolDescriptionByIDParams) WithPoolID(poolID string) *GetPoolDescriptionByIDParams
- func (o *GetPoolDescriptionByIDParams) WithTimeout(timeout time.Duration) *GetPoolDescriptionByIDParams
- func (o *GetPoolDescriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPoolDescriptionByIDReader
- type GetPoolDescriptionByIDUnauthorized
- type GetPoolStatusByIDInternalServerError
- type GetPoolStatusByIDOK
- type GetPoolStatusByIDParams
- func NewGetPoolStatusByIDParams() *GetPoolStatusByIDParams
- func NewGetPoolStatusByIDParamsWithContext(ctx context.Context) *GetPoolStatusByIDParams
- func NewGetPoolStatusByIDParamsWithHTTPClient(client *http.Client) *GetPoolStatusByIDParams
- func NewGetPoolStatusByIDParamsWithTimeout(timeout time.Duration) *GetPoolStatusByIDParams
- func (o *GetPoolStatusByIDParams) SetContext(ctx context.Context)
- func (o *GetPoolStatusByIDParams) SetDefaults()
- func (o *GetPoolStatusByIDParams) SetDuration(duration *float64)
- func (o *GetPoolStatusByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetPoolStatusByIDParams) SetPoolID(poolID string)
- func (o *GetPoolStatusByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetPoolStatusByIDParams) WithContext(ctx context.Context) *GetPoolStatusByIDParams
- func (o *GetPoolStatusByIDParams) WithDefaults() *GetPoolStatusByIDParams
- func (o *GetPoolStatusByIDParams) WithDuration(duration *float64) *GetPoolStatusByIDParams
- func (o *GetPoolStatusByIDParams) WithHTTPClient(client *http.Client) *GetPoolStatusByIDParams
- func (o *GetPoolStatusByIDParams) WithPoolID(poolID string) *GetPoolStatusByIDParams
- func (o *GetPoolStatusByIDParams) WithTimeout(timeout time.Duration) *GetPoolStatusByIDParams
- func (o *GetPoolStatusByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPoolStatusByIDReader
- type GetPoolStatusByIDUnauthorized
- type RequestSessionByPoolIDInternalServerError
- type RequestSessionByPoolIDNotFound
- type RequestSessionByPoolIDOK
- type RequestSessionByPoolIDParams
- func NewRequestSessionByPoolIDParams() *RequestSessionByPoolIDParams
- func NewRequestSessionByPoolIDParamsWithContext(ctx context.Context) *RequestSessionByPoolIDParams
- func NewRequestSessionByPoolIDParamsWithHTTPClient(client *http.Client) *RequestSessionByPoolIDParams
- func NewRequestSessionByPoolIDParamsWithTimeout(timeout time.Duration) *RequestSessionByPoolIDParams
- func (o *RequestSessionByPoolIDParams) SetContext(ctx context.Context)
- func (o *RequestSessionByPoolIDParams) SetDefaults()
- func (o *RequestSessionByPoolIDParams) SetDuration(duration int64)
- func (o *RequestSessionByPoolIDParams) SetHTTPClient(client *http.Client)
- func (o *RequestSessionByPoolIDParams) SetPoolID(poolID string)
- func (o *RequestSessionByPoolIDParams) SetTimeout(timeout time.Duration)
- func (o *RequestSessionByPoolIDParams) WithContext(ctx context.Context) *RequestSessionByPoolIDParams
- func (o *RequestSessionByPoolIDParams) WithDefaults() *RequestSessionByPoolIDParams
- func (o *RequestSessionByPoolIDParams) WithDuration(duration int64) *RequestSessionByPoolIDParams
- func (o *RequestSessionByPoolIDParams) WithHTTPClient(client *http.Client) *RequestSessionByPoolIDParams
- func (o *RequestSessionByPoolIDParams) WithPoolID(poolID string) *RequestSessionByPoolIDParams
- func (o *RequestSessionByPoolIDParams) WithTimeout(timeout time.Duration) *RequestSessionByPoolIDParams
- func (o *RequestSessionByPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestSessionByPoolIDPaymentRequired
- type RequestSessionByPoolIDReader
- type RequestSessionByPoolIDUnauthorized
- type UpdateActivityByIDInternalServerError
- type UpdateActivityByIDNotFound
- type UpdateActivityByIDOK
- type UpdateActivityByIDParams
- func NewUpdateActivityByIDParams() *UpdateActivityByIDParams
- func NewUpdateActivityByIDParamsWithContext(ctx context.Context) *UpdateActivityByIDParams
- func NewUpdateActivityByIDParamsWithHTTPClient(client *http.Client) *UpdateActivityByIDParams
- func NewUpdateActivityByIDParamsWithTimeout(timeout time.Duration) *UpdateActivityByIDParams
- func (o *UpdateActivityByIDParams) SetActivity(activity *models.Activity)
- func (o *UpdateActivityByIDParams) SetActivityID(activityID string)
- func (o *UpdateActivityByIDParams) SetContext(ctx context.Context)
- func (o *UpdateActivityByIDParams) SetDefaults()
- func (o *UpdateActivityByIDParams) SetHTTPClient(client *http.Client)
- func (o *UpdateActivityByIDParams) SetPoolID(poolID string)
- func (o *UpdateActivityByIDParams) SetTimeout(timeout time.Duration)
- func (o *UpdateActivityByIDParams) WithActivity(activity *models.Activity) *UpdateActivityByIDParams
- func (o *UpdateActivityByIDParams) WithActivityID(activityID string) *UpdateActivityByIDParams
- func (o *UpdateActivityByIDParams) WithContext(ctx context.Context) *UpdateActivityByIDParams
- func (o *UpdateActivityByIDParams) WithDefaults() *UpdateActivityByIDParams
- func (o *UpdateActivityByIDParams) WithHTTPClient(client *http.Client) *UpdateActivityByIDParams
- func (o *UpdateActivityByIDParams) WithPoolID(poolID string) *UpdateActivityByIDParams
- func (o *UpdateActivityByIDParams) WithTimeout(timeout time.Duration) *UpdateActivityByIDParams
- func (o *UpdateActivityByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateActivityByIDReader
- type UpdateActivityByIDUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddActivityByPoolIDInternalServerError ¶
type AddActivityByPoolIDInternalServerError struct {
Payload interface{}
}
AddActivityByPoolIDInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewAddActivityByPoolIDInternalServerError ¶
func NewAddActivityByPoolIDInternalServerError() *AddActivityByPoolIDInternalServerError
NewAddActivityByPoolIDInternalServerError creates a AddActivityByPoolIDInternalServerError with default headers values
func (*AddActivityByPoolIDInternalServerError) Error ¶
func (o *AddActivityByPoolIDInternalServerError) Error() string
func (*AddActivityByPoolIDInternalServerError) GetPayload ¶
func (o *AddActivityByPoolIDInternalServerError) GetPayload() interface{}
type AddActivityByPoolIDNotFound ¶
type AddActivityByPoolIDNotFound struct {
Payload interface{}
}
AddActivityByPoolIDNotFound describes a response with status code 404, with default header values.
Not Available
func NewAddActivityByPoolIDNotFound ¶
func NewAddActivityByPoolIDNotFound() *AddActivityByPoolIDNotFound
NewAddActivityByPoolIDNotFound creates a AddActivityByPoolIDNotFound with default headers values
func (*AddActivityByPoolIDNotFound) Error ¶
func (o *AddActivityByPoolIDNotFound) Error() string
func (*AddActivityByPoolIDNotFound) GetPayload ¶
func (o *AddActivityByPoolIDNotFound) GetPayload() interface{}
type AddActivityByPoolIDOK ¶
AddActivityByPoolIDOK describes a response with status code 200, with default header values.
AddActivityByPoolIDOK add activity by pool Id o k
func NewAddActivityByPoolIDOK ¶
func NewAddActivityByPoolIDOK() *AddActivityByPoolIDOK
NewAddActivityByPoolIDOK creates a AddActivityByPoolIDOK with default headers values
func (*AddActivityByPoolIDOK) Error ¶
func (o *AddActivityByPoolIDOK) Error() string
func (*AddActivityByPoolIDOK) GetPayload ¶
func (o *AddActivityByPoolIDOK) GetPayload() *models.ID
type AddActivityByPoolIDParams ¶
type AddActivityByPoolIDParams struct {
// Activity.
Activity *models.Activity
// PoolID.
PoolID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AddActivityByPoolIDParams contains all the parameters to send to the API endpoint
for the add activity by pool ID operation. Typically these are written to a http.Request.
func NewAddActivityByPoolIDParams ¶
func NewAddActivityByPoolIDParams() *AddActivityByPoolIDParams
NewAddActivityByPoolIDParams creates a new AddActivityByPoolIDParams 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 NewAddActivityByPoolIDParamsWithContext ¶
func NewAddActivityByPoolIDParamsWithContext(ctx context.Context) *AddActivityByPoolIDParams
NewAddActivityByPoolIDParamsWithContext creates a new AddActivityByPoolIDParams object with the ability to set a context for a request.
func NewAddActivityByPoolIDParamsWithHTTPClient ¶
func NewAddActivityByPoolIDParamsWithHTTPClient(client *http.Client) *AddActivityByPoolIDParams
NewAddActivityByPoolIDParamsWithHTTPClient creates a new AddActivityByPoolIDParams object with the ability to set a custom HTTPClient for a request.
func NewAddActivityByPoolIDParamsWithTimeout ¶
func NewAddActivityByPoolIDParamsWithTimeout(timeout time.Duration) *AddActivityByPoolIDParams
NewAddActivityByPoolIDParamsWithTimeout creates a new AddActivityByPoolIDParams object with the ability to set a timeout on a request.
func (*AddActivityByPoolIDParams) SetActivity ¶
func (o *AddActivityByPoolIDParams) SetActivity(activity *models.Activity)
SetActivity adds the activity to the add activity by pool ID params
func (*AddActivityByPoolIDParams) SetContext ¶
func (o *AddActivityByPoolIDParams) SetContext(ctx context.Context)
SetContext adds the context to the add activity by pool ID params
func (*AddActivityByPoolIDParams) SetDefaults ¶
func (o *AddActivityByPoolIDParams) SetDefaults()
SetDefaults hydrates default values in the add activity by pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*AddActivityByPoolIDParams) SetHTTPClient ¶
func (o *AddActivityByPoolIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add activity by pool ID params
func (*AddActivityByPoolIDParams) SetPoolID ¶
func (o *AddActivityByPoolIDParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the add activity by pool ID params
func (*AddActivityByPoolIDParams) SetTimeout ¶
func (o *AddActivityByPoolIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add activity by pool ID params
func (*AddActivityByPoolIDParams) WithActivity ¶
func (o *AddActivityByPoolIDParams) WithActivity(activity *models.Activity) *AddActivityByPoolIDParams
WithActivity adds the activity to the add activity by pool ID params
func (*AddActivityByPoolIDParams) WithContext ¶
func (o *AddActivityByPoolIDParams) WithContext(ctx context.Context) *AddActivityByPoolIDParams
WithContext adds the context to the add activity by pool ID params
func (*AddActivityByPoolIDParams) WithDefaults ¶
func (o *AddActivityByPoolIDParams) WithDefaults() *AddActivityByPoolIDParams
WithDefaults hydrates default values in the add activity by pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*AddActivityByPoolIDParams) WithHTTPClient ¶
func (o *AddActivityByPoolIDParams) WithHTTPClient(client *http.Client) *AddActivityByPoolIDParams
WithHTTPClient adds the HTTPClient to the add activity by pool ID params
func (*AddActivityByPoolIDParams) WithPoolID ¶
func (o *AddActivityByPoolIDParams) WithPoolID(poolID string) *AddActivityByPoolIDParams
WithPoolID adds the poolID to the add activity by pool ID params
func (*AddActivityByPoolIDParams) WithTimeout ¶
func (o *AddActivityByPoolIDParams) WithTimeout(timeout time.Duration) *AddActivityByPoolIDParams
WithTimeout adds the timeout to the add activity by pool ID params
func (*AddActivityByPoolIDParams) WriteToRequest ¶
func (o *AddActivityByPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddActivityByPoolIDReader ¶
type AddActivityByPoolIDReader struct {
// contains filtered or unexported fields
}
AddActivityByPoolIDReader is a Reader for the AddActivityByPoolID structure.
func (*AddActivityByPoolIDReader) ReadResponse ¶
func (o *AddActivityByPoolIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddActivityByPoolIDUnauthorized ¶
type AddActivityByPoolIDUnauthorized struct {
}
AddActivityByPoolIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewAddActivityByPoolIDUnauthorized ¶
func NewAddActivityByPoolIDUnauthorized() *AddActivityByPoolIDUnauthorized
NewAddActivityByPoolIDUnauthorized creates a AddActivityByPoolIDUnauthorized with default headers values
func (*AddActivityByPoolIDUnauthorized) Error ¶
func (o *AddActivityByPoolIDUnauthorized) Error() string
func (*AddActivityByPoolIDUnauthorized) GetPayload ¶
func (o *AddActivityByPoolIDUnauthorized) GetPayload() interface{}
type AddNewPoolInternalServerError ¶
type AddNewPoolInternalServerError struct {
Payload interface{}
}
AddNewPoolInternalServerError describes a response with status code 500, with default header values.
AddNewPoolInternalServerError add new pool internal server error
func NewAddNewPoolInternalServerError ¶
func NewAddNewPoolInternalServerError() *AddNewPoolInternalServerError
NewAddNewPoolInternalServerError creates a AddNewPoolInternalServerError with default headers values
func (*AddNewPoolInternalServerError) Error ¶
func (o *AddNewPoolInternalServerError) Error() string
func (*AddNewPoolInternalServerError) GetPayload ¶
func (o *AddNewPoolInternalServerError) GetPayload() interface{}
type AddNewPoolNotFound ¶
type AddNewPoolNotFound struct {
Payload interface{}
}
AddNewPoolNotFound describes a response with status code 404, with default header values.
Unauthorized
func NewAddNewPoolNotFound ¶
func NewAddNewPoolNotFound() *AddNewPoolNotFound
NewAddNewPoolNotFound creates a AddNewPoolNotFound with default headers values
func (*AddNewPoolNotFound) Error ¶
func (o *AddNewPoolNotFound) Error() string
func (*AddNewPoolNotFound) GetPayload ¶
func (o *AddNewPoolNotFound) GetPayload() interface{}
type AddNewPoolOK ¶
AddNewPoolOK describes a response with status code 200, with default header values.
AddNewPoolOK add new pool o k
func NewAddNewPoolOK ¶
func NewAddNewPoolOK() *AddNewPoolOK
NewAddNewPoolOK creates a AddNewPoolOK with default headers values
func (*AddNewPoolOK) Error ¶
func (o *AddNewPoolOK) Error() string
func (*AddNewPoolOK) GetPayload ¶
func (o *AddNewPoolOK) GetPayload() *models.ID
type AddNewPoolParams ¶
type AddNewPoolParams struct {
// Pool.
Pool *models.Pool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AddNewPoolParams contains all the parameters to send to the API endpoint
for the add new pool operation. Typically these are written to a http.Request.
func NewAddNewPoolParams ¶
func NewAddNewPoolParams() *AddNewPoolParams
NewAddNewPoolParams creates a new AddNewPoolParams 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 NewAddNewPoolParamsWithContext ¶
func NewAddNewPoolParamsWithContext(ctx context.Context) *AddNewPoolParams
NewAddNewPoolParamsWithContext creates a new AddNewPoolParams object with the ability to set a context for a request.
func NewAddNewPoolParamsWithHTTPClient ¶
func NewAddNewPoolParamsWithHTTPClient(client *http.Client) *AddNewPoolParams
NewAddNewPoolParamsWithHTTPClient creates a new AddNewPoolParams object with the ability to set a custom HTTPClient for a request.
func NewAddNewPoolParamsWithTimeout ¶
func NewAddNewPoolParamsWithTimeout(timeout time.Duration) *AddNewPoolParams
NewAddNewPoolParamsWithTimeout creates a new AddNewPoolParams object with the ability to set a timeout on a request.
func (*AddNewPoolParams) SetContext ¶
func (o *AddNewPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the add new pool params
func (*AddNewPoolParams) SetDefaults ¶
func (o *AddNewPoolParams) SetDefaults()
SetDefaults hydrates default values in the add new pool params (not the query body).
All values with no default are reset to their zero value.
func (*AddNewPoolParams) SetHTTPClient ¶
func (o *AddNewPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add new pool params
func (*AddNewPoolParams) SetPool ¶
func (o *AddNewPoolParams) SetPool(pool *models.Pool)
SetPool adds the pool to the add new pool params
func (*AddNewPoolParams) SetTimeout ¶
func (o *AddNewPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add new pool params
func (*AddNewPoolParams) WithContext ¶
func (o *AddNewPoolParams) WithContext(ctx context.Context) *AddNewPoolParams
WithContext adds the context to the add new pool params
func (*AddNewPoolParams) WithDefaults ¶
func (o *AddNewPoolParams) WithDefaults() *AddNewPoolParams
WithDefaults hydrates default values in the add new pool params (not the query body).
All values with no default are reset to their zero value.
func (*AddNewPoolParams) WithHTTPClient ¶
func (o *AddNewPoolParams) WithHTTPClient(client *http.Client) *AddNewPoolParams
WithHTTPClient adds the HTTPClient to the add new pool params
func (*AddNewPoolParams) WithPool ¶
func (o *AddNewPoolParams) WithPool(pool *models.Pool) *AddNewPoolParams
WithPool adds the pool to the add new pool params
func (*AddNewPoolParams) WithTimeout ¶
func (o *AddNewPoolParams) WithTimeout(timeout time.Duration) *AddNewPoolParams
WithTimeout adds the timeout to the add new pool params
func (*AddNewPoolParams) WriteToRequest ¶
func (o *AddNewPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddNewPoolReader ¶
type AddNewPoolReader struct {
// contains filtered or unexported fields
}
AddNewPoolReader is a Reader for the AddNewPool structure.
func (*AddNewPoolReader) ReadResponse ¶
func (o *AddNewPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddNewPoolUnauthorized ¶
type AddNewPoolUnauthorized struct {
}
AddNewPoolUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewAddNewPoolUnauthorized ¶
func NewAddNewPoolUnauthorized() *AddNewPoolUnauthorized
NewAddNewPoolUnauthorized creates a AddNewPoolUnauthorized with default headers values
func (*AddNewPoolUnauthorized) Error ¶
func (o *AddNewPoolUnauthorized) Error() string
func (*AddNewPoolUnauthorized) GetPayload ¶
func (o *AddNewPoolUnauthorized) GetPayload() interface{}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for pools API
func (*Client) AddActivityByPoolID ¶
func (a *Client) AddActivityByPoolID(params *AddActivityByPoolIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddActivityByPoolIDOK, error)
AddActivityByPoolID adds an activity to a pool
Adds an activity to a pool (activty must include valid exp field)
func (*Client) AddNewPool ¶
func (a *Client) AddNewPool(params *AddNewPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNewPoolOK, error)
AddNewPool adds a new pool
Add a pool to the poolstore, using details in body
func (*Client) DeleteActivityByID ¶
func (a *Client) DeleteActivityByID(params *DeleteActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteActivityByID deletes activity
Delete activity by activity ID
func (*Client) DeletePool ¶
func (a *Client) DeletePool(params *DeletePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeletePool deletes this pool
Delete this pool and all its data (including activities)
func (*Client) GetActivityByID ¶
func (a *Client) GetActivityByID(params *GetActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetActivityByIDOK, error)
GetActivityByID gets activity description
Get activity description by activity ID
func (*Client) GetAllPools ¶
func (a *Client) GetAllPools(params *GetAllPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllPoolsOK, error)
GetAllPools pools
Gets a list of all pool_ids
func (*Client) GetPoolDescriptionByID ¶
func (a *Client) GetPoolDescriptionByID(params *GetPoolDescriptionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPoolDescriptionByIDOK, error)
GetPoolDescriptionByID pools
Gets a description of the pool
func (*Client) GetPoolStatusByID ¶
func (a *Client) GetPoolStatusByID(params *GetPoolStatusByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPoolStatusByIDOK, error)
GetPoolStatusByID gets the status of the pool s activities
Gets the status of pool's activities
func (*Client) RequestSessionByPoolID ¶
func (a *Client) RequestSessionByPoolID(params *RequestSessionByPoolIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RequestSessionByPoolIDOK, error)
RequestSessionByPoolID requests a session from a pool
Request a session on an activity from the pool
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateActivityByID ¶
func (a *Client) UpdateActivityByID(params *UpdateActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateActivityByIDOK, error)
UpdateActivityByID updates an activity in a pool
Updates an activity in a pool (or adds one with a specific ID if does not exist)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
AddActivityByPoolID(params *AddActivityByPoolIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddActivityByPoolIDOK, error)
AddNewPool(params *AddNewPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNewPoolOK, error)
DeleteActivityByID(params *DeleteActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeletePool(params *DeletePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
GetActivityByID(params *GetActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetActivityByIDOK, error)
GetAllPools(params *GetAllPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllPoolsOK, error)
GetPoolDescriptionByID(params *GetPoolDescriptionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPoolDescriptionByIDOK, error)
GetPoolStatusByID(params *GetPoolStatusByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPoolStatusByIDOK, error)
RequestSessionByPoolID(params *RequestSessionByPoolIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RequestSessionByPoolIDOK, error)
UpdateActivityByID(params *UpdateActivityByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateActivityByIDOK, 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 DeleteActivityByIDInternalServerError ¶
type DeleteActivityByIDInternalServerError struct {
Payload interface{}
}
DeleteActivityByIDInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewDeleteActivityByIDInternalServerError ¶
func NewDeleteActivityByIDInternalServerError() *DeleteActivityByIDInternalServerError
NewDeleteActivityByIDInternalServerError creates a DeleteActivityByIDInternalServerError with default headers values
func (*DeleteActivityByIDInternalServerError) Error ¶
func (o *DeleteActivityByIDInternalServerError) Error() string
func (*DeleteActivityByIDInternalServerError) GetPayload ¶
func (o *DeleteActivityByIDInternalServerError) GetPayload() interface{}
type DeleteActivityByIDNotFound ¶
type DeleteActivityByIDNotFound struct {
Payload interface{}
}
DeleteActivityByIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteActivityByIDNotFound ¶
func NewDeleteActivityByIDNotFound() *DeleteActivityByIDNotFound
NewDeleteActivityByIDNotFound creates a DeleteActivityByIDNotFound with default headers values
func (*DeleteActivityByIDNotFound) Error ¶
func (o *DeleteActivityByIDNotFound) Error() string
func (*DeleteActivityByIDNotFound) GetPayload ¶
func (o *DeleteActivityByIDNotFound) GetPayload() interface{}
type DeleteActivityByIDParams ¶
type DeleteActivityByIDParams struct {
// ActivityID.
ActivityID string
// PoolID.
PoolID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteActivityByIDParams contains all the parameters to send to the API endpoint
for the delete activity by ID operation. Typically these are written to a http.Request.
func NewDeleteActivityByIDParams ¶
func NewDeleteActivityByIDParams() *DeleteActivityByIDParams
NewDeleteActivityByIDParams creates a new DeleteActivityByIDParams 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 NewDeleteActivityByIDParamsWithContext ¶
func NewDeleteActivityByIDParamsWithContext(ctx context.Context) *DeleteActivityByIDParams
NewDeleteActivityByIDParamsWithContext creates a new DeleteActivityByIDParams object with the ability to set a context for a request.
func NewDeleteActivityByIDParamsWithHTTPClient ¶
func NewDeleteActivityByIDParamsWithHTTPClient(client *http.Client) *DeleteActivityByIDParams
NewDeleteActivityByIDParamsWithHTTPClient creates a new DeleteActivityByIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteActivityByIDParamsWithTimeout ¶
func NewDeleteActivityByIDParamsWithTimeout(timeout time.Duration) *DeleteActivityByIDParams
NewDeleteActivityByIDParamsWithTimeout creates a new DeleteActivityByIDParams object with the ability to set a timeout on a request.
func (*DeleteActivityByIDParams) SetActivityID ¶
func (o *DeleteActivityByIDParams) SetActivityID(activityID string)
SetActivityID adds the activityId to the delete activity by ID params
func (*DeleteActivityByIDParams) SetContext ¶
func (o *DeleteActivityByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete activity by ID params
func (*DeleteActivityByIDParams) SetDefaults ¶
func (o *DeleteActivityByIDParams) SetDefaults()
SetDefaults hydrates default values in the delete activity by ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteActivityByIDParams) SetHTTPClient ¶
func (o *DeleteActivityByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete activity by ID params
func (*DeleteActivityByIDParams) SetPoolID ¶
func (o *DeleteActivityByIDParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the delete activity by ID params
func (*DeleteActivityByIDParams) SetTimeout ¶
func (o *DeleteActivityByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete activity by ID params
func (*DeleteActivityByIDParams) WithActivityID ¶
func (o *DeleteActivityByIDParams) WithActivityID(activityID string) *DeleteActivityByIDParams
WithActivityID adds the activityID to the delete activity by ID params
func (*DeleteActivityByIDParams) WithContext ¶
func (o *DeleteActivityByIDParams) WithContext(ctx context.Context) *DeleteActivityByIDParams
WithContext adds the context to the delete activity by ID params
func (*DeleteActivityByIDParams) WithDefaults ¶
func (o *DeleteActivityByIDParams) WithDefaults() *DeleteActivityByIDParams
WithDefaults hydrates default values in the delete activity by ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteActivityByIDParams) WithHTTPClient ¶
func (o *DeleteActivityByIDParams) WithHTTPClient(client *http.Client) *DeleteActivityByIDParams
WithHTTPClient adds the HTTPClient to the delete activity by ID params
func (*DeleteActivityByIDParams) WithPoolID ¶
func (o *DeleteActivityByIDParams) WithPoolID(poolID string) *DeleteActivityByIDParams
WithPoolID adds the poolID to the delete activity by ID params
func (*DeleteActivityByIDParams) WithTimeout ¶
func (o *DeleteActivityByIDParams) WithTimeout(timeout time.Duration) *DeleteActivityByIDParams
WithTimeout adds the timeout to the delete activity by ID params
func (*DeleteActivityByIDParams) WriteToRequest ¶
func (o *DeleteActivityByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteActivityByIDReader ¶
type DeleteActivityByIDReader struct {
// contains filtered or unexported fields
}
DeleteActivityByIDReader is a Reader for the DeleteActivityByID structure.
func (*DeleteActivityByIDReader) ReadResponse ¶
func (o *DeleteActivityByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteActivityByIDUnauthorized ¶
type DeleteActivityByIDUnauthorized struct {
}
DeleteActivityByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteActivityByIDUnauthorized ¶
func NewDeleteActivityByIDUnauthorized() *DeleteActivityByIDUnauthorized
NewDeleteActivityByIDUnauthorized creates a DeleteActivityByIDUnauthorized with default headers values
func (*DeleteActivityByIDUnauthorized) Error ¶
func (o *DeleteActivityByIDUnauthorized) Error() string
func (*DeleteActivityByIDUnauthorized) GetPayload ¶
func (o *DeleteActivityByIDUnauthorized) GetPayload() interface{}
type DeletePoolInternalServerError ¶
type DeletePoolInternalServerError struct {
Payload interface{}
}
DeletePoolInternalServerError describes a response with status code 500, with default header values.
DeletePoolInternalServerError delete pool internal server error
func NewDeletePoolInternalServerError ¶
func NewDeletePoolInternalServerError() *DeletePoolInternalServerError
NewDeletePoolInternalServerError creates a DeletePoolInternalServerError with default headers values
func (*DeletePoolInternalServerError) Error ¶
func (o *DeletePoolInternalServerError) Error() string
func (*DeletePoolInternalServerError) GetPayload ¶
func (o *DeletePoolInternalServerError) GetPayload() interface{}
type DeletePoolNotFound ¶
type DeletePoolNotFound struct {
Payload interface{}
}
DeletePoolNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeletePoolNotFound ¶
func NewDeletePoolNotFound() *DeletePoolNotFound
NewDeletePoolNotFound creates a DeletePoolNotFound with default headers values
func (*DeletePoolNotFound) Error ¶
func (o *DeletePoolNotFound) Error() string
func (*DeletePoolNotFound) GetPayload ¶
func (o *DeletePoolNotFound) GetPayload() interface{}
type DeletePoolParams ¶
type DeletePoolParams struct {
/* PoolID.
ID of the pool to delete
*/
PoolID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeletePoolParams contains all the parameters to send to the API endpoint
for the delete pool operation. Typically these are written to a http.Request.
func NewDeletePoolParams ¶
func NewDeletePoolParams() *DeletePoolParams
NewDeletePoolParams creates a new DeletePoolParams 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 NewDeletePoolParamsWithContext ¶
func NewDeletePoolParamsWithContext(ctx context.Context) *DeletePoolParams
NewDeletePoolParamsWithContext creates a new DeletePoolParams object with the ability to set a context for a request.
func NewDeletePoolParamsWithHTTPClient ¶
func NewDeletePoolParamsWithHTTPClient(client *http.Client) *DeletePoolParams
NewDeletePoolParamsWithHTTPClient creates a new DeletePoolParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePoolParamsWithTimeout ¶
func NewDeletePoolParamsWithTimeout(timeout time.Duration) *DeletePoolParams
NewDeletePoolParamsWithTimeout creates a new DeletePoolParams object with the ability to set a timeout on a request.
func (*DeletePoolParams) SetContext ¶
func (o *DeletePoolParams) SetContext(ctx context.Context)
SetContext adds the context to the delete pool params
func (*DeletePoolParams) SetDefaults ¶
func (o *DeletePoolParams) SetDefaults()
SetDefaults hydrates default values in the delete pool params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePoolParams) SetHTTPClient ¶
func (o *DeletePoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete pool params
func (*DeletePoolParams) SetPoolID ¶
func (o *DeletePoolParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the delete pool params
func (*DeletePoolParams) SetTimeout ¶
func (o *DeletePoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete pool params
func (*DeletePoolParams) WithContext ¶
func (o *DeletePoolParams) WithContext(ctx context.Context) *DeletePoolParams
WithContext adds the context to the delete pool params
func (*DeletePoolParams) WithDefaults ¶
func (o *DeletePoolParams) WithDefaults() *DeletePoolParams
WithDefaults hydrates default values in the delete pool params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePoolParams) WithHTTPClient ¶
func (o *DeletePoolParams) WithHTTPClient(client *http.Client) *DeletePoolParams
WithHTTPClient adds the HTTPClient to the delete pool params
func (*DeletePoolParams) WithPoolID ¶
func (o *DeletePoolParams) WithPoolID(poolID string) *DeletePoolParams
WithPoolID adds the poolID to the delete pool params
func (*DeletePoolParams) WithTimeout ¶
func (o *DeletePoolParams) WithTimeout(timeout time.Duration) *DeletePoolParams
WithTimeout adds the timeout to the delete pool params
func (*DeletePoolParams) WriteToRequest ¶
func (o *DeletePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePoolReader ¶
type DeletePoolReader struct {
// contains filtered or unexported fields
}
DeletePoolReader is a Reader for the DeletePool structure.
func (*DeletePoolReader) ReadResponse ¶
func (o *DeletePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePoolUnauthorized ¶
type DeletePoolUnauthorized struct {
}
DeletePoolUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeletePoolUnauthorized ¶
func NewDeletePoolUnauthorized() *DeletePoolUnauthorized
NewDeletePoolUnauthorized creates a DeletePoolUnauthorized with default headers values
func (*DeletePoolUnauthorized) Error ¶
func (o *DeletePoolUnauthorized) Error() string
func (*DeletePoolUnauthorized) GetPayload ¶
func (o *DeletePoolUnauthorized) GetPayload() interface{}
type GetActivityByIDInternalServerError ¶
type GetActivityByIDInternalServerError struct {
Payload interface{}
}
GetActivityByIDInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGetActivityByIDInternalServerError ¶
func NewGetActivityByIDInternalServerError() *GetActivityByIDInternalServerError
NewGetActivityByIDInternalServerError creates a GetActivityByIDInternalServerError with default headers values
func (*GetActivityByIDInternalServerError) Error ¶
func (o *GetActivityByIDInternalServerError) Error() string
func (*GetActivityByIDInternalServerError) GetPayload ¶
func (o *GetActivityByIDInternalServerError) GetPayload() interface{}
type GetActivityByIDNotFound ¶
type GetActivityByIDNotFound struct {
Payload interface{}
}
GetActivityByIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetActivityByIDNotFound ¶
func NewGetActivityByIDNotFound() *GetActivityByIDNotFound
NewGetActivityByIDNotFound creates a GetActivityByIDNotFound with default headers values
func (*GetActivityByIDNotFound) Error ¶
func (o *GetActivityByIDNotFound) Error() string
func (*GetActivityByIDNotFound) GetPayload ¶
func (o *GetActivityByIDNotFound) GetPayload() interface{}
type GetActivityByIDOK ¶
type GetActivityByIDOK struct {
Payload *models.Description
}
GetActivityByIDOK describes a response with status code 200, with default header values.
OK
func NewGetActivityByIDOK ¶
func NewGetActivityByIDOK() *GetActivityByIDOK
NewGetActivityByIDOK creates a GetActivityByIDOK with default headers values
func (*GetActivityByIDOK) Error ¶
func (o *GetActivityByIDOK) Error() string
func (*GetActivityByIDOK) GetPayload ¶
func (o *GetActivityByIDOK) GetPayload() *models.Description
type GetActivityByIDParams ¶
type GetActivityByIDParams struct {
// ActivityID.
ActivityID string
/* Details.
True returns all available details, false just description.
*/
Details *bool
// PoolID.
PoolID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetActivityByIDParams contains all the parameters to send to the API endpoint
for the get activity by ID operation. Typically these are written to a http.Request.
func NewGetActivityByIDParams ¶
func NewGetActivityByIDParams() *GetActivityByIDParams
NewGetActivityByIDParams creates a new GetActivityByIDParams 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 NewGetActivityByIDParamsWithContext ¶
func NewGetActivityByIDParamsWithContext(ctx context.Context) *GetActivityByIDParams
NewGetActivityByIDParamsWithContext creates a new GetActivityByIDParams object with the ability to set a context for a request.
func NewGetActivityByIDParamsWithHTTPClient ¶
func NewGetActivityByIDParamsWithHTTPClient(client *http.Client) *GetActivityByIDParams
NewGetActivityByIDParamsWithHTTPClient creates a new GetActivityByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetActivityByIDParamsWithTimeout ¶
func NewGetActivityByIDParamsWithTimeout(timeout time.Duration) *GetActivityByIDParams
NewGetActivityByIDParamsWithTimeout creates a new GetActivityByIDParams object with the ability to set a timeout on a request.
func (*GetActivityByIDParams) SetActivityID ¶
func (o *GetActivityByIDParams) SetActivityID(activityID string)
SetActivityID adds the activityId to the get activity by ID params
func (*GetActivityByIDParams) SetContext ¶
func (o *GetActivityByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get activity by ID params
func (*GetActivityByIDParams) SetDefaults ¶
func (o *GetActivityByIDParams) SetDefaults()
SetDefaults hydrates default values in the get activity by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetActivityByIDParams) SetDetails ¶
func (o *GetActivityByIDParams) SetDetails(details *bool)
SetDetails adds the details to the get activity by ID params
func (*GetActivityByIDParams) SetHTTPClient ¶
func (o *GetActivityByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get activity by ID params
func (*GetActivityByIDParams) SetPoolID ¶
func (o *GetActivityByIDParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the get activity by ID params
func (*GetActivityByIDParams) SetTimeout ¶
func (o *GetActivityByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get activity by ID params
func (*GetActivityByIDParams) WithActivityID ¶
func (o *GetActivityByIDParams) WithActivityID(activityID string) *GetActivityByIDParams
WithActivityID adds the activityID to the get activity by ID params
func (*GetActivityByIDParams) WithContext ¶
func (o *GetActivityByIDParams) WithContext(ctx context.Context) *GetActivityByIDParams
WithContext adds the context to the get activity by ID params
func (*GetActivityByIDParams) WithDefaults ¶
func (o *GetActivityByIDParams) WithDefaults() *GetActivityByIDParams
WithDefaults hydrates default values in the get activity by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetActivityByIDParams) WithDetails ¶
func (o *GetActivityByIDParams) WithDetails(details *bool) *GetActivityByIDParams
WithDetails adds the details to the get activity by ID params
func (*GetActivityByIDParams) WithHTTPClient ¶
func (o *GetActivityByIDParams) WithHTTPClient(client *http.Client) *GetActivityByIDParams
WithHTTPClient adds the HTTPClient to the get activity by ID params
func (*GetActivityByIDParams) WithPoolID ¶
func (o *GetActivityByIDParams) WithPoolID(poolID string) *GetActivityByIDParams
WithPoolID adds the poolID to the get activity by ID params
func (*GetActivityByIDParams) WithTimeout ¶
func (o *GetActivityByIDParams) WithTimeout(timeout time.Duration) *GetActivityByIDParams
WithTimeout adds the timeout to the get activity by ID params
func (*GetActivityByIDParams) WriteToRequest ¶
func (o *GetActivityByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetActivityByIDReader ¶
type GetActivityByIDReader struct {
// contains filtered or unexported fields
}
GetActivityByIDReader is a Reader for the GetActivityByID structure.
func (*GetActivityByIDReader) ReadResponse ¶
func (o *GetActivityByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetActivityByIDUnauthorized ¶
type GetActivityByIDUnauthorized struct {
}
GetActivityByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetActivityByIDUnauthorized ¶
func NewGetActivityByIDUnauthorized() *GetActivityByIDUnauthorized
NewGetActivityByIDUnauthorized creates a GetActivityByIDUnauthorized with default headers values
func (*GetActivityByIDUnauthorized) Error ¶
func (o *GetActivityByIDUnauthorized) Error() string
func (*GetActivityByIDUnauthorized) GetPayload ¶
func (o *GetActivityByIDUnauthorized) GetPayload() interface{}
type GetAllPoolsInternalServerError ¶
type GetAllPoolsInternalServerError struct {
Payload interface{}
}
GetAllPoolsInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGetAllPoolsInternalServerError ¶
func NewGetAllPoolsInternalServerError() *GetAllPoolsInternalServerError
NewGetAllPoolsInternalServerError creates a GetAllPoolsInternalServerError with default headers values
func (*GetAllPoolsInternalServerError) Error ¶
func (o *GetAllPoolsInternalServerError) Error() string
func (*GetAllPoolsInternalServerError) GetPayload ¶
func (o *GetAllPoolsInternalServerError) GetPayload() interface{}
type GetAllPoolsNotFound ¶
type GetAllPoolsNotFound struct {
Payload interface{}
}
GetAllPoolsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAllPoolsNotFound ¶
func NewGetAllPoolsNotFound() *GetAllPoolsNotFound
NewGetAllPoolsNotFound creates a GetAllPoolsNotFound with default headers values
func (*GetAllPoolsNotFound) Error ¶
func (o *GetAllPoolsNotFound) Error() string
func (*GetAllPoolsNotFound) GetPayload ¶
func (o *GetAllPoolsNotFound) GetPayload() interface{}
type GetAllPoolsOK ¶
GetAllPoolsOK describes a response with status code 200, with default header values.
GetAllPoolsOK get all pools o k
func NewGetAllPoolsOK ¶
func NewGetAllPoolsOK() *GetAllPoolsOK
NewGetAllPoolsOK creates a GetAllPoolsOK with default headers values
func (*GetAllPoolsOK) Error ¶
func (o *GetAllPoolsOK) Error() string
func (*GetAllPoolsOK) GetPayload ¶
func (o *GetAllPoolsOK) GetPayload() models.IDList
type GetAllPoolsParams ¶
type GetAllPoolsParams struct {
/* Exact.
Limit search to pools with exact match to the name (meaningless on own)
*/
Exact *bool
/* Name.
Limit search to pools with name containing this string (case sensitive)
*/
Name *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAllPoolsParams contains all the parameters to send to the API endpoint
for the get all pools operation. Typically these are written to a http.Request.
func NewGetAllPoolsParams ¶
func NewGetAllPoolsParams() *GetAllPoolsParams
NewGetAllPoolsParams creates a new GetAllPoolsParams 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 NewGetAllPoolsParamsWithContext ¶
func NewGetAllPoolsParamsWithContext(ctx context.Context) *GetAllPoolsParams
NewGetAllPoolsParamsWithContext creates a new GetAllPoolsParams object with the ability to set a context for a request.
func NewGetAllPoolsParamsWithHTTPClient ¶
func NewGetAllPoolsParamsWithHTTPClient(client *http.Client) *GetAllPoolsParams
NewGetAllPoolsParamsWithHTTPClient creates a new GetAllPoolsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAllPoolsParamsWithTimeout ¶
func NewGetAllPoolsParamsWithTimeout(timeout time.Duration) *GetAllPoolsParams
NewGetAllPoolsParamsWithTimeout creates a new GetAllPoolsParams object with the ability to set a timeout on a request.
func (*GetAllPoolsParams) SetContext ¶
func (o *GetAllPoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the get all pools params
func (*GetAllPoolsParams) SetDefaults ¶
func (o *GetAllPoolsParams) SetDefaults()
SetDefaults hydrates default values in the get all pools params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllPoolsParams) SetExact ¶
func (o *GetAllPoolsParams) SetExact(exact *bool)
SetExact adds the exact to the get all pools params
func (*GetAllPoolsParams) SetHTTPClient ¶
func (o *GetAllPoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all pools params
func (*GetAllPoolsParams) SetName ¶
func (o *GetAllPoolsParams) SetName(name *string)
SetName adds the name to the get all pools params
func (*GetAllPoolsParams) SetTimeout ¶
func (o *GetAllPoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all pools params
func (*GetAllPoolsParams) WithContext ¶
func (o *GetAllPoolsParams) WithContext(ctx context.Context) *GetAllPoolsParams
WithContext adds the context to the get all pools params
func (*GetAllPoolsParams) WithDefaults ¶
func (o *GetAllPoolsParams) WithDefaults() *GetAllPoolsParams
WithDefaults hydrates default values in the get all pools params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllPoolsParams) WithExact ¶
func (o *GetAllPoolsParams) WithExact(exact *bool) *GetAllPoolsParams
WithExact adds the exact to the get all pools params
func (*GetAllPoolsParams) WithHTTPClient ¶
func (o *GetAllPoolsParams) WithHTTPClient(client *http.Client) *GetAllPoolsParams
WithHTTPClient adds the HTTPClient to the get all pools params
func (*GetAllPoolsParams) WithName ¶
func (o *GetAllPoolsParams) WithName(name *string) *GetAllPoolsParams
WithName adds the name to the get all pools params
func (*GetAllPoolsParams) WithTimeout ¶
func (o *GetAllPoolsParams) WithTimeout(timeout time.Duration) *GetAllPoolsParams
WithTimeout adds the timeout to the get all pools params
func (*GetAllPoolsParams) WriteToRequest ¶
func (o *GetAllPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllPoolsReader ¶
type GetAllPoolsReader struct {
// contains filtered or unexported fields
}
GetAllPoolsReader is a Reader for the GetAllPools structure.
func (*GetAllPoolsReader) ReadResponse ¶
func (o *GetAllPoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllPoolsUnauthorized ¶
type GetAllPoolsUnauthorized struct {
}
GetAllPoolsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAllPoolsUnauthorized ¶
func NewGetAllPoolsUnauthorized() *GetAllPoolsUnauthorized
NewGetAllPoolsUnauthorized creates a GetAllPoolsUnauthorized with default headers values
func (*GetAllPoolsUnauthorized) Error ¶
func (o *GetAllPoolsUnauthorized) Error() string
func (*GetAllPoolsUnauthorized) GetPayload ¶
func (o *GetAllPoolsUnauthorized) GetPayload() interface{}
type GetPoolDescriptionByIDInternalServerError ¶
type GetPoolDescriptionByIDInternalServerError struct {
Payload interface{}
}
GetPoolDescriptionByIDInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGetPoolDescriptionByIDInternalServerError ¶
func NewGetPoolDescriptionByIDInternalServerError() *GetPoolDescriptionByIDInternalServerError
NewGetPoolDescriptionByIDInternalServerError creates a GetPoolDescriptionByIDInternalServerError with default headers values
func (*GetPoolDescriptionByIDInternalServerError) Error ¶
func (o *GetPoolDescriptionByIDInternalServerError) Error() string
func (*GetPoolDescriptionByIDInternalServerError) GetPayload ¶
func (o *GetPoolDescriptionByIDInternalServerError) GetPayload() interface{}
type GetPoolDescriptionByIDOK ¶
type GetPoolDescriptionByIDOK struct {
Payload *models.Description
}
GetPoolDescriptionByIDOK describes a response with status code 200, with default header values.
GetPoolDescriptionByIDOK get pool description by Id o k
func NewGetPoolDescriptionByIDOK ¶
func NewGetPoolDescriptionByIDOK() *GetPoolDescriptionByIDOK
NewGetPoolDescriptionByIDOK creates a GetPoolDescriptionByIDOK with default headers values
func (*GetPoolDescriptionByIDOK) Error ¶
func (o *GetPoolDescriptionByIDOK) Error() string
func (*GetPoolDescriptionByIDOK) GetPayload ¶
func (o *GetPoolDescriptionByIDOK) GetPayload() *models.Description
type GetPoolDescriptionByIDParams ¶
type GetPoolDescriptionByIDParams struct {
// PoolID.
PoolID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetPoolDescriptionByIDParams contains all the parameters to send to the API endpoint
for the get pool description by ID operation. Typically these are written to a http.Request.
func NewGetPoolDescriptionByIDParams ¶
func NewGetPoolDescriptionByIDParams() *GetPoolDescriptionByIDParams
NewGetPoolDescriptionByIDParams creates a new GetPoolDescriptionByIDParams 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 NewGetPoolDescriptionByIDParamsWithContext ¶
func NewGetPoolDescriptionByIDParamsWithContext(ctx context.Context) *GetPoolDescriptionByIDParams
NewGetPoolDescriptionByIDParamsWithContext creates a new GetPoolDescriptionByIDParams object with the ability to set a context for a request.
func NewGetPoolDescriptionByIDParamsWithHTTPClient ¶
func NewGetPoolDescriptionByIDParamsWithHTTPClient(client *http.Client) *GetPoolDescriptionByIDParams
NewGetPoolDescriptionByIDParamsWithHTTPClient creates a new GetPoolDescriptionByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetPoolDescriptionByIDParamsWithTimeout ¶
func NewGetPoolDescriptionByIDParamsWithTimeout(timeout time.Duration) *GetPoolDescriptionByIDParams
NewGetPoolDescriptionByIDParamsWithTimeout creates a new GetPoolDescriptionByIDParams object with the ability to set a timeout on a request.
func (*GetPoolDescriptionByIDParams) SetContext ¶
func (o *GetPoolDescriptionByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get pool description by ID params
func (*GetPoolDescriptionByIDParams) SetDefaults ¶
func (o *GetPoolDescriptionByIDParams) SetDefaults()
SetDefaults hydrates default values in the get pool description by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetPoolDescriptionByIDParams) SetHTTPClient ¶
func (o *GetPoolDescriptionByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pool description by ID params
func (*GetPoolDescriptionByIDParams) SetPoolID ¶
func (o *GetPoolDescriptionByIDParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the get pool description by ID params
func (*GetPoolDescriptionByIDParams) SetTimeout ¶
func (o *GetPoolDescriptionByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pool description by ID params
func (*GetPoolDescriptionByIDParams) WithContext ¶
func (o *GetPoolDescriptionByIDParams) WithContext(ctx context.Context) *GetPoolDescriptionByIDParams
WithContext adds the context to the get pool description by ID params
func (*GetPoolDescriptionByIDParams) WithDefaults ¶
func (o *GetPoolDescriptionByIDParams) WithDefaults() *GetPoolDescriptionByIDParams
WithDefaults hydrates default values in the get pool description by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetPoolDescriptionByIDParams) WithHTTPClient ¶
func (o *GetPoolDescriptionByIDParams) WithHTTPClient(client *http.Client) *GetPoolDescriptionByIDParams
WithHTTPClient adds the HTTPClient to the get pool description by ID params
func (*GetPoolDescriptionByIDParams) WithPoolID ¶
func (o *GetPoolDescriptionByIDParams) WithPoolID(poolID string) *GetPoolDescriptionByIDParams
WithPoolID adds the poolID to the get pool description by ID params
func (*GetPoolDescriptionByIDParams) WithTimeout ¶
func (o *GetPoolDescriptionByIDParams) WithTimeout(timeout time.Duration) *GetPoolDescriptionByIDParams
WithTimeout adds the timeout to the get pool description by ID params
func (*GetPoolDescriptionByIDParams) WriteToRequest ¶
func (o *GetPoolDescriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPoolDescriptionByIDReader ¶
type GetPoolDescriptionByIDReader struct {
// contains filtered or unexported fields
}
GetPoolDescriptionByIDReader is a Reader for the GetPoolDescriptionByID structure.
func (*GetPoolDescriptionByIDReader) ReadResponse ¶
func (o *GetPoolDescriptionByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPoolDescriptionByIDUnauthorized ¶
type GetPoolDescriptionByIDUnauthorized struct {
}
GetPoolDescriptionByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetPoolDescriptionByIDUnauthorized ¶
func NewGetPoolDescriptionByIDUnauthorized() *GetPoolDescriptionByIDUnauthorized
NewGetPoolDescriptionByIDUnauthorized creates a GetPoolDescriptionByIDUnauthorized with default headers values
func (*GetPoolDescriptionByIDUnauthorized) Error ¶
func (o *GetPoolDescriptionByIDUnauthorized) Error() string
func (*GetPoolDescriptionByIDUnauthorized) GetPayload ¶
func (o *GetPoolDescriptionByIDUnauthorized) GetPayload() interface{}
type GetPoolStatusByIDInternalServerError ¶
type GetPoolStatusByIDInternalServerError struct {
Payload interface{}
}
GetPoolStatusByIDInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGetPoolStatusByIDInternalServerError ¶
func NewGetPoolStatusByIDInternalServerError() *GetPoolStatusByIDInternalServerError
NewGetPoolStatusByIDInternalServerError creates a GetPoolStatusByIDInternalServerError with default headers values
func (*GetPoolStatusByIDInternalServerError) Error ¶
func (o *GetPoolStatusByIDInternalServerError) Error() string
func (*GetPoolStatusByIDInternalServerError) GetPayload ¶
func (o *GetPoolStatusByIDInternalServerError) GetPayload() interface{}
type GetPoolStatusByIDOK ¶
GetPoolStatusByIDOK describes a response with status code 200, with default header values.
GetPoolStatusByIDOK get pool status by Id o k
func NewGetPoolStatusByIDOK ¶
func NewGetPoolStatusByIDOK() *GetPoolStatusByIDOK
NewGetPoolStatusByIDOK creates a GetPoolStatusByIDOK with default headers values
func (*GetPoolStatusByIDOK) Error ¶
func (o *GetPoolStatusByIDOK) Error() string
func (*GetPoolStatusByIDOK) GetPayload ¶
func (o *GetPoolStatusByIDOK) GetPayload() *models.Status
type GetPoolStatusByIDParams ¶
type GetPoolStatusByIDParams struct {
// Duration.
//
// Format: float64
Duration *float64
// PoolID.
PoolID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetPoolStatusByIDParams contains all the parameters to send to the API endpoint
for the get pool status by ID operation. Typically these are written to a http.Request.
func NewGetPoolStatusByIDParams ¶
func NewGetPoolStatusByIDParams() *GetPoolStatusByIDParams
NewGetPoolStatusByIDParams creates a new GetPoolStatusByIDParams 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 NewGetPoolStatusByIDParamsWithContext ¶
func NewGetPoolStatusByIDParamsWithContext(ctx context.Context) *GetPoolStatusByIDParams
NewGetPoolStatusByIDParamsWithContext creates a new GetPoolStatusByIDParams object with the ability to set a context for a request.
func NewGetPoolStatusByIDParamsWithHTTPClient ¶
func NewGetPoolStatusByIDParamsWithHTTPClient(client *http.Client) *GetPoolStatusByIDParams
NewGetPoolStatusByIDParamsWithHTTPClient creates a new GetPoolStatusByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetPoolStatusByIDParamsWithTimeout ¶
func NewGetPoolStatusByIDParamsWithTimeout(timeout time.Duration) *GetPoolStatusByIDParams
NewGetPoolStatusByIDParamsWithTimeout creates a new GetPoolStatusByIDParams object with the ability to set a timeout on a request.
func (*GetPoolStatusByIDParams) SetContext ¶
func (o *GetPoolStatusByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get pool status by ID params
func (*GetPoolStatusByIDParams) SetDefaults ¶
func (o *GetPoolStatusByIDParams) SetDefaults()
SetDefaults hydrates default values in the get pool status by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetPoolStatusByIDParams) SetDuration ¶
func (o *GetPoolStatusByIDParams) SetDuration(duration *float64)
SetDuration adds the duration to the get pool status by ID params
func (*GetPoolStatusByIDParams) SetHTTPClient ¶
func (o *GetPoolStatusByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pool status by ID params
func (*GetPoolStatusByIDParams) SetPoolID ¶
func (o *GetPoolStatusByIDParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the get pool status by ID params
func (*GetPoolStatusByIDParams) SetTimeout ¶
func (o *GetPoolStatusByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pool status by ID params
func (*GetPoolStatusByIDParams) WithContext ¶
func (o *GetPoolStatusByIDParams) WithContext(ctx context.Context) *GetPoolStatusByIDParams
WithContext adds the context to the get pool status by ID params
func (*GetPoolStatusByIDParams) WithDefaults ¶
func (o *GetPoolStatusByIDParams) WithDefaults() *GetPoolStatusByIDParams
WithDefaults hydrates default values in the get pool status by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetPoolStatusByIDParams) WithDuration ¶
func (o *GetPoolStatusByIDParams) WithDuration(duration *float64) *GetPoolStatusByIDParams
WithDuration adds the duration to the get pool status by ID params
func (*GetPoolStatusByIDParams) WithHTTPClient ¶
func (o *GetPoolStatusByIDParams) WithHTTPClient(client *http.Client) *GetPoolStatusByIDParams
WithHTTPClient adds the HTTPClient to the get pool status by ID params
func (*GetPoolStatusByIDParams) WithPoolID ¶
func (o *GetPoolStatusByIDParams) WithPoolID(poolID string) *GetPoolStatusByIDParams
WithPoolID adds the poolID to the get pool status by ID params
func (*GetPoolStatusByIDParams) WithTimeout ¶
func (o *GetPoolStatusByIDParams) WithTimeout(timeout time.Duration) *GetPoolStatusByIDParams
WithTimeout adds the timeout to the get pool status by ID params
func (*GetPoolStatusByIDParams) WriteToRequest ¶
func (o *GetPoolStatusByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPoolStatusByIDReader ¶
type GetPoolStatusByIDReader struct {
// contains filtered or unexported fields
}
GetPoolStatusByIDReader is a Reader for the GetPoolStatusByID structure.
func (*GetPoolStatusByIDReader) ReadResponse ¶
func (o *GetPoolStatusByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPoolStatusByIDUnauthorized ¶
type GetPoolStatusByIDUnauthorized struct {
}
GetPoolStatusByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetPoolStatusByIDUnauthorized ¶
func NewGetPoolStatusByIDUnauthorized() *GetPoolStatusByIDUnauthorized
NewGetPoolStatusByIDUnauthorized creates a GetPoolStatusByIDUnauthorized with default headers values
func (*GetPoolStatusByIDUnauthorized) Error ¶
func (o *GetPoolStatusByIDUnauthorized) Error() string
func (*GetPoolStatusByIDUnauthorized) GetPayload ¶
func (o *GetPoolStatusByIDUnauthorized) GetPayload() interface{}
type RequestSessionByPoolIDInternalServerError ¶
type RequestSessionByPoolIDInternalServerError struct {
Payload interface{}
}
RequestSessionByPoolIDInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewRequestSessionByPoolIDInternalServerError ¶
func NewRequestSessionByPoolIDInternalServerError() *RequestSessionByPoolIDInternalServerError
NewRequestSessionByPoolIDInternalServerError creates a RequestSessionByPoolIDInternalServerError with default headers values
func (*RequestSessionByPoolIDInternalServerError) Error ¶
func (o *RequestSessionByPoolIDInternalServerError) Error() string
func (*RequestSessionByPoolIDInternalServerError) GetPayload ¶
func (o *RequestSessionByPoolIDInternalServerError) GetPayload() interface{}
type RequestSessionByPoolIDNotFound ¶
type RequestSessionByPoolIDNotFound struct {
Payload interface{}
}
RequestSessionByPoolIDNotFound describes a response with status code 404, with default header values.
Not Available
func NewRequestSessionByPoolIDNotFound ¶
func NewRequestSessionByPoolIDNotFound() *RequestSessionByPoolIDNotFound
NewRequestSessionByPoolIDNotFound creates a RequestSessionByPoolIDNotFound with default headers values
func (*RequestSessionByPoolIDNotFound) Error ¶
func (o *RequestSessionByPoolIDNotFound) Error() string
func (*RequestSessionByPoolIDNotFound) GetPayload ¶
func (o *RequestSessionByPoolIDNotFound) GetPayload() interface{}
type RequestSessionByPoolIDOK ¶
RequestSessionByPoolIDOK describes a response with status code 200, with default header values.
RequestSessionByPoolIDOK request session by pool Id o k
func NewRequestSessionByPoolIDOK ¶
func NewRequestSessionByPoolIDOK() *RequestSessionByPoolIDOK
NewRequestSessionByPoolIDOK creates a RequestSessionByPoolIDOK with default headers values
func (*RequestSessionByPoolIDOK) Error ¶
func (o *RequestSessionByPoolIDOK) Error() string
func (*RequestSessionByPoolIDOK) GetPayload ¶
func (o *RequestSessionByPoolIDOK) GetPayload() *models.Activity
type RequestSessionByPoolIDParams ¶
type RequestSessionByPoolIDParams struct {
/* Duration.
duration of requested booking in seconds
Format: int64
*/
Duration int64
// PoolID.
PoolID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RequestSessionByPoolIDParams contains all the parameters to send to the API endpoint
for the request session by pool ID operation. Typically these are written to a http.Request.
func NewRequestSessionByPoolIDParams ¶
func NewRequestSessionByPoolIDParams() *RequestSessionByPoolIDParams
NewRequestSessionByPoolIDParams creates a new RequestSessionByPoolIDParams 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 NewRequestSessionByPoolIDParamsWithContext ¶
func NewRequestSessionByPoolIDParamsWithContext(ctx context.Context) *RequestSessionByPoolIDParams
NewRequestSessionByPoolIDParamsWithContext creates a new RequestSessionByPoolIDParams object with the ability to set a context for a request.
func NewRequestSessionByPoolIDParamsWithHTTPClient ¶
func NewRequestSessionByPoolIDParamsWithHTTPClient(client *http.Client) *RequestSessionByPoolIDParams
NewRequestSessionByPoolIDParamsWithHTTPClient creates a new RequestSessionByPoolIDParams object with the ability to set a custom HTTPClient for a request.
func NewRequestSessionByPoolIDParamsWithTimeout ¶
func NewRequestSessionByPoolIDParamsWithTimeout(timeout time.Duration) *RequestSessionByPoolIDParams
NewRequestSessionByPoolIDParamsWithTimeout creates a new RequestSessionByPoolIDParams object with the ability to set a timeout on a request.
func (*RequestSessionByPoolIDParams) SetContext ¶
func (o *RequestSessionByPoolIDParams) SetContext(ctx context.Context)
SetContext adds the context to the request session by pool ID params
func (*RequestSessionByPoolIDParams) SetDefaults ¶
func (o *RequestSessionByPoolIDParams) SetDefaults()
SetDefaults hydrates default values in the request session by pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*RequestSessionByPoolIDParams) SetDuration ¶
func (o *RequestSessionByPoolIDParams) SetDuration(duration int64)
SetDuration adds the duration to the request session by pool ID params
func (*RequestSessionByPoolIDParams) SetHTTPClient ¶
func (o *RequestSessionByPoolIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request session by pool ID params
func (*RequestSessionByPoolIDParams) SetPoolID ¶
func (o *RequestSessionByPoolIDParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the request session by pool ID params
func (*RequestSessionByPoolIDParams) SetTimeout ¶
func (o *RequestSessionByPoolIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request session by pool ID params
func (*RequestSessionByPoolIDParams) WithContext ¶
func (o *RequestSessionByPoolIDParams) WithContext(ctx context.Context) *RequestSessionByPoolIDParams
WithContext adds the context to the request session by pool ID params
func (*RequestSessionByPoolIDParams) WithDefaults ¶
func (o *RequestSessionByPoolIDParams) WithDefaults() *RequestSessionByPoolIDParams
WithDefaults hydrates default values in the request session by pool ID params (not the query body).
All values with no default are reset to their zero value.
func (*RequestSessionByPoolIDParams) WithDuration ¶
func (o *RequestSessionByPoolIDParams) WithDuration(duration int64) *RequestSessionByPoolIDParams
WithDuration adds the duration to the request session by pool ID params
func (*RequestSessionByPoolIDParams) WithHTTPClient ¶
func (o *RequestSessionByPoolIDParams) WithHTTPClient(client *http.Client) *RequestSessionByPoolIDParams
WithHTTPClient adds the HTTPClient to the request session by pool ID params
func (*RequestSessionByPoolIDParams) WithPoolID ¶
func (o *RequestSessionByPoolIDParams) WithPoolID(poolID string) *RequestSessionByPoolIDParams
WithPoolID adds the poolID to the request session by pool ID params
func (*RequestSessionByPoolIDParams) WithTimeout ¶
func (o *RequestSessionByPoolIDParams) WithTimeout(timeout time.Duration) *RequestSessionByPoolIDParams
WithTimeout adds the timeout to the request session by pool ID params
func (*RequestSessionByPoolIDParams) WriteToRequest ¶
func (o *RequestSessionByPoolIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestSessionByPoolIDPaymentRequired ¶
type RequestSessionByPoolIDPaymentRequired struct {
Payload interface{}
}
RequestSessionByPoolIDPaymentRequired describes a response with status code 402, with default header values.
Quota Exceeded
func NewRequestSessionByPoolIDPaymentRequired ¶
func NewRequestSessionByPoolIDPaymentRequired() *RequestSessionByPoolIDPaymentRequired
NewRequestSessionByPoolIDPaymentRequired creates a RequestSessionByPoolIDPaymentRequired with default headers values
func (*RequestSessionByPoolIDPaymentRequired) Error ¶
func (o *RequestSessionByPoolIDPaymentRequired) Error() string
func (*RequestSessionByPoolIDPaymentRequired) GetPayload ¶
func (o *RequestSessionByPoolIDPaymentRequired) GetPayload() interface{}
type RequestSessionByPoolIDReader ¶
type RequestSessionByPoolIDReader struct {
// contains filtered or unexported fields
}
RequestSessionByPoolIDReader is a Reader for the RequestSessionByPoolID structure.
func (*RequestSessionByPoolIDReader) ReadResponse ¶
func (o *RequestSessionByPoolIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RequestSessionByPoolIDUnauthorized ¶
type RequestSessionByPoolIDUnauthorized struct {
}
RequestSessionByPoolIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRequestSessionByPoolIDUnauthorized ¶
func NewRequestSessionByPoolIDUnauthorized() *RequestSessionByPoolIDUnauthorized
NewRequestSessionByPoolIDUnauthorized creates a RequestSessionByPoolIDUnauthorized with default headers values
func (*RequestSessionByPoolIDUnauthorized) Error ¶
func (o *RequestSessionByPoolIDUnauthorized) Error() string
func (*RequestSessionByPoolIDUnauthorized) GetPayload ¶
func (o *RequestSessionByPoolIDUnauthorized) GetPayload() interface{}
type UpdateActivityByIDInternalServerError ¶
type UpdateActivityByIDInternalServerError struct {
Payload interface{}
}
UpdateActivityByIDInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewUpdateActivityByIDInternalServerError ¶
func NewUpdateActivityByIDInternalServerError() *UpdateActivityByIDInternalServerError
NewUpdateActivityByIDInternalServerError creates a UpdateActivityByIDInternalServerError with default headers values
func (*UpdateActivityByIDInternalServerError) Error ¶
func (o *UpdateActivityByIDInternalServerError) Error() string
func (*UpdateActivityByIDInternalServerError) GetPayload ¶
func (o *UpdateActivityByIDInternalServerError) GetPayload() interface{}
type UpdateActivityByIDNotFound ¶
type UpdateActivityByIDNotFound struct {
Payload interface{}
}
UpdateActivityByIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateActivityByIDNotFound ¶
func NewUpdateActivityByIDNotFound() *UpdateActivityByIDNotFound
NewUpdateActivityByIDNotFound creates a UpdateActivityByIDNotFound with default headers values
func (*UpdateActivityByIDNotFound) Error ¶
func (o *UpdateActivityByIDNotFound) Error() string
func (*UpdateActivityByIDNotFound) GetPayload ¶
func (o *UpdateActivityByIDNotFound) GetPayload() interface{}
type UpdateActivityByIDOK ¶
UpdateActivityByIDOK describes a response with status code 200, with default header values.
OK
func NewUpdateActivityByIDOK ¶
func NewUpdateActivityByIDOK() *UpdateActivityByIDOK
NewUpdateActivityByIDOK creates a UpdateActivityByIDOK with default headers values
func (*UpdateActivityByIDOK) Error ¶
func (o *UpdateActivityByIDOK) Error() string
func (*UpdateActivityByIDOK) GetPayload ¶
func (o *UpdateActivityByIDOK) GetPayload() *models.ID
type UpdateActivityByIDParams ¶
type UpdateActivityByIDParams struct {
// Activity.
Activity *models.Activity
// ActivityID.
ActivityID string
// PoolID.
PoolID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateActivityByIDParams contains all the parameters to send to the API endpoint
for the update activity by ID operation. Typically these are written to a http.Request.
func NewUpdateActivityByIDParams ¶
func NewUpdateActivityByIDParams() *UpdateActivityByIDParams
NewUpdateActivityByIDParams creates a new UpdateActivityByIDParams 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 NewUpdateActivityByIDParamsWithContext ¶
func NewUpdateActivityByIDParamsWithContext(ctx context.Context) *UpdateActivityByIDParams
NewUpdateActivityByIDParamsWithContext creates a new UpdateActivityByIDParams object with the ability to set a context for a request.
func NewUpdateActivityByIDParamsWithHTTPClient ¶
func NewUpdateActivityByIDParamsWithHTTPClient(client *http.Client) *UpdateActivityByIDParams
NewUpdateActivityByIDParamsWithHTTPClient creates a new UpdateActivityByIDParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateActivityByIDParamsWithTimeout ¶
func NewUpdateActivityByIDParamsWithTimeout(timeout time.Duration) *UpdateActivityByIDParams
NewUpdateActivityByIDParamsWithTimeout creates a new UpdateActivityByIDParams object with the ability to set a timeout on a request.
func (*UpdateActivityByIDParams) SetActivity ¶
func (o *UpdateActivityByIDParams) SetActivity(activity *models.Activity)
SetActivity adds the activity to the update activity by ID params
func (*UpdateActivityByIDParams) SetActivityID ¶
func (o *UpdateActivityByIDParams) SetActivityID(activityID string)
SetActivityID adds the activityId to the update activity by ID params
func (*UpdateActivityByIDParams) SetContext ¶
func (o *UpdateActivityByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the update activity by ID params
func (*UpdateActivityByIDParams) SetDefaults ¶
func (o *UpdateActivityByIDParams) SetDefaults()
SetDefaults hydrates default values in the update activity by ID params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateActivityByIDParams) SetHTTPClient ¶
func (o *UpdateActivityByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update activity by ID params
func (*UpdateActivityByIDParams) SetPoolID ¶
func (o *UpdateActivityByIDParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the update activity by ID params
func (*UpdateActivityByIDParams) SetTimeout ¶
func (o *UpdateActivityByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update activity by ID params
func (*UpdateActivityByIDParams) WithActivity ¶
func (o *UpdateActivityByIDParams) WithActivity(activity *models.Activity) *UpdateActivityByIDParams
WithActivity adds the activity to the update activity by ID params
func (*UpdateActivityByIDParams) WithActivityID ¶
func (o *UpdateActivityByIDParams) WithActivityID(activityID string) *UpdateActivityByIDParams
WithActivityID adds the activityID to the update activity by ID params
func (*UpdateActivityByIDParams) WithContext ¶
func (o *UpdateActivityByIDParams) WithContext(ctx context.Context) *UpdateActivityByIDParams
WithContext adds the context to the update activity by ID params
func (*UpdateActivityByIDParams) WithDefaults ¶
func (o *UpdateActivityByIDParams) WithDefaults() *UpdateActivityByIDParams
WithDefaults hydrates default values in the update activity by ID params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateActivityByIDParams) WithHTTPClient ¶
func (o *UpdateActivityByIDParams) WithHTTPClient(client *http.Client) *UpdateActivityByIDParams
WithHTTPClient adds the HTTPClient to the update activity by ID params
func (*UpdateActivityByIDParams) WithPoolID ¶
func (o *UpdateActivityByIDParams) WithPoolID(poolID string) *UpdateActivityByIDParams
WithPoolID adds the poolID to the update activity by ID params
func (*UpdateActivityByIDParams) WithTimeout ¶
func (o *UpdateActivityByIDParams) WithTimeout(timeout time.Duration) *UpdateActivityByIDParams
WithTimeout adds the timeout to the update activity by ID params
func (*UpdateActivityByIDParams) WriteToRequest ¶
func (o *UpdateActivityByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateActivityByIDReader ¶
type UpdateActivityByIDReader struct {
// contains filtered or unexported fields
}
UpdateActivityByIDReader is a Reader for the UpdateActivityByID structure.
func (*UpdateActivityByIDReader) ReadResponse ¶
func (o *UpdateActivityByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateActivityByIDUnauthorized ¶
type UpdateActivityByIDUnauthorized struct {
}
UpdateActivityByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateActivityByIDUnauthorized ¶
func NewUpdateActivityByIDUnauthorized() *UpdateActivityByIDUnauthorized
NewUpdateActivityByIDUnauthorized creates a UpdateActivityByIDUnauthorized with default headers values
func (*UpdateActivityByIDUnauthorized) Error ¶
func (o *UpdateActivityByIDUnauthorized) Error() string
func (*UpdateActivityByIDUnauthorized) GetPayload ¶
func (o *UpdateActivityByIDUnauthorized) GetPayload() interface{}
Source Files
¶
- add_activity_by_pool_id_parameters.go
- add_activity_by_pool_id_responses.go
- add_new_pool_parameters.go
- add_new_pool_responses.go
- delete_activity_by_id_parameters.go
- delete_activity_by_id_responses.go
- delete_pool_parameters.go
- delete_pool_responses.go
- get_activity_by_id_parameters.go
- get_activity_by_id_responses.go
- get_all_pools_parameters.go
- get_all_pools_responses.go
- get_pool_description_by_id_parameters.go
- get_pool_description_by_id_responses.go
- get_pool_status_by_id_parameters.go
- get_pool_status_by_id_responses.go
- pools_client.go
- request_session_by_pool_id_parameters.go
- request_session_by_pool_id_responses.go
- update_activity_by_id_parameters.go
- update_activity_by_id_responses.go