admin

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: AGPL-3.0, BSD-2-Clause, ISC Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CheckManifestInternalServerErrorCode int = 500

CheckManifestInternalServerErrorCode is the HTTP code returned for type CheckManifestInternalServerError

View Source
const CheckManifestNoContentCode int = 204

CheckManifestNoContentCode is the HTTP code returned for type CheckManifestNoContent

View Source
const CheckManifestNotFoundCode int = 404

CheckManifestNotFoundCode is the HTTP code returned for type CheckManifestNotFound

View Source
const CheckManifestOKCode int = 200

CheckManifestOKCode is the HTTP code returned for type CheckManifestOK

View Source
const CheckManifestUnauthorizedCode int = 401

CheckManifestUnauthorizedCode is the HTTP code returned for type CheckManifestUnauthorized

View Source
const ExportBookingsInternalServerErrorCode int = 500

ExportBookingsInternalServerErrorCode is the HTTP code returned for type ExportBookingsInternalServerError

View Source
const ExportBookingsNotFoundCode int = 404

ExportBookingsNotFoundCode is the HTTP code returned for type ExportBookingsNotFound

View Source
const ExportBookingsOKCode int = 200

ExportBookingsOKCode is the HTTP code returned for type ExportBookingsOK

View Source
const ExportBookingsUnauthorizedCode int = 401

ExportBookingsUnauthorizedCode is the HTTP code returned for type ExportBookingsUnauthorized

View Source
const ExportManifestInternalServerErrorCode int = 500

ExportManifestInternalServerErrorCode is the HTTP code returned for type ExportManifestInternalServerError

View Source
const ExportManifestNotFoundCode int = 404

ExportManifestNotFoundCode is the HTTP code returned for type ExportManifestNotFound

View Source
const ExportManifestOKCode int = 200

ExportManifestOKCode is the HTTP code returned for type ExportManifestOK

View Source
const ExportManifestUnauthorizedCode int = 401

ExportManifestUnauthorizedCode is the HTTP code returned for type ExportManifestUnauthorized

View Source
const ExportOldBookingsInternalServerErrorCode int = 500

ExportOldBookingsInternalServerErrorCode is the HTTP code returned for type ExportOldBookingsInternalServerError

View Source
const ExportOldBookingsNotFoundCode int = 404

ExportOldBookingsNotFoundCode is the HTTP code returned for type ExportOldBookingsNotFound

View Source
const ExportOldBookingsOKCode int = 200

ExportOldBookingsOKCode is the HTTP code returned for type ExportOldBookingsOK

View Source
const ExportOldBookingsUnauthorizedCode int = 401

ExportOldBookingsUnauthorizedCode is the HTTP code returned for type ExportOldBookingsUnauthorized

View Source
const ExportUsersInternalServerErrorCode int = 500

ExportUsersInternalServerErrorCode is the HTTP code returned for type ExportUsersInternalServerError

View Source
const ExportUsersNotFoundCode int = 404

ExportUsersNotFoundCode is the HTTP code returned for type ExportUsersNotFound

View Source
const ExportUsersOKCode int = 200

ExportUsersOKCode is the HTTP code returned for type ExportUsersOK

View Source
const ExportUsersUnauthorizedCode int = 401

ExportUsersUnauthorizedCode is the HTTP code returned for type ExportUsersUnauthorized

View Source
const GetResourceIsAvailableInternalServerErrorCode int = 500

GetResourceIsAvailableInternalServerErrorCode is the HTTP code returned for type GetResourceIsAvailableInternalServerError

View Source
const GetResourceIsAvailableNotFoundCode int = 404

GetResourceIsAvailableNotFoundCode is the HTTP code returned for type GetResourceIsAvailableNotFound

View Source
const GetResourceIsAvailableOKCode int = 200

GetResourceIsAvailableOKCode is the HTTP code returned for type GetResourceIsAvailableOK

View Source
const GetResourceIsAvailableUnauthorizedCode int = 401

GetResourceIsAvailableUnauthorizedCode is the HTTP code returned for type GetResourceIsAvailableUnauthorized

View Source
const GetResourcesInternalServerErrorCode int = 500

GetResourcesInternalServerErrorCode is the HTTP code returned for type GetResourcesInternalServerError

View Source
const GetResourcesNotFoundCode int = 404

GetResourcesNotFoundCode is the HTTP code returned for type GetResourcesNotFound

View Source
const GetResourcesOKCode int = 200

GetResourcesOKCode is the HTTP code returned for type GetResourcesOK

View Source
const GetResourcesUnauthorizedCode int = 401

GetResourcesUnauthorizedCode is the HTTP code returned for type GetResourcesUnauthorized

View Source
const GetSlotIsAvailableInternalServerErrorCode int = 500

GetSlotIsAvailableInternalServerErrorCode is the HTTP code returned for type GetSlotIsAvailableInternalServerError

View Source
const GetSlotIsAvailableNotFoundCode int = 404

GetSlotIsAvailableNotFoundCode is the HTTP code returned for type GetSlotIsAvailableNotFound

View Source
const GetSlotIsAvailableOKCode int = 200

GetSlotIsAvailableOKCode is the HTTP code returned for type GetSlotIsAvailableOK

View Source
const GetSlotIsAvailableUnauthorizedCode int = 401

GetSlotIsAvailableUnauthorizedCode is the HTTP code returned for type GetSlotIsAvailableUnauthorized

View Source
const GetStoreStatusAdminInternalServerErrorCode int = 500

GetStoreStatusAdminInternalServerErrorCode is the HTTP code returned for type GetStoreStatusAdminInternalServerError

View Source
const GetStoreStatusAdminNotFoundCode int = 404

GetStoreStatusAdminNotFoundCode is the HTTP code returned for type GetStoreStatusAdminNotFound

View Source
const GetStoreStatusAdminOKCode int = 200

GetStoreStatusAdminOKCode is the HTTP code returned for type GetStoreStatusAdminOK

View Source
const GetStoreStatusAdminUnauthorizedCode int = 401

GetStoreStatusAdminUnauthorizedCode is the HTTP code returned for type GetStoreStatusAdminUnauthorized

View Source
const ReplaceBookingsInternalServerErrorCode int = 500

ReplaceBookingsInternalServerErrorCode is the HTTP code returned for type ReplaceBookingsInternalServerError

View Source
const ReplaceBookingsNotFoundCode int = 404

ReplaceBookingsNotFoundCode is the HTTP code returned for type ReplaceBookingsNotFound

View Source
const ReplaceBookingsOKCode int = 200

ReplaceBookingsOKCode is the HTTP code returned for type ReplaceBookingsOK

View Source
const ReplaceBookingsUnauthorizedCode int = 401

ReplaceBookingsUnauthorizedCode is the HTTP code returned for type ReplaceBookingsUnauthorized

View Source
const ReplaceManifestInternalServerErrorCode int = 500

ReplaceManifestInternalServerErrorCode is the HTTP code returned for type ReplaceManifestInternalServerError

View Source
const ReplaceManifestNotFoundCode int = 404

ReplaceManifestNotFoundCode is the HTTP code returned for type ReplaceManifestNotFound

View Source
const ReplaceManifestOKCode int = 200

ReplaceManifestOKCode is the HTTP code returned for type ReplaceManifestOK

View Source
const ReplaceManifestUnauthorizedCode int = 401

ReplaceManifestUnauthorizedCode is the HTTP code returned for type ReplaceManifestUnauthorized

View Source
const ReplaceOldBookingsInternalServerErrorCode int = 500

ReplaceOldBookingsInternalServerErrorCode is the HTTP code returned for type ReplaceOldBookingsInternalServerError

View Source
const ReplaceOldBookingsNotFoundCode int = 404

ReplaceOldBookingsNotFoundCode is the HTTP code returned for type ReplaceOldBookingsNotFound

View Source
const ReplaceOldBookingsOKCode int = 200

ReplaceOldBookingsOKCode is the HTTP code returned for type ReplaceOldBookingsOK

View Source
const ReplaceOldBookingsUnauthorizedCode int = 401

ReplaceOldBookingsUnauthorizedCode is the HTTP code returned for type ReplaceOldBookingsUnauthorized

View Source
const SetLockInternalServerErrorCode int = 500

SetLockInternalServerErrorCode is the HTTP code returned for type SetLockInternalServerError

View Source
const SetLockNotFoundCode int = 404

SetLockNotFoundCode is the HTTP code returned for type SetLockNotFound

View Source
const SetLockOKCode int = 200

SetLockOKCode is the HTTP code returned for type SetLockOK

View Source
const SetLockUnauthorizedCode int = 401

SetLockUnauthorizedCode is the HTTP code returned for type SetLockUnauthorized

View Source
const SetResourceIsAvailableInternalServerErrorCode int = 500

SetResourceIsAvailableInternalServerErrorCode is the HTTP code returned for type SetResourceIsAvailableInternalServerError

View Source
const SetResourceIsAvailableNoContentCode int = 204

SetResourceIsAvailableNoContentCode is the HTTP code returned for type SetResourceIsAvailableNoContent

View Source
const SetResourceIsAvailableNotFoundCode int = 404

SetResourceIsAvailableNotFoundCode is the HTTP code returned for type SetResourceIsAvailableNotFound

View Source
const SetResourceIsAvailableUnauthorizedCode int = 401

SetResourceIsAvailableUnauthorizedCode is the HTTP code returned for type SetResourceIsAvailableUnauthorized

View Source
const SetSlotIsAvailableInternalServerErrorCode int = 500

SetSlotIsAvailableInternalServerErrorCode is the HTTP code returned for type SetSlotIsAvailableInternalServerError

View Source
const SetSlotIsAvailableNoContentCode int = 204

SetSlotIsAvailableNoContentCode is the HTTP code returned for type SetSlotIsAvailableNoContent

View Source
const SetSlotIsAvailableNotFoundCode int = 404

SetSlotIsAvailableNotFoundCode is the HTTP code returned for type SetSlotIsAvailableNotFound

View Source
const SetSlotIsAvailableUnauthorizedCode int = 401

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 is valid. Returns 204 if valid or, 200 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 *models.Error `json:"body,omitempty"`
}

CheckManifestInternalServerError Internal Error

swagger:response checkManifestInternalServerError

func NewCheckManifestInternalServerError

func NewCheckManifestInternalServerError() *CheckManifestInternalServerError

NewCheckManifestInternalServerError creates CheckManifestInternalServerError with default headers values

func (*CheckManifestInternalServerError) SetPayload

func (o *CheckManifestInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the check manifest internal server error response

func (*CheckManifestInternalServerError) WithPayload

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 - manifest is valid

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

type CheckManifestNotFound struct {

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

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 CheckManifestOK added in v0.3.0

type CheckManifestOK struct {

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

CheckManifestOK List of errors (e.g. errors in client-provided data such as manifest)

swagger:response checkManifestOK

func NewCheckManifestOK added in v0.3.0

func NewCheckManifestOK() *CheckManifestOK

NewCheckManifestOK creates CheckManifestOK with default headers values

func (*CheckManifestOK) SetPayload added in v0.3.0

func (o *CheckManifestOK) SetPayload(payload *models.ErrorList)

SetPayload sets the payload to the check manifest o k response

func (*CheckManifestOK) WithPayload added in v0.3.0

func (o *CheckManifestOK) WithPayload(payload *models.ErrorList) *CheckManifestOK

WithPayload adds the payload to the check manifest o k response

func (*CheckManifestOK) WriteResponse added in v0.3.0

func (o *CheckManifestOK) 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

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

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

type CheckManifestUnauthorized struct {

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

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

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

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

type ExportBookingsNotFound struct {

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

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

type ExportBookingsOK struct {

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

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

type ExportBookingsParams struct {

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

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

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

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

type ExportBookingsUnauthorized struct {

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

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

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

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

type ExportManifestNotFound struct {

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

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

type ExportManifestOK struct {

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

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

type ExportManifestParams struct {

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

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

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

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

type ExportManifestUnauthorized struct {

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

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

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

WithPayload adds the payload to the export old bookings internal server error response

func (*ExportOldBookingsInternalServerError) WriteResponse

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

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

type ExportOldBookingsOK struct {

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

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

type ExportOldBookingsParams struct {

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

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

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

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

type ExportOldBookingsUnauthorized struct {

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

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

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

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

type ExportUsersNotFound struct {

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

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

type ExportUsersOK struct {

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

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

type ExportUsersParams struct {

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

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

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

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

type ExportUsersUnauthorized struct {

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

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 GetResourceIsAvailable added in v0.3.10

type GetResourceIsAvailable struct {
	Context *middleware.Context
	Handler GetResourceIsAvailableHandler
}
GetResourceIsAvailable swagger:route GET /admin/resources/{resource_name} admin getResourceIsAvailable

Get the availability of the resource

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 NewGetResourceIsAvailable added in v0.3.10

func NewGetResourceIsAvailable(ctx *middleware.Context, handler GetResourceIsAvailableHandler) *GetResourceIsAvailable

NewGetResourceIsAvailable creates a new http.Handler for the get resource is available operation

func (*GetResourceIsAvailable) ServeHTTP added in v0.3.10

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

type GetResourceIsAvailableHandler added in v0.3.10

type GetResourceIsAvailableHandler interface {
	Handle(GetResourceIsAvailableParams, interface{}) middleware.Responder
}

GetResourceIsAvailableHandler interface for that can handle valid get resource is available params

type GetResourceIsAvailableHandlerFunc added in v0.3.10

type GetResourceIsAvailableHandlerFunc func(GetResourceIsAvailableParams, interface{}) middleware.Responder

GetResourceIsAvailableHandlerFunc turns a function with the right signature into a get resource is available handler

func (GetResourceIsAvailableHandlerFunc) Handle added in v0.3.10

Handle executing the request and returning a response

type GetResourceIsAvailableInternalServerError added in v0.3.10

type GetResourceIsAvailableInternalServerError struct {

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

GetResourceIsAvailableInternalServerError Internal Error

swagger:response getResourceIsAvailableInternalServerError

func NewGetResourceIsAvailableInternalServerError added in v0.3.10

func NewGetResourceIsAvailableInternalServerError() *GetResourceIsAvailableInternalServerError

NewGetResourceIsAvailableInternalServerError creates GetResourceIsAvailableInternalServerError with default headers values

func (*GetResourceIsAvailableInternalServerError) SetPayload added in v0.3.10

func (o *GetResourceIsAvailableInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get resource is available internal server error response

func (*GetResourceIsAvailableInternalServerError) WithPayload added in v0.3.10

WithPayload adds the payload to the get resource is available internal server error response

func (*GetResourceIsAvailableInternalServerError) WriteResponse added in v0.3.10

WriteResponse to the client

type GetResourceIsAvailableNotFound added in v0.3.10

type GetResourceIsAvailableNotFound struct {

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

GetResourceIsAvailableNotFound The specified resource was not found

swagger:response getResourceIsAvailableNotFound

func NewGetResourceIsAvailableNotFound added in v0.3.10

func NewGetResourceIsAvailableNotFound() *GetResourceIsAvailableNotFound

NewGetResourceIsAvailableNotFound creates GetResourceIsAvailableNotFound with default headers values

func (*GetResourceIsAvailableNotFound) SetPayload added in v0.3.10

func (o *GetResourceIsAvailableNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get resource is available not found response

func (*GetResourceIsAvailableNotFound) WithPayload added in v0.3.10

WithPayload adds the payload to the get resource is available not found response

func (*GetResourceIsAvailableNotFound) WriteResponse added in v0.3.10

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

WriteResponse to the client

type GetResourceIsAvailableOK added in v0.3.10

type GetResourceIsAvailableOK struct {

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

GetResourceIsAvailableOK OK

swagger:response getResourceIsAvailableOK

func NewGetResourceIsAvailableOK added in v0.3.10

func NewGetResourceIsAvailableOK() *GetResourceIsAvailableOK

NewGetResourceIsAvailableOK creates GetResourceIsAvailableOK with default headers values

func (*GetResourceIsAvailableOK) SetPayload added in v0.3.10

func (o *GetResourceIsAvailableOK) SetPayload(payload *models.ResourceStatus)

SetPayload sets the payload to the get resource is available o k response

func (*GetResourceIsAvailableOK) WithPayload added in v0.3.10

WithPayload adds the payload to the get resource is available o k response

func (*GetResourceIsAvailableOK) WriteResponse added in v0.3.10

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

WriteResponse to the client

type GetResourceIsAvailableParams added in v0.3.10

type GetResourceIsAvailableParams struct {

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

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

GetResourceIsAvailableParams contains all the bound params for the get resource is available operation typically these are obtained from a http.Request

swagger:parameters GetResourceIsAvailable

func NewGetResourceIsAvailableParams added in v0.3.10

func NewGetResourceIsAvailableParams() GetResourceIsAvailableParams

NewGetResourceIsAvailableParams creates a new GetResourceIsAvailableParams object

There are no default values defined in the spec.

func (*GetResourceIsAvailableParams) BindRequest added in v0.3.10

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 NewGetResourceIsAvailableParams() beforehand.

type GetResourceIsAvailableURL added in v0.3.10

type GetResourceIsAvailableURL struct {
	ResourceName string
	// contains filtered or unexported fields
}

GetResourceIsAvailableURL generates an URL for the get resource is available operation

func (*GetResourceIsAvailableURL) Build added in v0.3.10

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

Build a url path and query string

func (*GetResourceIsAvailableURL) BuildFull added in v0.3.10

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

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

func (*GetResourceIsAvailableURL) Must added in v0.3.10

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

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

func (*GetResourceIsAvailableURL) SetBasePath added in v0.3.10

func (o *GetResourceIsAvailableURL) 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 (*GetResourceIsAvailableURL) String added in v0.3.10

func (o *GetResourceIsAvailableURL) String() string

String returns the string representation of the path with query string

func (*GetResourceIsAvailableURL) StringFull added in v0.3.10

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

StringFull returns the string representation of a complete url

func (*GetResourceIsAvailableURL) WithBasePath added in v0.3.10

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 GetResourceIsAvailableUnauthorized added in v0.3.10

type GetResourceIsAvailableUnauthorized struct {

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

GetResourceIsAvailableUnauthorized Unauthorized

swagger:response getResourceIsAvailableUnauthorized

func NewGetResourceIsAvailableUnauthorized added in v0.3.10

func NewGetResourceIsAvailableUnauthorized() *GetResourceIsAvailableUnauthorized

NewGetResourceIsAvailableUnauthorized creates GetResourceIsAvailableUnauthorized with default headers values

func (*GetResourceIsAvailableUnauthorized) SetPayload added in v0.3.10

func (o *GetResourceIsAvailableUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get resource is available unauthorized response

func (*GetResourceIsAvailableUnauthorized) WithPayload added in v0.3.10

WithPayload adds the payload to the get resource is available unauthorized response

func (*GetResourceIsAvailableUnauthorized) WriteResponse added in v0.3.10

WriteResponse to the client

type GetResources added in v0.3.10

type GetResources struct {
	Context *middleware.Context
	Handler GetResourcesHandler
}
GetResources swagger:route GET /admin/resources admin getResources

Get the list of resources in the manifest

Gets a list of all resources, including their availability and any tests specified

func NewGetResources added in v0.3.10

func NewGetResources(ctx *middleware.Context, handler GetResourcesHandler) *GetResources

NewGetResources creates a new http.Handler for the get resources operation

func (*GetResources) ServeHTTP added in v0.3.10

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

type GetResourcesHandler added in v0.3.10

type GetResourcesHandler interface {
	Handle(GetResourcesParams, interface{}) middleware.Responder
}

GetResourcesHandler interface for that can handle valid get resources params

type GetResourcesHandlerFunc added in v0.3.10

type GetResourcesHandlerFunc func(GetResourcesParams, interface{}) middleware.Responder

GetResourcesHandlerFunc turns a function with the right signature into a get resources handler

func (GetResourcesHandlerFunc) Handle added in v0.3.10

func (fn GetResourcesHandlerFunc) Handle(params GetResourcesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetResourcesInternalServerError added in v0.3.10

type GetResourcesInternalServerError struct {

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

GetResourcesInternalServerError Internal Error

swagger:response getResourcesInternalServerError

func NewGetResourcesInternalServerError added in v0.3.10

func NewGetResourcesInternalServerError() *GetResourcesInternalServerError

NewGetResourcesInternalServerError creates GetResourcesInternalServerError with default headers values

func (*GetResourcesInternalServerError) SetPayload added in v0.3.10

func (o *GetResourcesInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get resources internal server error response

func (*GetResourcesInternalServerError) WithPayload added in v0.3.10

WithPayload adds the payload to the get resources internal server error response

func (*GetResourcesInternalServerError) WriteResponse added in v0.3.10

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

WriteResponse to the client

type GetResourcesNotFound added in v0.3.10

type GetResourcesNotFound struct {

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

GetResourcesNotFound The specified resource was not found

swagger:response getResourcesNotFound

func NewGetResourcesNotFound added in v0.3.10

func NewGetResourcesNotFound() *GetResourcesNotFound

NewGetResourcesNotFound creates GetResourcesNotFound with default headers values

func (*GetResourcesNotFound) SetPayload added in v0.3.10

func (o *GetResourcesNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get resources not found response

func (*GetResourcesNotFound) WithPayload added in v0.3.10

func (o *GetResourcesNotFound) WithPayload(payload *models.Error) *GetResourcesNotFound

WithPayload adds the payload to the get resources not found response

func (*GetResourcesNotFound) WriteResponse added in v0.3.10

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

WriteResponse to the client

type GetResourcesOK added in v0.3.10

type GetResourcesOK struct {

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

GetResourcesOK OK

swagger:response getResourcesOK

func NewGetResourcesOK added in v0.3.10

func NewGetResourcesOK() *GetResourcesOK

NewGetResourcesOK creates GetResourcesOK with default headers values

func (*GetResourcesOK) SetPayload added in v0.3.10

func (o *GetResourcesOK) SetPayload(payload models.Resources)

SetPayload sets the payload to the get resources o k response

func (*GetResourcesOK) WithPayload added in v0.3.10

func (o *GetResourcesOK) WithPayload(payload models.Resources) *GetResourcesOK

WithPayload adds the payload to the get resources o k response

func (*GetResourcesOK) WriteResponse added in v0.3.10

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

WriteResponse to the client

type GetResourcesParams added in v0.3.10

type GetResourcesParams struct {

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

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

swagger:parameters GetResources

func NewGetResourcesParams added in v0.3.10

func NewGetResourcesParams() GetResourcesParams

NewGetResourcesParams creates a new GetResourcesParams object

There are no default values defined in the spec.

func (*GetResourcesParams) BindRequest added in v0.3.10

func (o *GetResourcesParams) 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 NewGetResourcesParams() beforehand.

type GetResourcesURL added in v0.3.10

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

GetResourcesURL generates an URL for the get resources operation

func (*GetResourcesURL) Build added in v0.3.10

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

Build a url path and query string

func (*GetResourcesURL) BuildFull added in v0.3.10

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

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

func (*GetResourcesURL) Must added in v0.3.10

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

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

func (*GetResourcesURL) SetBasePath added in v0.3.10

func (o *GetResourcesURL) 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 (*GetResourcesURL) String added in v0.3.10

func (o *GetResourcesURL) String() string

String returns the string representation of the path with query string

func (*GetResourcesURL) StringFull added in v0.3.10

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

StringFull returns the string representation of a complete url

func (*GetResourcesURL) WithBasePath added in v0.3.10

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

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 GetResourcesUnauthorized added in v0.3.10

type GetResourcesUnauthorized struct {

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

GetResourcesUnauthorized Unauthorized

swagger:response getResourcesUnauthorized

func NewGetResourcesUnauthorized added in v0.3.10

func NewGetResourcesUnauthorized() *GetResourcesUnauthorized

NewGetResourcesUnauthorized creates GetResourcesUnauthorized with default headers values

func (*GetResourcesUnauthorized) SetPayload added in v0.3.10

func (o *GetResourcesUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get resources unauthorized response

func (*GetResourcesUnauthorized) WithPayload added in v0.3.10

WithPayload adds the payload to the get resources unauthorized response

func (*GetResourcesUnauthorized) WriteResponse added in v0.3.10

func (o *GetResourcesUnauthorized) 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

WithPayload adds the payload to the get slot is available internal server error response

func (*GetSlotIsAvailableInternalServerError) WriteResponse

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

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.ResourceStatus `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.ResourceStatus)

SetPayload sets the payload to the get slot is available o k response

func (*GetSlotIsAvailableOK) WithPayload

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

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

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

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

type GetSlotIsAvailableUnauthorized struct {

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

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

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

WithPayload adds the payload to the get store status admin internal server error response

func (*GetStoreStatusAdminInternalServerError) WriteResponse

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

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

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

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

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

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

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

type GetStoreStatusAdminUnauthorized struct {

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

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

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

WithPayload adds the payload to the replace bookings internal server error response

func (*ReplaceBookingsInternalServerError) WriteResponse

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

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

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

type ReplaceBookingsUnauthorized struct {

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

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

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

WithPayload adds the payload to the replace manifest internal server error response

func (*ReplaceManifestInternalServerError) WriteResponse

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

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

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

type ReplaceManifestUnauthorized struct {

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

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

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

WithPayload adds the payload to the replace old bookings internal server error response

func (*ReplaceOldBookingsInternalServerError) WriteResponse

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

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

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

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

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

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

type ReplaceOldBookingsUnauthorized struct {

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

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

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

func (*SetLock) ServeHTTP

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

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

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

type SetLockNotFound struct {

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

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

type SetLockURL struct {
	Lock bool
	Msg  *string
	// contains filtered or unexported fields
}

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) Must

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

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

func (*SetLockURL) SetBasePath

func (o *SetLockURL) SetBasePath(bp string)

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

func (*SetLockURL) String

func (o *SetLockURL) String() string

String returns the string representation of the path with query string

func (*SetLockURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SetLockURL) WithBasePath

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

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

type SetLockUnauthorized

type SetLockUnauthorized struct {

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

SetLockUnauthorized Unauthorized

swagger:response setLockUnauthorized

func NewSetLockUnauthorized

func NewSetLockUnauthorized() *SetLockUnauthorized

NewSetLockUnauthorized creates SetLockUnauthorized with default headers values

func (*SetLockUnauthorized) SetPayload

func (o *SetLockUnauthorized) SetPayload(payload *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 SetResourceIsAvailable added in v0.3.10

type SetResourceIsAvailable struct {
	Context *middleware.Context
	Handler SetResourceIsAvailableHandler
}
SetResourceIsAvailable swagger:route PUT /admin/resources/{resource_name} admin setResourceIsAvailable

Set the availability of the resource

Sets the availability of a resource, 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 NewSetResourceIsAvailable added in v0.3.10

func NewSetResourceIsAvailable(ctx *middleware.Context, handler SetResourceIsAvailableHandler) *SetResourceIsAvailable

NewSetResourceIsAvailable creates a new http.Handler for the set resource is available operation

func (*SetResourceIsAvailable) ServeHTTP added in v0.3.10

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

type SetResourceIsAvailableHandler added in v0.3.10

type SetResourceIsAvailableHandler interface {
	Handle(SetResourceIsAvailableParams, interface{}) middleware.Responder
}

SetResourceIsAvailableHandler interface for that can handle valid set resource is available params

type SetResourceIsAvailableHandlerFunc added in v0.3.10

type SetResourceIsAvailableHandlerFunc func(SetResourceIsAvailableParams, interface{}) middleware.Responder

SetResourceIsAvailableHandlerFunc turns a function with the right signature into a set resource is available handler

func (SetResourceIsAvailableHandlerFunc) Handle added in v0.3.10

Handle executing the request and returning a response

type SetResourceIsAvailableInternalServerError added in v0.3.10

type SetResourceIsAvailableInternalServerError struct {

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

SetResourceIsAvailableInternalServerError Internal Error

swagger:response setResourceIsAvailableInternalServerError

func NewSetResourceIsAvailableInternalServerError added in v0.3.10

func NewSetResourceIsAvailableInternalServerError() *SetResourceIsAvailableInternalServerError

NewSetResourceIsAvailableInternalServerError creates SetResourceIsAvailableInternalServerError with default headers values

func (*SetResourceIsAvailableInternalServerError) SetPayload added in v0.3.10

func (o *SetResourceIsAvailableInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the set resource is available internal server error response

func (*SetResourceIsAvailableInternalServerError) WithPayload added in v0.3.10

WithPayload adds the payload to the set resource is available internal server error response

func (*SetResourceIsAvailableInternalServerError) WriteResponse added in v0.3.10

WriteResponse to the client

type SetResourceIsAvailableNoContent added in v0.3.10

type SetResourceIsAvailableNoContent struct {
}

SetResourceIsAvailableNoContent OK

swagger:response setResourceIsAvailableNoContent

func NewSetResourceIsAvailableNoContent added in v0.3.10

func NewSetResourceIsAvailableNoContent() *SetResourceIsAvailableNoContent

NewSetResourceIsAvailableNoContent creates SetResourceIsAvailableNoContent with default headers values

func (*SetResourceIsAvailableNoContent) WriteResponse added in v0.3.10

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

WriteResponse to the client

type SetResourceIsAvailableNotFound added in v0.3.10

type SetResourceIsAvailableNotFound struct {

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

SetResourceIsAvailableNotFound The specified resource was not found

swagger:response setResourceIsAvailableNotFound

func NewSetResourceIsAvailableNotFound added in v0.3.10

func NewSetResourceIsAvailableNotFound() *SetResourceIsAvailableNotFound

NewSetResourceIsAvailableNotFound creates SetResourceIsAvailableNotFound with default headers values

func (*SetResourceIsAvailableNotFound) SetPayload added in v0.3.10

func (o *SetResourceIsAvailableNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the set resource is available not found response

func (*SetResourceIsAvailableNotFound) WithPayload added in v0.3.10

WithPayload adds the payload to the set resource is available not found response

func (*SetResourceIsAvailableNotFound) WriteResponse added in v0.3.10

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

WriteResponse to the client

type SetResourceIsAvailableParams added in v0.3.10

type SetResourceIsAvailableParams struct {

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

	/*
	  Required: true
	  In: query
	*/
	Available bool
	/*
	  Required: true
	  In: query
	*/
	Reason string
	/*
	  Required: true
	  In: path
	*/
	ResourceName string
}

SetResourceIsAvailableParams contains all the bound params for the set resource is available operation typically these are obtained from a http.Request

swagger:parameters SetResourceIsAvailable

func NewSetResourceIsAvailableParams added in v0.3.10

func NewSetResourceIsAvailableParams() SetResourceIsAvailableParams

NewSetResourceIsAvailableParams creates a new SetResourceIsAvailableParams object

There are no default values defined in the spec.

func (*SetResourceIsAvailableParams) BindRequest added in v0.3.10

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 NewSetResourceIsAvailableParams() beforehand.

type SetResourceIsAvailableURL added in v0.3.10

type SetResourceIsAvailableURL struct {
	ResourceName string

	Available bool
	Reason    string
	// contains filtered or unexported fields
}

SetResourceIsAvailableURL generates an URL for the set resource is available operation

func (*SetResourceIsAvailableURL) Build added in v0.3.10

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

Build a url path and query string

func (*SetResourceIsAvailableURL) BuildFull added in v0.3.10

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

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

func (*SetResourceIsAvailableURL) Must added in v0.3.10

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

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

func (*SetResourceIsAvailableURL) SetBasePath added in v0.3.10

func (o *SetResourceIsAvailableURL) 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 (*SetResourceIsAvailableURL) String added in v0.3.10

func (o *SetResourceIsAvailableURL) String() string

String returns the string representation of the path with query string

func (*SetResourceIsAvailableURL) StringFull added in v0.3.10

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

StringFull returns the string representation of a complete url

func (*SetResourceIsAvailableURL) WithBasePath added in v0.3.10

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 SetResourceIsAvailableUnauthorized added in v0.3.10

type SetResourceIsAvailableUnauthorized struct {

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

SetResourceIsAvailableUnauthorized Unauthorized

swagger:response setResourceIsAvailableUnauthorized

func NewSetResourceIsAvailableUnauthorized added in v0.3.10

func NewSetResourceIsAvailableUnauthorized() *SetResourceIsAvailableUnauthorized

NewSetResourceIsAvailableUnauthorized creates SetResourceIsAvailableUnauthorized with default headers values

func (*SetResourceIsAvailableUnauthorized) SetPayload added in v0.3.10

func (o *SetResourceIsAvailableUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the set resource is available unauthorized response

func (*SetResourceIsAvailableUnauthorized) WithPayload added in v0.3.10

WithPayload adds the payload to the set resource is available unauthorized response

func (*SetResourceIsAvailableUnauthorized) WriteResponse added in v0.3.10

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

WithPayload adds the payload to the set slot is available internal server error response

func (*SetSlotIsAvailableInternalServerError) WriteResponse

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

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

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

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

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

type SetSlotIsAvailableUnauthorized struct {

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

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

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

Jump to

Keyboard shortcuts

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