Documentation ¶
Index ¶
- Constants
- type DeletePoolStore
- type DeletePoolStoreHandler
- type DeletePoolStoreHandlerFunc
- type DeletePoolStoreInternalServerError
- func (o *DeletePoolStoreInternalServerError) SetPayload(payload interface{})
- func (o *DeletePoolStoreInternalServerError) WithPayload(payload interface{}) *DeletePoolStoreInternalServerError
- func (o *DeletePoolStoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeletePoolStoreNotFound
- type DeletePoolStoreParams
- type DeletePoolStoreURL
- func (o *DeletePoolStoreURL) Build() (*url.URL, error)
- func (o *DeletePoolStoreURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeletePoolStoreURL) Must(u *url.URL, err error) *url.URL
- func (o *DeletePoolStoreURL) SetBasePath(bp string)
- func (o *DeletePoolStoreURL) String() string
- func (o *DeletePoolStoreURL) StringFull(scheme, host string) string
- func (o *DeletePoolStoreURL) WithBasePath(bp string) *DeletePoolStoreURL
- type DeletePoolStoreUnauthorized
- type ExportPoolStore
- type ExportPoolStoreHandler
- type ExportPoolStoreHandlerFunc
- type ExportPoolStoreInternalServerError
- func (o *ExportPoolStoreInternalServerError) SetPayload(payload interface{})
- func (o *ExportPoolStoreInternalServerError) WithPayload(payload interface{}) *ExportPoolStoreInternalServerError
- func (o *ExportPoolStoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportPoolStoreOK
- type ExportPoolStoreParams
- type ExportPoolStoreURL
- func (o *ExportPoolStoreURL) Build() (*url.URL, error)
- func (o *ExportPoolStoreURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExportPoolStoreURL) Must(u *url.URL, err error) *url.URL
- func (o *ExportPoolStoreURL) SetBasePath(bp string)
- func (o *ExportPoolStoreURL) String() string
- func (o *ExportPoolStoreURL) StringFull(scheme, host string) string
- func (o *ExportPoolStoreURL) WithBasePath(bp string) *ExportPoolStoreURL
- type ExportPoolStoreUnauthorized
- type GetStoreStatus
- type GetStoreStatusHandler
- type GetStoreStatusHandlerFunc
- type GetStoreStatusInternalServerError
- type GetStoreStatusOK
- type GetStoreStatusParams
- type GetStoreStatusURL
- func (o *GetStoreStatusURL) Build() (*url.URL, error)
- func (o *GetStoreStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetStoreStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *GetStoreStatusURL) SetBasePath(bp string)
- func (o *GetStoreStatusURL) String() string
- func (o *GetStoreStatusURL) StringFull(scheme, host string) string
- func (o *GetStoreStatusURL) WithBasePath(bp string) *GetStoreStatusURL
- type GetStoreStatusUnauthorized
- type ImportPoolStore
- type ImportPoolStoreHandler
- type ImportPoolStoreHandlerFunc
- type ImportPoolStoreInternalServerError
- func (o *ImportPoolStoreInternalServerError) SetPayload(payload interface{})
- func (o *ImportPoolStoreInternalServerError) WithPayload(payload interface{}) *ImportPoolStoreInternalServerError
- func (o *ImportPoolStoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ImportPoolStoreOK
- type ImportPoolStoreParams
- type ImportPoolStoreURL
- func (o *ImportPoolStoreURL) Build() (*url.URL, error)
- func (o *ImportPoolStoreURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ImportPoolStoreURL) Must(u *url.URL, err error) *url.URL
- func (o *ImportPoolStoreURL) SetBasePath(bp string)
- func (o *ImportPoolStoreURL) String() string
- func (o *ImportPoolStoreURL) StringFull(scheme, host string) string
- func (o *ImportPoolStoreURL) WithBasePath(bp string) *ImportPoolStoreURL
- type ImportPoolStoreUnauthorized
- type SetLock
- type SetLockHandler
- type SetLockHandlerFunc
- type SetLockInternalServerError
- type SetLockOK
- type SetLockParams
- type SetLockURL
- func (o *SetLockURL) Build() (*url.URL, error)
- func (o *SetLockURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetLockURL) Must(u *url.URL, err error) *url.URL
- func (o *SetLockURL) SetBasePath(bp string)
- func (o *SetLockURL) String() string
- func (o *SetLockURL) StringFull(scheme, host string) string
- func (o *SetLockURL) WithBasePath(bp string) *SetLockURL
- type SetLockUnauthorized
Constants ¶
const DeletePoolStoreInternalServerErrorCode int = 500
DeletePoolStoreInternalServerErrorCode is the HTTP code returned for type DeletePoolStoreInternalServerError
const DeletePoolStoreNotFoundCode int = 404
DeletePoolStoreNotFoundCode is the HTTP code returned for type DeletePoolStoreNotFound
DeletePoolStoreUnauthorizedCode is the HTTP code returned for type DeletePoolStoreUnauthorized
const ExportPoolStoreInternalServerErrorCode int = 500
ExportPoolStoreInternalServerErrorCode is the HTTP code returned for type ExportPoolStoreInternalServerError
const ExportPoolStoreOKCode int = 200
ExportPoolStoreOKCode is the HTTP code returned for type ExportPoolStoreOK
ExportPoolStoreUnauthorizedCode is the HTTP code returned for type ExportPoolStoreUnauthorized
const GetStoreStatusInternalServerErrorCode int = 500
GetStoreStatusInternalServerErrorCode is the HTTP code returned for type GetStoreStatusInternalServerError
const GetStoreStatusOKCode int = 200
GetStoreStatusOKCode is the HTTP code returned for type GetStoreStatusOK
GetStoreStatusUnauthorizedCode is the HTTP code returned for type GetStoreStatusUnauthorized
const ImportPoolStoreInternalServerErrorCode int = 500
ImportPoolStoreInternalServerErrorCode is the HTTP code returned for type ImportPoolStoreInternalServerError
const ImportPoolStoreOKCode int = 200
ImportPoolStoreOKCode is the HTTP code returned for type ImportPoolStoreOK
ImportPoolStoreUnauthorizedCode is the HTTP code returned for type ImportPoolStoreUnauthorized
const SetLockInternalServerErrorCode int = 500
SetLockInternalServerErrorCode is the HTTP code returned for type SetLockInternalServerError
const SetLockOKCode int = 200
SetLockOKCode is the HTTP code returned for type SetLockOK
SetLockUnauthorizedCode is the HTTP code returned for type SetLockUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletePoolStore ¶
type DeletePoolStore struct { Context *middleware.Context Handler DeletePoolStoreHandler }
DeletePoolStore swagger:route DELETE /admin/poolstore admin deletePoolStore
Delete current state ¶
Delete the contents of the pool store including bookings
func NewDeletePoolStore ¶
func NewDeletePoolStore(ctx *middleware.Context, handler DeletePoolStoreHandler) *DeletePoolStore
NewDeletePoolStore creates a new http.Handler for the delete pool store operation
func (*DeletePoolStore) ServeHTTP ¶
func (o *DeletePoolStore) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeletePoolStoreHandler ¶
type DeletePoolStoreHandler interface {
Handle(DeletePoolStoreParams, interface{}) middleware.Responder
}
DeletePoolStoreHandler interface for that can handle valid delete pool store params
type DeletePoolStoreHandlerFunc ¶
type DeletePoolStoreHandlerFunc func(DeletePoolStoreParams, interface{}) middleware.Responder
DeletePoolStoreHandlerFunc turns a function with the right signature into a delete pool store handler
func (DeletePoolStoreHandlerFunc) Handle ¶
func (fn DeletePoolStoreHandlerFunc) Handle(params DeletePoolStoreParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeletePoolStoreInternalServerError ¶
type DeletePoolStoreInternalServerError struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
DeletePoolStoreInternalServerError delete pool store internal server error
swagger:response deletePoolStoreInternalServerError
func NewDeletePoolStoreInternalServerError ¶
func NewDeletePoolStoreInternalServerError() *DeletePoolStoreInternalServerError
NewDeletePoolStoreInternalServerError creates DeletePoolStoreInternalServerError with default headers values
func (*DeletePoolStoreInternalServerError) SetPayload ¶
func (o *DeletePoolStoreInternalServerError) SetPayload(payload interface{})
SetPayload sets the payload to the delete pool store internal server error response
func (*DeletePoolStoreInternalServerError) WithPayload ¶
func (o *DeletePoolStoreInternalServerError) WithPayload(payload interface{}) *DeletePoolStoreInternalServerError
WithPayload adds the payload to the delete pool store internal server error response
func (*DeletePoolStoreInternalServerError) WriteResponse ¶
func (o *DeletePoolStoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePoolStoreNotFound ¶
type DeletePoolStoreNotFound struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
DeletePoolStoreNotFound Unauthorized
swagger:response deletePoolStoreNotFound
func NewDeletePoolStoreNotFound ¶
func NewDeletePoolStoreNotFound() *DeletePoolStoreNotFound
NewDeletePoolStoreNotFound creates DeletePoolStoreNotFound with default headers values
func (*DeletePoolStoreNotFound) SetPayload ¶
func (o *DeletePoolStoreNotFound) SetPayload(payload interface{})
SetPayload sets the payload to the delete pool store not found response
func (*DeletePoolStoreNotFound) WithPayload ¶
func (o *DeletePoolStoreNotFound) WithPayload(payload interface{}) *DeletePoolStoreNotFound
WithPayload adds the payload to the delete pool store not found response
func (*DeletePoolStoreNotFound) WriteResponse ¶
func (o *DeletePoolStoreNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePoolStoreParams ¶
DeletePoolStoreParams contains all the bound params for the delete pool store operation typically these are obtained from a http.Request
swagger:parameters deletePoolStore
func NewDeletePoolStoreParams ¶
func NewDeletePoolStoreParams() DeletePoolStoreParams
NewDeletePoolStoreParams creates a new DeletePoolStoreParams object
There are no default values defined in the spec.
func (*DeletePoolStoreParams) BindRequest ¶
func (o *DeletePoolStoreParams) 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 NewDeletePoolStoreParams() beforehand.
type DeletePoolStoreURL ¶
type DeletePoolStoreURL struct {
// contains filtered or unexported fields
}
DeletePoolStoreURL generates an URL for the delete pool store operation
func (*DeletePoolStoreURL) Build ¶
func (o *DeletePoolStoreURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeletePoolStoreURL) BuildFull ¶
func (o *DeletePoolStoreURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeletePoolStoreURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeletePoolStoreURL) SetBasePath ¶
func (o *DeletePoolStoreURL) 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 (*DeletePoolStoreURL) String ¶
func (o *DeletePoolStoreURL) String() string
String returns the string representation of the path with query string
func (*DeletePoolStoreURL) StringFull ¶
func (o *DeletePoolStoreURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeletePoolStoreURL) WithBasePath ¶
func (o *DeletePoolStoreURL) WithBasePath(bp string) *DeletePoolStoreURL
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 DeletePoolStoreUnauthorized ¶
type DeletePoolStoreUnauthorized struct {
Payload interface{} `json:"body,omitempty"`
}DeletePoolStoreUnauthorized Unauthorized
swagger:response deletePoolStoreUnauthorized
func NewDeletePoolStoreUnauthorized ¶
func NewDeletePoolStoreUnauthorized() *DeletePoolStoreUnauthorized
NewDeletePoolStoreUnauthorized creates DeletePoolStoreUnauthorized with default headers values
func (*DeletePoolStoreUnauthorized) SetPayload ¶
func (o *DeletePoolStoreUnauthorized) SetPayload(payload interface{})
SetPayload sets the payload to the delete pool store unauthorized response
func (*DeletePoolStoreUnauthorized) WithPayload ¶
func (o *DeletePoolStoreUnauthorized) WithPayload(payload interface{}) *DeletePoolStoreUnauthorized
WithPayload adds the payload to the delete pool store unauthorized response
func (*DeletePoolStoreUnauthorized) WriteResponse ¶
func (o *DeletePoolStoreUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportPoolStore ¶
type ExportPoolStore struct { Context *middleware.Context Handler ExportPoolStoreHandler }
ExportPoolStore swagger:route GET /admin/poolstore admin exportPoolStore
Export current state ¶
Export the current pool store including bookings
func NewExportPoolStore ¶
func NewExportPoolStore(ctx *middleware.Context, handler ExportPoolStoreHandler) *ExportPoolStore
NewExportPoolStore creates a new http.Handler for the export pool store operation
func (*ExportPoolStore) ServeHTTP ¶
func (o *ExportPoolStore) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExportPoolStoreHandler ¶
type ExportPoolStoreHandler interface {
Handle(ExportPoolStoreParams, interface{}) middleware.Responder
}
ExportPoolStoreHandler interface for that can handle valid export pool store params
type ExportPoolStoreHandlerFunc ¶
type ExportPoolStoreHandlerFunc func(ExportPoolStoreParams, interface{}) middleware.Responder
ExportPoolStoreHandlerFunc turns a function with the right signature into a export pool store handler
func (ExportPoolStoreHandlerFunc) Handle ¶
func (fn ExportPoolStoreHandlerFunc) Handle(params ExportPoolStoreParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ExportPoolStoreInternalServerError ¶
type ExportPoolStoreInternalServerError struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
ExportPoolStoreInternalServerError export pool store internal server error
swagger:response exportPoolStoreInternalServerError
func NewExportPoolStoreInternalServerError ¶
func NewExportPoolStoreInternalServerError() *ExportPoolStoreInternalServerError
NewExportPoolStoreInternalServerError creates ExportPoolStoreInternalServerError with default headers values
func (*ExportPoolStoreInternalServerError) SetPayload ¶
func (o *ExportPoolStoreInternalServerError) SetPayload(payload interface{})
SetPayload sets the payload to the export pool store internal server error response
func (*ExportPoolStoreInternalServerError) WithPayload ¶
func (o *ExportPoolStoreInternalServerError) WithPayload(payload interface{}) *ExportPoolStoreInternalServerError
WithPayload adds the payload to the export pool store internal server error response
func (*ExportPoolStoreInternalServerError) WriteResponse ¶
func (o *ExportPoolStoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportPoolStoreOK ¶
ExportPoolStoreOK export pool store o k
swagger:response exportPoolStoreOK
func NewExportPoolStoreOK ¶
func NewExportPoolStoreOK() *ExportPoolStoreOK
NewExportPoolStoreOK creates ExportPoolStoreOK with default headers values
func (*ExportPoolStoreOK) SetPayload ¶
func (o *ExportPoolStoreOK) SetPayload(payload *models.Poolstore)
SetPayload sets the payload to the export pool store o k response
func (*ExportPoolStoreOK) WithPayload ¶
func (o *ExportPoolStoreOK) WithPayload(payload *models.Poolstore) *ExportPoolStoreOK
WithPayload adds the payload to the export pool store o k response
func (*ExportPoolStoreOK) WriteResponse ¶
func (o *ExportPoolStoreOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportPoolStoreParams ¶
ExportPoolStoreParams contains all the bound params for the export pool store operation typically these are obtained from a http.Request
swagger:parameters exportPoolStore
func NewExportPoolStoreParams ¶
func NewExportPoolStoreParams() ExportPoolStoreParams
NewExportPoolStoreParams creates a new ExportPoolStoreParams object
There are no default values defined in the spec.
func (*ExportPoolStoreParams) BindRequest ¶
func (o *ExportPoolStoreParams) 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 NewExportPoolStoreParams() beforehand.
type ExportPoolStoreURL ¶
type ExportPoolStoreURL struct {
// contains filtered or unexported fields
}
ExportPoolStoreURL generates an URL for the export pool store operation
func (*ExportPoolStoreURL) Build ¶
func (o *ExportPoolStoreURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExportPoolStoreURL) BuildFull ¶
func (o *ExportPoolStoreURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExportPoolStoreURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ExportPoolStoreURL) SetBasePath ¶
func (o *ExportPoolStoreURL) 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 (*ExportPoolStoreURL) String ¶
func (o *ExportPoolStoreURL) String() string
String returns the string representation of the path with query string
func (*ExportPoolStoreURL) StringFull ¶
func (o *ExportPoolStoreURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExportPoolStoreURL) WithBasePath ¶
func (o *ExportPoolStoreURL) WithBasePath(bp string) *ExportPoolStoreURL
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 ExportPoolStoreUnauthorized ¶
type ExportPoolStoreUnauthorized struct {
Payload interface{} `json:"body,omitempty"`
}ExportPoolStoreUnauthorized Unauthorized
swagger:response exportPoolStoreUnauthorized
func NewExportPoolStoreUnauthorized ¶
func NewExportPoolStoreUnauthorized() *ExportPoolStoreUnauthorized
NewExportPoolStoreUnauthorized creates ExportPoolStoreUnauthorized with default headers values
func (*ExportPoolStoreUnauthorized) SetPayload ¶
func (o *ExportPoolStoreUnauthorized) SetPayload(payload interface{})
SetPayload sets the payload to the export pool store unauthorized response
func (*ExportPoolStoreUnauthorized) WithPayload ¶
func (o *ExportPoolStoreUnauthorized) WithPayload(payload interface{}) *ExportPoolStoreUnauthorized
WithPayload adds the payload to the export pool store unauthorized response
func (*ExportPoolStoreUnauthorized) WriteResponse ¶
func (o *ExportPoolStoreUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStoreStatus ¶
type GetStoreStatus struct { Context *middleware.Context Handler GetStoreStatusHandler }
GetStoreStatus swagger:route GET /admin/status admin getStoreStatus
Get current status ¶
Get the current status (number of groups, pools, bookings, time til last booking finished etc)
func NewGetStoreStatus ¶
func NewGetStoreStatus(ctx *middleware.Context, handler GetStoreStatusHandler) *GetStoreStatus
NewGetStoreStatus creates a new http.Handler for the get store status operation
func (*GetStoreStatus) ServeHTTP ¶
func (o *GetStoreStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetStoreStatusHandler ¶
type GetStoreStatusHandler interface {
Handle(GetStoreStatusParams, interface{}) middleware.Responder
}
GetStoreStatusHandler interface for that can handle valid get store status params
type GetStoreStatusHandlerFunc ¶
type GetStoreStatusHandlerFunc func(GetStoreStatusParams, interface{}) middleware.Responder
GetStoreStatusHandlerFunc turns a function with the right signature into a get store status handler
func (GetStoreStatusHandlerFunc) Handle ¶
func (fn GetStoreStatusHandlerFunc) Handle(params GetStoreStatusParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetStoreStatusInternalServerError ¶
type GetStoreStatusInternalServerError struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
GetStoreStatusInternalServerError get store status internal server error
swagger:response getStoreStatusInternalServerError
func NewGetStoreStatusInternalServerError ¶
func NewGetStoreStatusInternalServerError() *GetStoreStatusInternalServerError
NewGetStoreStatusInternalServerError creates GetStoreStatusInternalServerError with default headers values
func (*GetStoreStatusInternalServerError) SetPayload ¶
func (o *GetStoreStatusInternalServerError) SetPayload(payload interface{})
SetPayload sets the payload to the get store status internal server error response
func (*GetStoreStatusInternalServerError) WithPayload ¶
func (o *GetStoreStatusInternalServerError) WithPayload(payload interface{}) *GetStoreStatusInternalServerError
WithPayload adds the payload to the get store status internal server error response
func (*GetStoreStatusInternalServerError) WriteResponse ¶
func (o *GetStoreStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStoreStatusOK ¶
type GetStoreStatusOK struct { /* In: Body */ Payload *models.StoreStatus `json:"body,omitempty"` }
GetStoreStatusOK get store status o k
swagger:response getStoreStatusOK
func NewGetStoreStatusOK ¶
func NewGetStoreStatusOK() *GetStoreStatusOK
NewGetStoreStatusOK creates GetStoreStatusOK with default headers values
func (*GetStoreStatusOK) SetPayload ¶
func (o *GetStoreStatusOK) SetPayload(payload *models.StoreStatus)
SetPayload sets the payload to the get store status o k response
func (*GetStoreStatusOK) WithPayload ¶
func (o *GetStoreStatusOK) WithPayload(payload *models.StoreStatus) *GetStoreStatusOK
WithPayload adds the payload to the get store status o k response
func (*GetStoreStatusOK) WriteResponse ¶
func (o *GetStoreStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStoreStatusParams ¶
GetStoreStatusParams contains all the bound params for the get store status operation typically these are obtained from a http.Request
swagger:parameters getStoreStatus
func NewGetStoreStatusParams ¶
func NewGetStoreStatusParams() GetStoreStatusParams
NewGetStoreStatusParams creates a new GetStoreStatusParams object
There are no default values defined in the spec.
func (*GetStoreStatusParams) BindRequest ¶
func (o *GetStoreStatusParams) 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 NewGetStoreStatusParams() beforehand.
type GetStoreStatusURL ¶
type GetStoreStatusURL struct {
// contains filtered or unexported fields
}
GetStoreStatusURL generates an URL for the get store status operation
func (*GetStoreStatusURL) Build ¶
func (o *GetStoreStatusURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetStoreStatusURL) BuildFull ¶
func (o *GetStoreStatusURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetStoreStatusURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetStoreStatusURL) SetBasePath ¶
func (o *GetStoreStatusURL) 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 (*GetStoreStatusURL) String ¶
func (o *GetStoreStatusURL) String() string
String returns the string representation of the path with query string
func (*GetStoreStatusURL) StringFull ¶
func (o *GetStoreStatusURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetStoreStatusURL) WithBasePath ¶
func (o *GetStoreStatusURL) WithBasePath(bp string) *GetStoreStatusURL
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 GetStoreStatusUnauthorized ¶
type GetStoreStatusUnauthorized struct {
Payload interface{} `json:"body,omitempty"`
}GetStoreStatusUnauthorized Unauthorized
swagger:response getStoreStatusUnauthorized
func NewGetStoreStatusUnauthorized ¶
func NewGetStoreStatusUnauthorized() *GetStoreStatusUnauthorized
NewGetStoreStatusUnauthorized creates GetStoreStatusUnauthorized with default headers values
func (*GetStoreStatusUnauthorized) SetPayload ¶
func (o *GetStoreStatusUnauthorized) SetPayload(payload interface{})
SetPayload sets the payload to the get store status unauthorized response
func (*GetStoreStatusUnauthorized) WithPayload ¶
func (o *GetStoreStatusUnauthorized) WithPayload(payload interface{}) *GetStoreStatusUnauthorized
WithPayload adds the payload to the get store status unauthorized response
func (*GetStoreStatusUnauthorized) WriteResponse ¶
func (o *GetStoreStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportPoolStore ¶
type ImportPoolStore struct { Context *middleware.Context Handler ImportPoolStoreHandler }
ImportPoolStore swagger:route POST /admin/poolstore admin importPoolStore
Import new current state ¶
Import a new pool store including bookings
func NewImportPoolStore ¶
func NewImportPoolStore(ctx *middleware.Context, handler ImportPoolStoreHandler) *ImportPoolStore
NewImportPoolStore creates a new http.Handler for the import pool store operation
func (*ImportPoolStore) ServeHTTP ¶
func (o *ImportPoolStore) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ImportPoolStoreHandler ¶
type ImportPoolStoreHandler interface {
Handle(ImportPoolStoreParams, interface{}) middleware.Responder
}
ImportPoolStoreHandler interface for that can handle valid import pool store params
type ImportPoolStoreHandlerFunc ¶
type ImportPoolStoreHandlerFunc func(ImportPoolStoreParams, interface{}) middleware.Responder
ImportPoolStoreHandlerFunc turns a function with the right signature into a import pool store handler
func (ImportPoolStoreHandlerFunc) Handle ¶
func (fn ImportPoolStoreHandlerFunc) Handle(params ImportPoolStoreParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ImportPoolStoreInternalServerError ¶
type ImportPoolStoreInternalServerError struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
ImportPoolStoreInternalServerError import pool store internal server error
swagger:response importPoolStoreInternalServerError
func NewImportPoolStoreInternalServerError ¶
func NewImportPoolStoreInternalServerError() *ImportPoolStoreInternalServerError
NewImportPoolStoreInternalServerError creates ImportPoolStoreInternalServerError with default headers values
func (*ImportPoolStoreInternalServerError) SetPayload ¶
func (o *ImportPoolStoreInternalServerError) SetPayload(payload interface{})
SetPayload sets the payload to the import pool store internal server error response
func (*ImportPoolStoreInternalServerError) WithPayload ¶
func (o *ImportPoolStoreInternalServerError) WithPayload(payload interface{}) *ImportPoolStoreInternalServerError
WithPayload adds the payload to the import pool store internal server error response
func (*ImportPoolStoreInternalServerError) WriteResponse ¶
func (o *ImportPoolStoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportPoolStoreOK ¶
type ImportPoolStoreOK struct { /* In: Body */ Payload *models.StoreStatus `json:"body,omitempty"` }
ImportPoolStoreOK import pool store o k
swagger:response importPoolStoreOK
func NewImportPoolStoreOK ¶
func NewImportPoolStoreOK() *ImportPoolStoreOK
NewImportPoolStoreOK creates ImportPoolStoreOK with default headers values
func (*ImportPoolStoreOK) SetPayload ¶
func (o *ImportPoolStoreOK) SetPayload(payload *models.StoreStatus)
SetPayload sets the payload to the import pool store o k response
func (*ImportPoolStoreOK) WithPayload ¶
func (o *ImportPoolStoreOK) WithPayload(payload *models.StoreStatus) *ImportPoolStoreOK
WithPayload adds the payload to the import pool store o k response
func (*ImportPoolStoreOK) WriteResponse ¶
func (o *ImportPoolStoreOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportPoolStoreParams ¶
type ImportPoolStoreParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Poolstore *models.Poolstore }
ImportPoolStoreParams contains all the bound params for the import pool store operation typically these are obtained from a http.Request
swagger:parameters importPoolStore
func NewImportPoolStoreParams ¶
func NewImportPoolStoreParams() ImportPoolStoreParams
NewImportPoolStoreParams creates a new ImportPoolStoreParams object
There are no default values defined in the spec.
func (*ImportPoolStoreParams) BindRequest ¶
func (o *ImportPoolStoreParams) 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 NewImportPoolStoreParams() beforehand.
type ImportPoolStoreURL ¶
type ImportPoolStoreURL struct {
// contains filtered or unexported fields
}
ImportPoolStoreURL generates an URL for the import pool store operation
func (*ImportPoolStoreURL) Build ¶
func (o *ImportPoolStoreURL) Build() (*url.URL, error)
Build a url path and query string
func (*ImportPoolStoreURL) BuildFull ¶
func (o *ImportPoolStoreURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ImportPoolStoreURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ImportPoolStoreURL) SetBasePath ¶
func (o *ImportPoolStoreURL) 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 (*ImportPoolStoreURL) String ¶
func (o *ImportPoolStoreURL) String() string
String returns the string representation of the path with query string
func (*ImportPoolStoreURL) StringFull ¶
func (o *ImportPoolStoreURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ImportPoolStoreURL) WithBasePath ¶
func (o *ImportPoolStoreURL) WithBasePath(bp string) *ImportPoolStoreURL
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 ImportPoolStoreUnauthorized ¶
type ImportPoolStoreUnauthorized struct {
Payload interface{} `json:"body,omitempty"`
}ImportPoolStoreUnauthorized Unauthorized
swagger:response importPoolStoreUnauthorized
func NewImportPoolStoreUnauthorized ¶
func NewImportPoolStoreUnauthorized() *ImportPoolStoreUnauthorized
NewImportPoolStoreUnauthorized creates ImportPoolStoreUnauthorized with default headers values
func (*ImportPoolStoreUnauthorized) SetPayload ¶
func (o *ImportPoolStoreUnauthorized) SetPayload(payload interface{})
SetPayload sets the payload to the import pool store unauthorized response
func (*ImportPoolStoreUnauthorized) WithPayload ¶
func (o *ImportPoolStoreUnauthorized) WithPayload(payload interface{}) *ImportPoolStoreUnauthorized
WithPayload adds the payload to the import pool store unauthorized response
func (*ImportPoolStoreUnauthorized) WriteResponse ¶
func (o *ImportPoolStoreUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetLock ¶
type SetLock struct { Context *middleware.Context Handler SetLockHandler }
SetLock swagger:route POST /admin/status admin setLock
set/release booking lock
Set whether the bookings are locked or not
func NewSetLock ¶
func NewSetLock(ctx *middleware.Context, handler SetLockHandler) *SetLock
NewSetLock creates a new http.Handler for the set lock operation
type SetLockHandler ¶
type SetLockHandler interface {
Handle(SetLockParams, interface{}) middleware.Responder
}
SetLockHandler interface for that can handle valid set lock params
type SetLockHandlerFunc ¶
type SetLockHandlerFunc func(SetLockParams, interface{}) middleware.Responder
SetLockHandlerFunc turns a function with the right signature into a set lock handler
func (SetLockHandlerFunc) Handle ¶
func (fn SetLockHandlerFunc) Handle(params SetLockParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type SetLockInternalServerError ¶
type SetLockInternalServerError struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
SetLockInternalServerError set lock internal server error
swagger:response setLockInternalServerError
func NewSetLockInternalServerError ¶
func NewSetLockInternalServerError() *SetLockInternalServerError
NewSetLockInternalServerError creates SetLockInternalServerError with default headers values
func (*SetLockInternalServerError) SetPayload ¶
func (o *SetLockInternalServerError) SetPayload(payload interface{})
SetPayload sets the payload to the set lock internal server error response
func (*SetLockInternalServerError) WithPayload ¶
func (o *SetLockInternalServerError) WithPayload(payload interface{}) *SetLockInternalServerError
WithPayload adds the payload to the set lock internal server error response
func (*SetLockInternalServerError) WriteResponse ¶
func (o *SetLockInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetLockOK ¶
type SetLockOK struct { /* In: Body */ Payload *models.StoreStatus `json:"body,omitempty"` }
SetLockOK set lock o k
swagger:response setLockOK
func NewSetLockOK ¶
func NewSetLockOK() *SetLockOK
NewSetLockOK creates SetLockOK with default headers values
func (*SetLockOK) SetPayload ¶
func (o *SetLockOK) SetPayload(payload *models.StoreStatus)
SetPayload sets the payload to the set lock o k response
func (*SetLockOK) WithPayload ¶
func (o *SetLockOK) WithPayload(payload *models.StoreStatus) *SetLockOK
WithPayload adds the payload to the set lock o k response
func (*SetLockOK) WriteResponse ¶
func (o *SetLockOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetLockParams ¶
type SetLockParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*set booking lock Required: true In: query */ Lock bool /*set message of the day (use query so it can be seen in server logs) In: query */ Msg *string }
SetLockParams contains all the bound params for the set lock operation typically these are obtained from a http.Request
swagger:parameters setLock
func NewSetLockParams ¶
func NewSetLockParams() SetLockParams
NewSetLockParams creates a new SetLockParams object
There are no default values defined in the spec.
func (*SetLockParams) BindRequest ¶
func (o *SetLockParams) 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 NewSetLockParams() beforehand.
type SetLockURL ¶
SetLockURL generates an URL for the set lock operation
func (*SetLockURL) Build ¶
func (o *SetLockURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetLockURL) BuildFull ¶
func (o *SetLockURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetLockURL) SetBasePath ¶
func (o *SetLockURL) 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 (*SetLockURL) String ¶
func (o *SetLockURL) String() string
String returns the string representation of the path with query string
func (*SetLockURL) StringFull ¶
func (o *SetLockURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetLockURL) WithBasePath ¶
func (o *SetLockURL) WithBasePath(bp string) *SetLockURL
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 SetLockUnauthorized ¶
type SetLockUnauthorized struct {
Payload interface{} `json:"body,omitempty"`
}SetLockUnauthorized Unauthorized
swagger:response setLockUnauthorized
func NewSetLockUnauthorized ¶
func NewSetLockUnauthorized() *SetLockUnauthorized
NewSetLockUnauthorized creates SetLockUnauthorized with default headers values
func (*SetLockUnauthorized) SetPayload ¶
func (o *SetLockUnauthorized) SetPayload(payload interface{})
SetPayload sets the payload to the set lock unauthorized response
func (*SetLockUnauthorized) WithPayload ¶
func (o *SetLockUnauthorized) WithPayload(payload interface{}) *SetLockUnauthorized
WithPayload adds the payload to the set lock unauthorized response
func (*SetLockUnauthorized) WriteResponse ¶
func (o *SetLockUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- delete_pool_store.go
- delete_pool_store_parameters.go
- delete_pool_store_responses.go
- delete_pool_store_urlbuilder.go
- export_pool_store.go
- export_pool_store_parameters.go
- export_pool_store_responses.go
- export_pool_store_urlbuilder.go
- get_store_status.go
- get_store_status_parameters.go
- get_store_status_responses.go
- get_store_status_urlbuilder.go
- import_pool_store.go
- import_pool_store_parameters.go
- import_pool_store_responses.go
- import_pool_store_urlbuilder.go
- set_lock.go
- set_lock_parameters.go
- set_lock_responses.go
- set_lock_urlbuilder.go