Documentation ¶
Index ¶
- Constants
- type CheckManifest
- type CheckManifestHandler
- type CheckManifestHandlerFunc
- type CheckManifestInternalServerError
- type CheckManifestNoContent
- type CheckManifestNotFound
- type CheckManifestParams
- type CheckManifestURL
- func (o *CheckManifestURL) Build() (*url.URL, error)
- func (o *CheckManifestURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CheckManifestURL) Must(u *url.URL, err error) *url.URL
- func (o *CheckManifestURL) SetBasePath(bp string)
- func (o *CheckManifestURL) String() string
- func (o *CheckManifestURL) StringFull(scheme, host string) string
- func (o *CheckManifestURL) WithBasePath(bp string) *CheckManifestURL
- type CheckManifestUnauthorized
- type ExportBookings
- type ExportBookingsHandler
- type ExportBookingsHandlerFunc
- type ExportBookingsInternalServerError
- func (o *ExportBookingsInternalServerError) SetPayload(payload *models.Error)
- func (o *ExportBookingsInternalServerError) WithPayload(payload *models.Error) *ExportBookingsInternalServerError
- func (o *ExportBookingsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportBookingsNotFound
- type ExportBookingsOK
- type ExportBookingsParams
- type ExportBookingsURL
- func (o *ExportBookingsURL) Build() (*url.URL, error)
- func (o *ExportBookingsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExportBookingsURL) Must(u *url.URL, err error) *url.URL
- func (o *ExportBookingsURL) SetBasePath(bp string)
- func (o *ExportBookingsURL) String() string
- func (o *ExportBookingsURL) StringFull(scheme, host string) string
- func (o *ExportBookingsURL) WithBasePath(bp string) *ExportBookingsURL
- type ExportBookingsUnauthorized
- type ExportManifest
- type ExportManifestHandler
- type ExportManifestHandlerFunc
- type ExportManifestInternalServerError
- func (o *ExportManifestInternalServerError) SetPayload(payload *models.Error)
- func (o *ExportManifestInternalServerError) WithPayload(payload *models.Error) *ExportManifestInternalServerError
- func (o *ExportManifestInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportManifestNotFound
- type ExportManifestOK
- type ExportManifestParams
- type ExportManifestURL
- func (o *ExportManifestURL) Build() (*url.URL, error)
- func (o *ExportManifestURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExportManifestURL) Must(u *url.URL, err error) *url.URL
- func (o *ExportManifestURL) SetBasePath(bp string)
- func (o *ExportManifestURL) String() string
- func (o *ExportManifestURL) StringFull(scheme, host string) string
- func (o *ExportManifestURL) WithBasePath(bp string) *ExportManifestURL
- type ExportManifestUnauthorized
- type ExportOldBookings
- type ExportOldBookingsHandler
- type ExportOldBookingsHandlerFunc
- type ExportOldBookingsInternalServerError
- func (o *ExportOldBookingsInternalServerError) SetPayload(payload *models.Error)
- func (o *ExportOldBookingsInternalServerError) WithPayload(payload *models.Error) *ExportOldBookingsInternalServerError
- func (o *ExportOldBookingsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportOldBookingsNotFound
- type ExportOldBookingsOK
- type ExportOldBookingsParams
- type ExportOldBookingsURL
- func (o *ExportOldBookingsURL) Build() (*url.URL, error)
- func (o *ExportOldBookingsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExportOldBookingsURL) Must(u *url.URL, err error) *url.URL
- func (o *ExportOldBookingsURL) SetBasePath(bp string)
- func (o *ExportOldBookingsURL) String() string
- func (o *ExportOldBookingsURL) StringFull(scheme, host string) string
- func (o *ExportOldBookingsURL) WithBasePath(bp string) *ExportOldBookingsURL
- type ExportOldBookingsUnauthorized
- type ExportUsers
- type ExportUsersHandler
- type ExportUsersHandlerFunc
- type ExportUsersInternalServerError
- type ExportUsersNotFound
- type ExportUsersOK
- type ExportUsersParams
- type ExportUsersURL
- func (o *ExportUsersURL) Build() (*url.URL, error)
- func (o *ExportUsersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExportUsersURL) Must(u *url.URL, err error) *url.URL
- func (o *ExportUsersURL) SetBasePath(bp string)
- func (o *ExportUsersURL) String() string
- func (o *ExportUsersURL) StringFull(scheme, host string) string
- func (o *ExportUsersURL) WithBasePath(bp string) *ExportUsersURL
- type ExportUsersUnauthorized
- type GetSlotIsAvailable
- type GetSlotIsAvailableHandler
- type GetSlotIsAvailableHandlerFunc
- type GetSlotIsAvailableInternalServerError
- func (o *GetSlotIsAvailableInternalServerError) SetPayload(payload *models.Error)
- func (o *GetSlotIsAvailableInternalServerError) WithPayload(payload *models.Error) *GetSlotIsAvailableInternalServerError
- func (o *GetSlotIsAvailableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSlotIsAvailableNotFound
- type GetSlotIsAvailableOK
- type GetSlotIsAvailableParams
- type GetSlotIsAvailableURL
- func (o *GetSlotIsAvailableURL) Build() (*url.URL, error)
- func (o *GetSlotIsAvailableURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSlotIsAvailableURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSlotIsAvailableURL) SetBasePath(bp string)
- func (o *GetSlotIsAvailableURL) String() string
- func (o *GetSlotIsAvailableURL) StringFull(scheme, host string) string
- func (o *GetSlotIsAvailableURL) WithBasePath(bp string) *GetSlotIsAvailableURL
- type GetSlotIsAvailableUnauthorized
- type GetStoreStatusAdmin
- type GetStoreStatusAdminHandler
- type GetStoreStatusAdminHandlerFunc
- type GetStoreStatusAdminInternalServerError
- func (o *GetStoreStatusAdminInternalServerError) SetPayload(payload *models.Error)
- func (o *GetStoreStatusAdminInternalServerError) WithPayload(payload *models.Error) *GetStoreStatusAdminInternalServerError
- func (o *GetStoreStatusAdminInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetStoreStatusAdminNotFound
- type GetStoreStatusAdminOK
- type GetStoreStatusAdminParams
- type GetStoreStatusAdminURL
- func (o *GetStoreStatusAdminURL) Build() (*url.URL, error)
- func (o *GetStoreStatusAdminURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetStoreStatusAdminURL) Must(u *url.URL, err error) *url.URL
- func (o *GetStoreStatusAdminURL) SetBasePath(bp string)
- func (o *GetStoreStatusAdminURL) String() string
- func (o *GetStoreStatusAdminURL) StringFull(scheme, host string) string
- func (o *GetStoreStatusAdminURL) WithBasePath(bp string) *GetStoreStatusAdminURL
- type GetStoreStatusAdminUnauthorized
- type ReplaceBookings
- type ReplaceBookingsHandler
- type ReplaceBookingsHandlerFunc
- type ReplaceBookingsInternalServerError
- func (o *ReplaceBookingsInternalServerError) SetPayload(payload *models.Error)
- func (o *ReplaceBookingsInternalServerError) WithPayload(payload *models.Error) *ReplaceBookingsInternalServerError
- func (o *ReplaceBookingsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceBookingsNotFound
- type ReplaceBookingsOK
- type ReplaceBookingsParams
- type ReplaceBookingsURL
- func (o *ReplaceBookingsURL) Build() (*url.URL, error)
- func (o *ReplaceBookingsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ReplaceBookingsURL) Must(u *url.URL, err error) *url.URL
- func (o *ReplaceBookingsURL) SetBasePath(bp string)
- func (o *ReplaceBookingsURL) String() string
- func (o *ReplaceBookingsURL) StringFull(scheme, host string) string
- func (o *ReplaceBookingsURL) WithBasePath(bp string) *ReplaceBookingsURL
- type ReplaceBookingsUnauthorized
- type ReplaceManifest
- type ReplaceManifestHandler
- type ReplaceManifestHandlerFunc
- type ReplaceManifestInternalServerError
- func (o *ReplaceManifestInternalServerError) SetPayload(payload *models.Error)
- func (o *ReplaceManifestInternalServerError) WithPayload(payload *models.Error) *ReplaceManifestInternalServerError
- func (o *ReplaceManifestInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceManifestNotFound
- type ReplaceManifestOK
- type ReplaceManifestParams
- type ReplaceManifestURL
- func (o *ReplaceManifestURL) Build() (*url.URL, error)
- func (o *ReplaceManifestURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ReplaceManifestURL) Must(u *url.URL, err error) *url.URL
- func (o *ReplaceManifestURL) SetBasePath(bp string)
- func (o *ReplaceManifestURL) String() string
- func (o *ReplaceManifestURL) StringFull(scheme, host string) string
- func (o *ReplaceManifestURL) WithBasePath(bp string) *ReplaceManifestURL
- type ReplaceManifestUnauthorized
- type ReplaceOldBookings
- type ReplaceOldBookingsHandler
- type ReplaceOldBookingsHandlerFunc
- type ReplaceOldBookingsInternalServerError
- func (o *ReplaceOldBookingsInternalServerError) SetPayload(payload *models.Error)
- func (o *ReplaceOldBookingsInternalServerError) WithPayload(payload *models.Error) *ReplaceOldBookingsInternalServerError
- func (o *ReplaceOldBookingsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReplaceOldBookingsNotFound
- type ReplaceOldBookingsOK
- type ReplaceOldBookingsParams
- type ReplaceOldBookingsURL
- func (o *ReplaceOldBookingsURL) Build() (*url.URL, error)
- func (o *ReplaceOldBookingsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ReplaceOldBookingsURL) Must(u *url.URL, err error) *url.URL
- func (o *ReplaceOldBookingsURL) SetBasePath(bp string)
- func (o *ReplaceOldBookingsURL) String() string
- func (o *ReplaceOldBookingsURL) StringFull(scheme, host string) string
- func (o *ReplaceOldBookingsURL) WithBasePath(bp string) *ReplaceOldBookingsURL
- type ReplaceOldBookingsUnauthorized
- type SetLock
- type SetLockHandler
- type SetLockHandlerFunc
- type SetLockInternalServerError
- type SetLockNotFound
- 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
- type SetSlotIsAvailable
- type SetSlotIsAvailableHandler
- type SetSlotIsAvailableHandlerFunc
- type SetSlotIsAvailableInternalServerError
- func (o *SetSlotIsAvailableInternalServerError) SetPayload(payload *models.Error)
- func (o *SetSlotIsAvailableInternalServerError) WithPayload(payload *models.Error) *SetSlotIsAvailableInternalServerError
- func (o *SetSlotIsAvailableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetSlotIsAvailableNoContent
- type SetSlotIsAvailableNotFound
- type SetSlotIsAvailableParams
- type SetSlotIsAvailableURL
- func (o *SetSlotIsAvailableURL) Build() (*url.URL, error)
- func (o *SetSlotIsAvailableURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetSlotIsAvailableURL) Must(u *url.URL, err error) *url.URL
- func (o *SetSlotIsAvailableURL) SetBasePath(bp string)
- func (o *SetSlotIsAvailableURL) String() string
- func (o *SetSlotIsAvailableURL) StringFull(scheme, host string) string
- func (o *SetSlotIsAvailableURL) WithBasePath(bp string) *SetSlotIsAvailableURL
- type SetSlotIsAvailableUnauthorized
Constants ¶
const CheckManifestInternalServerErrorCode int = 500
CheckManifestInternalServerErrorCode is the HTTP code returned for type CheckManifestInternalServerError
const CheckManifestNoContentCode int = 204
CheckManifestNoContentCode is the HTTP code returned for type CheckManifestNoContent
const CheckManifestNotFoundCode int = 404
CheckManifestNotFoundCode is the HTTP code returned for type CheckManifestNotFound
CheckManifestUnauthorizedCode is the HTTP code returned for type CheckManifestUnauthorized
const ExportBookingsInternalServerErrorCode int = 500
ExportBookingsInternalServerErrorCode is the HTTP code returned for type ExportBookingsInternalServerError
const ExportBookingsNotFoundCode int = 404
ExportBookingsNotFoundCode is the HTTP code returned for type ExportBookingsNotFound
const ExportBookingsOKCode int = 200
ExportBookingsOKCode is the HTTP code returned for type ExportBookingsOK
ExportBookingsUnauthorizedCode is the HTTP code returned for type ExportBookingsUnauthorized
const ExportManifestInternalServerErrorCode int = 500
ExportManifestInternalServerErrorCode is the HTTP code returned for type ExportManifestInternalServerError
const ExportManifestNotFoundCode int = 404
ExportManifestNotFoundCode is the HTTP code returned for type ExportManifestNotFound
const ExportManifestOKCode int = 200
ExportManifestOKCode is the HTTP code returned for type ExportManifestOK
ExportManifestUnauthorizedCode is the HTTP code returned for type ExportManifestUnauthorized
const ExportOldBookingsInternalServerErrorCode int = 500
ExportOldBookingsInternalServerErrorCode is the HTTP code returned for type ExportOldBookingsInternalServerError
const ExportOldBookingsNotFoundCode int = 404
ExportOldBookingsNotFoundCode is the HTTP code returned for type ExportOldBookingsNotFound
const ExportOldBookingsOKCode int = 200
ExportOldBookingsOKCode is the HTTP code returned for type ExportOldBookingsOK
ExportOldBookingsUnauthorizedCode is the HTTP code returned for type ExportOldBookingsUnauthorized
const ExportUsersInternalServerErrorCode int = 500
ExportUsersInternalServerErrorCode is the HTTP code returned for type ExportUsersInternalServerError
const ExportUsersNotFoundCode int = 404
ExportUsersNotFoundCode is the HTTP code returned for type ExportUsersNotFound
const ExportUsersOKCode int = 200
ExportUsersOKCode is the HTTP code returned for type ExportUsersOK
ExportUsersUnauthorizedCode is the HTTP code returned for type ExportUsersUnauthorized
const GetSlotIsAvailableInternalServerErrorCode int = 500
GetSlotIsAvailableInternalServerErrorCode is the HTTP code returned for type GetSlotIsAvailableInternalServerError
const GetSlotIsAvailableNotFoundCode int = 404
GetSlotIsAvailableNotFoundCode is the HTTP code returned for type GetSlotIsAvailableNotFound
const GetSlotIsAvailableOKCode int = 200
GetSlotIsAvailableOKCode is the HTTP code returned for type GetSlotIsAvailableOK
GetSlotIsAvailableUnauthorizedCode is the HTTP code returned for type GetSlotIsAvailableUnauthorized
const GetStoreStatusAdminInternalServerErrorCode int = 500
GetStoreStatusAdminInternalServerErrorCode is the HTTP code returned for type GetStoreStatusAdminInternalServerError
const GetStoreStatusAdminNotFoundCode int = 404
GetStoreStatusAdminNotFoundCode is the HTTP code returned for type GetStoreStatusAdminNotFound
const GetStoreStatusAdminOKCode int = 200
GetStoreStatusAdminOKCode is the HTTP code returned for type GetStoreStatusAdminOK
GetStoreStatusAdminUnauthorizedCode is the HTTP code returned for type GetStoreStatusAdminUnauthorized
const ReplaceBookingsInternalServerErrorCode int = 500
ReplaceBookingsInternalServerErrorCode is the HTTP code returned for type ReplaceBookingsInternalServerError
const ReplaceBookingsNotFoundCode int = 404
ReplaceBookingsNotFoundCode is the HTTP code returned for type ReplaceBookingsNotFound
const ReplaceBookingsOKCode int = 200
ReplaceBookingsOKCode is the HTTP code returned for type ReplaceBookingsOK
ReplaceBookingsUnauthorizedCode is the HTTP code returned for type ReplaceBookingsUnauthorized
const ReplaceManifestInternalServerErrorCode int = 500
ReplaceManifestInternalServerErrorCode is the HTTP code returned for type ReplaceManifestInternalServerError
const ReplaceManifestNotFoundCode int = 404
ReplaceManifestNotFoundCode is the HTTP code returned for type ReplaceManifestNotFound
const ReplaceManifestOKCode int = 200
ReplaceManifestOKCode is the HTTP code returned for type ReplaceManifestOK
ReplaceManifestUnauthorizedCode is the HTTP code returned for type ReplaceManifestUnauthorized
const ReplaceOldBookingsInternalServerErrorCode int = 500
ReplaceOldBookingsInternalServerErrorCode is the HTTP code returned for type ReplaceOldBookingsInternalServerError
const ReplaceOldBookingsNotFoundCode int = 404
ReplaceOldBookingsNotFoundCode is the HTTP code returned for type ReplaceOldBookingsNotFound
const ReplaceOldBookingsOKCode int = 200
ReplaceOldBookingsOKCode is the HTTP code returned for type ReplaceOldBookingsOK
ReplaceOldBookingsUnauthorizedCode is the HTTP code returned for type ReplaceOldBookingsUnauthorized
const SetLockInternalServerErrorCode int = 500
SetLockInternalServerErrorCode is the HTTP code returned for type SetLockInternalServerError
const SetLockNotFoundCode int = 404
SetLockNotFoundCode is the HTTP code returned for type SetLockNotFound
const SetLockOKCode int = 200
SetLockOKCode is the HTTP code returned for type SetLockOK
SetLockUnauthorizedCode is the HTTP code returned for type SetLockUnauthorized
const SetSlotIsAvailableInternalServerErrorCode int = 500
SetSlotIsAvailableInternalServerErrorCode is the HTTP code returned for type SetSlotIsAvailableInternalServerError
const SetSlotIsAvailableNoContentCode int = 204
SetSlotIsAvailableNoContentCode is the HTTP code returned for type SetSlotIsAvailableNoContent
const SetSlotIsAvailableNotFoundCode int = 404
SetSlotIsAvailableNotFoundCode is the HTTP code returned for type SetSlotIsAvailableNotFound
SetSlotIsAvailableUnauthorizedCode is the HTTP code returned for type SetSlotIsAvailableUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckManifest ¶
type CheckManifest struct { Context *middleware.Context Handler CheckManifestHandler }
CheckManifest swagger:route GET /admin/manifest/check admin checkManifest
Check a manifest ¶
Check a manifest for errors. Returns 204 if OK or, if not, returns 500 with a list of error(s).
func NewCheckManifest ¶
func NewCheckManifest(ctx *middleware.Context, handler CheckManifestHandler) *CheckManifest
NewCheckManifest creates a new http.Handler for the check manifest operation
func (*CheckManifest) ServeHTTP ¶
func (o *CheckManifest) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CheckManifestHandler ¶
type CheckManifestHandler interface {
Handle(CheckManifestParams, interface{}) middleware.Responder
}
CheckManifestHandler interface for that can handle valid check manifest params
type CheckManifestHandlerFunc ¶
type CheckManifestHandlerFunc func(CheckManifestParams, interface{}) middleware.Responder
CheckManifestHandlerFunc turns a function with the right signature into a check manifest handler
func (CheckManifestHandlerFunc) Handle ¶
func (fn CheckManifestHandlerFunc) Handle(params CheckManifestParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CheckManifestInternalServerError ¶
type CheckManifestInternalServerError struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
CheckManifestInternalServerError InternalError
swagger:response checkManifestInternalServerError
func NewCheckManifestInternalServerError ¶
func NewCheckManifestInternalServerError() *CheckManifestInternalServerError
NewCheckManifestInternalServerError creates CheckManifestInternalServerError with default headers values
func (*CheckManifestInternalServerError) SetPayload ¶
func (o *CheckManifestInternalServerError) SetPayload(payload interface{})
SetPayload sets the payload to the check manifest internal server error response
func (*CheckManifestInternalServerError) WithPayload ¶
func (o *CheckManifestInternalServerError) WithPayload(payload interface{}) *CheckManifestInternalServerError
WithPayload adds the payload to the check manifest internal server error response
func (*CheckManifestInternalServerError) WriteResponse ¶
func (o *CheckManifestInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckManifestNoContent ¶
type CheckManifestNoContent struct { }
CheckManifestNoContent OK
swagger:response checkManifestNoContent
func NewCheckManifestNoContent ¶
func NewCheckManifestNoContent() *CheckManifestNoContent
NewCheckManifestNoContent creates CheckManifestNoContent with default headers values
func (*CheckManifestNoContent) WriteResponse ¶
func (o *CheckManifestNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckManifestNotFound ¶
CheckManifestNotFound The specified resource was not found
swagger:response checkManifestNotFound
func NewCheckManifestNotFound ¶
func NewCheckManifestNotFound() *CheckManifestNotFound
NewCheckManifestNotFound creates CheckManifestNotFound with default headers values
func (*CheckManifestNotFound) SetPayload ¶
func (o *CheckManifestNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the check manifest not found response
func (*CheckManifestNotFound) WithPayload ¶
func (o *CheckManifestNotFound) WithPayload(payload *models.Error) *CheckManifestNotFound
WithPayload adds the payload to the check manifest not found response
func (*CheckManifestNotFound) WriteResponse ¶
func (o *CheckManifestNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckManifestParams ¶
type CheckManifestParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Manifest *models.Manifest }
CheckManifestParams contains all the bound params for the check manifest operation typically these are obtained from a http.Request
swagger:parameters CheckManifest
func NewCheckManifestParams ¶
func NewCheckManifestParams() CheckManifestParams
NewCheckManifestParams creates a new CheckManifestParams object
There are no default values defined in the spec.
func (*CheckManifestParams) BindRequest ¶
func (o *CheckManifestParams) 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 NewCheckManifestParams() beforehand.
type CheckManifestURL ¶
type CheckManifestURL struct {
// contains filtered or unexported fields
}
CheckManifestURL generates an URL for the check manifest operation
func (*CheckManifestURL) Build ¶
func (o *CheckManifestURL) Build() (*url.URL, error)
Build a url path and query string
func (*CheckManifestURL) BuildFull ¶
func (o *CheckManifestURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CheckManifestURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CheckManifestURL) SetBasePath ¶
func (o *CheckManifestURL) 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 (*CheckManifestURL) String ¶
func (o *CheckManifestURL) String() string
String returns the string representation of the path with query string
func (*CheckManifestURL) StringFull ¶
func (o *CheckManifestURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CheckManifestURL) WithBasePath ¶
func (o *CheckManifestURL) WithBasePath(bp string) *CheckManifestURL
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 CheckManifestUnauthorized ¶
CheckManifestUnauthorized Unauthorized
swagger:response checkManifestUnauthorized
func NewCheckManifestUnauthorized ¶
func NewCheckManifestUnauthorized() *CheckManifestUnauthorized
NewCheckManifestUnauthorized creates CheckManifestUnauthorized with default headers values
func (*CheckManifestUnauthorized) SetPayload ¶
func (o *CheckManifestUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the check manifest unauthorized response
func (*CheckManifestUnauthorized) WithPayload ¶
func (o *CheckManifestUnauthorized) WithPayload(payload *models.Error) *CheckManifestUnauthorized
WithPayload adds the payload to the check manifest unauthorized response
func (*CheckManifestUnauthorized) WriteResponse ¶
func (o *CheckManifestUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportBookings ¶
type ExportBookings struct { Context *middleware.Context Handler ExportBookingsHandler }
ExportBookings swagger:route GET /admin/bookings admin exportBookings
Export a copy of all current bookings ¶
Exports a copy of the current bookings, with sufficient information to allow editing and replacement. If successful produces JSON-formatted bookings list.
func NewExportBookings ¶
func NewExportBookings(ctx *middleware.Context, handler ExportBookingsHandler) *ExportBookings
NewExportBookings creates a new http.Handler for the export bookings operation
func (*ExportBookings) ServeHTTP ¶
func (o *ExportBookings) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExportBookingsHandler ¶
type ExportBookingsHandler interface {
Handle(ExportBookingsParams, interface{}) middleware.Responder
}
ExportBookingsHandler interface for that can handle valid export bookings params
type ExportBookingsHandlerFunc ¶
type ExportBookingsHandlerFunc func(ExportBookingsParams, interface{}) middleware.Responder
ExportBookingsHandlerFunc turns a function with the right signature into a export bookings handler
func (ExportBookingsHandlerFunc) Handle ¶
func (fn ExportBookingsHandlerFunc) Handle(params ExportBookingsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ExportBookingsInternalServerError ¶
type ExportBookingsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportBookingsInternalServerError Internal Error
swagger:response exportBookingsInternalServerError
func NewExportBookingsInternalServerError ¶
func NewExportBookingsInternalServerError() *ExportBookingsInternalServerError
NewExportBookingsInternalServerError creates ExportBookingsInternalServerError with default headers values
func (*ExportBookingsInternalServerError) SetPayload ¶
func (o *ExportBookingsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the export bookings internal server error response
func (*ExportBookingsInternalServerError) WithPayload ¶
func (o *ExportBookingsInternalServerError) WithPayload(payload *models.Error) *ExportBookingsInternalServerError
WithPayload adds the payload to the export bookings internal server error response
func (*ExportBookingsInternalServerError) WriteResponse ¶
func (o *ExportBookingsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportBookingsNotFound ¶
ExportBookingsNotFound The specified resource was not found
swagger:response exportBookingsNotFound
func NewExportBookingsNotFound ¶
func NewExportBookingsNotFound() *ExportBookingsNotFound
NewExportBookingsNotFound creates ExportBookingsNotFound with default headers values
func (*ExportBookingsNotFound) SetPayload ¶
func (o *ExportBookingsNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the export bookings not found response
func (*ExportBookingsNotFound) WithPayload ¶
func (o *ExportBookingsNotFound) WithPayload(payload *models.Error) *ExportBookingsNotFound
WithPayload adds the payload to the export bookings not found response
func (*ExportBookingsNotFound) WriteResponse ¶
func (o *ExportBookingsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportBookingsOK ¶
ExportBookingsOK OK
swagger:response exportBookingsOK
func NewExportBookingsOK ¶
func NewExportBookingsOK() *ExportBookingsOK
NewExportBookingsOK creates ExportBookingsOK with default headers values
func (*ExportBookingsOK) SetPayload ¶
func (o *ExportBookingsOK) SetPayload(payload models.Bookings)
SetPayload sets the payload to the export bookings o k response
func (*ExportBookingsOK) WithPayload ¶
func (o *ExportBookingsOK) WithPayload(payload models.Bookings) *ExportBookingsOK
WithPayload adds the payload to the export bookings o k response
func (*ExportBookingsOK) WriteResponse ¶
func (o *ExportBookingsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportBookingsParams ¶
ExportBookingsParams contains all the bound params for the export bookings operation typically these are obtained from a http.Request
swagger:parameters ExportBookings
func NewExportBookingsParams ¶
func NewExportBookingsParams() ExportBookingsParams
NewExportBookingsParams creates a new ExportBookingsParams object
There are no default values defined in the spec.
func (*ExportBookingsParams) BindRequest ¶
func (o *ExportBookingsParams) 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 NewExportBookingsParams() beforehand.
type ExportBookingsURL ¶
type ExportBookingsURL struct {
// contains filtered or unexported fields
}
ExportBookingsURL generates an URL for the export bookings operation
func (*ExportBookingsURL) Build ¶
func (o *ExportBookingsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExportBookingsURL) BuildFull ¶
func (o *ExportBookingsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExportBookingsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ExportBookingsURL) SetBasePath ¶
func (o *ExportBookingsURL) 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 (*ExportBookingsURL) String ¶
func (o *ExportBookingsURL) String() string
String returns the string representation of the path with query string
func (*ExportBookingsURL) StringFull ¶
func (o *ExportBookingsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExportBookingsURL) WithBasePath ¶
func (o *ExportBookingsURL) WithBasePath(bp string) *ExportBookingsURL
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 ExportBookingsUnauthorized ¶
ExportBookingsUnauthorized Unauthorized
swagger:response exportBookingsUnauthorized
func NewExportBookingsUnauthorized ¶
func NewExportBookingsUnauthorized() *ExportBookingsUnauthorized
NewExportBookingsUnauthorized creates ExportBookingsUnauthorized with default headers values
func (*ExportBookingsUnauthorized) SetPayload ¶
func (o *ExportBookingsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the export bookings unauthorized response
func (*ExportBookingsUnauthorized) WithPayload ¶
func (o *ExportBookingsUnauthorized) WithPayload(payload *models.Error) *ExportBookingsUnauthorized
WithPayload adds the payload to the export bookings unauthorized response
func (*ExportBookingsUnauthorized) WriteResponse ¶
func (o *ExportBookingsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportManifest ¶
type ExportManifest struct { Context *middleware.Context Handler ExportManifestHandler }
ExportManifest swagger:route GET /admin/manifest admin exportManifest
Export the manifest ¶
Export the manifest (resources, slots, policies, descriptions etc). Does not include bookings or users
func NewExportManifest ¶
func NewExportManifest(ctx *middleware.Context, handler ExportManifestHandler) *ExportManifest
NewExportManifest creates a new http.Handler for the export manifest operation
func (*ExportManifest) ServeHTTP ¶
func (o *ExportManifest) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExportManifestHandler ¶
type ExportManifestHandler interface {
Handle(ExportManifestParams, interface{}) middleware.Responder
}
ExportManifestHandler interface for that can handle valid export manifest params
type ExportManifestHandlerFunc ¶
type ExportManifestHandlerFunc func(ExportManifestParams, interface{}) middleware.Responder
ExportManifestHandlerFunc turns a function with the right signature into a export manifest handler
func (ExportManifestHandlerFunc) Handle ¶
func (fn ExportManifestHandlerFunc) Handle(params ExportManifestParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ExportManifestInternalServerError ¶
type ExportManifestInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportManifestInternalServerError Internal Error
swagger:response exportManifestInternalServerError
func NewExportManifestInternalServerError ¶
func NewExportManifestInternalServerError() *ExportManifestInternalServerError
NewExportManifestInternalServerError creates ExportManifestInternalServerError with default headers values
func (*ExportManifestInternalServerError) SetPayload ¶
func (o *ExportManifestInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the export manifest internal server error response
func (*ExportManifestInternalServerError) WithPayload ¶
func (o *ExportManifestInternalServerError) WithPayload(payload *models.Error) *ExportManifestInternalServerError
WithPayload adds the payload to the export manifest internal server error response
func (*ExportManifestInternalServerError) WriteResponse ¶
func (o *ExportManifestInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportManifestNotFound ¶
ExportManifestNotFound The specified resource was not found
swagger:response exportManifestNotFound
func NewExportManifestNotFound ¶
func NewExportManifestNotFound() *ExportManifestNotFound
NewExportManifestNotFound creates ExportManifestNotFound with default headers values
func (*ExportManifestNotFound) SetPayload ¶
func (o *ExportManifestNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the export manifest not found response
func (*ExportManifestNotFound) WithPayload ¶
func (o *ExportManifestNotFound) WithPayload(payload *models.Error) *ExportManifestNotFound
WithPayload adds the payload to the export manifest not found response
func (*ExportManifestNotFound) WriteResponse ¶
func (o *ExportManifestNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportManifestOK ¶
ExportManifestOK OK
swagger:response exportManifestOK
func NewExportManifestOK ¶
func NewExportManifestOK() *ExportManifestOK
NewExportManifestOK creates ExportManifestOK with default headers values
func (*ExportManifestOK) SetPayload ¶
func (o *ExportManifestOK) SetPayload(payload *models.Manifest)
SetPayload sets the payload to the export manifest o k response
func (*ExportManifestOK) WithPayload ¶
func (o *ExportManifestOK) WithPayload(payload *models.Manifest) *ExportManifestOK
WithPayload adds the payload to the export manifest o k response
func (*ExportManifestOK) WriteResponse ¶
func (o *ExportManifestOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportManifestParams ¶
ExportManifestParams contains all the bound params for the export manifest operation typically these are obtained from a http.Request
swagger:parameters ExportManifest
func NewExportManifestParams ¶
func NewExportManifestParams() ExportManifestParams
NewExportManifestParams creates a new ExportManifestParams object
There are no default values defined in the spec.
func (*ExportManifestParams) BindRequest ¶
func (o *ExportManifestParams) 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 NewExportManifestParams() beforehand.
type ExportManifestURL ¶
type ExportManifestURL struct {
// contains filtered or unexported fields
}
ExportManifestURL generates an URL for the export manifest operation
func (*ExportManifestURL) Build ¶
func (o *ExportManifestURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExportManifestURL) BuildFull ¶
func (o *ExportManifestURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExportManifestURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ExportManifestURL) SetBasePath ¶
func (o *ExportManifestURL) 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 (*ExportManifestURL) String ¶
func (o *ExportManifestURL) String() string
String returns the string representation of the path with query string
func (*ExportManifestURL) StringFull ¶
func (o *ExportManifestURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExportManifestURL) WithBasePath ¶
func (o *ExportManifestURL) WithBasePath(bp string) *ExportManifestURL
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 ExportManifestUnauthorized ¶
ExportManifestUnauthorized Unauthorized
swagger:response exportManifestUnauthorized
func NewExportManifestUnauthorized ¶
func NewExportManifestUnauthorized() *ExportManifestUnauthorized
NewExportManifestUnauthorized creates ExportManifestUnauthorized with default headers values
func (*ExportManifestUnauthorized) SetPayload ¶
func (o *ExportManifestUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the export manifest unauthorized response
func (*ExportManifestUnauthorized) WithPayload ¶
func (o *ExportManifestUnauthorized) WithPayload(payload *models.Error) *ExportManifestUnauthorized
WithPayload adds the payload to the export manifest unauthorized response
func (*ExportManifestUnauthorized) WriteResponse ¶
func (o *ExportManifestUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportOldBookings ¶
type ExportOldBookings struct { Context *middleware.Context Handler ExportOldBookingsHandler }
ExportOldBookings swagger:route GET /admin/oldbookings admin exportOldBookings
Export a copy of all old bookings ¶
Exports a copy of the old bookings, with sufficient information to allow editing and replacement. If successful produces JSON-formatted bookings list.
func NewExportOldBookings ¶
func NewExportOldBookings(ctx *middleware.Context, handler ExportOldBookingsHandler) *ExportOldBookings
NewExportOldBookings creates a new http.Handler for the export old bookings operation
func (*ExportOldBookings) ServeHTTP ¶
func (o *ExportOldBookings) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExportOldBookingsHandler ¶
type ExportOldBookingsHandler interface {
Handle(ExportOldBookingsParams, interface{}) middleware.Responder
}
ExportOldBookingsHandler interface for that can handle valid export old bookings params
type ExportOldBookingsHandlerFunc ¶
type ExportOldBookingsHandlerFunc func(ExportOldBookingsParams, interface{}) middleware.Responder
ExportOldBookingsHandlerFunc turns a function with the right signature into a export old bookings handler
func (ExportOldBookingsHandlerFunc) Handle ¶
func (fn ExportOldBookingsHandlerFunc) Handle(params ExportOldBookingsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ExportOldBookingsInternalServerError ¶
type ExportOldBookingsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportOldBookingsInternalServerError Internal Error
swagger:response exportOldBookingsInternalServerError
func NewExportOldBookingsInternalServerError ¶
func NewExportOldBookingsInternalServerError() *ExportOldBookingsInternalServerError
NewExportOldBookingsInternalServerError creates ExportOldBookingsInternalServerError with default headers values
func (*ExportOldBookingsInternalServerError) SetPayload ¶
func (o *ExportOldBookingsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the export old bookings internal server error response
func (*ExportOldBookingsInternalServerError) WithPayload ¶
func (o *ExportOldBookingsInternalServerError) WithPayload(payload *models.Error) *ExportOldBookingsInternalServerError
WithPayload adds the payload to the export old bookings internal server error response
func (*ExportOldBookingsInternalServerError) WriteResponse ¶
func (o *ExportOldBookingsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportOldBookingsNotFound ¶
type ExportOldBookingsNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportOldBookingsNotFound The specified resource was not found
swagger:response exportOldBookingsNotFound
func NewExportOldBookingsNotFound ¶
func NewExportOldBookingsNotFound() *ExportOldBookingsNotFound
NewExportOldBookingsNotFound creates ExportOldBookingsNotFound with default headers values
func (*ExportOldBookingsNotFound) SetPayload ¶
func (o *ExportOldBookingsNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the export old bookings not found response
func (*ExportOldBookingsNotFound) WithPayload ¶
func (o *ExportOldBookingsNotFound) WithPayload(payload *models.Error) *ExportOldBookingsNotFound
WithPayload adds the payload to the export old bookings not found response
func (*ExportOldBookingsNotFound) WriteResponse ¶
func (o *ExportOldBookingsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportOldBookingsOK ¶
ExportOldBookingsOK OK
swagger:response exportOldBookingsOK
func NewExportOldBookingsOK ¶
func NewExportOldBookingsOK() *ExportOldBookingsOK
NewExportOldBookingsOK creates ExportOldBookingsOK with default headers values
func (*ExportOldBookingsOK) SetPayload ¶
func (o *ExportOldBookingsOK) SetPayload(payload models.Bookings)
SetPayload sets the payload to the export old bookings o k response
func (*ExportOldBookingsOK) WithPayload ¶
func (o *ExportOldBookingsOK) WithPayload(payload models.Bookings) *ExportOldBookingsOK
WithPayload adds the payload to the export old bookings o k response
func (*ExportOldBookingsOK) WriteResponse ¶
func (o *ExportOldBookingsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportOldBookingsParams ¶
ExportOldBookingsParams contains all the bound params for the export old bookings operation typically these are obtained from a http.Request
swagger:parameters ExportOldBookings
func NewExportOldBookingsParams ¶
func NewExportOldBookingsParams() ExportOldBookingsParams
NewExportOldBookingsParams creates a new ExportOldBookingsParams object
There are no default values defined in the spec.
func (*ExportOldBookingsParams) BindRequest ¶
func (o *ExportOldBookingsParams) 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 NewExportOldBookingsParams() beforehand.
type ExportOldBookingsURL ¶
type ExportOldBookingsURL struct {
// contains filtered or unexported fields
}
ExportOldBookingsURL generates an URL for the export old bookings operation
func (*ExportOldBookingsURL) Build ¶
func (o *ExportOldBookingsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExportOldBookingsURL) BuildFull ¶
func (o *ExportOldBookingsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExportOldBookingsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ExportOldBookingsURL) SetBasePath ¶
func (o *ExportOldBookingsURL) 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 (*ExportOldBookingsURL) String ¶
func (o *ExportOldBookingsURL) String() string
String returns the string representation of the path with query string
func (*ExportOldBookingsURL) StringFull ¶
func (o *ExportOldBookingsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExportOldBookingsURL) WithBasePath ¶
func (o *ExportOldBookingsURL) WithBasePath(bp string) *ExportOldBookingsURL
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 ExportOldBookingsUnauthorized ¶
ExportOldBookingsUnauthorized Unauthorized
swagger:response exportOldBookingsUnauthorized
func NewExportOldBookingsUnauthorized ¶
func NewExportOldBookingsUnauthorized() *ExportOldBookingsUnauthorized
NewExportOldBookingsUnauthorized creates ExportOldBookingsUnauthorized with default headers values
func (*ExportOldBookingsUnauthorized) SetPayload ¶
func (o *ExportOldBookingsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the export old bookings unauthorized response
func (*ExportOldBookingsUnauthorized) WithPayload ¶
func (o *ExportOldBookingsUnauthorized) WithPayload(payload *models.Error) *ExportOldBookingsUnauthorized
WithPayload adds the payload to the export old bookings unauthorized response
func (*ExportOldBookingsUnauthorized) WriteResponse ¶
func (o *ExportOldBookingsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportUsers ¶
type ExportUsers struct { Context *middleware.Context Handler ExportUsersHandler }
ExportUsers swagger:route GET /admin/users admin exportUsers
Export users ¶
Export bookings and usage data for each user
func NewExportUsers ¶
func NewExportUsers(ctx *middleware.Context, handler ExportUsersHandler) *ExportUsers
NewExportUsers creates a new http.Handler for the export users operation
func (*ExportUsers) ServeHTTP ¶
func (o *ExportUsers) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExportUsersHandler ¶
type ExportUsersHandler interface {
Handle(ExportUsersParams, interface{}) middleware.Responder
}
ExportUsersHandler interface for that can handle valid export users params
type ExportUsersHandlerFunc ¶
type ExportUsersHandlerFunc func(ExportUsersParams, interface{}) middleware.Responder
ExportUsersHandlerFunc turns a function with the right signature into a export users handler
func (ExportUsersHandlerFunc) Handle ¶
func (fn ExportUsersHandlerFunc) Handle(params ExportUsersParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ExportUsersInternalServerError ¶
type ExportUsersInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportUsersInternalServerError Internal Error
swagger:response exportUsersInternalServerError
func NewExportUsersInternalServerError ¶
func NewExportUsersInternalServerError() *ExportUsersInternalServerError
NewExportUsersInternalServerError creates ExportUsersInternalServerError with default headers values
func (*ExportUsersInternalServerError) SetPayload ¶
func (o *ExportUsersInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the export users internal server error response
func (*ExportUsersInternalServerError) WithPayload ¶
func (o *ExportUsersInternalServerError) WithPayload(payload *models.Error) *ExportUsersInternalServerError
WithPayload adds the payload to the export users internal server error response
func (*ExportUsersInternalServerError) WriteResponse ¶
func (o *ExportUsersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportUsersNotFound ¶
ExportUsersNotFound The specified resource was not found
swagger:response exportUsersNotFound
func NewExportUsersNotFound ¶
func NewExportUsersNotFound() *ExportUsersNotFound
NewExportUsersNotFound creates ExportUsersNotFound with default headers values
func (*ExportUsersNotFound) SetPayload ¶
func (o *ExportUsersNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the export users not found response
func (*ExportUsersNotFound) WithPayload ¶
func (o *ExportUsersNotFound) WithPayload(payload *models.Error) *ExportUsersNotFound
WithPayload adds the payload to the export users not found response
func (*ExportUsersNotFound) WriteResponse ¶
func (o *ExportUsersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportUsersOK ¶
ExportUsersOK OK
swagger:response exportUsersOK
func NewExportUsersOK ¶
func NewExportUsersOK() *ExportUsersOK
NewExportUsersOK creates ExportUsersOK with default headers values
func (*ExportUsersOK) SetPayload ¶
func (o *ExportUsersOK) SetPayload(payload models.Users)
SetPayload sets the payload to the export users o k response
func (*ExportUsersOK) WithPayload ¶
func (o *ExportUsersOK) WithPayload(payload models.Users) *ExportUsersOK
WithPayload adds the payload to the export users o k response
func (*ExportUsersOK) WriteResponse ¶
func (o *ExportUsersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportUsersParams ¶
ExportUsersParams contains all the bound params for the export users operation typically these are obtained from a http.Request
swagger:parameters ExportUsers
func NewExportUsersParams ¶
func NewExportUsersParams() ExportUsersParams
NewExportUsersParams creates a new ExportUsersParams object
There are no default values defined in the spec.
func (*ExportUsersParams) BindRequest ¶
func (o *ExportUsersParams) 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 NewExportUsersParams() beforehand.
type ExportUsersURL ¶
type ExportUsersURL struct {
// contains filtered or unexported fields
}
ExportUsersURL generates an URL for the export users operation
func (*ExportUsersURL) Build ¶
func (o *ExportUsersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExportUsersURL) BuildFull ¶
func (o *ExportUsersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExportUsersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ExportUsersURL) SetBasePath ¶
func (o *ExportUsersURL) 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 (*ExportUsersURL) String ¶
func (o *ExportUsersURL) String() string
String returns the string representation of the path with query string
func (*ExportUsersURL) StringFull ¶
func (o *ExportUsersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExportUsersURL) WithBasePath ¶
func (o *ExportUsersURL) WithBasePath(bp string) *ExportUsersURL
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 ExportUsersUnauthorized ¶
ExportUsersUnauthorized Unauthorized
swagger:response exportUsersUnauthorized
func NewExportUsersUnauthorized ¶
func NewExportUsersUnauthorized() *ExportUsersUnauthorized
NewExportUsersUnauthorized creates ExportUsersUnauthorized with default headers values
func (*ExportUsersUnauthorized) SetPayload ¶
func (o *ExportUsersUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the export users unauthorized response
func (*ExportUsersUnauthorized) WithPayload ¶
func (o *ExportUsersUnauthorized) WithPayload(payload *models.Error) *ExportUsersUnauthorized
WithPayload adds the payload to the export users unauthorized response
func (*ExportUsersUnauthorized) WriteResponse ¶
func (o *ExportUsersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSlotIsAvailable ¶
type GetSlotIsAvailable struct { Context *middleware.Context Handler GetSlotIsAvailableHandler }
GetSlotIsAvailable swagger:route GET /admin/slots/{slot_name} admin getSlotIsAvailable
Get the availability of the slot ¶
Gets the availability of the underlying resource for the slot, including a status message. Indicates when equipment is offline temprorarily, e.g. due to failing an automated test.
func NewGetSlotIsAvailable ¶
func NewGetSlotIsAvailable(ctx *middleware.Context, handler GetSlotIsAvailableHandler) *GetSlotIsAvailable
NewGetSlotIsAvailable creates a new http.Handler for the get slot is available operation
func (*GetSlotIsAvailable) ServeHTTP ¶
func (o *GetSlotIsAvailable) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSlotIsAvailableHandler ¶
type GetSlotIsAvailableHandler interface {
Handle(GetSlotIsAvailableParams, interface{}) middleware.Responder
}
GetSlotIsAvailableHandler interface for that can handle valid get slot is available params
type GetSlotIsAvailableHandlerFunc ¶
type GetSlotIsAvailableHandlerFunc func(GetSlotIsAvailableParams, interface{}) middleware.Responder
GetSlotIsAvailableHandlerFunc turns a function with the right signature into a get slot is available handler
func (GetSlotIsAvailableHandlerFunc) Handle ¶
func (fn GetSlotIsAvailableHandlerFunc) Handle(params GetSlotIsAvailableParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetSlotIsAvailableInternalServerError ¶
type GetSlotIsAvailableInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetSlotIsAvailableInternalServerError Internal Error
swagger:response getSlotIsAvailableInternalServerError
func NewGetSlotIsAvailableInternalServerError ¶
func NewGetSlotIsAvailableInternalServerError() *GetSlotIsAvailableInternalServerError
NewGetSlotIsAvailableInternalServerError creates GetSlotIsAvailableInternalServerError with default headers values
func (*GetSlotIsAvailableInternalServerError) SetPayload ¶
func (o *GetSlotIsAvailableInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get slot is available internal server error response
func (*GetSlotIsAvailableInternalServerError) WithPayload ¶
func (o *GetSlotIsAvailableInternalServerError) WithPayload(payload *models.Error) *GetSlotIsAvailableInternalServerError
WithPayload adds the payload to the get slot is available internal server error response
func (*GetSlotIsAvailableInternalServerError) WriteResponse ¶
func (o *GetSlotIsAvailableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSlotIsAvailableNotFound ¶
type GetSlotIsAvailableNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetSlotIsAvailableNotFound The specified resource was not found
swagger:response getSlotIsAvailableNotFound
func NewGetSlotIsAvailableNotFound ¶
func NewGetSlotIsAvailableNotFound() *GetSlotIsAvailableNotFound
NewGetSlotIsAvailableNotFound creates GetSlotIsAvailableNotFound with default headers values
func (*GetSlotIsAvailableNotFound) SetPayload ¶
func (o *GetSlotIsAvailableNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get slot is available not found response
func (*GetSlotIsAvailableNotFound) WithPayload ¶
func (o *GetSlotIsAvailableNotFound) WithPayload(payload *models.Error) *GetSlotIsAvailableNotFound
WithPayload adds the payload to the get slot is available not found response
func (*GetSlotIsAvailableNotFound) WriteResponse ¶
func (o *GetSlotIsAvailableNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSlotIsAvailableOK ¶
type GetSlotIsAvailableOK struct { /* In: Body */ Payload *models.SlotStatus `json:"body,omitempty"` }
GetSlotIsAvailableOK OK
swagger:response getSlotIsAvailableOK
func NewGetSlotIsAvailableOK ¶
func NewGetSlotIsAvailableOK() *GetSlotIsAvailableOK
NewGetSlotIsAvailableOK creates GetSlotIsAvailableOK with default headers values
func (*GetSlotIsAvailableOK) SetPayload ¶
func (o *GetSlotIsAvailableOK) SetPayload(payload *models.SlotStatus)
SetPayload sets the payload to the get slot is available o k response
func (*GetSlotIsAvailableOK) WithPayload ¶
func (o *GetSlotIsAvailableOK) WithPayload(payload *models.SlotStatus) *GetSlotIsAvailableOK
WithPayload adds the payload to the get slot is available o k response
func (*GetSlotIsAvailableOK) WriteResponse ¶
func (o *GetSlotIsAvailableOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSlotIsAvailableParams ¶
type GetSlotIsAvailableParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ SlotName string }
GetSlotIsAvailableParams contains all the bound params for the get slot is available operation typically these are obtained from a http.Request
swagger:parameters GetSlotIsAvailable
func NewGetSlotIsAvailableParams ¶
func NewGetSlotIsAvailableParams() GetSlotIsAvailableParams
NewGetSlotIsAvailableParams creates a new GetSlotIsAvailableParams object
There are no default values defined in the spec.
func (*GetSlotIsAvailableParams) BindRequest ¶
func (o *GetSlotIsAvailableParams) 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 NewGetSlotIsAvailableParams() beforehand.
type GetSlotIsAvailableURL ¶
type GetSlotIsAvailableURL struct { SlotName string // contains filtered or unexported fields }
GetSlotIsAvailableURL generates an URL for the get slot is available operation
func (*GetSlotIsAvailableURL) Build ¶
func (o *GetSlotIsAvailableURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetSlotIsAvailableURL) BuildFull ¶
func (o *GetSlotIsAvailableURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetSlotIsAvailableURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetSlotIsAvailableURL) SetBasePath ¶
func (o *GetSlotIsAvailableURL) 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 (*GetSlotIsAvailableURL) String ¶
func (o *GetSlotIsAvailableURL) String() string
String returns the string representation of the path with query string
func (*GetSlotIsAvailableURL) StringFull ¶
func (o *GetSlotIsAvailableURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetSlotIsAvailableURL) WithBasePath ¶
func (o *GetSlotIsAvailableURL) WithBasePath(bp string) *GetSlotIsAvailableURL
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 GetSlotIsAvailableUnauthorized ¶
GetSlotIsAvailableUnauthorized Unauthorized
swagger:response getSlotIsAvailableUnauthorized
func NewGetSlotIsAvailableUnauthorized ¶
func NewGetSlotIsAvailableUnauthorized() *GetSlotIsAvailableUnauthorized
NewGetSlotIsAvailableUnauthorized creates GetSlotIsAvailableUnauthorized with default headers values
func (*GetSlotIsAvailableUnauthorized) SetPayload ¶
func (o *GetSlotIsAvailableUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get slot is available unauthorized response
func (*GetSlotIsAvailableUnauthorized) WithPayload ¶
func (o *GetSlotIsAvailableUnauthorized) WithPayload(payload *models.Error) *GetSlotIsAvailableUnauthorized
WithPayload adds the payload to the get slot is available unauthorized response
func (*GetSlotIsAvailableUnauthorized) WriteResponse ¶
func (o *GetSlotIsAvailableUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStoreStatusAdmin ¶
type GetStoreStatusAdmin struct { Context *middleware.Context Handler GetStoreStatusAdminHandler }
GetStoreStatusAdmin swagger:route GET /admin/status admin getStoreStatusAdmin
Get current store status ¶
Gets a count of the number of elements in the store, e.g. Bookings, Descriptions etc to facilitate a necessary but not sufficient check that replace manifest and replace bookings have produced the correct results.
func NewGetStoreStatusAdmin ¶
func NewGetStoreStatusAdmin(ctx *middleware.Context, handler GetStoreStatusAdminHandler) *GetStoreStatusAdmin
NewGetStoreStatusAdmin creates a new http.Handler for the get store status admin operation
func (*GetStoreStatusAdmin) ServeHTTP ¶
func (o *GetStoreStatusAdmin) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetStoreStatusAdminHandler ¶
type GetStoreStatusAdminHandler interface {
Handle(GetStoreStatusAdminParams, interface{}) middleware.Responder
}
GetStoreStatusAdminHandler interface for that can handle valid get store status admin params
type GetStoreStatusAdminHandlerFunc ¶
type GetStoreStatusAdminHandlerFunc func(GetStoreStatusAdminParams, interface{}) middleware.Responder
GetStoreStatusAdminHandlerFunc turns a function with the right signature into a get store status admin handler
func (GetStoreStatusAdminHandlerFunc) Handle ¶
func (fn GetStoreStatusAdminHandlerFunc) Handle(params GetStoreStatusAdminParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetStoreStatusAdminInternalServerError ¶
type GetStoreStatusAdminInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetStoreStatusAdminInternalServerError Internal Error
swagger:response getStoreStatusAdminInternalServerError
func NewGetStoreStatusAdminInternalServerError ¶
func NewGetStoreStatusAdminInternalServerError() *GetStoreStatusAdminInternalServerError
NewGetStoreStatusAdminInternalServerError creates GetStoreStatusAdminInternalServerError with default headers values
func (*GetStoreStatusAdminInternalServerError) SetPayload ¶
func (o *GetStoreStatusAdminInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get store status admin internal server error response
func (*GetStoreStatusAdminInternalServerError) WithPayload ¶
func (o *GetStoreStatusAdminInternalServerError) WithPayload(payload *models.Error) *GetStoreStatusAdminInternalServerError
WithPayload adds the payload to the get store status admin internal server error response
func (*GetStoreStatusAdminInternalServerError) WriteResponse ¶
func (o *GetStoreStatusAdminInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStoreStatusAdminNotFound ¶
type GetStoreStatusAdminNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetStoreStatusAdminNotFound The specified resource was not found
swagger:response getStoreStatusAdminNotFound
func NewGetStoreStatusAdminNotFound ¶
func NewGetStoreStatusAdminNotFound() *GetStoreStatusAdminNotFound
NewGetStoreStatusAdminNotFound creates GetStoreStatusAdminNotFound with default headers values
func (*GetStoreStatusAdminNotFound) SetPayload ¶
func (o *GetStoreStatusAdminNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get store status admin not found response
func (*GetStoreStatusAdminNotFound) WithPayload ¶
func (o *GetStoreStatusAdminNotFound) WithPayload(payload *models.Error) *GetStoreStatusAdminNotFound
WithPayload adds the payload to the get store status admin not found response
func (*GetStoreStatusAdminNotFound) WriteResponse ¶
func (o *GetStoreStatusAdminNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStoreStatusAdminOK ¶
type GetStoreStatusAdminOK struct { /* In: Body */ Payload *models.StoreStatusAdmin `json:"body,omitempty"` }
GetStoreStatusAdminOK OK
swagger:response getStoreStatusAdminOK
func NewGetStoreStatusAdminOK ¶
func NewGetStoreStatusAdminOK() *GetStoreStatusAdminOK
NewGetStoreStatusAdminOK creates GetStoreStatusAdminOK with default headers values
func (*GetStoreStatusAdminOK) SetPayload ¶
func (o *GetStoreStatusAdminOK) SetPayload(payload *models.StoreStatusAdmin)
SetPayload sets the payload to the get store status admin o k response
func (*GetStoreStatusAdminOK) WithPayload ¶
func (o *GetStoreStatusAdminOK) WithPayload(payload *models.StoreStatusAdmin) *GetStoreStatusAdminOK
WithPayload adds the payload to the get store status admin o k response
func (*GetStoreStatusAdminOK) WriteResponse ¶
func (o *GetStoreStatusAdminOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStoreStatusAdminParams ¶
type GetStoreStatusAdminParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetStoreStatusAdminParams contains all the bound params for the get store status admin operation typically these are obtained from a http.Request
swagger:parameters getStoreStatusAdmin
func NewGetStoreStatusAdminParams ¶
func NewGetStoreStatusAdminParams() GetStoreStatusAdminParams
NewGetStoreStatusAdminParams creates a new GetStoreStatusAdminParams object
There are no default values defined in the spec.
func (*GetStoreStatusAdminParams) BindRequest ¶
func (o *GetStoreStatusAdminParams) 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 NewGetStoreStatusAdminParams() beforehand.
type GetStoreStatusAdminURL ¶
type GetStoreStatusAdminURL struct {
// contains filtered or unexported fields
}
GetStoreStatusAdminURL generates an URL for the get store status admin operation
func (*GetStoreStatusAdminURL) Build ¶
func (o *GetStoreStatusAdminURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetStoreStatusAdminURL) BuildFull ¶
func (o *GetStoreStatusAdminURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetStoreStatusAdminURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetStoreStatusAdminURL) SetBasePath ¶
func (o *GetStoreStatusAdminURL) 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 (*GetStoreStatusAdminURL) String ¶
func (o *GetStoreStatusAdminURL) String() string
String returns the string representation of the path with query string
func (*GetStoreStatusAdminURL) StringFull ¶
func (o *GetStoreStatusAdminURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetStoreStatusAdminURL) WithBasePath ¶
func (o *GetStoreStatusAdminURL) WithBasePath(bp string) *GetStoreStatusAdminURL
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 GetStoreStatusAdminUnauthorized ¶
GetStoreStatusAdminUnauthorized Unauthorized
swagger:response getStoreStatusAdminUnauthorized
func NewGetStoreStatusAdminUnauthorized ¶
func NewGetStoreStatusAdminUnauthorized() *GetStoreStatusAdminUnauthorized
NewGetStoreStatusAdminUnauthorized creates GetStoreStatusAdminUnauthorized with default headers values
func (*GetStoreStatusAdminUnauthorized) SetPayload ¶
func (o *GetStoreStatusAdminUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get store status admin unauthorized response
func (*GetStoreStatusAdminUnauthorized) WithPayload ¶
func (o *GetStoreStatusAdminUnauthorized) WithPayload(payload *models.Error) *GetStoreStatusAdminUnauthorized
WithPayload adds the payload to the get store status admin unauthorized response
func (*GetStoreStatusAdminUnauthorized) WriteResponse ¶
func (o *GetStoreStatusAdminUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceBookings ¶
type ReplaceBookings struct { Context *middleware.Context Handler ReplaceBookingsHandler }
ReplaceBookings swagger:route PUT /admin/bookings admin replaceBookings
Replace current bookings ¶
Deletes all current bookings, refunds usage to users, and then replaces with current bookings. Existing users are retained, new users are created as required to match bookings.
func NewReplaceBookings ¶
func NewReplaceBookings(ctx *middleware.Context, handler ReplaceBookingsHandler) *ReplaceBookings
NewReplaceBookings creates a new http.Handler for the replace bookings operation
func (*ReplaceBookings) ServeHTTP ¶
func (o *ReplaceBookings) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceBookingsHandler ¶
type ReplaceBookingsHandler interface {
Handle(ReplaceBookingsParams, interface{}) middleware.Responder
}
ReplaceBookingsHandler interface for that can handle valid replace bookings params
type ReplaceBookingsHandlerFunc ¶
type ReplaceBookingsHandlerFunc func(ReplaceBookingsParams, interface{}) middleware.Responder
ReplaceBookingsHandlerFunc turns a function with the right signature into a replace bookings handler
func (ReplaceBookingsHandlerFunc) Handle ¶
func (fn ReplaceBookingsHandlerFunc) Handle(params ReplaceBookingsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ReplaceBookingsInternalServerError ¶
type ReplaceBookingsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ReplaceBookingsInternalServerError Internal Error
swagger:response replaceBookingsInternalServerError
func NewReplaceBookingsInternalServerError ¶
func NewReplaceBookingsInternalServerError() *ReplaceBookingsInternalServerError
NewReplaceBookingsInternalServerError creates ReplaceBookingsInternalServerError with default headers values
func (*ReplaceBookingsInternalServerError) SetPayload ¶
func (o *ReplaceBookingsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace bookings internal server error response
func (*ReplaceBookingsInternalServerError) WithPayload ¶
func (o *ReplaceBookingsInternalServerError) WithPayload(payload *models.Error) *ReplaceBookingsInternalServerError
WithPayload adds the payload to the replace bookings internal server error response
func (*ReplaceBookingsInternalServerError) WriteResponse ¶
func (o *ReplaceBookingsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceBookingsNotFound ¶
type ReplaceBookingsNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ReplaceBookingsNotFound The specified resource was not found
swagger:response replaceBookingsNotFound
func NewReplaceBookingsNotFound ¶
func NewReplaceBookingsNotFound() *ReplaceBookingsNotFound
NewReplaceBookingsNotFound creates ReplaceBookingsNotFound with default headers values
func (*ReplaceBookingsNotFound) SetPayload ¶
func (o *ReplaceBookingsNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace bookings not found response
func (*ReplaceBookingsNotFound) WithPayload ¶
func (o *ReplaceBookingsNotFound) WithPayload(payload *models.Error) *ReplaceBookingsNotFound
WithPayload adds the payload to the replace bookings not found response
func (*ReplaceBookingsNotFound) WriteResponse ¶
func (o *ReplaceBookingsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceBookingsOK ¶
type ReplaceBookingsOK struct { /* In: Body */ Payload *models.StoreStatusAdmin `json:"body,omitempty"` }
ReplaceBookingsOK OK
swagger:response replaceBookingsOK
func NewReplaceBookingsOK ¶
func NewReplaceBookingsOK() *ReplaceBookingsOK
NewReplaceBookingsOK creates ReplaceBookingsOK with default headers values
func (*ReplaceBookingsOK) SetPayload ¶
func (o *ReplaceBookingsOK) SetPayload(payload *models.StoreStatusAdmin)
SetPayload sets the payload to the replace bookings o k response
func (*ReplaceBookingsOK) WithPayload ¶
func (o *ReplaceBookingsOK) WithPayload(payload *models.StoreStatusAdmin) *ReplaceBookingsOK
WithPayload adds the payload to the replace bookings o k response
func (*ReplaceBookingsOK) WriteResponse ¶
func (o *ReplaceBookingsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceBookingsParams ¶
type ReplaceBookingsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Bookings models.Bookings }
ReplaceBookingsParams contains all the bound params for the replace bookings operation typically these are obtained from a http.Request
swagger:parameters ReplaceBookings
func NewReplaceBookingsParams ¶
func NewReplaceBookingsParams() ReplaceBookingsParams
NewReplaceBookingsParams creates a new ReplaceBookingsParams object
There are no default values defined in the spec.
func (*ReplaceBookingsParams) BindRequest ¶
func (o *ReplaceBookingsParams) 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 NewReplaceBookingsParams() beforehand.
type ReplaceBookingsURL ¶
type ReplaceBookingsURL struct {
// contains filtered or unexported fields
}
ReplaceBookingsURL generates an URL for the replace bookings operation
func (*ReplaceBookingsURL) Build ¶
func (o *ReplaceBookingsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ReplaceBookingsURL) BuildFull ¶
func (o *ReplaceBookingsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ReplaceBookingsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ReplaceBookingsURL) SetBasePath ¶
func (o *ReplaceBookingsURL) 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 (*ReplaceBookingsURL) String ¶
func (o *ReplaceBookingsURL) String() string
String returns the string representation of the path with query string
func (*ReplaceBookingsURL) StringFull ¶
func (o *ReplaceBookingsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ReplaceBookingsURL) WithBasePath ¶
func (o *ReplaceBookingsURL) WithBasePath(bp string) *ReplaceBookingsURL
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 ReplaceBookingsUnauthorized ¶
ReplaceBookingsUnauthorized Unauthorized
swagger:response replaceBookingsUnauthorized
func NewReplaceBookingsUnauthorized ¶
func NewReplaceBookingsUnauthorized() *ReplaceBookingsUnauthorized
NewReplaceBookingsUnauthorized creates ReplaceBookingsUnauthorized with default headers values
func (*ReplaceBookingsUnauthorized) SetPayload ¶
func (o *ReplaceBookingsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace bookings unauthorized response
func (*ReplaceBookingsUnauthorized) WithPayload ¶
func (o *ReplaceBookingsUnauthorized) WithPayload(payload *models.Error) *ReplaceBookingsUnauthorized
WithPayload adds the payload to the replace bookings unauthorized response
func (*ReplaceBookingsUnauthorized) WriteResponse ¶
func (o *ReplaceBookingsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceManifest ¶
type ReplaceManifest struct { Context *middleware.Context Handler ReplaceManifestHandler }
ReplaceManifest swagger:route PUT /admin/manifest admin replaceManifest
Replace the manifest ¶
Delete the existing manifest and replace it with a new one. All items have specified names so bookings do not need updating (except perhaps you should if booked resources have been removed)
func NewReplaceManifest ¶
func NewReplaceManifest(ctx *middleware.Context, handler ReplaceManifestHandler) *ReplaceManifest
NewReplaceManifest creates a new http.Handler for the replace manifest operation
func (*ReplaceManifest) ServeHTTP ¶
func (o *ReplaceManifest) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceManifestHandler ¶
type ReplaceManifestHandler interface {
Handle(ReplaceManifestParams, interface{}) middleware.Responder
}
ReplaceManifestHandler interface for that can handle valid replace manifest params
type ReplaceManifestHandlerFunc ¶
type ReplaceManifestHandlerFunc func(ReplaceManifestParams, interface{}) middleware.Responder
ReplaceManifestHandlerFunc turns a function with the right signature into a replace manifest handler
func (ReplaceManifestHandlerFunc) Handle ¶
func (fn ReplaceManifestHandlerFunc) Handle(params ReplaceManifestParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ReplaceManifestInternalServerError ¶
type ReplaceManifestInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ReplaceManifestInternalServerError Internal Error
swagger:response replaceManifestInternalServerError
func NewReplaceManifestInternalServerError ¶
func NewReplaceManifestInternalServerError() *ReplaceManifestInternalServerError
NewReplaceManifestInternalServerError creates ReplaceManifestInternalServerError with default headers values
func (*ReplaceManifestInternalServerError) SetPayload ¶
func (o *ReplaceManifestInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace manifest internal server error response
func (*ReplaceManifestInternalServerError) WithPayload ¶
func (o *ReplaceManifestInternalServerError) WithPayload(payload *models.Error) *ReplaceManifestInternalServerError
WithPayload adds the payload to the replace manifest internal server error response
func (*ReplaceManifestInternalServerError) WriteResponse ¶
func (o *ReplaceManifestInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceManifestNotFound ¶
type ReplaceManifestNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ReplaceManifestNotFound The specified resource was not found
swagger:response replaceManifestNotFound
func NewReplaceManifestNotFound ¶
func NewReplaceManifestNotFound() *ReplaceManifestNotFound
NewReplaceManifestNotFound creates ReplaceManifestNotFound with default headers values
func (*ReplaceManifestNotFound) SetPayload ¶
func (o *ReplaceManifestNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace manifest not found response
func (*ReplaceManifestNotFound) WithPayload ¶
func (o *ReplaceManifestNotFound) WithPayload(payload *models.Error) *ReplaceManifestNotFound
WithPayload adds the payload to the replace manifest not found response
func (*ReplaceManifestNotFound) WriteResponse ¶
func (o *ReplaceManifestNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceManifestOK ¶
type ReplaceManifestOK struct { /* In: Body */ Payload *models.StoreStatusAdmin `json:"body,omitempty"` }
ReplaceManifestOK OK
swagger:response replaceManifestOK
func NewReplaceManifestOK ¶
func NewReplaceManifestOK() *ReplaceManifestOK
NewReplaceManifestOK creates ReplaceManifestOK with default headers values
func (*ReplaceManifestOK) SetPayload ¶
func (o *ReplaceManifestOK) SetPayload(payload *models.StoreStatusAdmin)
SetPayload sets the payload to the replace manifest o k response
func (*ReplaceManifestOK) WithPayload ¶
func (o *ReplaceManifestOK) WithPayload(payload *models.StoreStatusAdmin) *ReplaceManifestOK
WithPayload adds the payload to the replace manifest o k response
func (*ReplaceManifestOK) WriteResponse ¶
func (o *ReplaceManifestOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceManifestParams ¶
type ReplaceManifestParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Manifest *models.Manifest }
ReplaceManifestParams contains all the bound params for the replace manifest operation typically these are obtained from a http.Request
swagger:parameters ReplaceManifest
func NewReplaceManifestParams ¶
func NewReplaceManifestParams() ReplaceManifestParams
NewReplaceManifestParams creates a new ReplaceManifestParams object
There are no default values defined in the spec.
func (*ReplaceManifestParams) BindRequest ¶
func (o *ReplaceManifestParams) 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 NewReplaceManifestParams() beforehand.
type ReplaceManifestURL ¶
type ReplaceManifestURL struct {
// contains filtered or unexported fields
}
ReplaceManifestURL generates an URL for the replace manifest operation
func (*ReplaceManifestURL) Build ¶
func (o *ReplaceManifestURL) Build() (*url.URL, error)
Build a url path and query string
func (*ReplaceManifestURL) BuildFull ¶
func (o *ReplaceManifestURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ReplaceManifestURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ReplaceManifestURL) SetBasePath ¶
func (o *ReplaceManifestURL) 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 (*ReplaceManifestURL) String ¶
func (o *ReplaceManifestURL) String() string
String returns the string representation of the path with query string
func (*ReplaceManifestURL) StringFull ¶
func (o *ReplaceManifestURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ReplaceManifestURL) WithBasePath ¶
func (o *ReplaceManifestURL) WithBasePath(bp string) *ReplaceManifestURL
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 ReplaceManifestUnauthorized ¶
ReplaceManifestUnauthorized Unauthorized
swagger:response replaceManifestUnauthorized
func NewReplaceManifestUnauthorized ¶
func NewReplaceManifestUnauthorized() *ReplaceManifestUnauthorized
NewReplaceManifestUnauthorized creates ReplaceManifestUnauthorized with default headers values
func (*ReplaceManifestUnauthorized) SetPayload ¶
func (o *ReplaceManifestUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace manifest unauthorized response
func (*ReplaceManifestUnauthorized) WithPayload ¶
func (o *ReplaceManifestUnauthorized) WithPayload(payload *models.Error) *ReplaceManifestUnauthorized
WithPayload adds the payload to the replace manifest unauthorized response
func (*ReplaceManifestUnauthorized) WriteResponse ¶
func (o *ReplaceManifestUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceOldBookings ¶
type ReplaceOldBookings struct { Context *middleware.Context Handler ReplaceOldBookingsHandler }
ReplaceOldBookings swagger:route PUT /admin/oldbookings admin replaceOldBookings
Replace old bookings ¶
Deletes all old bookings, and all users, then replaces both according to the bookings in the request, i.e. users and their usage are created as required to match bookings.
func NewReplaceOldBookings ¶
func NewReplaceOldBookings(ctx *middleware.Context, handler ReplaceOldBookingsHandler) *ReplaceOldBookings
NewReplaceOldBookings creates a new http.Handler for the replace old bookings operation
func (*ReplaceOldBookings) ServeHTTP ¶
func (o *ReplaceOldBookings) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReplaceOldBookingsHandler ¶
type ReplaceOldBookingsHandler interface {
Handle(ReplaceOldBookingsParams, interface{}) middleware.Responder
}
ReplaceOldBookingsHandler interface for that can handle valid replace old bookings params
type ReplaceOldBookingsHandlerFunc ¶
type ReplaceOldBookingsHandlerFunc func(ReplaceOldBookingsParams, interface{}) middleware.Responder
ReplaceOldBookingsHandlerFunc turns a function with the right signature into a replace old bookings handler
func (ReplaceOldBookingsHandlerFunc) Handle ¶
func (fn ReplaceOldBookingsHandlerFunc) Handle(params ReplaceOldBookingsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ReplaceOldBookingsInternalServerError ¶
type ReplaceOldBookingsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ReplaceOldBookingsInternalServerError Internal Error
swagger:response replaceOldBookingsInternalServerError
func NewReplaceOldBookingsInternalServerError ¶
func NewReplaceOldBookingsInternalServerError() *ReplaceOldBookingsInternalServerError
NewReplaceOldBookingsInternalServerError creates ReplaceOldBookingsInternalServerError with default headers values
func (*ReplaceOldBookingsInternalServerError) SetPayload ¶
func (o *ReplaceOldBookingsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace old bookings internal server error response
func (*ReplaceOldBookingsInternalServerError) WithPayload ¶
func (o *ReplaceOldBookingsInternalServerError) WithPayload(payload *models.Error) *ReplaceOldBookingsInternalServerError
WithPayload adds the payload to the replace old bookings internal server error response
func (*ReplaceOldBookingsInternalServerError) WriteResponse ¶
func (o *ReplaceOldBookingsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceOldBookingsNotFound ¶
type ReplaceOldBookingsNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ReplaceOldBookingsNotFound The specified resource was not found
swagger:response replaceOldBookingsNotFound
func NewReplaceOldBookingsNotFound ¶
func NewReplaceOldBookingsNotFound() *ReplaceOldBookingsNotFound
NewReplaceOldBookingsNotFound creates ReplaceOldBookingsNotFound with default headers values
func (*ReplaceOldBookingsNotFound) SetPayload ¶
func (o *ReplaceOldBookingsNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace old bookings not found response
func (*ReplaceOldBookingsNotFound) WithPayload ¶
func (o *ReplaceOldBookingsNotFound) WithPayload(payload *models.Error) *ReplaceOldBookingsNotFound
WithPayload adds the payload to the replace old bookings not found response
func (*ReplaceOldBookingsNotFound) WriteResponse ¶
func (o *ReplaceOldBookingsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceOldBookingsOK ¶
type ReplaceOldBookingsOK struct { /* In: Body */ Payload *models.StoreStatusAdmin `json:"body,omitempty"` }
ReplaceOldBookingsOK OK
swagger:response replaceOldBookingsOK
func NewReplaceOldBookingsOK ¶
func NewReplaceOldBookingsOK() *ReplaceOldBookingsOK
NewReplaceOldBookingsOK creates ReplaceOldBookingsOK with default headers values
func (*ReplaceOldBookingsOK) SetPayload ¶
func (o *ReplaceOldBookingsOK) SetPayload(payload *models.StoreStatusAdmin)
SetPayload sets the payload to the replace old bookings o k response
func (*ReplaceOldBookingsOK) WithPayload ¶
func (o *ReplaceOldBookingsOK) WithPayload(payload *models.StoreStatusAdmin) *ReplaceOldBookingsOK
WithPayload adds the payload to the replace old bookings o k response
func (*ReplaceOldBookingsOK) WriteResponse ¶
func (o *ReplaceOldBookingsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReplaceOldBookingsParams ¶
type ReplaceOldBookingsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Bookings models.Bookings }
ReplaceOldBookingsParams contains all the bound params for the replace old bookings operation typically these are obtained from a http.Request
swagger:parameters ReplaceOldBookings
func NewReplaceOldBookingsParams ¶
func NewReplaceOldBookingsParams() ReplaceOldBookingsParams
NewReplaceOldBookingsParams creates a new ReplaceOldBookingsParams object
There are no default values defined in the spec.
func (*ReplaceOldBookingsParams) BindRequest ¶
func (o *ReplaceOldBookingsParams) 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 NewReplaceOldBookingsParams() beforehand.
type ReplaceOldBookingsURL ¶
type ReplaceOldBookingsURL struct {
// contains filtered or unexported fields
}
ReplaceOldBookingsURL generates an URL for the replace old bookings operation
func (*ReplaceOldBookingsURL) Build ¶
func (o *ReplaceOldBookingsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ReplaceOldBookingsURL) BuildFull ¶
func (o *ReplaceOldBookingsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ReplaceOldBookingsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ReplaceOldBookingsURL) SetBasePath ¶
func (o *ReplaceOldBookingsURL) 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 (*ReplaceOldBookingsURL) String ¶
func (o *ReplaceOldBookingsURL) String() string
String returns the string representation of the path with query string
func (*ReplaceOldBookingsURL) StringFull ¶
func (o *ReplaceOldBookingsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ReplaceOldBookingsURL) WithBasePath ¶
func (o *ReplaceOldBookingsURL) WithBasePath(bp string) *ReplaceOldBookingsURL
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 ReplaceOldBookingsUnauthorized ¶
ReplaceOldBookingsUnauthorized Unauthorized
swagger:response replaceOldBookingsUnauthorized
func NewReplaceOldBookingsUnauthorized ¶
func NewReplaceOldBookingsUnauthorized() *ReplaceOldBookingsUnauthorized
NewReplaceOldBookingsUnauthorized creates ReplaceOldBookingsUnauthorized with default headers values
func (*ReplaceOldBookingsUnauthorized) SetPayload ¶
func (o *ReplaceOldBookingsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the replace old bookings unauthorized response
func (*ReplaceOldBookingsUnauthorized) WithPayload ¶
func (o *ReplaceOldBookingsUnauthorized) WithPayload(payload *models.Error) *ReplaceOldBookingsUnauthorized
WithPayload adds the payload to the replace old bookings unauthorized response
func (*ReplaceOldBookingsUnauthorized) WriteResponse ¶
func (o *ReplaceOldBookingsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetLock ¶
type SetLock struct { Context *middleware.Context Handler SetLockHandler }
SetLock swagger:route PUT /admin/status admin setLock
set/release booking lock
Set whether the booking system is locked for users
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 *models.Error `json:"body,omitempty"` }
SetLockInternalServerError Internal Error
swagger:response setLockInternalServerError
func NewSetLockInternalServerError ¶
func NewSetLockInternalServerError() *SetLockInternalServerError
NewSetLockInternalServerError creates SetLockInternalServerError with default headers values
func (*SetLockInternalServerError) SetPayload ¶
func (o *SetLockInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the set lock internal server error response
func (*SetLockInternalServerError) WithPayload ¶
func (o *SetLockInternalServerError) WithPayload(payload *models.Error) *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 SetLockNotFound ¶
SetLockNotFound The specified resource was not found
swagger:response setLockNotFound
func NewSetLockNotFound ¶
func NewSetLockNotFound() *SetLockNotFound
NewSetLockNotFound creates SetLockNotFound with default headers values
func (*SetLockNotFound) SetPayload ¶
func (o *SetLockNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the set lock not found response
func (*SetLockNotFound) WithPayload ¶
func (o *SetLockNotFound) WithPayload(payload *models.Error) *SetLockNotFound
WithPayload adds the payload to the set lock not found response
func (*SetLockNotFound) WriteResponse ¶
func (o *SetLockNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetLockOK ¶
type SetLockOK struct { /* In: Body */ Payload *models.StoreStatusAdmin `json:"body,omitempty"` }
SetLockOK OK
swagger:response setLockOK
func NewSetLockOK ¶
func NewSetLockOK() *SetLockOK
NewSetLockOK creates SetLockOK with default headers values
func (*SetLockOK) SetPayload ¶
func (o *SetLockOK) SetPayload(payload *models.StoreStatusAdmin)
SetPayload sets the payload to the set lock o k response
func (*SetLockOK) WithPayload ¶
func (o *SetLockOK) WithPayload(payload *models.StoreStatusAdmin) *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 ¶
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 *models.Error)
SetPayload sets the payload to the set lock unauthorized response
func (*SetLockUnauthorized) WithPayload ¶
func (o *SetLockUnauthorized) WithPayload(payload *models.Error) *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
type SetSlotIsAvailable ¶
type SetSlotIsAvailable struct { Context *middleware.Context Handler SetSlotIsAvailableHandler }
SetSlotIsAvailable swagger:route PUT /admin/slots/{slot_name} admin setSlotIsAvailable
Set the availability of the slot ¶
Sets the availability of the underlying resource for the slot, including a status message. Used to prevent users accessing equipment that should not be used, e.g. after failing an automated test, or make it available again after fixing it.
func NewSetSlotIsAvailable ¶
func NewSetSlotIsAvailable(ctx *middleware.Context, handler SetSlotIsAvailableHandler) *SetSlotIsAvailable
NewSetSlotIsAvailable creates a new http.Handler for the set slot is available operation
func (*SetSlotIsAvailable) ServeHTTP ¶
func (o *SetSlotIsAvailable) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetSlotIsAvailableHandler ¶
type SetSlotIsAvailableHandler interface {
Handle(SetSlotIsAvailableParams, interface{}) middleware.Responder
}
SetSlotIsAvailableHandler interface for that can handle valid set slot is available params
type SetSlotIsAvailableHandlerFunc ¶
type SetSlotIsAvailableHandlerFunc func(SetSlotIsAvailableParams, interface{}) middleware.Responder
SetSlotIsAvailableHandlerFunc turns a function with the right signature into a set slot is available handler
func (SetSlotIsAvailableHandlerFunc) Handle ¶
func (fn SetSlotIsAvailableHandlerFunc) Handle(params SetSlotIsAvailableParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type SetSlotIsAvailableInternalServerError ¶
type SetSlotIsAvailableInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
SetSlotIsAvailableInternalServerError Internal Error
swagger:response setSlotIsAvailableInternalServerError
func NewSetSlotIsAvailableInternalServerError ¶
func NewSetSlotIsAvailableInternalServerError() *SetSlotIsAvailableInternalServerError
NewSetSlotIsAvailableInternalServerError creates SetSlotIsAvailableInternalServerError with default headers values
func (*SetSlotIsAvailableInternalServerError) SetPayload ¶
func (o *SetSlotIsAvailableInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the set slot is available internal server error response
func (*SetSlotIsAvailableInternalServerError) WithPayload ¶
func (o *SetSlotIsAvailableInternalServerError) WithPayload(payload *models.Error) *SetSlotIsAvailableInternalServerError
WithPayload adds the payload to the set slot is available internal server error response
func (*SetSlotIsAvailableInternalServerError) WriteResponse ¶
func (o *SetSlotIsAvailableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetSlotIsAvailableNoContent ¶
type SetSlotIsAvailableNoContent struct { }
SetSlotIsAvailableNoContent OK
swagger:response setSlotIsAvailableNoContent
func NewSetSlotIsAvailableNoContent ¶
func NewSetSlotIsAvailableNoContent() *SetSlotIsAvailableNoContent
NewSetSlotIsAvailableNoContent creates SetSlotIsAvailableNoContent with default headers values
func (*SetSlotIsAvailableNoContent) WriteResponse ¶
func (o *SetSlotIsAvailableNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetSlotIsAvailableNotFound ¶
type SetSlotIsAvailableNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
SetSlotIsAvailableNotFound The specified resource was not found
swagger:response setSlotIsAvailableNotFound
func NewSetSlotIsAvailableNotFound ¶
func NewSetSlotIsAvailableNotFound() *SetSlotIsAvailableNotFound
NewSetSlotIsAvailableNotFound creates SetSlotIsAvailableNotFound with default headers values
func (*SetSlotIsAvailableNotFound) SetPayload ¶
func (o *SetSlotIsAvailableNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the set slot is available not found response
func (*SetSlotIsAvailableNotFound) WithPayload ¶
func (o *SetSlotIsAvailableNotFound) WithPayload(payload *models.Error) *SetSlotIsAvailableNotFound
WithPayload adds the payload to the set slot is available not found response
func (*SetSlotIsAvailableNotFound) WriteResponse ¶
func (o *SetSlotIsAvailableNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetSlotIsAvailableParams ¶
type SetSlotIsAvailableParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: query */ Available bool /* Required: true In: query */ Reason string /* Required: true In: path */ SlotName string }
SetSlotIsAvailableParams contains all the bound params for the set slot is available operation typically these are obtained from a http.Request
swagger:parameters SetSlotIsAvailable
func NewSetSlotIsAvailableParams ¶
func NewSetSlotIsAvailableParams() SetSlotIsAvailableParams
NewSetSlotIsAvailableParams creates a new SetSlotIsAvailableParams object
There are no default values defined in the spec.
func (*SetSlotIsAvailableParams) BindRequest ¶
func (o *SetSlotIsAvailableParams) 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 NewSetSlotIsAvailableParams() beforehand.
type SetSlotIsAvailableURL ¶
type SetSlotIsAvailableURL struct { SlotName string Available bool Reason string // contains filtered or unexported fields }
SetSlotIsAvailableURL generates an URL for the set slot is available operation
func (*SetSlotIsAvailableURL) Build ¶
func (o *SetSlotIsAvailableURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetSlotIsAvailableURL) BuildFull ¶
func (o *SetSlotIsAvailableURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetSlotIsAvailableURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetSlotIsAvailableURL) SetBasePath ¶
func (o *SetSlotIsAvailableURL) 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 (*SetSlotIsAvailableURL) String ¶
func (o *SetSlotIsAvailableURL) String() string
String returns the string representation of the path with query string
func (*SetSlotIsAvailableURL) StringFull ¶
func (o *SetSlotIsAvailableURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetSlotIsAvailableURL) WithBasePath ¶
func (o *SetSlotIsAvailableURL) WithBasePath(bp string) *SetSlotIsAvailableURL
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 SetSlotIsAvailableUnauthorized ¶
SetSlotIsAvailableUnauthorized Unauthorized
swagger:response setSlotIsAvailableUnauthorized
func NewSetSlotIsAvailableUnauthorized ¶
func NewSetSlotIsAvailableUnauthorized() *SetSlotIsAvailableUnauthorized
NewSetSlotIsAvailableUnauthorized creates SetSlotIsAvailableUnauthorized with default headers values
func (*SetSlotIsAvailableUnauthorized) SetPayload ¶
func (o *SetSlotIsAvailableUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the set slot is available unauthorized response
func (*SetSlotIsAvailableUnauthorized) WithPayload ¶
func (o *SetSlotIsAvailableUnauthorized) WithPayload(payload *models.Error) *SetSlotIsAvailableUnauthorized
WithPayload adds the payload to the set slot is available unauthorized response
func (*SetSlotIsAvailableUnauthorized) WriteResponse ¶
func (o *SetSlotIsAvailableUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- check_manifest.go
- check_manifest_parameters.go
- check_manifest_responses.go
- check_manifest_urlbuilder.go
- export_bookings.go
- export_bookings_parameters.go
- export_bookings_responses.go
- export_bookings_urlbuilder.go
- export_manifest.go
- export_manifest_parameters.go
- export_manifest_responses.go
- export_manifest_urlbuilder.go
- export_old_bookings.go
- export_old_bookings_parameters.go
- export_old_bookings_responses.go
- export_old_bookings_urlbuilder.go
- export_users.go
- export_users_parameters.go
- export_users_responses.go
- export_users_urlbuilder.go
- get_slot_is_available.go
- get_slot_is_available_parameters.go
- get_slot_is_available_responses.go
- get_slot_is_available_urlbuilder.go
- get_store_status_admin.go
- get_store_status_admin_parameters.go
- get_store_status_admin_responses.go
- get_store_status_admin_urlbuilder.go
- replace_bookings.go
- replace_bookings_parameters.go
- replace_bookings_responses.go
- replace_bookings_urlbuilder.go
- replace_manifest.go
- replace_manifest_parameters.go
- replace_manifest_responses.go
- replace_manifest_urlbuilder.go
- replace_old_bookings.go
- replace_old_bookings_parameters.go
- replace_old_bookings_responses.go
- replace_old_bookings_urlbuilder.go
- set_lock.go
- set_lock_parameters.go
- set_lock_responses.go
- set_lock_urlbuilder.go
- set_slot_is_available.go
- set_slot_is_available_parameters.go
- set_slot_is_available_responses.go
- set_slot_is_available_urlbuilder.go