pools

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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

func (o *AddActivityByPoolIDNotFound) GetPayload() interface{}

type AddActivityByPoolIDOK

type AddActivityByPoolIDOK struct {
	Payload *models.ID
}
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

WithActivity adds the activity to the add activity by pool ID params

func (*AddActivityByPoolIDParams) WithContext

WithContext adds the context to the add activity by pool ID params

func (*AddActivityByPoolIDParams) WithDefaults

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

WithPoolID adds the poolID to the add activity by pool ID params

func (*AddActivityByPoolIDParams) WithTimeout

WithTimeout adds the timeout to the add activity by pool ID params

func (*AddActivityByPoolIDParams) WriteToRequest

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 {
	Payload interface{}
}
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 (*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 (*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

type AddNewPoolOK struct {
	Payload *models.ID
}
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 {
	Payload interface{}
}
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 (*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 (*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

WithContext adds the context to the delete activity by ID params

func (*DeleteActivityByIDParams) WithDefaults

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

WithPoolID adds the poolID to the delete activity by ID params

func (*DeleteActivityByIDParams) WithTimeout

WithTimeout adds the timeout to the delete activity by ID params

func (*DeleteActivityByIDParams) WriteToRequest

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 {
	Payload interface{}
}
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 (*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 (*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 {
	Payload interface{}
}
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 (*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

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 {
	Payload interface{}
}
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 (*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 (*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

type GetAllPoolsOK struct {
	Payload models.IDList
}
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 {
	Payload interface{}
}
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 (*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

WithContext adds the context to the get pool description by ID params

func (*GetPoolDescriptionByIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get pool description by ID params

func (*GetPoolDescriptionByIDParams) WithPoolID

WithPoolID adds the poolID to the get pool description by ID params

func (*GetPoolDescriptionByIDParams) WithTimeout

WithTimeout adds the timeout to the get pool description by ID params

func (*GetPoolDescriptionByIDParams) WriteToRequest

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 {
	Payload interface{}
}
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 (*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 (*GetPoolStatusByIDInternalServerError) GetPayload

func (o *GetPoolStatusByIDInternalServerError) GetPayload() interface{}

type GetPoolStatusByIDOK

type GetPoolStatusByIDOK struct {
	Payload *models.Status
}
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

WithContext adds the context to the get pool status by ID params

func (*GetPoolStatusByIDParams) WithDefaults

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

WithPoolID adds the poolID to the get pool status by ID params

func (*GetPoolStatusByIDParams) WithTimeout

WithTimeout adds the timeout to the get pool status by ID params

func (*GetPoolStatusByIDParams) WriteToRequest

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 {
	Payload interface{}
}
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 (*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 (*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 (*RequestSessionByPoolIDNotFound) GetPayload

func (o *RequestSessionByPoolIDNotFound) GetPayload() interface{}

type RequestSessionByPoolIDOK

type RequestSessionByPoolIDOK struct {
	Payload *models.Activity
}
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

WithContext adds the context to the request session by pool ID params

func (*RequestSessionByPoolIDParams) WithDefaults

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

WithDuration adds the duration to the request session by pool ID params

func (*RequestSessionByPoolIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request session by pool ID params

func (*RequestSessionByPoolIDParams) WithPoolID

WithPoolID adds the poolID to the request session by pool ID params

func (*RequestSessionByPoolIDParams) WithTimeout

WithTimeout adds the timeout to the request session by pool ID params

func (*RequestSessionByPoolIDParams) WriteToRequest

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 (*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 {
	Payload interface{}
}
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 (*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 (*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 (*UpdateActivityByIDNotFound) GetPayload

func (o *UpdateActivityByIDNotFound) GetPayload() interface{}

type UpdateActivityByIDOK

type UpdateActivityByIDOK struct {
	Payload *models.ID
}
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

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

WithContext adds the context to the update activity by ID params

func (*UpdateActivityByIDParams) WithDefaults

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

WithPoolID adds the poolID to the update activity by ID params

func (*UpdateActivityByIDParams) WithTimeout

WithTimeout adds the timeout to the update activity by ID params

func (*UpdateActivityByIDParams) WriteToRequest

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 {
	Payload interface{}
}
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 (*UpdateActivityByIDUnauthorized) GetPayload

func (o *UpdateActivityByIDUnauthorized) GetPayload() interface{}

Jump to

Keyboard shortcuts

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