Documentation ¶
Index ¶
- func BatchGetWaitEstimatesWaitlistPath() string
- func BuildBatchGetWaitEstimatesPayload(waitlistBatchGetWaitEstimatesBody string, ...) (*waitlist.BatchGetWaitEstimatesPayload, error)
- func BuildCreateWaitlistEntryPayload(waitlistCreateWaitlistEntryBody string, ...) (*waitlist.CreateWaitlistEntryPayload, error)
- func BuildDeleteWaitlistEntryPayload(waitlistDeleteWaitlistEntryBody string, ...) (*waitlist.DeleteWaitlistEntryPayload, error)
- func BuildGetWaitlistEntryPayload(waitlistGetWaitlistEntryBody string, waitlistGetWaitlistEntryUsername string, ...) (*waitlist.GetWaitlistEntryPayload, error)
- func CreateWaitlistEntryWaitlistPath() string
- func DecodeBatchGetWaitEstimatesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeCreateWaitlistEntryResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeDeleteWaitlistEntryResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeGetWaitlistEntryResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DeleteWaitlistEntryWaitlistPath() string
- func EncodeBatchGetWaitEstimatesRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeCreateWaitlistEntryRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeDeleteWaitlistEntryRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeGetWaitlistEntryRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func GetWaitlistEntryWaitlistPath() string
- func NewBatchGetWaitEstimatesBadRequest(body *BatchGetWaitEstimatesBadRequestResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesClientClosedRequest(body *BatchGetWaitEstimatesClientClosedRequestResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesConflict(body *BatchGetWaitEstimatesConflictResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesForbidden(body *BatchGetWaitEstimatesForbiddenResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesGatewayTimeout(body *BatchGetWaitEstimatesGatewayTimeoutResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesInternalServerError(body *BatchGetWaitEstimatesInternalServerErrorResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesNotFound(body *BatchGetWaitEstimatesNotFoundResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesNotImplemented(body *BatchGetWaitEstimatesNotImplementedResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesResponseOK(body *BatchGetWaitEstimatesResponseBody) *waitlist.BatchGetWaitEstimatesResponse
- func NewBatchGetWaitEstimatesServiceUnavailable(body *BatchGetWaitEstimatesServiceUnavailableResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesTooManyRequests(body *BatchGetWaitEstimatesTooManyRequestsResponseBody) *goa.ServiceError
- func NewBatchGetWaitEstimatesUnauthorized(body *BatchGetWaitEstimatesUnauthorizedResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryBadRequest(body *CreateWaitlistEntryBadRequestResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryClientClosedRequest(body *CreateWaitlistEntryClientClosedRequestResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryConflict(body *CreateWaitlistEntryConflictResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryForbidden(body *CreateWaitlistEntryForbiddenResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryGatewayTimeout(body *CreateWaitlistEntryGatewayTimeoutResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryInternalServerError(body *CreateWaitlistEntryInternalServerErrorResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryNotFound(body *CreateWaitlistEntryNotFoundResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryNotImplemented(body *CreateWaitlistEntryNotImplementedResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryResponseOK(body *CreateWaitlistEntryResponseBody) *waitlist.CreateWaitlistEntryResponse
- func NewCreateWaitlistEntryServiceUnavailable(body *CreateWaitlistEntryServiceUnavailableResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryTooManyRequests(body *CreateWaitlistEntryTooManyRequestsResponseBody) *goa.ServiceError
- func NewCreateWaitlistEntryUnauthorized(body *CreateWaitlistEntryUnauthorizedResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryBadRequest(body *DeleteWaitlistEntryBadRequestResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryClientClosedRequest(body *DeleteWaitlistEntryClientClosedRequestResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryConflict(body *DeleteWaitlistEntryConflictResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryForbidden(body *DeleteWaitlistEntryForbiddenResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryGatewayTimeout(body *DeleteWaitlistEntryGatewayTimeoutResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryInternalServerError(body *DeleteWaitlistEntryInternalServerErrorResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryNotFound(body *DeleteWaitlistEntryNotFoundResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryNotImplemented(body *DeleteWaitlistEntryNotImplementedResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryServiceUnavailable(body *DeleteWaitlistEntryServiceUnavailableResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryTooManyRequests(body *DeleteWaitlistEntryTooManyRequestsResponseBody) *goa.ServiceError
- func NewDeleteWaitlistEntryUnauthorized(body *DeleteWaitlistEntryUnauthorizedResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryBadRequest(body *GetWaitlistEntryBadRequestResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryClientClosedRequest(body *GetWaitlistEntryClientClosedRequestResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryConflict(body *GetWaitlistEntryConflictResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryForbidden(body *GetWaitlistEntryForbiddenResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryGatewayTimeout(body *GetWaitlistEntryGatewayTimeoutResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryInternalServerError(body *GetWaitlistEntryInternalServerErrorResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryNotFound(body *GetWaitlistEntryNotFoundResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryNotImplemented(body *GetWaitlistEntryNotImplementedResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryResponseOK(body *GetWaitlistEntryResponseBody) *waitlist.GetWaitlistEntryResponse
- func NewGetWaitlistEntryServiceUnavailable(body *GetWaitlistEntryServiceUnavailableResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryTooManyRequests(body *GetWaitlistEntryTooManyRequestsResponseBody) *goa.ServiceError
- func NewGetWaitlistEntryUnauthorized(body *GetWaitlistEntryUnauthorizedResponseBody) *goa.ServiceError
- func ValidateBatchGetWaitEstimatesBadRequestResponseBody(body *BatchGetWaitEstimatesBadRequestResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesClientClosedRequestResponseBody(body *BatchGetWaitEstimatesClientClosedRequestResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesConflictResponseBody(body *BatchGetWaitEstimatesConflictResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesForbiddenResponseBody(body *BatchGetWaitEstimatesForbiddenResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesGatewayTimeoutResponseBody(body *BatchGetWaitEstimatesGatewayTimeoutResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesInternalServerErrorResponseBody(body *BatchGetWaitEstimatesInternalServerErrorResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesNotFoundResponseBody(body *BatchGetWaitEstimatesNotFoundResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesNotImplementedResponseBody(body *BatchGetWaitEstimatesNotImplementedResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesResponseBody(body *BatchGetWaitEstimatesResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesServiceUnavailableResponseBody(body *BatchGetWaitEstimatesServiceUnavailableResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesTooManyRequestsResponseBody(body *BatchGetWaitEstimatesTooManyRequestsResponseBody) (err error)
- func ValidateBatchGetWaitEstimatesUnauthorizedResponseBody(body *BatchGetWaitEstimatesUnauthorizedResponseBody) (err error)
- func ValidateCreateWaitlistEntryBadRequestResponseBody(body *CreateWaitlistEntryBadRequestResponseBody) (err error)
- func ValidateCreateWaitlistEntryClientClosedRequestResponseBody(body *CreateWaitlistEntryClientClosedRequestResponseBody) (err error)
- func ValidateCreateWaitlistEntryConflictResponseBody(body *CreateWaitlistEntryConflictResponseBody) (err error)
- func ValidateCreateWaitlistEntryForbiddenResponseBody(body *CreateWaitlistEntryForbiddenResponseBody) (err error)
- func ValidateCreateWaitlistEntryGatewayTimeoutResponseBody(body *CreateWaitlistEntryGatewayTimeoutResponseBody) (err error)
- func ValidateCreateWaitlistEntryInternalServerErrorResponseBody(body *CreateWaitlistEntryInternalServerErrorResponseBody) (err error)
- func ValidateCreateWaitlistEntryNotFoundResponseBody(body *CreateWaitlistEntryNotFoundResponseBody) (err error)
- func ValidateCreateWaitlistEntryNotImplementedResponseBody(body *CreateWaitlistEntryNotImplementedResponseBody) (err error)
- func ValidateCreateWaitlistEntryResponseBody(body *CreateWaitlistEntryResponseBody) (err error)
- func ValidateCreateWaitlistEntryServiceUnavailableResponseBody(body *CreateWaitlistEntryServiceUnavailableResponseBody) (err error)
- func ValidateCreateWaitlistEntryTooManyRequestsResponseBody(body *CreateWaitlistEntryTooManyRequestsResponseBody) (err error)
- func ValidateCreateWaitlistEntryUnauthorizedResponseBody(body *CreateWaitlistEntryUnauthorizedResponseBody) (err error)
- func ValidateDeleteWaitlistEntryBadRequestResponseBody(body *DeleteWaitlistEntryBadRequestResponseBody) (err error)
- func ValidateDeleteWaitlistEntryClientClosedRequestResponseBody(body *DeleteWaitlistEntryClientClosedRequestResponseBody) (err error)
- func ValidateDeleteWaitlistEntryConflictResponseBody(body *DeleteWaitlistEntryConflictResponseBody) (err error)
- func ValidateDeleteWaitlistEntryForbiddenResponseBody(body *DeleteWaitlistEntryForbiddenResponseBody) (err error)
- func ValidateDeleteWaitlistEntryGatewayTimeoutResponseBody(body *DeleteWaitlistEntryGatewayTimeoutResponseBody) (err error)
- func ValidateDeleteWaitlistEntryInternalServerErrorResponseBody(body *DeleteWaitlistEntryInternalServerErrorResponseBody) (err error)
- func ValidateDeleteWaitlistEntryNotFoundResponseBody(body *DeleteWaitlistEntryNotFoundResponseBody) (err error)
- func ValidateDeleteWaitlistEntryNotImplementedResponseBody(body *DeleteWaitlistEntryNotImplementedResponseBody) (err error)
- func ValidateDeleteWaitlistEntryServiceUnavailableResponseBody(body *DeleteWaitlistEntryServiceUnavailableResponseBody) (err error)
- func ValidateDeleteWaitlistEntryTooManyRequestsResponseBody(body *DeleteWaitlistEntryTooManyRequestsResponseBody) (err error)
- func ValidateDeleteWaitlistEntryUnauthorizedResponseBody(body *DeleteWaitlistEntryUnauthorizedResponseBody) (err error)
- func ValidateEstimatedSeatTimeRangeResponseBody(body *EstimatedSeatTimeRangeResponseBody) (err error)
- func ValidateGetWaitlistEntryBadRequestResponseBody(body *GetWaitlistEntryBadRequestResponseBody) (err error)
- func ValidateGetWaitlistEntryClientClosedRequestResponseBody(body *GetWaitlistEntryClientClosedRequestResponseBody) (err error)
- func ValidateGetWaitlistEntryConflictResponseBody(body *GetWaitlistEntryConflictResponseBody) (err error)
- func ValidateGetWaitlistEntryForbiddenResponseBody(body *GetWaitlistEntryForbiddenResponseBody) (err error)
- func ValidateGetWaitlistEntryGatewayTimeoutResponseBody(body *GetWaitlistEntryGatewayTimeoutResponseBody) (err error)
- func ValidateGetWaitlistEntryInternalServerErrorResponseBody(body *GetWaitlistEntryInternalServerErrorResponseBody) (err error)
- func ValidateGetWaitlistEntryNotFoundResponseBody(body *GetWaitlistEntryNotFoundResponseBody) (err error)
- func ValidateGetWaitlistEntryNotImplementedResponseBody(body *GetWaitlistEntryNotImplementedResponseBody) (err error)
- func ValidateGetWaitlistEntryResponseBody(body *GetWaitlistEntryResponseBody) (err error)
- func ValidateGetWaitlistEntryServiceUnavailableResponseBody(body *GetWaitlistEntryServiceUnavailableResponseBody) (err error)
- func ValidateGetWaitlistEntryTooManyRequestsResponseBody(body *GetWaitlistEntryTooManyRequestsResponseBody) (err error)
- func ValidateGetWaitlistEntryUnauthorizedResponseBody(body *GetWaitlistEntryUnauthorizedResponseBody) (err error)
- func ValidateWaitEstimateResponseBody(body *WaitEstimateResponseBody) (err error)
- func ValidateWaitLengthResponseBody(body *WaitLengthResponseBody) (err error)
- func ValidateWaitlistBusinessLogicFailureResponseBody(body *WaitlistBusinessLogicFailureResponseBody) (err error)
- func ValidateWaitlistEntryResponseBody(body *WaitlistEntryResponseBody) (err error)
- func ValidateWaitlistEntryStateTimesResponseBody(body *WaitlistEntryStateTimesResponseBody) (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 Client
- func (c *Client) BatchGetWaitEstimates() goa.Endpoint
- func (c *Client) BuildBatchGetWaitEstimatesRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildCreateWaitlistEntryRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildDeleteWaitlistEntryRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildGetWaitlistEntryRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) CreateWaitlistEntry() goa.Endpoint
- func (c *Client) DeleteWaitlistEntry() goa.Endpoint
- func (c *Client) GetWaitlistEntry() goa.Endpoint
- 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 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 PostalAddressRequestBodyRequestBody
- 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 BuildBatchGetWaitEstimatesPayload ¶
func BuildBatchGetWaitEstimatesPayload(waitlistBatchGetWaitEstimatesBody string, waitlistBatchGetWaitEstimatesUsername string, waitlistBatchGetWaitEstimatesPassword string) (*waitlist.BatchGetWaitEstimatesPayload, error)
BuildBatchGetWaitEstimatesPayload builds the payload for the waitlist batch_get_wait_estimates endpoint from CLI flags.
func BuildCreateWaitlistEntryPayload ¶
func BuildCreateWaitlistEntryPayload(waitlistCreateWaitlistEntryBody string, waitlistCreateWaitlistEntryUsername string, waitlistCreateWaitlistEntryPassword string) (*waitlist.CreateWaitlistEntryPayload, error)
BuildCreateWaitlistEntryPayload builds the payload for the waitlist create_waitlist_entry endpoint from CLI flags.
func BuildDeleteWaitlistEntryPayload ¶
func BuildDeleteWaitlistEntryPayload(waitlistDeleteWaitlistEntryBody string, waitlistDeleteWaitlistEntryUsername string, waitlistDeleteWaitlistEntryPassword string) (*waitlist.DeleteWaitlistEntryPayload, error)
BuildDeleteWaitlistEntryPayload builds the payload for the waitlist delete_waitlist_entry endpoint from CLI flags.
func BuildGetWaitlistEntryPayload ¶
func BuildGetWaitlistEntryPayload(waitlistGetWaitlistEntryBody string, waitlistGetWaitlistEntryUsername string, waitlistGetWaitlistEntryPassword string) (*waitlist.GetWaitlistEntryPayload, error)
BuildGetWaitlistEntryPayload builds the payload for the waitlist get_waitlist_entry endpoint from CLI flags.
func CreateWaitlistEntryWaitlistPath ¶
func CreateWaitlistEntryWaitlistPath() string
CreateWaitlistEntryWaitlistPath returns the URL path to the waitlist service create_waitlist_entry HTTP endpoint.
func DecodeBatchGetWaitEstimatesResponse ¶
func DecodeBatchGetWaitEstimatesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeBatchGetWaitEstimatesResponse returns a decoder for responses returned by the waitlist batch_get_wait_estimates endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeBatchGetWaitEstimatesResponse may return the following errors:
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "conflict" (type *goa.ServiceError): http.StatusConflict
- "too_many_requests" (type *goa.ServiceError): http.StatusTooManyRequests
- "client_closed_request" (type *goa.ServiceError): 499
- "internal_server_error" (type *goa.ServiceError): http.StatusInternalServerError
- "not_implemented" (type *goa.ServiceError): http.StatusNotImplemented
- "service_unavailable" (type *goa.ServiceError): http.StatusServiceUnavailable
- "gateway_timeout" (type *goa.ServiceError): http.StatusGatewayTimeout
- error: internal error
func DecodeCreateWaitlistEntryResponse ¶
func DecodeCreateWaitlistEntryResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeCreateWaitlistEntryResponse returns a decoder for responses returned by the waitlist create_waitlist_entry endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeCreateWaitlistEntryResponse may return the following errors:
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "conflict" (type *goa.ServiceError): http.StatusConflict
- "too_many_requests" (type *goa.ServiceError): http.StatusTooManyRequests
- "client_closed_request" (type *goa.ServiceError): 499
- "internal_server_error" (type *goa.ServiceError): http.StatusInternalServerError
- "not_implemented" (type *goa.ServiceError): http.StatusNotImplemented
- "service_unavailable" (type *goa.ServiceError): http.StatusServiceUnavailable
- "gateway_timeout" (type *goa.ServiceError): http.StatusGatewayTimeout
- error: internal error
func DecodeDeleteWaitlistEntryResponse ¶
func DecodeDeleteWaitlistEntryResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeDeleteWaitlistEntryResponse returns a decoder for responses returned by the waitlist delete_waitlist_entry endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDeleteWaitlistEntryResponse may return the following errors:
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "conflict" (type *goa.ServiceError): http.StatusConflict
- "too_many_requests" (type *goa.ServiceError): http.StatusTooManyRequests
- "client_closed_request" (type *goa.ServiceError): 499
- "internal_server_error" (type *goa.ServiceError): http.StatusInternalServerError
- "not_implemented" (type *goa.ServiceError): http.StatusNotImplemented
- "service_unavailable" (type *goa.ServiceError): http.StatusServiceUnavailable
- "gateway_timeout" (type *goa.ServiceError): http.StatusGatewayTimeout
- error: internal error
func DecodeGetWaitlistEntryResponse ¶
func DecodeGetWaitlistEntryResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeGetWaitlistEntryResponse returns a decoder for responses returned by the waitlist get_waitlist_entry endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeGetWaitlistEntryResponse may return the following errors:
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "conflict" (type *goa.ServiceError): http.StatusConflict
- "too_many_requests" (type *goa.ServiceError): http.StatusTooManyRequests
- "client_closed_request" (type *goa.ServiceError): 499
- "internal_server_error" (type *goa.ServiceError): http.StatusInternalServerError
- "not_implemented" (type *goa.ServiceError): http.StatusNotImplemented
- "service_unavailable" (type *goa.ServiceError): http.StatusServiceUnavailable
- "gateway_timeout" (type *goa.ServiceError): http.StatusGatewayTimeout
- error: internal error
func DeleteWaitlistEntryWaitlistPath ¶
func DeleteWaitlistEntryWaitlistPath() string
DeleteWaitlistEntryWaitlistPath returns the URL path to the waitlist service delete_waitlist_entry HTTP endpoint.
func EncodeBatchGetWaitEstimatesRequest ¶
func EncodeBatchGetWaitEstimatesRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeBatchGetWaitEstimatesRequest returns an encoder for requests sent to the waitlist batch_get_wait_estimates server.
func EncodeCreateWaitlistEntryRequest ¶
func EncodeCreateWaitlistEntryRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeCreateWaitlistEntryRequest returns an encoder for requests sent to the waitlist create_waitlist_entry server.
func EncodeDeleteWaitlistEntryRequest ¶
func EncodeDeleteWaitlistEntryRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeDeleteWaitlistEntryRequest returns an encoder for requests sent to the waitlist delete_waitlist_entry server.
func EncodeGetWaitlistEntryRequest ¶
func EncodeGetWaitlistEntryRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeGetWaitlistEntryRequest returns an encoder for requests sent to the waitlist get_waitlist_entry server.
func GetWaitlistEntryWaitlistPath ¶
func GetWaitlistEntryWaitlistPath() string
GetWaitlistEntryWaitlistPath returns the URL path to the waitlist service get_waitlist_entry HTTP endpoint.
func NewBatchGetWaitEstimatesBadRequest ¶
func NewBatchGetWaitEstimatesBadRequest(body *BatchGetWaitEstimatesBadRequestResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesBadRequest builds a waitlist service batch_get_wait_estimates endpoint bad_request error.
func NewBatchGetWaitEstimatesClientClosedRequest ¶
func NewBatchGetWaitEstimatesClientClosedRequest(body *BatchGetWaitEstimatesClientClosedRequestResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesClientClosedRequest builds a waitlist service batch_get_wait_estimates endpoint client_closed_request error.
func NewBatchGetWaitEstimatesConflict ¶
func NewBatchGetWaitEstimatesConflict(body *BatchGetWaitEstimatesConflictResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesConflict builds a waitlist service batch_get_wait_estimates endpoint conflict error.
func NewBatchGetWaitEstimatesForbidden ¶
func NewBatchGetWaitEstimatesForbidden(body *BatchGetWaitEstimatesForbiddenResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesForbidden builds a waitlist service batch_get_wait_estimates endpoint forbidden error.
func NewBatchGetWaitEstimatesGatewayTimeout ¶
func NewBatchGetWaitEstimatesGatewayTimeout(body *BatchGetWaitEstimatesGatewayTimeoutResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesGatewayTimeout builds a waitlist service batch_get_wait_estimates endpoint gateway_timeout error.
func NewBatchGetWaitEstimatesInternalServerError ¶
func NewBatchGetWaitEstimatesInternalServerError(body *BatchGetWaitEstimatesInternalServerErrorResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesInternalServerError builds a waitlist service batch_get_wait_estimates endpoint internal_server_error error.
func NewBatchGetWaitEstimatesNotFound ¶
func NewBatchGetWaitEstimatesNotFound(body *BatchGetWaitEstimatesNotFoundResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesNotFound builds a waitlist service batch_get_wait_estimates endpoint not_found error.
func NewBatchGetWaitEstimatesNotImplemented ¶
func NewBatchGetWaitEstimatesNotImplemented(body *BatchGetWaitEstimatesNotImplementedResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesNotImplemented builds a waitlist service batch_get_wait_estimates endpoint not_implemented error.
func NewBatchGetWaitEstimatesResponseOK ¶
func NewBatchGetWaitEstimatesResponseOK(body *BatchGetWaitEstimatesResponseBody) *waitlist.BatchGetWaitEstimatesResponse
NewBatchGetWaitEstimatesResponseOK builds a "waitlist" service "batch_get_wait_estimates" endpoint result from a HTTP "OK" response.
func NewBatchGetWaitEstimatesServiceUnavailable ¶
func NewBatchGetWaitEstimatesServiceUnavailable(body *BatchGetWaitEstimatesServiceUnavailableResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesServiceUnavailable builds a waitlist service batch_get_wait_estimates endpoint service_unavailable error.
func NewBatchGetWaitEstimatesTooManyRequests ¶
func NewBatchGetWaitEstimatesTooManyRequests(body *BatchGetWaitEstimatesTooManyRequestsResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesTooManyRequests builds a waitlist service batch_get_wait_estimates endpoint too_many_requests error.
func NewBatchGetWaitEstimatesUnauthorized ¶
func NewBatchGetWaitEstimatesUnauthorized(body *BatchGetWaitEstimatesUnauthorizedResponseBody) *goa.ServiceError
NewBatchGetWaitEstimatesUnauthorized builds a waitlist service batch_get_wait_estimates endpoint unauthorized error.
func NewCreateWaitlistEntryBadRequest ¶
func NewCreateWaitlistEntryBadRequest(body *CreateWaitlistEntryBadRequestResponseBody) *goa.ServiceError
NewCreateWaitlistEntryBadRequest builds a waitlist service create_waitlist_entry endpoint bad_request error.
func NewCreateWaitlistEntryClientClosedRequest ¶
func NewCreateWaitlistEntryClientClosedRequest(body *CreateWaitlistEntryClientClosedRequestResponseBody) *goa.ServiceError
NewCreateWaitlistEntryClientClosedRequest builds a waitlist service create_waitlist_entry endpoint client_closed_request error.
func NewCreateWaitlistEntryConflict ¶
func NewCreateWaitlistEntryConflict(body *CreateWaitlistEntryConflictResponseBody) *goa.ServiceError
NewCreateWaitlistEntryConflict builds a waitlist service create_waitlist_entry endpoint conflict error.
func NewCreateWaitlistEntryForbidden ¶
func NewCreateWaitlistEntryForbidden(body *CreateWaitlistEntryForbiddenResponseBody) *goa.ServiceError
NewCreateWaitlistEntryForbidden builds a waitlist service create_waitlist_entry endpoint forbidden error.
func NewCreateWaitlistEntryGatewayTimeout ¶
func NewCreateWaitlistEntryGatewayTimeout(body *CreateWaitlistEntryGatewayTimeoutResponseBody) *goa.ServiceError
NewCreateWaitlistEntryGatewayTimeout builds a waitlist service create_waitlist_entry endpoint gateway_timeout error.
func NewCreateWaitlistEntryInternalServerError ¶
func NewCreateWaitlistEntryInternalServerError(body *CreateWaitlistEntryInternalServerErrorResponseBody) *goa.ServiceError
NewCreateWaitlistEntryInternalServerError builds a waitlist service create_waitlist_entry endpoint internal_server_error error.
func NewCreateWaitlistEntryNotFound ¶
func NewCreateWaitlistEntryNotFound(body *CreateWaitlistEntryNotFoundResponseBody) *goa.ServiceError
NewCreateWaitlistEntryNotFound builds a waitlist service create_waitlist_entry endpoint not_found error.
func NewCreateWaitlistEntryNotImplemented ¶
func NewCreateWaitlistEntryNotImplemented(body *CreateWaitlistEntryNotImplementedResponseBody) *goa.ServiceError
NewCreateWaitlistEntryNotImplemented builds a waitlist service create_waitlist_entry endpoint not_implemented error.
func NewCreateWaitlistEntryResponseOK ¶
func NewCreateWaitlistEntryResponseOK(body *CreateWaitlistEntryResponseBody) *waitlist.CreateWaitlistEntryResponse
NewCreateWaitlistEntryResponseOK builds a "waitlist" service "create_waitlist_entry" endpoint result from a HTTP "OK" response.
func NewCreateWaitlistEntryServiceUnavailable ¶
func NewCreateWaitlistEntryServiceUnavailable(body *CreateWaitlistEntryServiceUnavailableResponseBody) *goa.ServiceError
NewCreateWaitlistEntryServiceUnavailable builds a waitlist service create_waitlist_entry endpoint service_unavailable error.
func NewCreateWaitlistEntryTooManyRequests ¶
func NewCreateWaitlistEntryTooManyRequests(body *CreateWaitlistEntryTooManyRequestsResponseBody) *goa.ServiceError
NewCreateWaitlistEntryTooManyRequests builds a waitlist service create_waitlist_entry endpoint too_many_requests error.
func NewCreateWaitlistEntryUnauthorized ¶
func NewCreateWaitlistEntryUnauthorized(body *CreateWaitlistEntryUnauthorizedResponseBody) *goa.ServiceError
NewCreateWaitlistEntryUnauthorized builds a waitlist service create_waitlist_entry endpoint unauthorized error.
func NewDeleteWaitlistEntryBadRequest ¶
func NewDeleteWaitlistEntryBadRequest(body *DeleteWaitlistEntryBadRequestResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryBadRequest builds a waitlist service delete_waitlist_entry endpoint bad_request error.
func NewDeleteWaitlistEntryClientClosedRequest ¶
func NewDeleteWaitlistEntryClientClosedRequest(body *DeleteWaitlistEntryClientClosedRequestResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryClientClosedRequest builds a waitlist service delete_waitlist_entry endpoint client_closed_request error.
func NewDeleteWaitlistEntryConflict ¶
func NewDeleteWaitlistEntryConflict(body *DeleteWaitlistEntryConflictResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryConflict builds a waitlist service delete_waitlist_entry endpoint conflict error.
func NewDeleteWaitlistEntryForbidden ¶
func NewDeleteWaitlistEntryForbidden(body *DeleteWaitlistEntryForbiddenResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryForbidden builds a waitlist service delete_waitlist_entry endpoint forbidden error.
func NewDeleteWaitlistEntryGatewayTimeout ¶
func NewDeleteWaitlistEntryGatewayTimeout(body *DeleteWaitlistEntryGatewayTimeoutResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryGatewayTimeout builds a waitlist service delete_waitlist_entry endpoint gateway_timeout error.
func NewDeleteWaitlistEntryInternalServerError ¶
func NewDeleteWaitlistEntryInternalServerError(body *DeleteWaitlistEntryInternalServerErrorResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryInternalServerError builds a waitlist service delete_waitlist_entry endpoint internal_server_error error.
func NewDeleteWaitlistEntryNotFound ¶
func NewDeleteWaitlistEntryNotFound(body *DeleteWaitlistEntryNotFoundResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryNotFound builds a waitlist service delete_waitlist_entry endpoint not_found error.
func NewDeleteWaitlistEntryNotImplemented ¶
func NewDeleteWaitlistEntryNotImplemented(body *DeleteWaitlistEntryNotImplementedResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryNotImplemented builds a waitlist service delete_waitlist_entry endpoint not_implemented error.
func NewDeleteWaitlistEntryServiceUnavailable ¶
func NewDeleteWaitlistEntryServiceUnavailable(body *DeleteWaitlistEntryServiceUnavailableResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryServiceUnavailable builds a waitlist service delete_waitlist_entry endpoint service_unavailable error.
func NewDeleteWaitlistEntryTooManyRequests ¶
func NewDeleteWaitlistEntryTooManyRequests(body *DeleteWaitlistEntryTooManyRequestsResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryTooManyRequests builds a waitlist service delete_waitlist_entry endpoint too_many_requests error.
func NewDeleteWaitlistEntryUnauthorized ¶
func NewDeleteWaitlistEntryUnauthorized(body *DeleteWaitlistEntryUnauthorizedResponseBody) *goa.ServiceError
NewDeleteWaitlistEntryUnauthorized builds a waitlist service delete_waitlist_entry endpoint unauthorized error.
func NewGetWaitlistEntryBadRequest ¶
func NewGetWaitlistEntryBadRequest(body *GetWaitlistEntryBadRequestResponseBody) *goa.ServiceError
NewGetWaitlistEntryBadRequest builds a waitlist service get_waitlist_entry endpoint bad_request error.
func NewGetWaitlistEntryClientClosedRequest ¶
func NewGetWaitlistEntryClientClosedRequest(body *GetWaitlistEntryClientClosedRequestResponseBody) *goa.ServiceError
NewGetWaitlistEntryClientClosedRequest builds a waitlist service get_waitlist_entry endpoint client_closed_request error.
func NewGetWaitlistEntryConflict ¶
func NewGetWaitlistEntryConflict(body *GetWaitlistEntryConflictResponseBody) *goa.ServiceError
NewGetWaitlistEntryConflict builds a waitlist service get_waitlist_entry endpoint conflict error.
func NewGetWaitlistEntryForbidden ¶
func NewGetWaitlistEntryForbidden(body *GetWaitlistEntryForbiddenResponseBody) *goa.ServiceError
NewGetWaitlistEntryForbidden builds a waitlist service get_waitlist_entry endpoint forbidden error.
func NewGetWaitlistEntryGatewayTimeout ¶
func NewGetWaitlistEntryGatewayTimeout(body *GetWaitlistEntryGatewayTimeoutResponseBody) *goa.ServiceError
NewGetWaitlistEntryGatewayTimeout builds a waitlist service get_waitlist_entry endpoint gateway_timeout error.
func NewGetWaitlistEntryInternalServerError ¶
func NewGetWaitlistEntryInternalServerError(body *GetWaitlistEntryInternalServerErrorResponseBody) *goa.ServiceError
NewGetWaitlistEntryInternalServerError builds a waitlist service get_waitlist_entry endpoint internal_server_error error.
func NewGetWaitlistEntryNotFound ¶
func NewGetWaitlistEntryNotFound(body *GetWaitlistEntryNotFoundResponseBody) *goa.ServiceError
NewGetWaitlistEntryNotFound builds a waitlist service get_waitlist_entry endpoint not_found error.
func NewGetWaitlistEntryNotImplemented ¶
func NewGetWaitlistEntryNotImplemented(body *GetWaitlistEntryNotImplementedResponseBody) *goa.ServiceError
NewGetWaitlistEntryNotImplemented builds a waitlist service get_waitlist_entry endpoint not_implemented error.
func NewGetWaitlistEntryResponseOK ¶
func NewGetWaitlistEntryResponseOK(body *GetWaitlistEntryResponseBody) *waitlist.GetWaitlistEntryResponse
NewGetWaitlistEntryResponseOK builds a "waitlist" service "get_waitlist_entry" endpoint result from a HTTP "OK" response.
func NewGetWaitlistEntryServiceUnavailable ¶
func NewGetWaitlistEntryServiceUnavailable(body *GetWaitlistEntryServiceUnavailableResponseBody) *goa.ServiceError
NewGetWaitlistEntryServiceUnavailable builds a waitlist service get_waitlist_entry endpoint service_unavailable error.
func NewGetWaitlistEntryTooManyRequests ¶
func NewGetWaitlistEntryTooManyRequests(body *GetWaitlistEntryTooManyRequestsResponseBody) *goa.ServiceError
NewGetWaitlistEntryTooManyRequests builds a waitlist service get_waitlist_entry endpoint too_many_requests error.
func NewGetWaitlistEntryUnauthorized ¶
func NewGetWaitlistEntryUnauthorized(body *GetWaitlistEntryUnauthorizedResponseBody) *goa.ServiceError
NewGetWaitlistEntryUnauthorized builds a waitlist service get_waitlist_entry endpoint unauthorized error.
func ValidateBatchGetWaitEstimatesBadRequestResponseBody ¶
func ValidateBatchGetWaitEstimatesBadRequestResponseBody(body *BatchGetWaitEstimatesBadRequestResponseBody) (err error)
ValidateBatchGetWaitEstimatesBadRequestResponseBody runs the validations defined on batch_get_wait_estimates_bad_request_response_body
func ValidateBatchGetWaitEstimatesClientClosedRequestResponseBody ¶
func ValidateBatchGetWaitEstimatesClientClosedRequestResponseBody(body *BatchGetWaitEstimatesClientClosedRequestResponseBody) (err error)
ValidateBatchGetWaitEstimatesClientClosedRequestResponseBody runs the validations defined on batch_get_wait_estimates_client_closed_request_response_body
func ValidateBatchGetWaitEstimatesConflictResponseBody ¶
func ValidateBatchGetWaitEstimatesConflictResponseBody(body *BatchGetWaitEstimatesConflictResponseBody) (err error)
ValidateBatchGetWaitEstimatesConflictResponseBody runs the validations defined on batch_get_wait_estimates_conflict_response_body
func ValidateBatchGetWaitEstimatesForbiddenResponseBody ¶
func ValidateBatchGetWaitEstimatesForbiddenResponseBody(body *BatchGetWaitEstimatesForbiddenResponseBody) (err error)
ValidateBatchGetWaitEstimatesForbiddenResponseBody runs the validations defined on batch_get_wait_estimates_forbidden_response_body
func ValidateBatchGetWaitEstimatesGatewayTimeoutResponseBody ¶
func ValidateBatchGetWaitEstimatesGatewayTimeoutResponseBody(body *BatchGetWaitEstimatesGatewayTimeoutResponseBody) (err error)
ValidateBatchGetWaitEstimatesGatewayTimeoutResponseBody runs the validations defined on batch_get_wait_estimates_gateway_timeout_response_body
func ValidateBatchGetWaitEstimatesInternalServerErrorResponseBody ¶
func ValidateBatchGetWaitEstimatesInternalServerErrorResponseBody(body *BatchGetWaitEstimatesInternalServerErrorResponseBody) (err error)
ValidateBatchGetWaitEstimatesInternalServerErrorResponseBody runs the validations defined on batch_get_wait_estimates_internal_server_error_response_body
func ValidateBatchGetWaitEstimatesNotFoundResponseBody ¶
func ValidateBatchGetWaitEstimatesNotFoundResponseBody(body *BatchGetWaitEstimatesNotFoundResponseBody) (err error)
ValidateBatchGetWaitEstimatesNotFoundResponseBody runs the validations defined on batch_get_wait_estimates_not_found_response_body
func ValidateBatchGetWaitEstimatesNotImplementedResponseBody ¶
func ValidateBatchGetWaitEstimatesNotImplementedResponseBody(body *BatchGetWaitEstimatesNotImplementedResponseBody) (err error)
ValidateBatchGetWaitEstimatesNotImplementedResponseBody runs the validations defined on batch_get_wait_estimates_not_implemented_response_body
func ValidateBatchGetWaitEstimatesResponseBody ¶
func ValidateBatchGetWaitEstimatesResponseBody(body *BatchGetWaitEstimatesResponseBody) (err error)
ValidateBatchGetWaitEstimatesResponseBody runs the validations defined on batch_get_wait_estimates_response_body
func ValidateBatchGetWaitEstimatesServiceUnavailableResponseBody ¶
func ValidateBatchGetWaitEstimatesServiceUnavailableResponseBody(body *BatchGetWaitEstimatesServiceUnavailableResponseBody) (err error)
ValidateBatchGetWaitEstimatesServiceUnavailableResponseBody runs the validations defined on batch_get_wait_estimates_service_unavailable_response_body
func ValidateBatchGetWaitEstimatesTooManyRequestsResponseBody ¶
func ValidateBatchGetWaitEstimatesTooManyRequestsResponseBody(body *BatchGetWaitEstimatesTooManyRequestsResponseBody) (err error)
ValidateBatchGetWaitEstimatesTooManyRequestsResponseBody runs the validations defined on batch_get_wait_estimates_too_many_requests_response_body
func ValidateBatchGetWaitEstimatesUnauthorizedResponseBody ¶
func ValidateBatchGetWaitEstimatesUnauthorizedResponseBody(body *BatchGetWaitEstimatesUnauthorizedResponseBody) (err error)
ValidateBatchGetWaitEstimatesUnauthorizedResponseBody runs the validations defined on batch_get_wait_estimates_unauthorized_response_body
func ValidateCreateWaitlistEntryBadRequestResponseBody ¶
func ValidateCreateWaitlistEntryBadRequestResponseBody(body *CreateWaitlistEntryBadRequestResponseBody) (err error)
ValidateCreateWaitlistEntryBadRequestResponseBody runs the validations defined on create_waitlist_entry_bad_request_response_body
func ValidateCreateWaitlistEntryClientClosedRequestResponseBody ¶
func ValidateCreateWaitlistEntryClientClosedRequestResponseBody(body *CreateWaitlistEntryClientClosedRequestResponseBody) (err error)
ValidateCreateWaitlistEntryClientClosedRequestResponseBody runs the validations defined on create_waitlist_entry_client_closed_request_response_body
func ValidateCreateWaitlistEntryConflictResponseBody ¶
func ValidateCreateWaitlistEntryConflictResponseBody(body *CreateWaitlistEntryConflictResponseBody) (err error)
ValidateCreateWaitlistEntryConflictResponseBody runs the validations defined on create_waitlist_entry_conflict_response_body
func ValidateCreateWaitlistEntryForbiddenResponseBody ¶
func ValidateCreateWaitlistEntryForbiddenResponseBody(body *CreateWaitlistEntryForbiddenResponseBody) (err error)
ValidateCreateWaitlistEntryForbiddenResponseBody runs the validations defined on create_waitlist_entry_forbidden_response_body
func ValidateCreateWaitlistEntryGatewayTimeoutResponseBody ¶
func ValidateCreateWaitlistEntryGatewayTimeoutResponseBody(body *CreateWaitlistEntryGatewayTimeoutResponseBody) (err error)
ValidateCreateWaitlistEntryGatewayTimeoutResponseBody runs the validations defined on create_waitlist_entry_gateway_timeout_response_body
func ValidateCreateWaitlistEntryInternalServerErrorResponseBody ¶
func ValidateCreateWaitlistEntryInternalServerErrorResponseBody(body *CreateWaitlistEntryInternalServerErrorResponseBody) (err error)
ValidateCreateWaitlistEntryInternalServerErrorResponseBody runs the validations defined on create_waitlist_entry_internal_server_error_response_body
func ValidateCreateWaitlistEntryNotFoundResponseBody ¶
func ValidateCreateWaitlistEntryNotFoundResponseBody(body *CreateWaitlistEntryNotFoundResponseBody) (err error)
ValidateCreateWaitlistEntryNotFoundResponseBody runs the validations defined on create_waitlist_entry_not_found_response_body
func ValidateCreateWaitlistEntryNotImplementedResponseBody ¶
func ValidateCreateWaitlistEntryNotImplementedResponseBody(body *CreateWaitlistEntryNotImplementedResponseBody) (err error)
ValidateCreateWaitlistEntryNotImplementedResponseBody runs the validations defined on create_waitlist_entry_not_implemented_response_body
func ValidateCreateWaitlistEntryResponseBody ¶
func ValidateCreateWaitlistEntryResponseBody(body *CreateWaitlistEntryResponseBody) (err error)
ValidateCreateWaitlistEntryResponseBody runs the validations defined on create_waitlist_entry_response_body
func ValidateCreateWaitlistEntryServiceUnavailableResponseBody ¶
func ValidateCreateWaitlistEntryServiceUnavailableResponseBody(body *CreateWaitlistEntryServiceUnavailableResponseBody) (err error)
ValidateCreateWaitlistEntryServiceUnavailableResponseBody runs the validations defined on create_waitlist_entry_service_unavailable_response_body
func ValidateCreateWaitlistEntryTooManyRequestsResponseBody ¶
func ValidateCreateWaitlistEntryTooManyRequestsResponseBody(body *CreateWaitlistEntryTooManyRequestsResponseBody) (err error)
ValidateCreateWaitlistEntryTooManyRequestsResponseBody runs the validations defined on create_waitlist_entry_too_many_requests_response_body
func ValidateCreateWaitlistEntryUnauthorizedResponseBody ¶
func ValidateCreateWaitlistEntryUnauthorizedResponseBody(body *CreateWaitlistEntryUnauthorizedResponseBody) (err error)
ValidateCreateWaitlistEntryUnauthorizedResponseBody runs the validations defined on create_waitlist_entry_unauthorized_response_body
func ValidateDeleteWaitlistEntryBadRequestResponseBody ¶
func ValidateDeleteWaitlistEntryBadRequestResponseBody(body *DeleteWaitlistEntryBadRequestResponseBody) (err error)
ValidateDeleteWaitlistEntryBadRequestResponseBody runs the validations defined on delete_waitlist_entry_bad_request_response_body
func ValidateDeleteWaitlistEntryClientClosedRequestResponseBody ¶
func ValidateDeleteWaitlistEntryClientClosedRequestResponseBody(body *DeleteWaitlistEntryClientClosedRequestResponseBody) (err error)
ValidateDeleteWaitlistEntryClientClosedRequestResponseBody runs the validations defined on delete_waitlist_entry_client_closed_request_response_body
func ValidateDeleteWaitlistEntryConflictResponseBody ¶
func ValidateDeleteWaitlistEntryConflictResponseBody(body *DeleteWaitlistEntryConflictResponseBody) (err error)
ValidateDeleteWaitlistEntryConflictResponseBody runs the validations defined on delete_waitlist_entry_conflict_response_body
func ValidateDeleteWaitlistEntryForbiddenResponseBody ¶
func ValidateDeleteWaitlistEntryForbiddenResponseBody(body *DeleteWaitlistEntryForbiddenResponseBody) (err error)
ValidateDeleteWaitlistEntryForbiddenResponseBody runs the validations defined on delete_waitlist_entry_forbidden_response_body
func ValidateDeleteWaitlistEntryGatewayTimeoutResponseBody ¶
func ValidateDeleteWaitlistEntryGatewayTimeoutResponseBody(body *DeleteWaitlistEntryGatewayTimeoutResponseBody) (err error)
ValidateDeleteWaitlistEntryGatewayTimeoutResponseBody runs the validations defined on delete_waitlist_entry_gateway_timeout_response_body
func ValidateDeleteWaitlistEntryInternalServerErrorResponseBody ¶
func ValidateDeleteWaitlistEntryInternalServerErrorResponseBody(body *DeleteWaitlistEntryInternalServerErrorResponseBody) (err error)
ValidateDeleteWaitlistEntryInternalServerErrorResponseBody runs the validations defined on delete_waitlist_entry_internal_server_error_response_body
func ValidateDeleteWaitlistEntryNotFoundResponseBody ¶
func ValidateDeleteWaitlistEntryNotFoundResponseBody(body *DeleteWaitlistEntryNotFoundResponseBody) (err error)
ValidateDeleteWaitlistEntryNotFoundResponseBody runs the validations defined on delete_waitlist_entry_not_found_response_body
func ValidateDeleteWaitlistEntryNotImplementedResponseBody ¶
func ValidateDeleteWaitlistEntryNotImplementedResponseBody(body *DeleteWaitlistEntryNotImplementedResponseBody) (err error)
ValidateDeleteWaitlistEntryNotImplementedResponseBody runs the validations defined on delete_waitlist_entry_not_implemented_response_body
func ValidateDeleteWaitlistEntryServiceUnavailableResponseBody ¶
func ValidateDeleteWaitlistEntryServiceUnavailableResponseBody(body *DeleteWaitlistEntryServiceUnavailableResponseBody) (err error)
ValidateDeleteWaitlistEntryServiceUnavailableResponseBody runs the validations defined on delete_waitlist_entry_service_unavailable_response_body
func ValidateDeleteWaitlistEntryTooManyRequestsResponseBody ¶
func ValidateDeleteWaitlistEntryTooManyRequestsResponseBody(body *DeleteWaitlistEntryTooManyRequestsResponseBody) (err error)
ValidateDeleteWaitlistEntryTooManyRequestsResponseBody runs the validations defined on delete_waitlist_entry_too_many_requests_response_body
func ValidateDeleteWaitlistEntryUnauthorizedResponseBody ¶
func ValidateDeleteWaitlistEntryUnauthorizedResponseBody(body *DeleteWaitlistEntryUnauthorizedResponseBody) (err error)
ValidateDeleteWaitlistEntryUnauthorizedResponseBody runs the validations defined on delete_waitlist_entry_unauthorized_response_body
func ValidateEstimatedSeatTimeRangeResponseBody ¶
func ValidateEstimatedSeatTimeRangeResponseBody(body *EstimatedSeatTimeRangeResponseBody) (err error)
ValidateEstimatedSeatTimeRangeResponseBody runs the validations defined on EstimatedSeatTimeRangeResponseBody
func ValidateGetWaitlistEntryBadRequestResponseBody ¶
func ValidateGetWaitlistEntryBadRequestResponseBody(body *GetWaitlistEntryBadRequestResponseBody) (err error)
ValidateGetWaitlistEntryBadRequestResponseBody runs the validations defined on get_waitlist_entry_bad_request_response_body
func ValidateGetWaitlistEntryClientClosedRequestResponseBody ¶
func ValidateGetWaitlistEntryClientClosedRequestResponseBody(body *GetWaitlistEntryClientClosedRequestResponseBody) (err error)
ValidateGetWaitlistEntryClientClosedRequestResponseBody runs the validations defined on get_waitlist_entry_client_closed_request_response_body
func ValidateGetWaitlistEntryConflictResponseBody ¶
func ValidateGetWaitlistEntryConflictResponseBody(body *GetWaitlistEntryConflictResponseBody) (err error)
ValidateGetWaitlistEntryConflictResponseBody runs the validations defined on get_waitlist_entry_conflict_response_body
func ValidateGetWaitlistEntryForbiddenResponseBody ¶
func ValidateGetWaitlistEntryForbiddenResponseBody(body *GetWaitlistEntryForbiddenResponseBody) (err error)
ValidateGetWaitlistEntryForbiddenResponseBody runs the validations defined on get_waitlist_entry_forbidden_response_body
func ValidateGetWaitlistEntryGatewayTimeoutResponseBody ¶
func ValidateGetWaitlistEntryGatewayTimeoutResponseBody(body *GetWaitlistEntryGatewayTimeoutResponseBody) (err error)
ValidateGetWaitlistEntryGatewayTimeoutResponseBody runs the validations defined on get_waitlist_entry_gateway_timeout_response_body
func ValidateGetWaitlistEntryInternalServerErrorResponseBody ¶
func ValidateGetWaitlistEntryInternalServerErrorResponseBody(body *GetWaitlistEntryInternalServerErrorResponseBody) (err error)
ValidateGetWaitlistEntryInternalServerErrorResponseBody runs the validations defined on get_waitlist_entry_internal_server_error_response_body
func ValidateGetWaitlistEntryNotFoundResponseBody ¶
func ValidateGetWaitlistEntryNotFoundResponseBody(body *GetWaitlistEntryNotFoundResponseBody) (err error)
ValidateGetWaitlistEntryNotFoundResponseBody runs the validations defined on get_waitlist_entry_not_found_response_body
func ValidateGetWaitlistEntryNotImplementedResponseBody ¶
func ValidateGetWaitlistEntryNotImplementedResponseBody(body *GetWaitlistEntryNotImplementedResponseBody) (err error)
ValidateGetWaitlistEntryNotImplementedResponseBody runs the validations defined on get_waitlist_entry_not_implemented_response_body
func ValidateGetWaitlistEntryResponseBody ¶
func ValidateGetWaitlistEntryResponseBody(body *GetWaitlistEntryResponseBody) (err error)
ValidateGetWaitlistEntryResponseBody runs the validations defined on get_waitlist_entry_response_body
func ValidateGetWaitlistEntryServiceUnavailableResponseBody ¶
func ValidateGetWaitlistEntryServiceUnavailableResponseBody(body *GetWaitlistEntryServiceUnavailableResponseBody) (err error)
ValidateGetWaitlistEntryServiceUnavailableResponseBody runs the validations defined on get_waitlist_entry_service_unavailable_response_body
func ValidateGetWaitlistEntryTooManyRequestsResponseBody ¶
func ValidateGetWaitlistEntryTooManyRequestsResponseBody(body *GetWaitlistEntryTooManyRequestsResponseBody) (err error)
ValidateGetWaitlistEntryTooManyRequestsResponseBody runs the validations defined on get_waitlist_entry_too_many_requests_response_body
func ValidateGetWaitlistEntryUnauthorizedResponseBody ¶
func ValidateGetWaitlistEntryUnauthorizedResponseBody(body *GetWaitlistEntryUnauthorizedResponseBody) (err error)
ValidateGetWaitlistEntryUnauthorizedResponseBody runs the validations defined on get_waitlist_entry_unauthorized_response_body
func ValidateWaitEstimateResponseBody ¶
func ValidateWaitEstimateResponseBody(body *WaitEstimateResponseBody) (err error)
ValidateWaitEstimateResponseBody runs the validations defined on WaitEstimateResponseBody
func ValidateWaitLengthResponseBody ¶
func ValidateWaitLengthResponseBody(body *WaitLengthResponseBody) (err error)
ValidateWaitLengthResponseBody runs the validations defined on WaitLengthResponseBody
func ValidateWaitlistBusinessLogicFailureResponseBody ¶
func ValidateWaitlistBusinessLogicFailureResponseBody(body *WaitlistBusinessLogicFailureResponseBody) (err error)
ValidateWaitlistBusinessLogicFailureResponseBody runs the validations defined on WaitlistBusinessLogicFailureResponseBody
func ValidateWaitlistEntryResponseBody ¶
func ValidateWaitlistEntryResponseBody(body *WaitlistEntryResponseBody) (err error)
ValidateWaitlistEntryResponseBody runs the validations defined on WaitlistEntryResponseBody
func ValidateWaitlistEntryStateTimesResponseBody ¶
func ValidateWaitlistEntryStateTimesResponseBody(body *WaitlistEntryStateTimesResponseBody) (err error)
ValidateWaitlistEntryStateTimesResponseBody runs the validations defined on WaitlistEntryStateTimesResponseBody
Types ¶
type BatchGetWaitEstimatesBadRequestResponseBody ¶
type BatchGetWaitEstimatesBadRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesBadRequestResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "bad_request" error.
type BatchGetWaitEstimatesClientClosedRequestResponseBody ¶
type BatchGetWaitEstimatesClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesClientClosedRequestResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "client_closed_request" error.
type BatchGetWaitEstimatesConflictResponseBody ¶
type BatchGetWaitEstimatesConflictResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesConflictResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "conflict" error.
type BatchGetWaitEstimatesForbiddenResponseBody ¶
type BatchGetWaitEstimatesForbiddenResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesForbiddenResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "forbidden" error.
type BatchGetWaitEstimatesGatewayTimeoutResponseBody ¶
type BatchGetWaitEstimatesGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesGatewayTimeoutResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "gateway_timeout" error.
type BatchGetWaitEstimatesInternalServerErrorResponseBody ¶
type BatchGetWaitEstimatesInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesInternalServerErrorResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "internal_server_error" error.
type BatchGetWaitEstimatesNotFoundResponseBody ¶
type BatchGetWaitEstimatesNotFoundResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesNotFoundResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "not_found" error.
type BatchGetWaitEstimatesNotImplementedResponseBody ¶
type BatchGetWaitEstimatesNotImplementedResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesNotImplementedResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "not_implemented" error.
type BatchGetWaitEstimatesRequestBody ¶
type BatchGetWaitEstimatesRequestBody struct { MerchantID string `form:"merchant_id" json:"merchant_id" xml:"merchant_id"` ServiceID string `form:"service_id" json:"service_id" xml:"service_id"` PartySize []int32 `form:"party_size" json:"party_size" xml:"party_size"` }
BatchGetWaitEstimatesRequestBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP request body.
func NewBatchGetWaitEstimatesRequestBody ¶
func NewBatchGetWaitEstimatesRequestBody(p *waitlist.BatchGetWaitEstimatesPayload) *BatchGetWaitEstimatesRequestBody
NewBatchGetWaitEstimatesRequestBody builds the HTTP request body from the payload of the "batch_get_wait_estimates" endpoint of the "waitlist" service.
type BatchGetWaitEstimatesResponseBody ¶
type BatchGetWaitEstimatesResponseBody struct { WaitlistStatus *string `form:"waitlist_status,omitempty" json:"waitlist_status,omitempty" xml:"waitlist_status,omitempty"` 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.
type BatchGetWaitEstimatesServiceUnavailableResponseBody ¶
type BatchGetWaitEstimatesServiceUnavailableResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
BatchGetWaitEstimatesServiceUnavailableResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "service_unavailable" error.
type BatchGetWaitEstimatesTooManyRequestsResponseBody ¶
type BatchGetWaitEstimatesTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
BatchGetWaitEstimatesTooManyRequestsResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "too_many_requests" error.
type BatchGetWaitEstimatesUnauthorizedResponseBody ¶
type BatchGetWaitEstimatesUnauthorizedResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
BatchGetWaitEstimatesUnauthorizedResponseBody is the type of the "waitlist" service "batch_get_wait_estimates" endpoint HTTP response body for the "unauthorized" error.
type Client ¶
type Client struct { // BatchGetWaitEstimates Doer is the HTTP client used to make requests to the // batch_get_wait_estimates endpoint. BatchGetWaitEstimatesDoer goahttp.Doer // CreateWaitlistEntry Doer is the HTTP client used to make requests to the // create_waitlist_entry endpoint. CreateWaitlistEntryDoer goahttp.Doer // GetWaitlistEntry Doer is the HTTP client used to make requests to the // get_waitlist_entry endpoint. GetWaitlistEntryDoer goahttp.Doer // DeleteWaitlistEntry Doer is the HTTP client used to make requests to the // delete_waitlist_entry endpoint. DeleteWaitlistEntryDoer goahttp.Doer // RestoreResponseBody controls whether the response bodies are reset after // decoding so they can be read again. RestoreResponseBody bool // contains filtered or unexported fields }
Client lists the waitlist service endpoint HTTP clients.
func NewClient ¶
func NewClient( scheme string, host string, doer goahttp.Doer, enc func(*http.Request) goahttp.Encoder, dec func(*http.Response) goahttp.Decoder, restoreBody bool, ) *Client
NewClient instantiates HTTP clients for all the waitlist service servers.
func (*Client) BatchGetWaitEstimates ¶
BatchGetWaitEstimates returns an endpoint that makes HTTP requests to the waitlist service batch_get_wait_estimates server.
func (*Client) BuildBatchGetWaitEstimatesRequest ¶
func (c *Client) BuildBatchGetWaitEstimatesRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildBatchGetWaitEstimatesRequest instantiates a HTTP request object with method and path set to call the "waitlist" service "batch_get_wait_estimates" endpoint
func (*Client) BuildCreateWaitlistEntryRequest ¶
func (c *Client) BuildCreateWaitlistEntryRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildCreateWaitlistEntryRequest instantiates a HTTP request object with method and path set to call the "waitlist" service "create_waitlist_entry" endpoint
func (*Client) BuildDeleteWaitlistEntryRequest ¶
func (c *Client) BuildDeleteWaitlistEntryRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildDeleteWaitlistEntryRequest instantiates a HTTP request object with method and path set to call the "waitlist" service "delete_waitlist_entry" endpoint
func (*Client) BuildGetWaitlistEntryRequest ¶
func (c *Client) BuildGetWaitlistEntryRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildGetWaitlistEntryRequest instantiates a HTTP request object with method and path set to call the "waitlist" service "get_waitlist_entry" endpoint
func (*Client) CreateWaitlistEntry ¶
CreateWaitlistEntry returns an endpoint that makes HTTP requests to the waitlist service create_waitlist_entry server.
func (*Client) DeleteWaitlistEntry ¶
DeleteWaitlistEntry returns an endpoint that makes HTTP requests to the waitlist service delete_waitlist_entry server.
func (*Client) GetWaitlistEntry ¶
GetWaitlistEntry returns an endpoint that makes HTTP requests to the waitlist service get_waitlist_entry server.
type CreateWaitlistEntryBadRequestResponseBody ¶
type CreateWaitlistEntryBadRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryBadRequestResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "bad_request" error.
type CreateWaitlistEntryClientClosedRequestResponseBody ¶
type CreateWaitlistEntryClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryClientClosedRequestResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "client_closed_request" error.
type CreateWaitlistEntryConflictResponseBody ¶
type CreateWaitlistEntryConflictResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryConflictResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "conflict" error.
type CreateWaitlistEntryForbiddenResponseBody ¶
type CreateWaitlistEntryForbiddenResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryForbiddenResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "forbidden" error.
type CreateWaitlistEntryGatewayTimeoutResponseBody ¶
type CreateWaitlistEntryGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryGatewayTimeoutResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "gateway_timeout" error.
type CreateWaitlistEntryInternalServerErrorResponseBody ¶
type CreateWaitlistEntryInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryInternalServerErrorResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "internal_server_error" error.
type CreateWaitlistEntryNotFoundResponseBody ¶
type CreateWaitlistEntryNotFoundResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryNotFoundResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "not_found" error.
type CreateWaitlistEntryNotImplementedResponseBody ¶
type CreateWaitlistEntryNotImplementedResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryNotImplementedResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "not_implemented" error.
type CreateWaitlistEntryRequestBody ¶
type CreateWaitlistEntryRequestBody struct { MerchantID string `form:"merchant_id" json:"merchant_id" xml:"merchant_id"` ServiceID string `form:"service_id" json:"service_id" xml:"service_id"` PartySize int32 `form:"party_size" json:"party_size" xml:"party_size"` UserInformation *UserInformationRequestBodyRequestBody `form:"user_information" json:"user_information" xml:"user_information"` AdditionalRequest *string `form:"additional_request,omitempty" json:"additional_request,omitempty" xml:"additional_request,omitempty"` IdempotencyToken string `form:"idempotency_token" json:"idempotency_token" xml:"idempotency_token"` }
CreateWaitlistEntryRequestBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP request body.
func NewCreateWaitlistEntryRequestBody ¶
func NewCreateWaitlistEntryRequestBody(p *waitlist.CreateWaitlistEntryPayload) *CreateWaitlistEntryRequestBody
NewCreateWaitlistEntryRequestBody builds the HTTP request body from the payload of the "create_waitlist_entry" endpoint of the "waitlist" service.
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.
type CreateWaitlistEntryServiceUnavailableResponseBody ¶
type CreateWaitlistEntryServiceUnavailableResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
CreateWaitlistEntryServiceUnavailableResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "service_unavailable" error.
type CreateWaitlistEntryTooManyRequestsResponseBody ¶
type CreateWaitlistEntryTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
CreateWaitlistEntryTooManyRequestsResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "too_many_requests" error.
type CreateWaitlistEntryUnauthorizedResponseBody ¶
type CreateWaitlistEntryUnauthorizedResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
CreateWaitlistEntryUnauthorizedResponseBody is the type of the "waitlist" service "create_waitlist_entry" endpoint HTTP response body for the "unauthorized" error.
type DeleteWaitlistEntryBadRequestResponseBody ¶
type DeleteWaitlistEntryBadRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryBadRequestResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "bad_request" error.
type DeleteWaitlistEntryClientClosedRequestResponseBody ¶
type DeleteWaitlistEntryClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryClientClosedRequestResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "client_closed_request" error.
type DeleteWaitlistEntryConflictResponseBody ¶
type DeleteWaitlistEntryConflictResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryConflictResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "conflict" error.
type DeleteWaitlistEntryForbiddenResponseBody ¶
type DeleteWaitlistEntryForbiddenResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryForbiddenResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "forbidden" error.
type DeleteWaitlistEntryGatewayTimeoutResponseBody ¶
type DeleteWaitlistEntryGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryGatewayTimeoutResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "gateway_timeout" error.
type DeleteWaitlistEntryInternalServerErrorResponseBody ¶
type DeleteWaitlistEntryInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryInternalServerErrorResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "internal_server_error" error.
type DeleteWaitlistEntryNotFoundResponseBody ¶
type DeleteWaitlistEntryNotFoundResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryNotFoundResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "not_found" error.
type DeleteWaitlistEntryNotImplementedResponseBody ¶
type DeleteWaitlistEntryNotImplementedResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryNotImplementedResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "not_implemented" error.
type DeleteWaitlistEntryRequestBody ¶
type DeleteWaitlistEntryRequestBody struct {
WaitlistEntryID string `form:"waitlist_entry_id" json:"waitlist_entry_id" xml:"waitlist_entry_id"`
}
DeleteWaitlistEntryRequestBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP request body.
func NewDeleteWaitlistEntryRequestBody ¶
func NewDeleteWaitlistEntryRequestBody(p *waitlist.DeleteWaitlistEntryPayload) *DeleteWaitlistEntryRequestBody
NewDeleteWaitlistEntryRequestBody builds the HTTP request body from the payload of the "delete_waitlist_entry" endpoint of the "waitlist" service.
type DeleteWaitlistEntryServiceUnavailableResponseBody ¶
type DeleteWaitlistEntryServiceUnavailableResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
DeleteWaitlistEntryServiceUnavailableResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "service_unavailable" error.
type DeleteWaitlistEntryTooManyRequestsResponseBody ¶
type DeleteWaitlistEntryTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
DeleteWaitlistEntryTooManyRequestsResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "too_many_requests" error.
type DeleteWaitlistEntryUnauthorizedResponseBody ¶
type DeleteWaitlistEntryUnauthorizedResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
DeleteWaitlistEntryUnauthorizedResponseBody is the type of the "waitlist" service "delete_waitlist_entry" endpoint HTTP response body for the "unauthorized" error.
type EstimatedSeatTimeRangeResponseBody ¶
type EstimatedSeatTimeRangeResponseBody struct { StartSeconds *string `form:"start_seconds,omitempty" json:"start_seconds,omitempty" xml:"start_seconds,omitempty"` EndSeconds *string `form:"end_seconds,omitempty" json:"end_seconds,omitempty" xml:"end_seconds,omitempty"` }
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,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryBadRequestResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "bad_request" error.
type GetWaitlistEntryClientClosedRequestResponseBody ¶
type GetWaitlistEntryClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryClientClosedRequestResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "client_closed_request" error.
type GetWaitlistEntryConflictResponseBody ¶
type GetWaitlistEntryConflictResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryConflictResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "conflict" error.
type GetWaitlistEntryForbiddenResponseBody ¶
type GetWaitlistEntryForbiddenResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryForbiddenResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "forbidden" error.
type GetWaitlistEntryGatewayTimeoutResponseBody ¶
type GetWaitlistEntryGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryGatewayTimeoutResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "gateway_timeout" error.
type GetWaitlistEntryInternalServerErrorResponseBody ¶
type GetWaitlistEntryInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryInternalServerErrorResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "internal_server_error" error.
type GetWaitlistEntryNotFoundResponseBody ¶
type GetWaitlistEntryNotFoundResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryNotFoundResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "not_found" error.
type GetWaitlistEntryNotImplementedResponseBody ¶
type GetWaitlistEntryNotImplementedResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryNotImplementedResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "not_implemented" error.
type GetWaitlistEntryRequestBody ¶
type GetWaitlistEntryRequestBody struct {
WaitlistEntryID string `form:"waitlist_entry_id" json:"waitlist_entry_id" xml:"waitlist_entry_id"`
}
GetWaitlistEntryRequestBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP request body.
func NewGetWaitlistEntryRequestBody ¶
func NewGetWaitlistEntryRequestBody(p *waitlist.GetWaitlistEntryPayload) *GetWaitlistEntryRequestBody
NewGetWaitlistEntryRequestBody builds the HTTP request body from the payload of the "get_waitlist_entry" endpoint of the "waitlist" service.
type GetWaitlistEntryResponseBody ¶
type GetWaitlistEntryResponseBody struct {
WaitlistEntry *WaitlistEntryResponseBody `form:"waitlist_entry,omitempty" json:"waitlist_entry,omitempty" xml:"waitlist_entry,omitempty"`
}
GetWaitlistEntryResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body.
type GetWaitlistEntryServiceUnavailableResponseBody ¶
type GetWaitlistEntryServiceUnavailableResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
GetWaitlistEntryServiceUnavailableResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "service_unavailable" error.
type GetWaitlistEntryTooManyRequestsResponseBody ¶
type GetWaitlistEntryTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // ID is a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // Is the error temporary? Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` // Is the error a timeout? Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` // Is the error a server-side fault? Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }
GetWaitlistEntryTooManyRequestsResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "too_many_requests" error.
type GetWaitlistEntryUnauthorizedResponseBody ¶
type GetWaitlistEntryUnauthorizedResponseBody struct { string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // problem. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"` Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"` Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"` }Name *
GetWaitlistEntryUnauthorizedResponseBody is the type of the "waitlist" service "get_waitlist_entry" endpoint HTTP response body for the "unauthorized" error.
type PostalAddressRequestBodyRequestBody ¶
type PostalAddressRequestBodyRequestBody struct { Country string `form:"country" json:"country" xml:"country"` Locality string `form:"locality" json:"locality" xml:"locality"` Region *string `form:"region,omitempty" json:"region,omitempty" xml:"region,omitempty"` PostalCode string `form:"postal_code" json:"postal_code" xml:"postal_code"` StreetAddress string `form:"street_address" json:"street_address" xml:"street_address"` }
PostalAddressRequestBodyRequestBody is used to define fields on request body types.
type UserInformationRequestBodyRequestBody ¶
type UserInformationRequestBodyRequestBody struct { UserID string `form:"user_id" json:"user_id" xml:"user_id"` GivenName string `form:"given_name" json:"given_name" xml:"given_name"` FamilyName string `form:"family_name" json:"family_name" xml:"family_name"` Address *PostalAddressRequestBodyRequestBody `form:"address,omitempty" json:"address,omitempty" xml:"address,omitempty"` Telephone string `form:"telephone" json:"telephone" xml:"telephone"` Email string `form:"email" json:"email" xml:"email"` 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,omitempty" json:"party_size,omitempty" xml:"party_size,omitempty"` WaitLength *WaitLengthResponseBody `form:"wait_length,omitempty" json:"wait_length,omitempty" xml:"wait_length,omitempty"` WaitlistConfirmationMode *string `` /* 130-byte string literal not displayed */ }
WaitEstimateResponseBody is used to define fields on response body types.
type WaitLengthResponseBody ¶
type WaitLengthResponseBody struct { PartiesAheadCount *int32 `form:"parties_ahead_count,omitempty" json:"parties_ahead_count,omitempty" xml:"parties_ahead_count,omitempty"` EstimatedSeatTimeRange *EstimatedSeatTimeRangeResponseBody `` /* 127-byte string literal not displayed */ }
WaitLengthResponseBody is used to define fields on response body types.
type WaitlistBusinessLogicFailureResponseBody ¶
type WaitlistBusinessLogicFailureResponseBody struct { Cause *string `form:"cause,omitempty" json:"cause,omitempty" xml:"cause,omitempty"` 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,omitempty" json:"waitlist_entry_state,omitempty" xml:"waitlist_entry_state,omitempty"` WaitlistEntryStateTimes *WaitlistEntryStateTimesResponseBody `` /* 130-byte string literal not displayed */ WaitEstimate *WaitEstimateResponseBody `form:"wait_estimate,omitempty" json:"wait_estimate,omitempty" xml:"wait_estimate,omitempty"` }
WaitlistEntryResponseBody is used to define fields on response body types.
type WaitlistEntryStateTimesResponseBody ¶
type WaitlistEntryStateTimesResponseBody struct { CreatedTimeSeconds *string `form:"created_time_seconds,omitempty" json:"created_time_seconds,omitempty" xml:"created_time_seconds,omitempty"` 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.