Documentation ¶
Index ¶
- func BatchGetWaitEstimatesWaitlistPath() string
- func CreateWaitlistEntryWaitlistPath() string
- func DecodeBatchGetWaitEstimatesRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeCreateWaitlistEntryRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeDeleteWaitlistEntryRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeGetWaitlistEntryRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DeleteWaitlistEntryWaitlistPath() string
- func EncodeBatchGetWaitEstimatesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeBatchGetWaitEstimatesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeCreateWaitlistEntryError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeCreateWaitlistEntryResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeDeleteWaitlistEntryError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeDeleteWaitlistEntryResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeGetWaitlistEntryError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeGetWaitlistEntryResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func GetWaitlistEntryWaitlistPath() string
- func Mount(mux goahttp.Muxer, h *Server)
- func MountBatchGetWaitEstimatesHandler(mux goahttp.Muxer, h http.Handler)
- func MountCreateWaitlistEntryHandler(mux goahttp.Muxer, h http.Handler)
- func MountDeleteWaitlistEntryHandler(mux goahttp.Muxer, h http.Handler)
- func MountGetWaitlistEntryHandler(mux goahttp.Muxer, h http.Handler)
- func NewBatchGetWaitEstimatesHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewBatchGetWaitEstimatesPayload(body *BatchGetWaitEstimatesRequestBody) *waitlist.BatchGetWaitEstimatesPayload
- func NewCreateWaitlistEntryHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewCreateWaitlistEntryPayload(body *CreateWaitlistEntryRequestBody) *waitlist.CreateWaitlistEntryPayload
- func NewDeleteWaitlistEntryHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewDeleteWaitlistEntryPayload(body *DeleteWaitlistEntryRequestBody) *waitlist.DeleteWaitlistEntryPayload
- func NewGetWaitlistEntryHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewGetWaitlistEntryPayload(body *GetWaitlistEntryRequestBody) *waitlist.GetWaitlistEntryPayload
- func ValidateBatchGetWaitEstimatesRequestBody(body *BatchGetWaitEstimatesRequestBody) (err error)
- func ValidateCreateWaitlistEntryRequestBody(body *CreateWaitlistEntryRequestBody) (err error)
- func ValidateDeleteWaitlistEntryRequestBody(body *DeleteWaitlistEntryRequestBody) (err error)
- func ValidateGetWaitlistEntryRequestBody(body *GetWaitlistEntryRequestBody) (err error)
- func ValidatePostalAddressRequestBodyRequestBody(body *PostalAddressRequestBodyRequestBody) (err error)
- func ValidateUserInformationRequestBodyRequestBody(body *UserInformationRequestBodyRequestBody) (err error)
- type BatchGetWaitEstimatesBadRequestResponseBody
- type BatchGetWaitEstimatesClientClosedRequestResponseBody
- type BatchGetWaitEstimatesConflictResponseBody
- type BatchGetWaitEstimatesForbiddenResponseBody
- type BatchGetWaitEstimatesGatewayTimeoutResponseBody
- type BatchGetWaitEstimatesInternalServerErrorResponseBody
- type BatchGetWaitEstimatesNotFoundResponseBody
- type BatchGetWaitEstimatesNotImplementedResponseBody
- type BatchGetWaitEstimatesRequestBody
- type BatchGetWaitEstimatesResponseBody
- type BatchGetWaitEstimatesServiceUnavailableResponseBody
- type BatchGetWaitEstimatesTooManyRequestsResponseBody
- type BatchGetWaitEstimatesUnauthorizedResponseBody
- type CreateWaitlistEntryBadRequestResponseBody
- type CreateWaitlistEntryClientClosedRequestResponseBody
- type CreateWaitlistEntryConflictResponseBody
- type CreateWaitlistEntryForbiddenResponseBody
- type CreateWaitlistEntryGatewayTimeoutResponseBody
- type CreateWaitlistEntryInternalServerErrorResponseBody
- type CreateWaitlistEntryNotFoundResponseBody
- type CreateWaitlistEntryNotImplementedResponseBody
- type CreateWaitlistEntryRequestBody
- type CreateWaitlistEntryResponseBody
- type CreateWaitlistEntryServiceUnavailableResponseBody
- type CreateWaitlistEntryTooManyRequestsResponseBody
- type CreateWaitlistEntryUnauthorizedResponseBody
- type DeleteWaitlistEntryBadRequestResponseBody
- type DeleteWaitlistEntryClientClosedRequestResponseBody
- type DeleteWaitlistEntryConflictResponseBody
- type DeleteWaitlistEntryForbiddenResponseBody
- type DeleteWaitlistEntryGatewayTimeoutResponseBody
- type DeleteWaitlistEntryInternalServerErrorResponseBody
- type DeleteWaitlistEntryNotFoundResponseBody
- type DeleteWaitlistEntryNotImplementedResponseBody
- type DeleteWaitlistEntryRequestBody
- type DeleteWaitlistEntryServiceUnavailableResponseBody
- type DeleteWaitlistEntryTooManyRequestsResponseBody
- type DeleteWaitlistEntryUnauthorizedResponseBody
- type ErrorNamer
- type EstimatedSeatTimeRangeResponseBody
- type GetWaitlistEntryBadRequestResponseBody
- type GetWaitlistEntryClientClosedRequestResponseBody
- type GetWaitlistEntryConflictResponseBody
- type GetWaitlistEntryForbiddenResponseBody
- type GetWaitlistEntryGatewayTimeoutResponseBody
- type GetWaitlistEntryInternalServerErrorResponseBody
- type GetWaitlistEntryNotFoundResponseBody
- type GetWaitlistEntryNotImplementedResponseBody
- type GetWaitlistEntryRequestBody
- type GetWaitlistEntryResponseBody
- type GetWaitlistEntryServiceUnavailableResponseBody
- type GetWaitlistEntryTooManyRequestsResponseBody
- type GetWaitlistEntryUnauthorizedResponseBody
- type MountPoint
- type PostalAddressRequestBodyRequestBody
- type Server
- type UserInformationRequestBodyRequestBody
- type WaitEstimateResponseBody
- type WaitLengthResponseBody
- type WaitlistBusinessLogicFailureResponseBody
- type WaitlistEntryResponseBody
- type WaitlistEntryStateTimesResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchGetWaitEstimatesWaitlistPath ¶
func BatchGetWaitEstimatesWaitlistPath() string
BatchGetWaitEstimatesWaitlistPath returns the URL path to the waitlist service batch_get_wait_estimates HTTP endpoint.
func CreateWaitlistEntryWaitlistPath ¶
func CreateWaitlistEntryWaitlistPath() string
CreateWaitlistEntryWaitlistPath returns the URL path to the waitlist service create_waitlist_entry HTTP endpoint.
func DecodeBatchGetWaitEstimatesRequest ¶
func DecodeBatchGetWaitEstimatesRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeBatchGetWaitEstimatesRequest returns a decoder for requests sent to the waitlist batch_get_wait_estimates endpoint.
func DecodeCreateWaitlistEntryRequest ¶
func DecodeCreateWaitlistEntryRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeCreateWaitlistEntryRequest returns a decoder for requests sent to the waitlist create_waitlist_entry endpoint.
func DecodeDeleteWaitlistEntryRequest ¶
func DecodeDeleteWaitlistEntryRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeDeleteWaitlistEntryRequest returns a decoder for requests sent to the waitlist delete_waitlist_entry endpoint.
func DecodeGetWaitlistEntryRequest ¶
func DecodeGetWaitlistEntryRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeGetWaitlistEntryRequest returns a decoder for requests sent to the waitlist get_waitlist_entry endpoint.
func DeleteWaitlistEntryWaitlistPath ¶
func DeleteWaitlistEntryWaitlistPath() string
DeleteWaitlistEntryWaitlistPath returns the URL path to the waitlist service delete_waitlist_entry HTTP endpoint.
func EncodeBatchGetWaitEstimatesError ¶
func EncodeBatchGetWaitEstimatesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeBatchGetWaitEstimatesError returns an encoder for errors returned by the batch_get_wait_estimates waitlist endpoint.
func EncodeBatchGetWaitEstimatesResponse ¶
func EncodeBatchGetWaitEstimatesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeBatchGetWaitEstimatesResponse returns an encoder for responses returned by the waitlist batch_get_wait_estimates endpoint.
func EncodeCreateWaitlistEntryError ¶
func EncodeCreateWaitlistEntryError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeCreateWaitlistEntryError returns an encoder for errors returned by the create_waitlist_entry waitlist endpoint.
func EncodeCreateWaitlistEntryResponse ¶
func EncodeCreateWaitlistEntryResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeCreateWaitlistEntryResponse returns an encoder for responses returned by the waitlist create_waitlist_entry endpoint.
func EncodeDeleteWaitlistEntryError ¶
func EncodeDeleteWaitlistEntryError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeDeleteWaitlistEntryError returns an encoder for errors returned by the delete_waitlist_entry waitlist endpoint.
func EncodeDeleteWaitlistEntryResponse ¶
func EncodeDeleteWaitlistEntryResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeDeleteWaitlistEntryResponse returns an encoder for responses returned by the waitlist delete_waitlist_entry endpoint.
func EncodeGetWaitlistEntryError ¶
func EncodeGetWaitlistEntryError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeGetWaitlistEntryError returns an encoder for errors returned by the get_waitlist_entry waitlist endpoint.
func EncodeGetWaitlistEntryResponse ¶
func EncodeGetWaitlistEntryResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeGetWaitlistEntryResponse returns an encoder for responses returned by the waitlist get_waitlist_entry endpoint.
func GetWaitlistEntryWaitlistPath ¶
func GetWaitlistEntryWaitlistPath() string
GetWaitlistEntryWaitlistPath returns the URL path to the waitlist service get_waitlist_entry HTTP endpoint.
func MountBatchGetWaitEstimatesHandler ¶
MountBatchGetWaitEstimatesHandler configures the mux to serve the "waitlist" service "batch_get_wait_estimates" endpoint.
func MountCreateWaitlistEntryHandler ¶
MountCreateWaitlistEntryHandler configures the mux to serve the "waitlist" service "create_waitlist_entry" endpoint.
func MountDeleteWaitlistEntryHandler ¶
MountDeleteWaitlistEntryHandler configures the mux to serve the "waitlist" service "delete_waitlist_entry" endpoint.
func MountGetWaitlistEntryHandler ¶
MountGetWaitlistEntryHandler configures the mux to serve the "waitlist" service "get_waitlist_entry" endpoint.
func NewBatchGetWaitEstimatesHandler ¶
func NewBatchGetWaitEstimatesHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewBatchGetWaitEstimatesHandler creates a HTTP handler which loads the HTTP request and calls the "waitlist" service "batch_get_wait_estimates" endpoint.
func NewBatchGetWaitEstimatesPayload ¶
func NewBatchGetWaitEstimatesPayload(body *BatchGetWaitEstimatesRequestBody) *waitlist.BatchGetWaitEstimatesPayload
NewBatchGetWaitEstimatesPayload builds a waitlist service batch_get_wait_estimates endpoint payload.
func NewCreateWaitlistEntryHandler ¶
func NewCreateWaitlistEntryHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewCreateWaitlistEntryHandler creates a HTTP handler which loads the HTTP request and calls the "waitlist" service "create_waitlist_entry" endpoint.
func NewCreateWaitlistEntryPayload ¶
func NewCreateWaitlistEntryPayload(body *CreateWaitlistEntryRequestBody) *waitlist.CreateWaitlistEntryPayload
NewCreateWaitlistEntryPayload builds a waitlist service create_waitlist_entry endpoint payload.
func NewDeleteWaitlistEntryHandler ¶
func NewDeleteWaitlistEntryHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewDeleteWaitlistEntryHandler creates a HTTP handler which loads the HTTP request and calls the "waitlist" service "delete_waitlist_entry" endpoint.
func NewDeleteWaitlistEntryPayload ¶
func NewDeleteWaitlistEntryPayload(body *DeleteWaitlistEntryRequestBody) *waitlist.DeleteWaitlistEntryPayload
NewDeleteWaitlistEntryPayload builds a waitlist service delete_waitlist_entry endpoint payload.
func NewGetWaitlistEntryHandler ¶
func NewGetWaitlistEntryHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewGetWaitlistEntryHandler creates a HTTP handler which loads the HTTP request and calls the "waitlist" service "get_waitlist_entry" endpoint.
func NewGetWaitlistEntryPayload ¶
func NewGetWaitlistEntryPayload(body *GetWaitlistEntryRequestBody) *waitlist.GetWaitlistEntryPayload
NewGetWaitlistEntryPayload builds a waitlist service get_waitlist_entry endpoint payload.
func ValidateBatchGetWaitEstimatesRequestBody ¶
func ValidateBatchGetWaitEstimatesRequestBody(body *BatchGetWaitEstimatesRequestBody) (err error)
ValidateBatchGetWaitEstimatesRequestBody runs the validations defined on batch_get_wait_estimates_request_body
func ValidateCreateWaitlistEntryRequestBody ¶
func ValidateCreateWaitlistEntryRequestBody(body *CreateWaitlistEntryRequestBody) (err error)
ValidateCreateWaitlistEntryRequestBody runs the validations defined on create_waitlist_entry_request_body
func ValidateDeleteWaitlistEntryRequestBody ¶
func ValidateDeleteWaitlistEntryRequestBody(body *DeleteWaitlistEntryRequestBody) (err error)
ValidateDeleteWaitlistEntryRequestBody runs the validations defined on delete_waitlist_entry_request_body
func ValidateGetWaitlistEntryRequestBody ¶
func ValidateGetWaitlistEntryRequestBody(body *GetWaitlistEntryRequestBody) (err error)
ValidateGetWaitlistEntryRequestBody runs the validations defined on get_waitlist_entry_request_body
func ValidatePostalAddressRequestBodyRequestBody ¶
func ValidatePostalAddressRequestBodyRequestBody(body *PostalAddressRequestBodyRequestBody) (err error)
ValidatePostalAddressRequestBodyRequestBody runs the validations defined on PostalAddressRequestBodyRequestBody
func ValidateUserInformationRequestBodyRequestBody ¶
func ValidateUserInformationRequestBodyRequestBody(body *UserInformationRequestBodyRequestBody) (err error)
ValidateUserInformationRequestBodyRequestBody runs the validations defined on UserInformationRequestBodyRequestBody
Types ¶
type BatchGetWaitEstimatesBadRequestResponseBody ¶
type BatchGetWaitEstimatesBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesBadRequestResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "bad_request" error.
func NewBatchGetWaitEstimatesBadRequestResponseBody ¶
func NewBatchGetWaitEstimatesBadRequestResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesBadRequestResponseBody
NewBatchGetWaitEstimatesBadRequestResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesClientClosedRequestResponseBody ¶
type BatchGetWaitEstimatesClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesClientClosedRequestResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "client_closed_request" error.
func NewBatchGetWaitEstimatesClientClosedRequestResponseBody ¶
func NewBatchGetWaitEstimatesClientClosedRequestResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesClientClosedRequestResponseBody
NewBatchGetWaitEstimatesClientClosedRequestResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesConflictResponseBody ¶
type BatchGetWaitEstimatesConflictResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesConflictResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "conflict" error.
func NewBatchGetWaitEstimatesConflictResponseBody ¶
func NewBatchGetWaitEstimatesConflictResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesConflictResponseBody
NewBatchGetWaitEstimatesConflictResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesForbiddenResponseBody ¶
type BatchGetWaitEstimatesForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesForbiddenResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "forbidden" error.
func NewBatchGetWaitEstimatesForbiddenResponseBody ¶
func NewBatchGetWaitEstimatesForbiddenResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesForbiddenResponseBody
NewBatchGetWaitEstimatesForbiddenResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesGatewayTimeoutResponseBody ¶
type BatchGetWaitEstimatesGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesGatewayTimeoutResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "gateway_timeout" error.
func NewBatchGetWaitEstimatesGatewayTimeoutResponseBody ¶
func NewBatchGetWaitEstimatesGatewayTimeoutResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesGatewayTimeoutResponseBody
NewBatchGetWaitEstimatesGatewayTimeoutResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesInternalServerErrorResponseBody ¶
type BatchGetWaitEstimatesInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesInternalServerErrorResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "internal_server_error" error.
func NewBatchGetWaitEstimatesInternalServerErrorResponseBody ¶
func NewBatchGetWaitEstimatesInternalServerErrorResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesInternalServerErrorResponseBody
NewBatchGetWaitEstimatesInternalServerErrorResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesNotFoundResponseBody ¶
type BatchGetWaitEstimatesNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesNotFoundResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "not_found" error.
func NewBatchGetWaitEstimatesNotFoundResponseBody ¶
func NewBatchGetWaitEstimatesNotFoundResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesNotFoundResponseBody
NewBatchGetWaitEstimatesNotFoundResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesNotImplementedResponseBody ¶
type BatchGetWaitEstimatesNotImplementedResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesNotImplementedResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "not_implemented" error.
func NewBatchGetWaitEstimatesNotImplementedResponseBody ¶
func NewBatchGetWaitEstimatesNotImplementedResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesNotImplementedResponseBody
NewBatchGetWaitEstimatesNotImplementedResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesRequestBody ¶
type BatchGetWaitEstimatesRequestBody struct { MerchantID *string `form:"merchant_id,omitempty" json:"merchant_id,omitempty" xml:"merchant_id,omitempty"` ServiceID *string `form:"service_id,omitempty" json:"service_id,omitempty" xml:"service_id,omitempty"` PartySize []int32 `form:"party_size,omitempty" json:"party_size,omitempty" xml:"party_size,omitempty"` }
BatchGetWaitEstimatesRequestBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP request body.
type BatchGetWaitEstimatesResponseBody ¶
type BatchGetWaitEstimatesResponseBody struct { WaitlistStatus string `form:"waitlist_status" json:"waitlist_status" xml:"waitlist_status"` WaitEstimate []*WaitEstimateResponseBody `form:"wait_estimate,omitempty" json:"wait_estimate,omitempty" xml:"wait_estimate,omitempty"` }
BatchGetWaitEstimatesResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body.
func NewBatchGetWaitEstimatesResponseBody ¶
func NewBatchGetWaitEstimatesResponseBody(res *waitlist.BatchGetWaitEstimatesResponse) *BatchGetWaitEstimatesResponseBody
NewBatchGetWaitEstimatesResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesServiceUnavailableResponseBody ¶
type BatchGetWaitEstimatesServiceUnavailableResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
BatchGetWaitEstimatesServiceUnavailableResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "service_unavailable" error.
func NewBatchGetWaitEstimatesServiceUnavailableResponseBody ¶
func NewBatchGetWaitEstimatesServiceUnavailableResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesServiceUnavailableResponseBody
NewBatchGetWaitEstimatesServiceUnavailableResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesTooManyRequestsResponseBody ¶
type BatchGetWaitEstimatesTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
BatchGetWaitEstimatesTooManyRequestsResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "too_many_requests" error.
func NewBatchGetWaitEstimatesTooManyRequestsResponseBody ¶
func NewBatchGetWaitEstimatesTooManyRequestsResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesTooManyRequestsResponseBody
NewBatchGetWaitEstimatesTooManyRequestsResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesUnauthorizedResponseBody ¶
type BatchGetWaitEstimatesUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
BatchGetWaitEstimatesUnauthorizedResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "unauthorized" error.
func NewBatchGetWaitEstimatesUnauthorizedResponseBody ¶
func NewBatchGetWaitEstimatesUnauthorizedResponseBody(res *goa.ServiceError) *BatchGetWaitEstimatesUnauthorizedResponseBody
NewBatchGetWaitEstimatesUnauthorizedResponseBody builds the HTTP response body from the result of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type CreateWaitlistEntryBadRequestResponseBody ¶
type CreateWaitlistEntryBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryBadRequestResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "bad_request" error.
func NewCreateWaitlistEntryBadRequestResponseBody ¶
func NewCreateWaitlistEntryBadRequestResponseBody(res *goa.ServiceError) *CreateWaitlistEntryBadRequestResponseBody
NewCreateWaitlistEntryBadRequestResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryClientClosedRequestResponseBody ¶
type CreateWaitlistEntryClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryClientClosedRequestResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "client_closed_request" error.
func NewCreateWaitlistEntryClientClosedRequestResponseBody ¶
func NewCreateWaitlistEntryClientClosedRequestResponseBody(res *goa.ServiceError) *CreateWaitlistEntryClientClosedRequestResponseBody
NewCreateWaitlistEntryClientClosedRequestResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryConflictResponseBody ¶
type CreateWaitlistEntryConflictResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryConflictResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "conflict" error.
func NewCreateWaitlistEntryConflictResponseBody ¶
func NewCreateWaitlistEntryConflictResponseBody(res *goa.ServiceError) *CreateWaitlistEntryConflictResponseBody
NewCreateWaitlistEntryConflictResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryForbiddenResponseBody ¶
type CreateWaitlistEntryForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryForbiddenResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "forbidden" error.
func NewCreateWaitlistEntryForbiddenResponseBody ¶
func NewCreateWaitlistEntryForbiddenResponseBody(res *goa.ServiceError) *CreateWaitlistEntryForbiddenResponseBody
NewCreateWaitlistEntryForbiddenResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryGatewayTimeoutResponseBody ¶
type CreateWaitlistEntryGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryGatewayTimeoutResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "gateway_timeout" error.
func NewCreateWaitlistEntryGatewayTimeoutResponseBody ¶
func NewCreateWaitlistEntryGatewayTimeoutResponseBody(res *goa.ServiceError) *CreateWaitlistEntryGatewayTimeoutResponseBody
NewCreateWaitlistEntryGatewayTimeoutResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryInternalServerErrorResponseBody ¶
type CreateWaitlistEntryInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryInternalServerErrorResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "internal_server_error" error.
func NewCreateWaitlistEntryInternalServerErrorResponseBody ¶
func NewCreateWaitlistEntryInternalServerErrorResponseBody(res *goa.ServiceError) *CreateWaitlistEntryInternalServerErrorResponseBody
NewCreateWaitlistEntryInternalServerErrorResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryNotFoundResponseBody ¶
type CreateWaitlistEntryNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryNotFoundResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "not_found" error.
func NewCreateWaitlistEntryNotFoundResponseBody ¶
func NewCreateWaitlistEntryNotFoundResponseBody(res *goa.ServiceError) *CreateWaitlistEntryNotFoundResponseBody
NewCreateWaitlistEntryNotFoundResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryNotImplementedResponseBody ¶
type CreateWaitlistEntryNotImplementedResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryNotImplementedResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "not_implemented" error.
func NewCreateWaitlistEntryNotImplementedResponseBody ¶
func NewCreateWaitlistEntryNotImplementedResponseBody(res *goa.ServiceError) *CreateWaitlistEntryNotImplementedResponseBody
NewCreateWaitlistEntryNotImplementedResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryRequestBody ¶
type CreateWaitlistEntryRequestBody struct { MerchantID *string `form:"merchant_id,omitempty" json:"merchant_id,omitempty" xml:"merchant_id,omitempty"` ServiceID *string `form:"service_id,omitempty" json:"service_id,omitempty" xml:"service_id,omitempty"` PartySize *int32 `form:"party_size,omitempty" json:"party_size,omitempty" xml:"party_size,omitempty"` UserInformation *UserInformationRequestBodyRequestBody `form:"user_information,omitempty" json:"user_information,omitempty" xml:"user_information,omitempty"` AdditionalRequest *string `form:"additional_request,omitempty" json:"additional_request,omitempty" xml:"additional_request,omitempty"` IdempotencyToken *string `form:"idempotency_token,omitempty" json:"idempotency_token,omitempty" xml:"idempotency_token,omitempty"` }
CreateWaitlistEntryRequestBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP request body.
type CreateWaitlistEntryResponseBody ¶
type CreateWaitlistEntryResponseBody struct { WaitlistEntryID *string `form:"waitlist_entry_id,omitempty" json:"waitlist_entry_id,omitempty" xml:"waitlist_entry_id,omitempty"` WaitlistBusinessLogicFailure *WaitlistBusinessLogicFailureResponseBody `` /* 145-byte string literal not displayed */ }
CreateWaitlistEntryResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body.
func NewCreateWaitlistEntryResponseBody ¶
func NewCreateWaitlistEntryResponseBody(res *waitlist.CreateWaitlistEntryResponse) *CreateWaitlistEntryResponseBody
NewCreateWaitlistEntryResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryServiceUnavailableResponseBody ¶
type CreateWaitlistEntryServiceUnavailableResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
CreateWaitlistEntryServiceUnavailableResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "service_unavailable" error.
func NewCreateWaitlistEntryServiceUnavailableResponseBody ¶
func NewCreateWaitlistEntryServiceUnavailableResponseBody(res *goa.ServiceError) *CreateWaitlistEntryServiceUnavailableResponseBody
NewCreateWaitlistEntryServiceUnavailableResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryTooManyRequestsResponseBody ¶
type CreateWaitlistEntryTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateWaitlistEntryTooManyRequestsResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "too_many_requests" error.
func NewCreateWaitlistEntryTooManyRequestsResponseBody ¶
func NewCreateWaitlistEntryTooManyRequestsResponseBody(res *goa.ServiceError) *CreateWaitlistEntryTooManyRequestsResponseBody
NewCreateWaitlistEntryTooManyRequestsResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type CreateWaitlistEntryUnauthorizedResponseBody ¶
type CreateWaitlistEntryUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
CreateWaitlistEntryUnauthorizedResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "unauthorized" error.
func NewCreateWaitlistEntryUnauthorizedResponseBody ¶
func NewCreateWaitlistEntryUnauthorizedResponseBody(res *goa.ServiceError) *CreateWaitlistEntryUnauthorizedResponseBody
NewCreateWaitlistEntryUnauthorizedResponseBody builds the HTTP response body from the result of the "create_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryBadRequestResponseBody ¶
type DeleteWaitlistEntryBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryBadRequestResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "bad_request" error.
func NewDeleteWaitlistEntryBadRequestResponseBody ¶
func NewDeleteWaitlistEntryBadRequestResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryBadRequestResponseBody
NewDeleteWaitlistEntryBadRequestResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryClientClosedRequestResponseBody ¶
type DeleteWaitlistEntryClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryClientClosedRequestResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "client_closed_request" error.
func NewDeleteWaitlistEntryClientClosedRequestResponseBody ¶
func NewDeleteWaitlistEntryClientClosedRequestResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryClientClosedRequestResponseBody
NewDeleteWaitlistEntryClientClosedRequestResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryConflictResponseBody ¶
type DeleteWaitlistEntryConflictResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryConflictResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "conflict" error.
func NewDeleteWaitlistEntryConflictResponseBody ¶
func NewDeleteWaitlistEntryConflictResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryConflictResponseBody
NewDeleteWaitlistEntryConflictResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryForbiddenResponseBody ¶
type DeleteWaitlistEntryForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryForbiddenResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "forbidden" error.
func NewDeleteWaitlistEntryForbiddenResponseBody ¶
func NewDeleteWaitlistEntryForbiddenResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryForbiddenResponseBody
NewDeleteWaitlistEntryForbiddenResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryGatewayTimeoutResponseBody ¶
type DeleteWaitlistEntryGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryGatewayTimeoutResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "gateway_timeout" error.
func NewDeleteWaitlistEntryGatewayTimeoutResponseBody ¶
func NewDeleteWaitlistEntryGatewayTimeoutResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryGatewayTimeoutResponseBody
NewDeleteWaitlistEntryGatewayTimeoutResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryInternalServerErrorResponseBody ¶
type DeleteWaitlistEntryInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryInternalServerErrorResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "internal_server_error" error.
func NewDeleteWaitlistEntryInternalServerErrorResponseBody ¶
func NewDeleteWaitlistEntryInternalServerErrorResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryInternalServerErrorResponseBody
NewDeleteWaitlistEntryInternalServerErrorResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryNotFoundResponseBody ¶
type DeleteWaitlistEntryNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryNotFoundResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "not_found" error.
func NewDeleteWaitlistEntryNotFoundResponseBody ¶
func NewDeleteWaitlistEntryNotFoundResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryNotFoundResponseBody
NewDeleteWaitlistEntryNotFoundResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryNotImplementedResponseBody ¶
type DeleteWaitlistEntryNotImplementedResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryNotImplementedResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "not_implemented" error.
func NewDeleteWaitlistEntryNotImplementedResponseBody ¶
func NewDeleteWaitlistEntryNotImplementedResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryNotImplementedResponseBody
NewDeleteWaitlistEntryNotImplementedResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryRequestBody ¶
type DeleteWaitlistEntryRequestBody struct {
WaitlistEntryID *string `form:"waitlist_entry_id,omitempty" json:"waitlist_entry_id,omitempty" xml:"waitlist_entry_id,omitempty"`
}
DeleteWaitlistEntryRequestBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP request body.
type DeleteWaitlistEntryServiceUnavailableResponseBody ¶
type DeleteWaitlistEntryServiceUnavailableResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
DeleteWaitlistEntryServiceUnavailableResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "service_unavailable" error.
func NewDeleteWaitlistEntryServiceUnavailableResponseBody ¶
func NewDeleteWaitlistEntryServiceUnavailableResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryServiceUnavailableResponseBody
NewDeleteWaitlistEntryServiceUnavailableResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryTooManyRequestsResponseBody ¶
type DeleteWaitlistEntryTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteWaitlistEntryTooManyRequestsResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "too_many_requests" error.
func NewDeleteWaitlistEntryTooManyRequestsResponseBody ¶
func NewDeleteWaitlistEntryTooManyRequestsResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryTooManyRequestsResponseBody
NewDeleteWaitlistEntryTooManyRequestsResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryUnauthorizedResponseBody ¶
type DeleteWaitlistEntryUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
DeleteWaitlistEntryUnauthorizedResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "unauthorized" error.
func NewDeleteWaitlistEntryUnauthorizedResponseBody ¶
func NewDeleteWaitlistEntryUnauthorizedResponseBody(res *goa.ServiceError) *DeleteWaitlistEntryUnauthorizedResponseBody
NewDeleteWaitlistEntryUnauthorizedResponseBody builds the HTTP response body from the result of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type ErrorNamer ¶
type ErrorNamer interface {
ErrorName() string
}
ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the design.
type EstimatedSeatTimeRangeResponseBody ¶
type EstimatedSeatTimeRangeResponseBody struct { StartSeconds string `form:"start_seconds" json:"start_seconds" xml:"start_seconds"` EndSeconds string `form:"end_seconds" json:"end_seconds" xml:"end_seconds"` }
EstimatedSeatTimeRangeResponseBody is used to define fields on response body types.
type GetWaitlistEntryBadRequestResponseBody ¶
type GetWaitlistEntryBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryBadRequestResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "bad_request" error.
func NewGetWaitlistEntryBadRequestResponseBody ¶
func NewGetWaitlistEntryBadRequestResponseBody(res *goa.ServiceError) *GetWaitlistEntryBadRequestResponseBody
NewGetWaitlistEntryBadRequestResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryClientClosedRequestResponseBody ¶
type GetWaitlistEntryClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryClientClosedRequestResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "client_closed_request" error.
func NewGetWaitlistEntryClientClosedRequestResponseBody ¶
func NewGetWaitlistEntryClientClosedRequestResponseBody(res *goa.ServiceError) *GetWaitlistEntryClientClosedRequestResponseBody
NewGetWaitlistEntryClientClosedRequestResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryConflictResponseBody ¶
type GetWaitlistEntryConflictResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryConflictResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "conflict" error.
func NewGetWaitlistEntryConflictResponseBody ¶
func NewGetWaitlistEntryConflictResponseBody(res *goa.ServiceError) *GetWaitlistEntryConflictResponseBody
NewGetWaitlistEntryConflictResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryForbiddenResponseBody ¶
type GetWaitlistEntryForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryForbiddenResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "forbidden" error.
func NewGetWaitlistEntryForbiddenResponseBody ¶
func NewGetWaitlistEntryForbiddenResponseBody(res *goa.ServiceError) *GetWaitlistEntryForbiddenResponseBody
NewGetWaitlistEntryForbiddenResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryGatewayTimeoutResponseBody ¶
type GetWaitlistEntryGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryGatewayTimeoutResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "gateway_timeout" error.
func NewGetWaitlistEntryGatewayTimeoutResponseBody ¶
func NewGetWaitlistEntryGatewayTimeoutResponseBody(res *goa.ServiceError) *GetWaitlistEntryGatewayTimeoutResponseBody
NewGetWaitlistEntryGatewayTimeoutResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryInternalServerErrorResponseBody ¶
type GetWaitlistEntryInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryInternalServerErrorResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "internal_server_error" error.
func NewGetWaitlistEntryInternalServerErrorResponseBody ¶
func NewGetWaitlistEntryInternalServerErrorResponseBody(res *goa.ServiceError) *GetWaitlistEntryInternalServerErrorResponseBody
NewGetWaitlistEntryInternalServerErrorResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryNotFoundResponseBody ¶
type GetWaitlistEntryNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryNotFoundResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "not_found" error.
func NewGetWaitlistEntryNotFoundResponseBody ¶
func NewGetWaitlistEntryNotFoundResponseBody(res *goa.ServiceError) *GetWaitlistEntryNotFoundResponseBody
NewGetWaitlistEntryNotFoundResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryNotImplementedResponseBody ¶
type GetWaitlistEntryNotImplementedResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryNotImplementedResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "not_implemented" error.
func NewGetWaitlistEntryNotImplementedResponseBody ¶
func NewGetWaitlistEntryNotImplementedResponseBody(res *goa.ServiceError) *GetWaitlistEntryNotImplementedResponseBody
NewGetWaitlistEntryNotImplementedResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryRequestBody ¶
type GetWaitlistEntryRequestBody struct {
WaitlistEntryID *string `form:"waitlist_entry_id,omitempty" json:"waitlist_entry_id,omitempty" xml:"waitlist_entry_id,omitempty"`
}
GetWaitlistEntryRequestBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP request body.
type GetWaitlistEntryResponseBody ¶
type GetWaitlistEntryResponseBody struct {
WaitlistEntry *WaitlistEntryResponseBody `form:"waitlist_entry" json:"waitlist_entry" xml:"waitlist_entry"`
}
GetWaitlistEntryResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body.
func NewGetWaitlistEntryResponseBody ¶
func NewGetWaitlistEntryResponseBody(res *waitlist.GetWaitlistEntryResponse) *GetWaitlistEntryResponseBody
NewGetWaitlistEntryResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryServiceUnavailableResponseBody ¶
type GetWaitlistEntryServiceUnavailableResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
GetWaitlistEntryServiceUnavailableResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "service_unavailable" error.
func NewGetWaitlistEntryServiceUnavailableResponseBody ¶
func NewGetWaitlistEntryServiceUnavailableResponseBody(res *goa.ServiceError) *GetWaitlistEntryServiceUnavailableResponseBody
NewGetWaitlistEntryServiceUnavailableResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryTooManyRequestsResponseBody ¶
type GetWaitlistEntryTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetWaitlistEntryTooManyRequestsResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "too_many_requests" error.
func NewGetWaitlistEntryTooManyRequestsResponseBody ¶
func NewGetWaitlistEntryTooManyRequestsResponseBody(res *goa.ServiceError) *GetWaitlistEntryTooManyRequestsResponseBody
NewGetWaitlistEntryTooManyRequestsResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryUnauthorizedResponseBody ¶
type GetWaitlistEntryUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
GetWaitlistEntryUnauthorizedResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "unauthorized" error.
func NewGetWaitlistEntryUnauthorizedResponseBody ¶
func NewGetWaitlistEntryUnauthorizedResponseBody(res *goa.ServiceError) *GetWaitlistEntryUnauthorizedResponseBody
NewGetWaitlistEntryUnauthorizedResponseBody builds the HTTP response body from the result of the "get_waitlist_entry" endpoint of the "waitlist" service.
type MountPoint ¶
type MountPoint struct { // Method is the name of the service method served by the mounted HTTP handler. Method string // Verb is the HTTP method used to match requests to the mounted handler. Verb string // Pattern is the HTTP request path pattern used to match requests to the // mounted handler. Pattern string }
MountPoint holds information about the mounted endpoints.
type PostalAddressRequestBodyRequestBody ¶
type PostalAddressRequestBodyRequestBody struct { Country *string `form:"country,omitempty" json:"country,omitempty" xml:"country,omitempty"` Locality *string `form:"locality,omitempty" json:"locality,omitempty" xml:"locality,omitempty"` Region *string `form:"region,omitempty" json:"region,omitempty" xml:"region,omitempty"` PostalCode *string `form:"postal_code,omitempty" json:"postal_code,omitempty" xml:"postal_code,omitempty"` StreetAddress *string `form:"street_address,omitempty" json:"street_address,omitempty" xml:"street_address,omitempty"` }
PostalAddressRequestBodyRequestBody is used to define fields on request body types.
type Server ¶
type Server struct { Mounts []*MountPoint BatchGetWaitEstimates http.Handler CreateWaitlistEntry http.Handler GetWaitlistEntry http.Handler DeleteWaitlistEntry http.Handler }
Server lists the waitlist service endpoint HTTP handlers.
func New ¶
func New( e *waitlist.Endpoints, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) *Server
New instantiates HTTP handlers for all the waitlist service endpoints using the provided encoder and decoder. The handlers are mounted on the given mux using the HTTP verb and path defined in the design. errhandler is called whenever a response fails to be encoded. formatter is used to format errors returned by the service methods prior to encoding. Both errhandler and formatter are optional and can be nil.
type UserInformationRequestBodyRequestBody ¶
type UserInformationRequestBodyRequestBody struct { UserID *string `form:"user_id,omitempty" json:"user_id,omitempty" xml:"user_id,omitempty"` GivenName *string `form:"given_name,omitempty" json:"given_name,omitempty" xml:"given_name,omitempty"` FamilyName *string `form:"family_name,omitempty" json:"family_name,omitempty" xml:"family_name,omitempty"` Address *PostalAddressRequestBodyRequestBody `form:"address,omitempty" json:"address,omitempty" xml:"address,omitempty"` Telephone *string `form:"telephone,omitempty" json:"telephone,omitempty" xml:"telephone,omitempty"` Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` LanguageCode *string `form:"language_code,omitempty" json:"language_code,omitempty" xml:"language_code,omitempty"` }
UserInformationRequestBodyRequestBody is used to define fields on request body types.
type WaitEstimateResponseBody ¶
type WaitEstimateResponseBody struct { PartySize int32 `form:"party_size" json:"party_size" xml:"party_size"` WaitLength *WaitLengthResponseBody `form:"wait_length,omitempty" json:"wait_length,omitempty" xml:"wait_length,omitempty"` WaitlistConfirmationMode string `form:"waitlist_confirmation_mode" json:"waitlist_confirmation_mode" xml:"waitlist_confirmation_mode"` }
WaitEstimateResponseBody is used to define fields on response body types.
type WaitLengthResponseBody ¶
type WaitLengthResponseBody struct { PartiesAheadCount int32 `form:"parties_ahead_count" json:"parties_ahead_count" xml:"parties_ahead_count"` EstimatedSeatTimeRange *EstimatedSeatTimeRangeResponseBody `form:"estimated_seat_time_range" json:"estimated_seat_time_range" xml:"estimated_seat_time_range"` }
WaitLengthResponseBody is used to define fields on response body types.
type WaitlistBusinessLogicFailureResponseBody ¶
type WaitlistBusinessLogicFailureResponseBody struct { Cause string `form:"cause" json:"cause" xml:"cause"` Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` }
WaitlistBusinessLogicFailureResponseBody is used to define fields on response body types.
type WaitlistEntryResponseBody ¶
type WaitlistEntryResponseBody struct { WaitlistEntryState string `form:"waitlist_entry_state" json:"waitlist_entry_state" xml:"waitlist_entry_state"` WaitlistEntryStateTimes *WaitlistEntryStateTimesResponseBody `form:"waitlist_entry_state_times" json:"waitlist_entry_state_times" xml:"waitlist_entry_state_times"` WaitEstimate *WaitEstimateResponseBody `form:"wait_estimate" json:"wait_estimate" xml:"wait_estimate"` }
WaitlistEntryResponseBody is used to define fields on response body types.
type WaitlistEntryStateTimesResponseBody ¶
type WaitlistEntryStateTimesResponseBody struct { CreatedTimeSeconds string `form:"created_time_seconds" json:"created_time_seconds" xml:"created_time_seconds"` CanceledTimeSeconds *string `form:"canceled_time_seconds,omitempty" json:"canceled_time_seconds,omitempty" xml:"canceled_time_seconds,omitempty"` ServiceReadiedTimeSeconds *string `` /* 136-byte string literal not displayed */ CheckedInTimeSeconds *string `form:"checked_in_time_seconds,omitempty" json:"checked_in_time_seconds,omitempty" xml:"checked_in_time_seconds,omitempty"` SeatedTimeSeconds *string `form:"seated_time_seconds,omitempty" json:"seated_time_seconds,omitempty" xml:"seated_time_seconds,omitempty"` MarkedNoShowTimeSeconds *string `` /* 133-byte string literal not displayed */ }
WaitlistEntryStateTimesResponseBody is used to define fields on response body types.