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: 14 Imported by: 0

Documentation

Index

Constants

View Source
const AddActivityByPoolIDInternalServerErrorCode int = 500

AddActivityByPoolIDInternalServerErrorCode is the HTTP code returned for type AddActivityByPoolIDInternalServerError

View Source
const AddActivityByPoolIDNotFoundCode int = 404

AddActivityByPoolIDNotFoundCode is the HTTP code returned for type AddActivityByPoolIDNotFound

View Source
const AddActivityByPoolIDOKCode int = 200

AddActivityByPoolIDOKCode is the HTTP code returned for type AddActivityByPoolIDOK

View Source
const AddActivityByPoolIDUnauthorizedCode int = 401

AddActivityByPoolIDUnauthorizedCode is the HTTP code returned for type AddActivityByPoolIDUnauthorized

View Source
const AddNewPoolInternalServerErrorCode int = 500

AddNewPoolInternalServerErrorCode is the HTTP code returned for type AddNewPoolInternalServerError

View Source
const AddNewPoolNotFoundCode int = 404

AddNewPoolNotFoundCode is the HTTP code returned for type AddNewPoolNotFound

View Source
const AddNewPoolOKCode int = 200

AddNewPoolOKCode is the HTTP code returned for type AddNewPoolOK

View Source
const AddNewPoolUnauthorizedCode int = 401

AddNewPoolUnauthorizedCode is the HTTP code returned for type AddNewPoolUnauthorized

View Source
const DeleteActivityByIDInternalServerErrorCode int = 500

DeleteActivityByIDInternalServerErrorCode is the HTTP code returned for type DeleteActivityByIDInternalServerError

View Source
const DeleteActivityByIDNotFoundCode int = 404

DeleteActivityByIDNotFoundCode is the HTTP code returned for type DeleteActivityByIDNotFound

View Source
const DeleteActivityByIDUnauthorizedCode int = 401

DeleteActivityByIDUnauthorizedCode is the HTTP code returned for type DeleteActivityByIDUnauthorized

View Source
const DeletePoolInternalServerErrorCode int = 500

DeletePoolInternalServerErrorCode is the HTTP code returned for type DeletePoolInternalServerError

View Source
const DeletePoolNotFoundCode int = 404

DeletePoolNotFoundCode is the HTTP code returned for type DeletePoolNotFound

View Source
const DeletePoolUnauthorizedCode int = 401

DeletePoolUnauthorizedCode is the HTTP code returned for type DeletePoolUnauthorized

View Source
const GetActivityByIDInternalServerErrorCode int = 500

GetActivityByIDInternalServerErrorCode is the HTTP code returned for type GetActivityByIDInternalServerError

View Source
const GetActivityByIDNotFoundCode int = 404

GetActivityByIDNotFoundCode is the HTTP code returned for type GetActivityByIDNotFound

View Source
const GetActivityByIDOKCode int = 200

GetActivityByIDOKCode is the HTTP code returned for type GetActivityByIDOK

View Source
const GetActivityByIDUnauthorizedCode int = 401

GetActivityByIDUnauthorizedCode is the HTTP code returned for type GetActivityByIDUnauthorized

View Source
const GetAllPoolsInternalServerErrorCode int = 500

GetAllPoolsInternalServerErrorCode is the HTTP code returned for type GetAllPoolsInternalServerError

View Source
const GetAllPoolsNotFoundCode int = 404

GetAllPoolsNotFoundCode is the HTTP code returned for type GetAllPoolsNotFound

View Source
const GetAllPoolsOKCode int = 200

GetAllPoolsOKCode is the HTTP code returned for type GetAllPoolsOK

View Source
const GetAllPoolsUnauthorizedCode int = 401

GetAllPoolsUnauthorizedCode is the HTTP code returned for type GetAllPoolsUnauthorized

View Source
const GetPoolDescriptionByIDInternalServerErrorCode int = 500

GetPoolDescriptionByIDInternalServerErrorCode is the HTTP code returned for type GetPoolDescriptionByIDInternalServerError

View Source
const GetPoolDescriptionByIDOKCode int = 200

GetPoolDescriptionByIDOKCode is the HTTP code returned for type GetPoolDescriptionByIDOK

View Source
const GetPoolDescriptionByIDUnauthorizedCode int = 401

GetPoolDescriptionByIDUnauthorizedCode is the HTTP code returned for type GetPoolDescriptionByIDUnauthorized

View Source
const GetPoolStatusByIDInternalServerErrorCode int = 500

GetPoolStatusByIDInternalServerErrorCode is the HTTP code returned for type GetPoolStatusByIDInternalServerError

View Source
const GetPoolStatusByIDOKCode int = 200

GetPoolStatusByIDOKCode is the HTTP code returned for type GetPoolStatusByIDOK

View Source
const GetPoolStatusByIDUnauthorizedCode int = 401

GetPoolStatusByIDUnauthorizedCode is the HTTP code returned for type GetPoolStatusByIDUnauthorized

View Source
const RequestSessionByPoolIDInternalServerErrorCode int = 500

RequestSessionByPoolIDInternalServerErrorCode is the HTTP code returned for type RequestSessionByPoolIDInternalServerError

View Source
const RequestSessionByPoolIDNotFoundCode int = 404

RequestSessionByPoolIDNotFoundCode is the HTTP code returned for type RequestSessionByPoolIDNotFound

View Source
const RequestSessionByPoolIDOKCode int = 200

RequestSessionByPoolIDOKCode is the HTTP code returned for type RequestSessionByPoolIDOK

View Source
const RequestSessionByPoolIDPaymentRequiredCode int = 402

RequestSessionByPoolIDPaymentRequiredCode is the HTTP code returned for type RequestSessionByPoolIDPaymentRequired

View Source
const RequestSessionByPoolIDUnauthorizedCode int = 401

RequestSessionByPoolIDUnauthorizedCode is the HTTP code returned for type RequestSessionByPoolIDUnauthorized

View Source
const UpdateActivityByIDInternalServerErrorCode int = 500

UpdateActivityByIDInternalServerErrorCode is the HTTP code returned for type UpdateActivityByIDInternalServerError

View Source
const UpdateActivityByIDNotFoundCode int = 404

UpdateActivityByIDNotFoundCode is the HTTP code returned for type UpdateActivityByIDNotFound

View Source
const UpdateActivityByIDOKCode int = 200

UpdateActivityByIDOKCode is the HTTP code returned for type UpdateActivityByIDOK

View Source
const UpdateActivityByIDUnauthorizedCode int = 401

UpdateActivityByIDUnauthorizedCode is the HTTP code returned for type UpdateActivityByIDUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddActivityByPoolID

type AddActivityByPoolID struct {
	Context *middleware.Context
	Handler AddActivityByPoolIDHandler
}
AddActivityByPoolID swagger:route POST /pools/{pool_id}/activities pools addActivityByPoolId

Adds an activity to a pool

Adds an activity to a pool (activty must include valid exp field)

func NewAddActivityByPoolID

func NewAddActivityByPoolID(ctx *middleware.Context, handler AddActivityByPoolIDHandler) *AddActivityByPoolID

NewAddActivityByPoolID creates a new http.Handler for the add activity by pool ID operation

func (*AddActivityByPoolID) ServeHTTP

func (o *AddActivityByPoolID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AddActivityByPoolIDHandler

type AddActivityByPoolIDHandler interface {
	Handle(AddActivityByPoolIDParams, interface{}) middleware.Responder
}

AddActivityByPoolIDHandler interface for that can handle valid add activity by pool ID params

type AddActivityByPoolIDHandlerFunc

type AddActivityByPoolIDHandlerFunc func(AddActivityByPoolIDParams, interface{}) middleware.Responder

AddActivityByPoolIDHandlerFunc turns a function with the right signature into a add activity by pool ID handler

func (AddActivityByPoolIDHandlerFunc) Handle

func (fn AddActivityByPoolIDHandlerFunc) Handle(params AddActivityByPoolIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddActivityByPoolIDInternalServerError

type AddActivityByPoolIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddActivityByPoolIDInternalServerError Internal Error

swagger:response addActivityByPoolIdInternalServerError

func NewAddActivityByPoolIDInternalServerError

func NewAddActivityByPoolIDInternalServerError() *AddActivityByPoolIDInternalServerError

NewAddActivityByPoolIDInternalServerError creates AddActivityByPoolIDInternalServerError with default headers values

func (*AddActivityByPoolIDInternalServerError) SetPayload

func (o *AddActivityByPoolIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the add activity by pool Id internal server error response

func (*AddActivityByPoolIDInternalServerError) WithPayload

WithPayload adds the payload to the add activity by pool Id internal server error response

func (*AddActivityByPoolIDInternalServerError) WriteResponse

WriteResponse to the client

type AddActivityByPoolIDNotFound

type AddActivityByPoolIDNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddActivityByPoolIDNotFound Not Available

swagger:response addActivityByPoolIdNotFound

func NewAddActivityByPoolIDNotFound

func NewAddActivityByPoolIDNotFound() *AddActivityByPoolIDNotFound

NewAddActivityByPoolIDNotFound creates AddActivityByPoolIDNotFound with default headers values

func (*AddActivityByPoolIDNotFound) SetPayload

func (o *AddActivityByPoolIDNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the add activity by pool Id not found response

func (*AddActivityByPoolIDNotFound) WithPayload

func (o *AddActivityByPoolIDNotFound) WithPayload(payload interface{}) *AddActivityByPoolIDNotFound

WithPayload adds the payload to the add activity by pool Id not found response

func (*AddActivityByPoolIDNotFound) WriteResponse

func (o *AddActivityByPoolIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddActivityByPoolIDOK

type AddActivityByPoolIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.ID `json:"body,omitempty"`
}

AddActivityByPoolIDOK add activity by pool Id o k

swagger:response addActivityByPoolIdOK

func NewAddActivityByPoolIDOK

func NewAddActivityByPoolIDOK() *AddActivityByPoolIDOK

NewAddActivityByPoolIDOK creates AddActivityByPoolIDOK with default headers values

func (*AddActivityByPoolIDOK) SetPayload

func (o *AddActivityByPoolIDOK) SetPayload(payload *models.ID)

SetPayload sets the payload to the add activity by pool Id o k response

func (*AddActivityByPoolIDOK) WithPayload

func (o *AddActivityByPoolIDOK) WithPayload(payload *models.ID) *AddActivityByPoolIDOK

WithPayload adds the payload to the add activity by pool Id o k response

func (*AddActivityByPoolIDOK) WriteResponse

func (o *AddActivityByPoolIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddActivityByPoolIDParams

type AddActivityByPoolIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Activity *models.Activity
	/*
	  Required: true
	  In: path
	*/
	PoolID string
}

AddActivityByPoolIDParams contains all the bound params for the add activity by pool ID operation typically these are obtained from a http.Request

swagger:parameters addActivityByPoolID

func NewAddActivityByPoolIDParams

func NewAddActivityByPoolIDParams() AddActivityByPoolIDParams

NewAddActivityByPoolIDParams creates a new AddActivityByPoolIDParams object

There are no default values defined in the spec.

func (*AddActivityByPoolIDParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewAddActivityByPoolIDParams() beforehand.

type AddActivityByPoolIDURL

type AddActivityByPoolIDURL struct {
	PoolID string
	// contains filtered or unexported fields
}

AddActivityByPoolIDURL generates an URL for the add activity by pool ID operation

func (*AddActivityByPoolIDURL) Build

func (o *AddActivityByPoolIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddActivityByPoolIDURL) BuildFull

func (o *AddActivityByPoolIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AddActivityByPoolIDURL) Must

func (o *AddActivityByPoolIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*AddActivityByPoolIDURL) SetBasePath

func (o *AddActivityByPoolIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*AddActivityByPoolIDURL) String

func (o *AddActivityByPoolIDURL) String() string

String returns the string representation of the path with query string

func (*AddActivityByPoolIDURL) StringFull

func (o *AddActivityByPoolIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AddActivityByPoolIDURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type AddActivityByPoolIDUnauthorized

type AddActivityByPoolIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddActivityByPoolIDUnauthorized Unauthorized

swagger:response addActivityByPoolIdUnauthorized

func NewAddActivityByPoolIDUnauthorized

func NewAddActivityByPoolIDUnauthorized() *AddActivityByPoolIDUnauthorized

NewAddActivityByPoolIDUnauthorized creates AddActivityByPoolIDUnauthorized with default headers values

func (*AddActivityByPoolIDUnauthorized) SetPayload

func (o *AddActivityByPoolIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the add activity by pool Id unauthorized response

func (*AddActivityByPoolIDUnauthorized) WithPayload

func (o *AddActivityByPoolIDUnauthorized) WithPayload(payload interface{}) *AddActivityByPoolIDUnauthorized

WithPayload adds the payload to the add activity by pool Id unauthorized response

func (*AddActivityByPoolIDUnauthorized) WriteResponse

func (o *AddActivityByPoolIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddNewPool

type AddNewPool struct {
	Context *middleware.Context
	Handler AddNewPoolHandler
}
AddNewPool swagger:route POST /pools pools addNewPool

Add a new pool

Add a pool to the poolstore, using details in body

func NewAddNewPool

func NewAddNewPool(ctx *middleware.Context, handler AddNewPoolHandler) *AddNewPool

NewAddNewPool creates a new http.Handler for the add new pool operation

func (*AddNewPool) ServeHTTP

func (o *AddNewPool) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AddNewPoolHandler

type AddNewPoolHandler interface {
	Handle(AddNewPoolParams, interface{}) middleware.Responder
}

AddNewPoolHandler interface for that can handle valid add new pool params

type AddNewPoolHandlerFunc

type AddNewPoolHandlerFunc func(AddNewPoolParams, interface{}) middleware.Responder

AddNewPoolHandlerFunc turns a function with the right signature into a add new pool handler

func (AddNewPoolHandlerFunc) Handle

func (fn AddNewPoolHandlerFunc) Handle(params AddNewPoolParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddNewPoolInternalServerError

type AddNewPoolInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddNewPoolInternalServerError add new pool internal server error

swagger:response addNewPoolInternalServerError

func NewAddNewPoolInternalServerError

func NewAddNewPoolInternalServerError() *AddNewPoolInternalServerError

NewAddNewPoolInternalServerError creates AddNewPoolInternalServerError with default headers values

func (*AddNewPoolInternalServerError) SetPayload

func (o *AddNewPoolInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the add new pool internal server error response

func (*AddNewPoolInternalServerError) WithPayload

func (o *AddNewPoolInternalServerError) WithPayload(payload interface{}) *AddNewPoolInternalServerError

WithPayload adds the payload to the add new pool internal server error response

func (*AddNewPoolInternalServerError) WriteResponse

func (o *AddNewPoolInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddNewPoolNotFound

type AddNewPoolNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddNewPoolNotFound Unauthorized

swagger:response addNewPoolNotFound

func NewAddNewPoolNotFound

func NewAddNewPoolNotFound() *AddNewPoolNotFound

NewAddNewPoolNotFound creates AddNewPoolNotFound with default headers values

func (*AddNewPoolNotFound) SetPayload

func (o *AddNewPoolNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the add new pool not found response

func (*AddNewPoolNotFound) WithPayload

func (o *AddNewPoolNotFound) WithPayload(payload interface{}) *AddNewPoolNotFound

WithPayload adds the payload to the add new pool not found response

func (*AddNewPoolNotFound) WriteResponse

func (o *AddNewPoolNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddNewPoolOK

type AddNewPoolOK struct {

	/*
	  In: Body
	*/
	Payload *models.ID `json:"body,omitempty"`
}

AddNewPoolOK add new pool o k

swagger:response addNewPoolOK

func NewAddNewPoolOK

func NewAddNewPoolOK() *AddNewPoolOK

NewAddNewPoolOK creates AddNewPoolOK with default headers values

func (*AddNewPoolOK) SetPayload

func (o *AddNewPoolOK) SetPayload(payload *models.ID)

SetPayload sets the payload to the add new pool o k response

func (*AddNewPoolOK) WithPayload

func (o *AddNewPoolOK) WithPayload(payload *models.ID) *AddNewPoolOK

WithPayload adds the payload to the add new pool o k response

func (*AddNewPoolOK) WriteResponse

func (o *AddNewPoolOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddNewPoolParams

type AddNewPoolParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Pool *models.Pool
}

AddNewPoolParams contains all the bound params for the add new pool operation typically these are obtained from a http.Request

swagger:parameters addNewPool

func NewAddNewPoolParams

func NewAddNewPoolParams() AddNewPoolParams

NewAddNewPoolParams creates a new AddNewPoolParams object

There are no default values defined in the spec.

func (*AddNewPoolParams) BindRequest

func (o *AddNewPoolParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewAddNewPoolParams() beforehand.

type AddNewPoolURL

type AddNewPoolURL struct {
	// contains filtered or unexported fields
}

AddNewPoolURL generates an URL for the add new pool operation

func (*AddNewPoolURL) Build

func (o *AddNewPoolURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddNewPoolURL) BuildFull

func (o *AddNewPoolURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AddNewPoolURL) Must

func (o *AddNewPoolURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*AddNewPoolURL) SetBasePath

func (o *AddNewPoolURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*AddNewPoolURL) String

func (o *AddNewPoolURL) String() string

String returns the string representation of the path with query string

func (*AddNewPoolURL) StringFull

func (o *AddNewPoolURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AddNewPoolURL) WithBasePath

func (o *AddNewPoolURL) WithBasePath(bp string) *AddNewPoolURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type AddNewPoolUnauthorized

type AddNewPoolUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

AddNewPoolUnauthorized Unauthorized

swagger:response addNewPoolUnauthorized

func NewAddNewPoolUnauthorized

func NewAddNewPoolUnauthorized() *AddNewPoolUnauthorized

NewAddNewPoolUnauthorized creates AddNewPoolUnauthorized with default headers values

func (*AddNewPoolUnauthorized) SetPayload

func (o *AddNewPoolUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the add new pool unauthorized response

func (*AddNewPoolUnauthorized) WithPayload

func (o *AddNewPoolUnauthorized) WithPayload(payload interface{}) *AddNewPoolUnauthorized

WithPayload adds the payload to the add new pool unauthorized response

func (*AddNewPoolUnauthorized) WriteResponse

func (o *AddNewPoolUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteActivityByID

type DeleteActivityByID struct {
	Context *middleware.Context
	Handler DeleteActivityByIDHandler
}
DeleteActivityByID swagger:route DELETE /pools/{pool_id}/activities/{activity_id} pools deleteActivityById

Delete activity

Delete activity by activity ID

func NewDeleteActivityByID

func NewDeleteActivityByID(ctx *middleware.Context, handler DeleteActivityByIDHandler) *DeleteActivityByID

NewDeleteActivityByID creates a new http.Handler for the delete activity by ID operation

func (*DeleteActivityByID) ServeHTTP

func (o *DeleteActivityByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteActivityByIDHandler

type DeleteActivityByIDHandler interface {
	Handle(DeleteActivityByIDParams, interface{}) middleware.Responder
}

DeleteActivityByIDHandler interface for that can handle valid delete activity by ID params

type DeleteActivityByIDHandlerFunc

type DeleteActivityByIDHandlerFunc func(DeleteActivityByIDParams, interface{}) middleware.Responder

DeleteActivityByIDHandlerFunc turns a function with the right signature into a delete activity by ID handler

func (DeleteActivityByIDHandlerFunc) Handle

func (fn DeleteActivityByIDHandlerFunc) Handle(params DeleteActivityByIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteActivityByIDInternalServerError

type DeleteActivityByIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeleteActivityByIDInternalServerError Internal Error

swagger:response deleteActivityByIdInternalServerError

func NewDeleteActivityByIDInternalServerError

func NewDeleteActivityByIDInternalServerError() *DeleteActivityByIDInternalServerError

NewDeleteActivityByIDInternalServerError creates DeleteActivityByIDInternalServerError with default headers values

func (*DeleteActivityByIDInternalServerError) SetPayload

func (o *DeleteActivityByIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the delete activity by Id internal server error response

func (*DeleteActivityByIDInternalServerError) WithPayload

WithPayload adds the payload to the delete activity by Id internal server error response

func (*DeleteActivityByIDInternalServerError) WriteResponse

WriteResponse to the client

type DeleteActivityByIDNotFound

type DeleteActivityByIDNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeleteActivityByIDNotFound Not Found

swagger:response deleteActivityByIdNotFound

func NewDeleteActivityByIDNotFound

func NewDeleteActivityByIDNotFound() *DeleteActivityByIDNotFound

NewDeleteActivityByIDNotFound creates DeleteActivityByIDNotFound with default headers values

func (*DeleteActivityByIDNotFound) SetPayload

func (o *DeleteActivityByIDNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the delete activity by Id not found response

func (*DeleteActivityByIDNotFound) WithPayload

func (o *DeleteActivityByIDNotFound) WithPayload(payload interface{}) *DeleteActivityByIDNotFound

WithPayload adds the payload to the delete activity by Id not found response

func (*DeleteActivityByIDNotFound) WriteResponse

func (o *DeleteActivityByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteActivityByIDParams

type DeleteActivityByIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ActivityID string
	/*
	  Required: true
	  In: path
	*/
	PoolID string
}

DeleteActivityByIDParams contains all the bound params for the delete activity by ID operation typically these are obtained from a http.Request

swagger:parameters deleteActivityByID

func NewDeleteActivityByIDParams

func NewDeleteActivityByIDParams() DeleteActivityByIDParams

NewDeleteActivityByIDParams creates a new DeleteActivityByIDParams object

There are no default values defined in the spec.

func (*DeleteActivityByIDParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteActivityByIDParams() beforehand.

type DeleteActivityByIDURL

type DeleteActivityByIDURL struct {
	ActivityID string
	PoolID     string
	// contains filtered or unexported fields
}

DeleteActivityByIDURL generates an URL for the delete activity by ID operation

func (*DeleteActivityByIDURL) Build

func (o *DeleteActivityByIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteActivityByIDURL) BuildFull

func (o *DeleteActivityByIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteActivityByIDURL) Must

func (o *DeleteActivityByIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteActivityByIDURL) SetBasePath

func (o *DeleteActivityByIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteActivityByIDURL) String

func (o *DeleteActivityByIDURL) String() string

String returns the string representation of the path with query string

func (*DeleteActivityByIDURL) StringFull

func (o *DeleteActivityByIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteActivityByIDURL) WithBasePath

func (o *DeleteActivityByIDURL) WithBasePath(bp string) *DeleteActivityByIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteActivityByIDUnauthorized

type DeleteActivityByIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeleteActivityByIDUnauthorized Unauthorized

swagger:response deleteActivityByIdUnauthorized

func NewDeleteActivityByIDUnauthorized

func NewDeleteActivityByIDUnauthorized() *DeleteActivityByIDUnauthorized

NewDeleteActivityByIDUnauthorized creates DeleteActivityByIDUnauthorized with default headers values

func (*DeleteActivityByIDUnauthorized) SetPayload

func (o *DeleteActivityByIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the delete activity by Id unauthorized response

func (*DeleteActivityByIDUnauthorized) WithPayload

func (o *DeleteActivityByIDUnauthorized) WithPayload(payload interface{}) *DeleteActivityByIDUnauthorized

WithPayload adds the payload to the delete activity by Id unauthorized response

func (*DeleteActivityByIDUnauthorized) WriteResponse

func (o *DeleteActivityByIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePool

type DeletePool struct {
	Context *middleware.Context
	Handler DeletePoolHandler
}
DeletePool swagger:route DELETE /pools/{pool_id} pools deletePool

Delete this pool

Delete this pool and all its data (including activities)

func NewDeletePool

func NewDeletePool(ctx *middleware.Context, handler DeletePoolHandler) *DeletePool

NewDeletePool creates a new http.Handler for the delete pool operation

func (*DeletePool) ServeHTTP

func (o *DeletePool) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeletePoolHandler

type DeletePoolHandler interface {
	Handle(DeletePoolParams, interface{}) middleware.Responder
}

DeletePoolHandler interface for that can handle valid delete pool params

type DeletePoolHandlerFunc

type DeletePoolHandlerFunc func(DeletePoolParams, interface{}) middleware.Responder

DeletePoolHandlerFunc turns a function with the right signature into a delete pool handler

func (DeletePoolHandlerFunc) Handle

func (fn DeletePoolHandlerFunc) Handle(params DeletePoolParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeletePoolInternalServerError

type DeletePoolInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeletePoolInternalServerError delete pool internal server error

swagger:response deletePoolInternalServerError

func NewDeletePoolInternalServerError

func NewDeletePoolInternalServerError() *DeletePoolInternalServerError

NewDeletePoolInternalServerError creates DeletePoolInternalServerError with default headers values

func (*DeletePoolInternalServerError) SetPayload

func (o *DeletePoolInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the delete pool internal server error response

func (*DeletePoolInternalServerError) WithPayload

func (o *DeletePoolInternalServerError) WithPayload(payload interface{}) *DeletePoolInternalServerError

WithPayload adds the payload to the delete pool internal server error response

func (*DeletePoolInternalServerError) WriteResponse

func (o *DeletePoolInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePoolNotFound

type DeletePoolNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeletePoolNotFound Not Found

swagger:response deletePoolNotFound

func NewDeletePoolNotFound

func NewDeletePoolNotFound() *DeletePoolNotFound

NewDeletePoolNotFound creates DeletePoolNotFound with default headers values

func (*DeletePoolNotFound) SetPayload

func (o *DeletePoolNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the delete pool not found response

func (*DeletePoolNotFound) WithPayload

func (o *DeletePoolNotFound) WithPayload(payload interface{}) *DeletePoolNotFound

WithPayload adds the payload to the delete pool not found response

func (*DeletePoolNotFound) WriteResponse

func (o *DeletePoolNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeletePoolParams

type DeletePoolParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*ID of the pool to delete
	  Required: true
	  In: path
	*/
	PoolID string
}

DeletePoolParams contains all the bound params for the delete pool operation typically these are obtained from a http.Request

swagger:parameters deletePool

func NewDeletePoolParams

func NewDeletePoolParams() DeletePoolParams

NewDeletePoolParams creates a new DeletePoolParams object

There are no default values defined in the spec.

func (*DeletePoolParams) BindRequest

func (o *DeletePoolParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeletePoolParams() beforehand.

type DeletePoolURL

type DeletePoolURL struct {
	PoolID string
	// contains filtered or unexported fields
}

DeletePoolURL generates an URL for the delete pool operation

func (*DeletePoolURL) Build

func (o *DeletePoolURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeletePoolURL) BuildFull

func (o *DeletePoolURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeletePoolURL) Must

func (o *DeletePoolURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeletePoolURL) SetBasePath

func (o *DeletePoolURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeletePoolURL) String

func (o *DeletePoolURL) String() string

String returns the string representation of the path with query string

func (*DeletePoolURL) StringFull

func (o *DeletePoolURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeletePoolURL) WithBasePath

func (o *DeletePoolURL) WithBasePath(bp string) *DeletePoolURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeletePoolUnauthorized

type DeletePoolUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

DeletePoolUnauthorized Unauthorized

swagger:response deletePoolUnauthorized

func NewDeletePoolUnauthorized

func NewDeletePoolUnauthorized() *DeletePoolUnauthorized

NewDeletePoolUnauthorized creates DeletePoolUnauthorized with default headers values

func (*DeletePoolUnauthorized) SetPayload

func (o *DeletePoolUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the delete pool unauthorized response

func (*DeletePoolUnauthorized) WithPayload

func (o *DeletePoolUnauthorized) WithPayload(payload interface{}) *DeletePoolUnauthorized

WithPayload adds the payload to the delete pool unauthorized response

func (*DeletePoolUnauthorized) WriteResponse

func (o *DeletePoolUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetActivityByID

type GetActivityByID struct {
	Context *middleware.Context
	Handler GetActivityByIDHandler
}
GetActivityByID swagger:route GET /pools/{pool_id}/activities/{activity_id} pools getActivityById

Get activity description

Get activity description by activity ID

func NewGetActivityByID

func NewGetActivityByID(ctx *middleware.Context, handler GetActivityByIDHandler) *GetActivityByID

NewGetActivityByID creates a new http.Handler for the get activity by ID operation

func (*GetActivityByID) ServeHTTP

func (o *GetActivityByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetActivityByIDHandler

type GetActivityByIDHandler interface {
	Handle(GetActivityByIDParams, interface{}) middleware.Responder
}

GetActivityByIDHandler interface for that can handle valid get activity by ID params

type GetActivityByIDHandlerFunc

type GetActivityByIDHandlerFunc func(GetActivityByIDParams, interface{}) middleware.Responder

GetActivityByIDHandlerFunc turns a function with the right signature into a get activity by ID handler

func (GetActivityByIDHandlerFunc) Handle

func (fn GetActivityByIDHandlerFunc) Handle(params GetActivityByIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetActivityByIDInternalServerError

type GetActivityByIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetActivityByIDInternalServerError Internal Error

swagger:response getActivityByIdInternalServerError

func NewGetActivityByIDInternalServerError

func NewGetActivityByIDInternalServerError() *GetActivityByIDInternalServerError

NewGetActivityByIDInternalServerError creates GetActivityByIDInternalServerError with default headers values

func (*GetActivityByIDInternalServerError) SetPayload

func (o *GetActivityByIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the get activity by Id internal server error response

func (*GetActivityByIDInternalServerError) WithPayload

func (o *GetActivityByIDInternalServerError) WithPayload(payload interface{}) *GetActivityByIDInternalServerError

WithPayload adds the payload to the get activity by Id internal server error response

func (*GetActivityByIDInternalServerError) WriteResponse

WriteResponse to the client

type GetActivityByIDNotFound

type GetActivityByIDNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetActivityByIDNotFound Not Found

swagger:response getActivityByIdNotFound

func NewGetActivityByIDNotFound

func NewGetActivityByIDNotFound() *GetActivityByIDNotFound

NewGetActivityByIDNotFound creates GetActivityByIDNotFound with default headers values

func (*GetActivityByIDNotFound) SetPayload

func (o *GetActivityByIDNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the get activity by Id not found response

func (*GetActivityByIDNotFound) WithPayload

func (o *GetActivityByIDNotFound) WithPayload(payload interface{}) *GetActivityByIDNotFound

WithPayload adds the payload to the get activity by Id not found response

func (*GetActivityByIDNotFound) WriteResponse

func (o *GetActivityByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetActivityByIDOK

type GetActivityByIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.Description `json:"body,omitempty"`
}

GetActivityByIDOK OK

swagger:response getActivityByIdOK

func NewGetActivityByIDOK

func NewGetActivityByIDOK() *GetActivityByIDOK

NewGetActivityByIDOK creates GetActivityByIDOK with default headers values

func (*GetActivityByIDOK) SetPayload

func (o *GetActivityByIDOK) SetPayload(payload *models.Description)

SetPayload sets the payload to the get activity by Id o k response

func (*GetActivityByIDOK) WithPayload

func (o *GetActivityByIDOK) WithPayload(payload *models.Description) *GetActivityByIDOK

WithPayload adds the payload to the get activity by Id o k response

func (*GetActivityByIDOK) WriteResponse

func (o *GetActivityByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetActivityByIDParams

type GetActivityByIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ActivityID string
	/*True returns all available details, false just description.
	  In: query
	*/
	Details *bool
	/*
	  Required: true
	  In: path
	*/
	PoolID string
}

GetActivityByIDParams contains all the bound params for the get activity by ID operation typically these are obtained from a http.Request

swagger:parameters getActivityByID

func NewGetActivityByIDParams

func NewGetActivityByIDParams() GetActivityByIDParams

NewGetActivityByIDParams creates a new GetActivityByIDParams object

There are no default values defined in the spec.

func (*GetActivityByIDParams) BindRequest

func (o *GetActivityByIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetActivityByIDParams() beforehand.

type GetActivityByIDURL

type GetActivityByIDURL struct {
	ActivityID string
	PoolID     string

	Details *bool
	// contains filtered or unexported fields
}

GetActivityByIDURL generates an URL for the get activity by ID operation

func (*GetActivityByIDURL) Build

func (o *GetActivityByIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetActivityByIDURL) BuildFull

func (o *GetActivityByIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetActivityByIDURL) Must

func (o *GetActivityByIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetActivityByIDURL) SetBasePath

func (o *GetActivityByIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetActivityByIDURL) String

func (o *GetActivityByIDURL) String() string

String returns the string representation of the path with query string

func (*GetActivityByIDURL) StringFull

func (o *GetActivityByIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetActivityByIDURL) WithBasePath

func (o *GetActivityByIDURL) WithBasePath(bp string) *GetActivityByIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetActivityByIDUnauthorized

type GetActivityByIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetActivityByIDUnauthorized Unauthorized

swagger:response getActivityByIdUnauthorized

func NewGetActivityByIDUnauthorized

func NewGetActivityByIDUnauthorized() *GetActivityByIDUnauthorized

NewGetActivityByIDUnauthorized creates GetActivityByIDUnauthorized with default headers values

func (*GetActivityByIDUnauthorized) SetPayload

func (o *GetActivityByIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the get activity by Id unauthorized response

func (*GetActivityByIDUnauthorized) WithPayload

func (o *GetActivityByIDUnauthorized) WithPayload(payload interface{}) *GetActivityByIDUnauthorized

WithPayload adds the payload to the get activity by Id unauthorized response

func (*GetActivityByIDUnauthorized) WriteResponse

func (o *GetActivityByIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAllPools

type GetAllPools struct {
	Context *middleware.Context
	Handler GetAllPoolsHandler
}
GetAllPools swagger:route GET /pools pools getAllPools

pools

Gets a list of all pool_ids

func NewGetAllPools

func NewGetAllPools(ctx *middleware.Context, handler GetAllPoolsHandler) *GetAllPools

NewGetAllPools creates a new http.Handler for the get all pools operation

func (*GetAllPools) ServeHTTP

func (o *GetAllPools) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAllPoolsHandler

type GetAllPoolsHandler interface {
	Handle(GetAllPoolsParams, interface{}) middleware.Responder
}

GetAllPoolsHandler interface for that can handle valid get all pools params

type GetAllPoolsHandlerFunc

type GetAllPoolsHandlerFunc func(GetAllPoolsParams, interface{}) middleware.Responder

GetAllPoolsHandlerFunc turns a function with the right signature into a get all pools handler

func (GetAllPoolsHandlerFunc) Handle

func (fn GetAllPoolsHandlerFunc) Handle(params GetAllPoolsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetAllPoolsInternalServerError

type GetAllPoolsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetAllPoolsInternalServerError Internal Error

swagger:response getAllPoolsInternalServerError

func NewGetAllPoolsInternalServerError

func NewGetAllPoolsInternalServerError() *GetAllPoolsInternalServerError

NewGetAllPoolsInternalServerError creates GetAllPoolsInternalServerError with default headers values

func (*GetAllPoolsInternalServerError) SetPayload

func (o *GetAllPoolsInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the get all pools internal server error response

func (*GetAllPoolsInternalServerError) WithPayload

func (o *GetAllPoolsInternalServerError) WithPayload(payload interface{}) *GetAllPoolsInternalServerError

WithPayload adds the payload to the get all pools internal server error response

func (*GetAllPoolsInternalServerError) WriteResponse

func (o *GetAllPoolsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAllPoolsNotFound

type GetAllPoolsNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetAllPoolsNotFound Not Found

swagger:response getAllPoolsNotFound

func NewGetAllPoolsNotFound

func NewGetAllPoolsNotFound() *GetAllPoolsNotFound

NewGetAllPoolsNotFound creates GetAllPoolsNotFound with default headers values

func (*GetAllPoolsNotFound) SetPayload

func (o *GetAllPoolsNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the get all pools not found response

func (*GetAllPoolsNotFound) WithPayload

func (o *GetAllPoolsNotFound) WithPayload(payload interface{}) *GetAllPoolsNotFound

WithPayload adds the payload to the get all pools not found response

func (*GetAllPoolsNotFound) WriteResponse

func (o *GetAllPoolsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAllPoolsOK

type GetAllPoolsOK struct {

	/*
	  In: Body
	*/
	Payload models.IDList `json:"body,omitempty"`
}

GetAllPoolsOK get all pools o k

swagger:response getAllPoolsOK

func NewGetAllPoolsOK

func NewGetAllPoolsOK() *GetAllPoolsOK

NewGetAllPoolsOK creates GetAllPoolsOK with default headers values

func (*GetAllPoolsOK) SetPayload

func (o *GetAllPoolsOK) SetPayload(payload models.IDList)

SetPayload sets the payload to the get all pools o k response

func (*GetAllPoolsOK) WithPayload

func (o *GetAllPoolsOK) WithPayload(payload models.IDList) *GetAllPoolsOK

WithPayload adds the payload to the get all pools o k response

func (*GetAllPoolsOK) WriteResponse

func (o *GetAllPoolsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAllPoolsParams

type GetAllPoolsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Limit search to pools with exact match to the name (meaningless on own)
	  In: query
	*/
	Exact *bool
	/*Limit search to pools with name containing this string (case sensitive)
	  In: query
	*/
	Name *string
}

GetAllPoolsParams contains all the bound params for the get all pools operation typically these are obtained from a http.Request

swagger:parameters getAllPools

func NewGetAllPoolsParams

func NewGetAllPoolsParams() GetAllPoolsParams

NewGetAllPoolsParams creates a new GetAllPoolsParams object

There are no default values defined in the spec.

func (*GetAllPoolsParams) BindRequest

func (o *GetAllPoolsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAllPoolsParams() beforehand.

type GetAllPoolsURL

type GetAllPoolsURL struct {
	Exact *bool
	Name  *string
	// contains filtered or unexported fields
}

GetAllPoolsURL generates an URL for the get all pools operation

func (*GetAllPoolsURL) Build

func (o *GetAllPoolsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAllPoolsURL) BuildFull

func (o *GetAllPoolsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAllPoolsURL) Must

func (o *GetAllPoolsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAllPoolsURL) SetBasePath

func (o *GetAllPoolsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAllPoolsURL) String

func (o *GetAllPoolsURL) String() string

String returns the string representation of the path with query string

func (*GetAllPoolsURL) StringFull

func (o *GetAllPoolsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAllPoolsURL) WithBasePath

func (o *GetAllPoolsURL) WithBasePath(bp string) *GetAllPoolsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAllPoolsUnauthorized

type GetAllPoolsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetAllPoolsUnauthorized Unauthorized

swagger:response getAllPoolsUnauthorized

func NewGetAllPoolsUnauthorized

func NewGetAllPoolsUnauthorized() *GetAllPoolsUnauthorized

NewGetAllPoolsUnauthorized creates GetAllPoolsUnauthorized with default headers values

func (*GetAllPoolsUnauthorized) SetPayload

func (o *GetAllPoolsUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the get all pools unauthorized response

func (*GetAllPoolsUnauthorized) WithPayload

func (o *GetAllPoolsUnauthorized) WithPayload(payload interface{}) *GetAllPoolsUnauthorized

WithPayload adds the payload to the get all pools unauthorized response

func (*GetAllPoolsUnauthorized) WriteResponse

func (o *GetAllPoolsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPoolDescriptionByID

type GetPoolDescriptionByID struct {
	Context *middleware.Context
	Handler GetPoolDescriptionByIDHandler
}
GetPoolDescriptionByID swagger:route GET /pools/{pool_id} pools getPoolDescriptionById

pools

Gets a description of the pool

func NewGetPoolDescriptionByID

func NewGetPoolDescriptionByID(ctx *middleware.Context, handler GetPoolDescriptionByIDHandler) *GetPoolDescriptionByID

NewGetPoolDescriptionByID creates a new http.Handler for the get pool description by ID operation

func (*GetPoolDescriptionByID) ServeHTTP

func (o *GetPoolDescriptionByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetPoolDescriptionByIDHandler

type GetPoolDescriptionByIDHandler interface {
	Handle(GetPoolDescriptionByIDParams, interface{}) middleware.Responder
}

GetPoolDescriptionByIDHandler interface for that can handle valid get pool description by ID params

type GetPoolDescriptionByIDHandlerFunc

type GetPoolDescriptionByIDHandlerFunc func(GetPoolDescriptionByIDParams, interface{}) middleware.Responder

GetPoolDescriptionByIDHandlerFunc turns a function with the right signature into a get pool description by ID handler

func (GetPoolDescriptionByIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetPoolDescriptionByIDInternalServerError

type GetPoolDescriptionByIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetPoolDescriptionByIDInternalServerError Internal Error

swagger:response getPoolDescriptionByIdInternalServerError

func NewGetPoolDescriptionByIDInternalServerError

func NewGetPoolDescriptionByIDInternalServerError() *GetPoolDescriptionByIDInternalServerError

NewGetPoolDescriptionByIDInternalServerError creates GetPoolDescriptionByIDInternalServerError with default headers values

func (*GetPoolDescriptionByIDInternalServerError) SetPayload

func (o *GetPoolDescriptionByIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the get pool description by Id internal server error response

func (*GetPoolDescriptionByIDInternalServerError) WithPayload

WithPayload adds the payload to the get pool description by Id internal server error response

func (*GetPoolDescriptionByIDInternalServerError) WriteResponse

WriteResponse to the client

type GetPoolDescriptionByIDOK

type GetPoolDescriptionByIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.Description `json:"body,omitempty"`
}

GetPoolDescriptionByIDOK get pool description by Id o k

swagger:response getPoolDescriptionByIdOK

func NewGetPoolDescriptionByIDOK

func NewGetPoolDescriptionByIDOK() *GetPoolDescriptionByIDOK

NewGetPoolDescriptionByIDOK creates GetPoolDescriptionByIDOK with default headers values

func (*GetPoolDescriptionByIDOK) SetPayload

func (o *GetPoolDescriptionByIDOK) SetPayload(payload *models.Description)

SetPayload sets the payload to the get pool description by Id o k response

func (*GetPoolDescriptionByIDOK) WithPayload

WithPayload adds the payload to the get pool description by Id o k response

func (*GetPoolDescriptionByIDOK) WriteResponse

func (o *GetPoolDescriptionByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPoolDescriptionByIDParams

type GetPoolDescriptionByIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	PoolID string
}

GetPoolDescriptionByIDParams contains all the bound params for the get pool description by ID operation typically these are obtained from a http.Request

swagger:parameters getPoolDescriptionByID

func NewGetPoolDescriptionByIDParams

func NewGetPoolDescriptionByIDParams() GetPoolDescriptionByIDParams

NewGetPoolDescriptionByIDParams creates a new GetPoolDescriptionByIDParams object

There are no default values defined in the spec.

func (*GetPoolDescriptionByIDParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetPoolDescriptionByIDParams() beforehand.

type GetPoolDescriptionByIDURL

type GetPoolDescriptionByIDURL struct {
	PoolID string
	// contains filtered or unexported fields
}

GetPoolDescriptionByIDURL generates an URL for the get pool description by ID operation

func (*GetPoolDescriptionByIDURL) Build

func (o *GetPoolDescriptionByIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetPoolDescriptionByIDURL) BuildFull

func (o *GetPoolDescriptionByIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetPoolDescriptionByIDURL) Must

func (o *GetPoolDescriptionByIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetPoolDescriptionByIDURL) SetBasePath

func (o *GetPoolDescriptionByIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetPoolDescriptionByIDURL) String

func (o *GetPoolDescriptionByIDURL) String() string

String returns the string representation of the path with query string

func (*GetPoolDescriptionByIDURL) StringFull

func (o *GetPoolDescriptionByIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetPoolDescriptionByIDURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetPoolDescriptionByIDUnauthorized

type GetPoolDescriptionByIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetPoolDescriptionByIDUnauthorized Unauthorized

swagger:response getPoolDescriptionByIdUnauthorized

func NewGetPoolDescriptionByIDUnauthorized

func NewGetPoolDescriptionByIDUnauthorized() *GetPoolDescriptionByIDUnauthorized

NewGetPoolDescriptionByIDUnauthorized creates GetPoolDescriptionByIDUnauthorized with default headers values

func (*GetPoolDescriptionByIDUnauthorized) SetPayload

func (o *GetPoolDescriptionByIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the get pool description by Id unauthorized response

func (*GetPoolDescriptionByIDUnauthorized) WithPayload

func (o *GetPoolDescriptionByIDUnauthorized) WithPayload(payload interface{}) *GetPoolDescriptionByIDUnauthorized

WithPayload adds the payload to the get pool description by Id unauthorized response

func (*GetPoolDescriptionByIDUnauthorized) WriteResponse

WriteResponse to the client

type GetPoolStatusByID

type GetPoolStatusByID struct {
	Context *middleware.Context
	Handler GetPoolStatusByIDHandler
}
GetPoolStatusByID swagger:route GET /pools/{pool_id}/status pools getPoolStatusById

Gets the status of the pool's activities

Gets the status of pool's activities

func NewGetPoolStatusByID

func NewGetPoolStatusByID(ctx *middleware.Context, handler GetPoolStatusByIDHandler) *GetPoolStatusByID

NewGetPoolStatusByID creates a new http.Handler for the get pool status by ID operation

func (*GetPoolStatusByID) ServeHTTP

func (o *GetPoolStatusByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetPoolStatusByIDHandler

type GetPoolStatusByIDHandler interface {
	Handle(GetPoolStatusByIDParams, interface{}) middleware.Responder
}

GetPoolStatusByIDHandler interface for that can handle valid get pool status by ID params

type GetPoolStatusByIDHandlerFunc

type GetPoolStatusByIDHandlerFunc func(GetPoolStatusByIDParams, interface{}) middleware.Responder

GetPoolStatusByIDHandlerFunc turns a function with the right signature into a get pool status by ID handler

func (GetPoolStatusByIDHandlerFunc) Handle

func (fn GetPoolStatusByIDHandlerFunc) Handle(params GetPoolStatusByIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetPoolStatusByIDInternalServerError

type GetPoolStatusByIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetPoolStatusByIDInternalServerError Internal Error

swagger:response getPoolStatusByIdInternalServerError

func NewGetPoolStatusByIDInternalServerError

func NewGetPoolStatusByIDInternalServerError() *GetPoolStatusByIDInternalServerError

NewGetPoolStatusByIDInternalServerError creates GetPoolStatusByIDInternalServerError with default headers values

func (*GetPoolStatusByIDInternalServerError) SetPayload

func (o *GetPoolStatusByIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the get pool status by Id internal server error response

func (*GetPoolStatusByIDInternalServerError) WithPayload

WithPayload adds the payload to the get pool status by Id internal server error response

func (*GetPoolStatusByIDInternalServerError) WriteResponse

WriteResponse to the client

type GetPoolStatusByIDOK

type GetPoolStatusByIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.Status `json:"body,omitempty"`
}

GetPoolStatusByIDOK get pool status by Id o k

swagger:response getPoolStatusByIdOK

func NewGetPoolStatusByIDOK

func NewGetPoolStatusByIDOK() *GetPoolStatusByIDOK

NewGetPoolStatusByIDOK creates GetPoolStatusByIDOK with default headers values

func (*GetPoolStatusByIDOK) SetPayload

func (o *GetPoolStatusByIDOK) SetPayload(payload *models.Status)

SetPayload sets the payload to the get pool status by Id o k response

func (*GetPoolStatusByIDOK) WithPayload

func (o *GetPoolStatusByIDOK) WithPayload(payload *models.Status) *GetPoolStatusByIDOK

WithPayload adds the payload to the get pool status by Id o k response

func (*GetPoolStatusByIDOK) WriteResponse

func (o *GetPoolStatusByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetPoolStatusByIDParams

type GetPoolStatusByIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Duration *float64
	/*
	  Required: true
	  In: path
	*/
	PoolID string
}

GetPoolStatusByIDParams contains all the bound params for the get pool status by ID operation typically these are obtained from a http.Request

swagger:parameters getPoolStatusByID

func NewGetPoolStatusByIDParams

func NewGetPoolStatusByIDParams() GetPoolStatusByIDParams

NewGetPoolStatusByIDParams creates a new GetPoolStatusByIDParams object

There are no default values defined in the spec.

func (*GetPoolStatusByIDParams) BindRequest

func (o *GetPoolStatusByIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetPoolStatusByIDParams() beforehand.

type GetPoolStatusByIDURL

type GetPoolStatusByIDURL struct {
	PoolID string

	Duration *float64
	// contains filtered or unexported fields
}

GetPoolStatusByIDURL generates an URL for the get pool status by ID operation

func (*GetPoolStatusByIDURL) Build

func (o *GetPoolStatusByIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetPoolStatusByIDURL) BuildFull

func (o *GetPoolStatusByIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetPoolStatusByIDURL) Must

func (o *GetPoolStatusByIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetPoolStatusByIDURL) SetBasePath

func (o *GetPoolStatusByIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetPoolStatusByIDURL) String

func (o *GetPoolStatusByIDURL) String() string

String returns the string representation of the path with query string

func (*GetPoolStatusByIDURL) StringFull

func (o *GetPoolStatusByIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetPoolStatusByIDURL) WithBasePath

func (o *GetPoolStatusByIDURL) WithBasePath(bp string) *GetPoolStatusByIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetPoolStatusByIDUnauthorized

type GetPoolStatusByIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

GetPoolStatusByIDUnauthorized Unauthorized

swagger:response getPoolStatusByIdUnauthorized

func NewGetPoolStatusByIDUnauthorized

func NewGetPoolStatusByIDUnauthorized() *GetPoolStatusByIDUnauthorized

NewGetPoolStatusByIDUnauthorized creates GetPoolStatusByIDUnauthorized with default headers values

func (*GetPoolStatusByIDUnauthorized) SetPayload

func (o *GetPoolStatusByIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the get pool status by Id unauthorized response

func (*GetPoolStatusByIDUnauthorized) WithPayload

func (o *GetPoolStatusByIDUnauthorized) WithPayload(payload interface{}) *GetPoolStatusByIDUnauthorized

WithPayload adds the payload to the get pool status by Id unauthorized response

func (*GetPoolStatusByIDUnauthorized) WriteResponse

func (o *GetPoolStatusByIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RequestSessionByPoolID

type RequestSessionByPoolID struct {
	Context *middleware.Context
	Handler RequestSessionByPoolIDHandler
}
RequestSessionByPoolID swagger:route POST /pools/{pool_id}/sessions pools requestSessionByPoolId

Requests a session from a pool

Request a session on an activity from the pool

func NewRequestSessionByPoolID

func NewRequestSessionByPoolID(ctx *middleware.Context, handler RequestSessionByPoolIDHandler) *RequestSessionByPoolID

NewRequestSessionByPoolID creates a new http.Handler for the request session by pool ID operation

func (*RequestSessionByPoolID) ServeHTTP

func (o *RequestSessionByPoolID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RequestSessionByPoolIDHandler

type RequestSessionByPoolIDHandler interface {
	Handle(RequestSessionByPoolIDParams, interface{}) middleware.Responder
}

RequestSessionByPoolIDHandler interface for that can handle valid request session by pool ID params

type RequestSessionByPoolIDHandlerFunc

type RequestSessionByPoolIDHandlerFunc func(RequestSessionByPoolIDParams, interface{}) middleware.Responder

RequestSessionByPoolIDHandlerFunc turns a function with the right signature into a request session by pool ID handler

func (RequestSessionByPoolIDHandlerFunc) Handle

Handle executing the request and returning a response

type RequestSessionByPoolIDInternalServerError

type RequestSessionByPoolIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

RequestSessionByPoolIDInternalServerError Internal Error

swagger:response requestSessionByPoolIdInternalServerError

func NewRequestSessionByPoolIDInternalServerError

func NewRequestSessionByPoolIDInternalServerError() *RequestSessionByPoolIDInternalServerError

NewRequestSessionByPoolIDInternalServerError creates RequestSessionByPoolIDInternalServerError with default headers values

func (*RequestSessionByPoolIDInternalServerError) SetPayload

func (o *RequestSessionByPoolIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the request session by pool Id internal server error response

func (*RequestSessionByPoolIDInternalServerError) WithPayload

WithPayload adds the payload to the request session by pool Id internal server error response

func (*RequestSessionByPoolIDInternalServerError) WriteResponse

WriteResponse to the client

type RequestSessionByPoolIDNotFound

type RequestSessionByPoolIDNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

RequestSessionByPoolIDNotFound Not Available

swagger:response requestSessionByPoolIdNotFound

func NewRequestSessionByPoolIDNotFound

func NewRequestSessionByPoolIDNotFound() *RequestSessionByPoolIDNotFound

NewRequestSessionByPoolIDNotFound creates RequestSessionByPoolIDNotFound with default headers values

func (*RequestSessionByPoolIDNotFound) SetPayload

func (o *RequestSessionByPoolIDNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the request session by pool Id not found response

func (*RequestSessionByPoolIDNotFound) WithPayload

func (o *RequestSessionByPoolIDNotFound) WithPayload(payload interface{}) *RequestSessionByPoolIDNotFound

WithPayload adds the payload to the request session by pool Id not found response

func (*RequestSessionByPoolIDNotFound) WriteResponse

func (o *RequestSessionByPoolIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RequestSessionByPoolIDOK

type RequestSessionByPoolIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.Activity `json:"body,omitempty"`
}

RequestSessionByPoolIDOK request session by pool Id o k

swagger:response requestSessionByPoolIdOK

func NewRequestSessionByPoolIDOK

func NewRequestSessionByPoolIDOK() *RequestSessionByPoolIDOK

NewRequestSessionByPoolIDOK creates RequestSessionByPoolIDOK with default headers values

func (*RequestSessionByPoolIDOK) SetPayload

func (o *RequestSessionByPoolIDOK) SetPayload(payload *models.Activity)

SetPayload sets the payload to the request session by pool Id o k response

func (*RequestSessionByPoolIDOK) WithPayload

WithPayload adds the payload to the request session by pool Id o k response

func (*RequestSessionByPoolIDOK) WriteResponse

func (o *RequestSessionByPoolIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RequestSessionByPoolIDParams

type RequestSessionByPoolIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*duration of requested booking in seconds
	  Required: true
	  In: query
	*/
	Duration int64
	/*
	  Required: true
	  In: path
	*/
	PoolID string
}

RequestSessionByPoolIDParams contains all the bound params for the request session by pool ID operation typically these are obtained from a http.Request

swagger:parameters requestSessionByPoolID

func NewRequestSessionByPoolIDParams

func NewRequestSessionByPoolIDParams() RequestSessionByPoolIDParams

NewRequestSessionByPoolIDParams creates a new RequestSessionByPoolIDParams object

There are no default values defined in the spec.

func (*RequestSessionByPoolIDParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewRequestSessionByPoolIDParams() beforehand.

type RequestSessionByPoolIDPaymentRequired

type RequestSessionByPoolIDPaymentRequired struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

RequestSessionByPoolIDPaymentRequired Quota Exceeded

swagger:response requestSessionByPoolIdPaymentRequired

func NewRequestSessionByPoolIDPaymentRequired

func NewRequestSessionByPoolIDPaymentRequired() *RequestSessionByPoolIDPaymentRequired

NewRequestSessionByPoolIDPaymentRequired creates RequestSessionByPoolIDPaymentRequired with default headers values

func (*RequestSessionByPoolIDPaymentRequired) SetPayload

func (o *RequestSessionByPoolIDPaymentRequired) SetPayload(payload interface{})

SetPayload sets the payload to the request session by pool Id payment required response

func (*RequestSessionByPoolIDPaymentRequired) WithPayload

WithPayload adds the payload to the request session by pool Id payment required response

func (*RequestSessionByPoolIDPaymentRequired) WriteResponse

WriteResponse to the client

type RequestSessionByPoolIDURL

type RequestSessionByPoolIDURL struct {
	PoolID string

	Duration int64
	// contains filtered or unexported fields
}

RequestSessionByPoolIDURL generates an URL for the request session by pool ID operation

func (*RequestSessionByPoolIDURL) Build

func (o *RequestSessionByPoolIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*RequestSessionByPoolIDURL) BuildFull

func (o *RequestSessionByPoolIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RequestSessionByPoolIDURL) Must

func (o *RequestSessionByPoolIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*RequestSessionByPoolIDURL) SetBasePath

func (o *RequestSessionByPoolIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*RequestSessionByPoolIDURL) String

func (o *RequestSessionByPoolIDURL) String() string

String returns the string representation of the path with query string

func (*RequestSessionByPoolIDURL) StringFull

func (o *RequestSessionByPoolIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RequestSessionByPoolIDURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type RequestSessionByPoolIDUnauthorized

type RequestSessionByPoolIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

RequestSessionByPoolIDUnauthorized Unauthorized

swagger:response requestSessionByPoolIdUnauthorized

func NewRequestSessionByPoolIDUnauthorized

func NewRequestSessionByPoolIDUnauthorized() *RequestSessionByPoolIDUnauthorized

NewRequestSessionByPoolIDUnauthorized creates RequestSessionByPoolIDUnauthorized with default headers values

func (*RequestSessionByPoolIDUnauthorized) SetPayload

func (o *RequestSessionByPoolIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the request session by pool Id unauthorized response

func (*RequestSessionByPoolIDUnauthorized) WithPayload

func (o *RequestSessionByPoolIDUnauthorized) WithPayload(payload interface{}) *RequestSessionByPoolIDUnauthorized

WithPayload adds the payload to the request session by pool Id unauthorized response

func (*RequestSessionByPoolIDUnauthorized) WriteResponse

WriteResponse to the client

type UpdateActivityByID

type UpdateActivityByID struct {
	Context *middleware.Context
	Handler UpdateActivityByIDHandler
}
UpdateActivityByID swagger:route PUT /pools/{pool_id}/activities/{activity_id} pools updateActivityById

Update an activity in a pool

Updates an activity in a pool (or adds one with a specific ID if does not exist)

func NewUpdateActivityByID

func NewUpdateActivityByID(ctx *middleware.Context, handler UpdateActivityByIDHandler) *UpdateActivityByID

NewUpdateActivityByID creates a new http.Handler for the update activity by ID operation

func (*UpdateActivityByID) ServeHTTP

func (o *UpdateActivityByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateActivityByIDHandler

type UpdateActivityByIDHandler interface {
	Handle(UpdateActivityByIDParams, interface{}) middleware.Responder
}

UpdateActivityByIDHandler interface for that can handle valid update activity by ID params

type UpdateActivityByIDHandlerFunc

type UpdateActivityByIDHandlerFunc func(UpdateActivityByIDParams, interface{}) middleware.Responder

UpdateActivityByIDHandlerFunc turns a function with the right signature into a update activity by ID handler

func (UpdateActivityByIDHandlerFunc) Handle

func (fn UpdateActivityByIDHandlerFunc) Handle(params UpdateActivityByIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateActivityByIDInternalServerError

type UpdateActivityByIDInternalServerError struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

UpdateActivityByIDInternalServerError Internal Error

swagger:response updateActivityByIdInternalServerError

func NewUpdateActivityByIDInternalServerError

func NewUpdateActivityByIDInternalServerError() *UpdateActivityByIDInternalServerError

NewUpdateActivityByIDInternalServerError creates UpdateActivityByIDInternalServerError with default headers values

func (*UpdateActivityByIDInternalServerError) SetPayload

func (o *UpdateActivityByIDInternalServerError) SetPayload(payload interface{})

SetPayload sets the payload to the update activity by Id internal server error response

func (*UpdateActivityByIDInternalServerError) WithPayload

WithPayload adds the payload to the update activity by Id internal server error response

func (*UpdateActivityByIDInternalServerError) WriteResponse

WriteResponse to the client

type UpdateActivityByIDNotFound

type UpdateActivityByIDNotFound struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

UpdateActivityByIDNotFound Not Found

swagger:response updateActivityByIdNotFound

func NewUpdateActivityByIDNotFound

func NewUpdateActivityByIDNotFound() *UpdateActivityByIDNotFound

NewUpdateActivityByIDNotFound creates UpdateActivityByIDNotFound with default headers values

func (*UpdateActivityByIDNotFound) SetPayload

func (o *UpdateActivityByIDNotFound) SetPayload(payload interface{})

SetPayload sets the payload to the update activity by Id not found response

func (*UpdateActivityByIDNotFound) WithPayload

func (o *UpdateActivityByIDNotFound) WithPayload(payload interface{}) *UpdateActivityByIDNotFound

WithPayload adds the payload to the update activity by Id not found response

func (*UpdateActivityByIDNotFound) WriteResponse

func (o *UpdateActivityByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateActivityByIDOK

type UpdateActivityByIDOK struct {

	/*
	  In: Body
	*/
	Payload *models.ID `json:"body,omitempty"`
}

UpdateActivityByIDOK OK

swagger:response updateActivityByIdOK

func NewUpdateActivityByIDOK

func NewUpdateActivityByIDOK() *UpdateActivityByIDOK

NewUpdateActivityByIDOK creates UpdateActivityByIDOK with default headers values

func (*UpdateActivityByIDOK) SetPayload

func (o *UpdateActivityByIDOK) SetPayload(payload *models.ID)

SetPayload sets the payload to the update activity by Id o k response

func (*UpdateActivityByIDOK) WithPayload

func (o *UpdateActivityByIDOK) WithPayload(payload *models.ID) *UpdateActivityByIDOK

WithPayload adds the payload to the update activity by Id o k response

func (*UpdateActivityByIDOK) WriteResponse

func (o *UpdateActivityByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateActivityByIDParams

type UpdateActivityByIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Activity *models.Activity
	/*
	  Required: true
	  In: path
	*/
	ActivityID string
	/*
	  Required: true
	  In: path
	*/
	PoolID string
}

UpdateActivityByIDParams contains all the bound params for the update activity by ID operation typically these are obtained from a http.Request

swagger:parameters updateActivityByID

func NewUpdateActivityByIDParams

func NewUpdateActivityByIDParams() UpdateActivityByIDParams

NewUpdateActivityByIDParams creates a new UpdateActivityByIDParams object

There are no default values defined in the spec.

func (*UpdateActivityByIDParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateActivityByIDParams() beforehand.

type UpdateActivityByIDURL

type UpdateActivityByIDURL struct {
	ActivityID string
	PoolID     string
	// contains filtered or unexported fields
}

UpdateActivityByIDURL generates an URL for the update activity by ID operation

func (*UpdateActivityByIDURL) Build

func (o *UpdateActivityByIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateActivityByIDURL) BuildFull

func (o *UpdateActivityByIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateActivityByIDURL) Must

func (o *UpdateActivityByIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateActivityByIDURL) SetBasePath

func (o *UpdateActivityByIDURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateActivityByIDURL) String

func (o *UpdateActivityByIDURL) String() string

String returns the string representation of the path with query string

func (*UpdateActivityByIDURL) StringFull

func (o *UpdateActivityByIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateActivityByIDURL) WithBasePath

func (o *UpdateActivityByIDURL) WithBasePath(bp string) *UpdateActivityByIDURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateActivityByIDUnauthorized

type UpdateActivityByIDUnauthorized struct {

	/*
	  In: Body
	*/
	Payload interface{} `json:"body,omitempty"`
}

UpdateActivityByIDUnauthorized Unauthorized

swagger:response updateActivityByIdUnauthorized

func NewUpdateActivityByIDUnauthorized

func NewUpdateActivityByIDUnauthorized() *UpdateActivityByIDUnauthorized

NewUpdateActivityByIDUnauthorized creates UpdateActivityByIDUnauthorized with default headers values

func (*UpdateActivityByIDUnauthorized) SetPayload

func (o *UpdateActivityByIDUnauthorized) SetPayload(payload interface{})

SetPayload sets the payload to the update activity by Id unauthorized response

func (*UpdateActivityByIDUnauthorized) WithPayload

func (o *UpdateActivityByIDUnauthorized) WithPayload(payload interface{}) *UpdateActivityByIDUnauthorized

WithPayload adds the payload to the update activity by Id unauthorized response

func (*UpdateActivityByIDUnauthorized) WriteResponse

func (o *UpdateActivityByIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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