server

package
v0.0.0-...-769f768 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchAvailabilityLookupBookingPath

func BatchAvailabilityLookupBookingPath() string

BatchAvailabilityLookupBookingPath returns the URL path to the booking service batch_availability_lookup HTTP endpoint.

func CheckAvailabilityBookingPath

func CheckAvailabilityBookingPath() string

CheckAvailabilityBookingPath returns the URL path to the booking service check_availability HTTP endpoint.

func CreateBookingBookingPath

func CreateBookingBookingPath() string

CreateBookingBookingPath returns the URL path to the booking service create_booking HTTP endpoint.

func DecodeBatchAvailabilityLookupRequest

func DecodeBatchAvailabilityLookupRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeBatchAvailabilityLookupRequest returns a decoder for requests sent to the booking batch_availability_lookup endpoint.

func DecodeCheckAvailabilityRequest

func DecodeCheckAvailabilityRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeCheckAvailabilityRequest returns a decoder for requests sent to the booking check_availability endpoint.

func DecodeCreateBookingRequest

func DecodeCreateBookingRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeCreateBookingRequest returns a decoder for requests sent to the booking create_booking endpoint.

func DecodeGetBookingStatusRequest

func DecodeGetBookingStatusRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeGetBookingStatusRequest returns a decoder for requests sent to the booking get_booking_status endpoint.

func DecodeListBookingsRequest

func DecodeListBookingsRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeListBookingsRequest returns a decoder for requests sent to the booking list_bookings endpoint.

func DecodeUpdateBookingRequest

func DecodeUpdateBookingRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeUpdateBookingRequest returns a decoder for requests sent to the booking update_booking endpoint.

func EncodeBatchAvailabilityLookupError

func EncodeBatchAvailabilityLookupError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeBatchAvailabilityLookupError returns an encoder for errors returned by the batch_availability_lookup booking endpoint.

func EncodeBatchAvailabilityLookupResponse

func EncodeBatchAvailabilityLookupResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeBatchAvailabilityLookupResponse returns an encoder for responses returned by the booking batch_availability_lookup endpoint.

func EncodeCheckAvailabilityError

func EncodeCheckAvailabilityError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeCheckAvailabilityError returns an encoder for errors returned by the check_availability booking endpoint.

func EncodeCheckAvailabilityResponse

func EncodeCheckAvailabilityResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeCheckAvailabilityResponse returns an encoder for responses returned by the booking check_availability endpoint.

func EncodeCreateBookingError

func EncodeCreateBookingError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeCreateBookingError returns an encoder for errors returned by the create_booking booking endpoint.

func EncodeCreateBookingResponse

func EncodeCreateBookingResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeCreateBookingResponse returns an encoder for responses returned by the booking create_booking endpoint.

func EncodeGetBookingStatusError

func EncodeGetBookingStatusError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeGetBookingStatusError returns an encoder for errors returned by the get_booking_status booking endpoint.

func EncodeGetBookingStatusResponse

func EncodeGetBookingStatusResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeGetBookingStatusResponse returns an encoder for responses returned by the booking get_booking_status endpoint.

func EncodeListBookingsError

func EncodeListBookingsError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeListBookingsError returns an encoder for errors returned by the list_bookings booking endpoint.

func EncodeListBookingsResponse

func EncodeListBookingsResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeListBookingsResponse returns an encoder for responses returned by the booking list_bookings endpoint.

func EncodeUpdateBookingError

func EncodeUpdateBookingError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeUpdateBookingError returns an encoder for errors returned by the update_booking booking endpoint.

func EncodeUpdateBookingResponse

func EncodeUpdateBookingResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeUpdateBookingResponse returns an encoder for responses returned by the booking update_booking endpoint.

func GetBookingStatusBookingPath

func GetBookingStatusBookingPath() string

GetBookingStatusBookingPath returns the URL path to the booking service get_booking_status HTTP endpoint.

func ListBookingsBookingPath

func ListBookingsBookingPath() string

ListBookingsBookingPath returns the URL path to the booking service list_bookings HTTP endpoint.

func Mount

func Mount(mux goahttp.Muxer, h *Server)

Mount configures the mux to serve the booking endpoints.

func MountBatchAvailabilityLookupHandler

func MountBatchAvailabilityLookupHandler(mux goahttp.Muxer, h http.Handler)

MountBatchAvailabilityLookupHandler configures the mux to serve the "booking" service "batch_availability_lookup" endpoint.

func MountCheckAvailabilityHandler

func MountCheckAvailabilityHandler(mux goahttp.Muxer, h http.Handler)

MountCheckAvailabilityHandler configures the mux to serve the "booking" service "check_availability" endpoint.

func MountCreateBookingHandler

func MountCreateBookingHandler(mux goahttp.Muxer, h http.Handler)

MountCreateBookingHandler configures the mux to serve the "booking" service "create_booking" endpoint.

func MountGetBookingStatusHandler

func MountGetBookingStatusHandler(mux goahttp.Muxer, h http.Handler)

MountGetBookingStatusHandler configures the mux to serve the "booking" service "get_booking_status" endpoint.

func MountListBookingsHandler

func MountListBookingsHandler(mux goahttp.Muxer, h http.Handler)

MountListBookingsHandler configures the mux to serve the "booking" service "list_bookings" endpoint.

func MountUpdateBookingHandler

func MountUpdateBookingHandler(mux goahttp.Muxer, h http.Handler)

MountUpdateBookingHandler configures the mux to serve the "booking" service "update_booking" endpoint.

func NewBatchAvailabilityLookupHandler

func NewBatchAvailabilityLookupHandler(
	endpoint goa.Endpoint,
	mux goahttp.Muxer,
	decoder func(*http.Request) goahttp.Decoder,
	encoder func(context.Context, http.ResponseWriter) goahttp.Encoder,
	errhandler func(context.Context, http.ResponseWriter, error),
	formatter func(err error) goahttp.Statuser,
) http.Handler

NewBatchAvailabilityLookupHandler creates a HTTP handler which loads the HTTP request and calls the "booking" service "batch_availability_lookup" endpoint.

func NewBatchAvailabilityLookupPayload

func NewBatchAvailabilityLookupPayload(body *BatchAvailabilityLookupRequestBody) *booking.BatchAvailabilityLookupPayload

NewBatchAvailabilityLookupPayload builds a booking service batch_availability_lookup endpoint payload.

func NewCheckAvailabilityHandler

func NewCheckAvailabilityHandler(
	endpoint goa.Endpoint,
	mux goahttp.Muxer,
	decoder func(*http.Request) goahttp.Decoder,
	encoder func(context.Context, http.ResponseWriter) goahttp.Encoder,
	errhandler func(context.Context, http.ResponseWriter, error),
	formatter func(err error) goahttp.Statuser,
) http.Handler

NewCheckAvailabilityHandler creates a HTTP handler which loads the HTTP request and calls the "booking" service "check_availability" endpoint.

func NewCheckAvailabilityPayload

func NewCheckAvailabilityPayload(body *CheckAvailabilityRequestBody) *booking.CheckAvailabilityPayload

NewCheckAvailabilityPayload builds a booking service check_availability endpoint payload.

func NewCreateBookingHandler

func NewCreateBookingHandler(
	endpoint goa.Endpoint,
	mux goahttp.Muxer,
	decoder func(*http.Request) goahttp.Decoder,
	encoder func(context.Context, http.ResponseWriter) goahttp.Encoder,
	errhandler func(context.Context, http.ResponseWriter, error),
	formatter func(err error) goahttp.Statuser,
) http.Handler

NewCreateBookingHandler creates a HTTP handler which loads the HTTP request and calls the "booking" service "create_booking" endpoint.

func NewCreateBookingPayload

func NewCreateBookingPayload(body *CreateBookingRequestBody) *booking.CreateBookingPayload

NewCreateBookingPayload builds a booking service create_booking endpoint payload.

func NewGetBookingStatusHandler

func NewGetBookingStatusHandler(
	endpoint goa.Endpoint,
	mux goahttp.Muxer,
	decoder func(*http.Request) goahttp.Decoder,
	encoder func(context.Context, http.ResponseWriter) goahttp.Encoder,
	errhandler func(context.Context, http.ResponseWriter, error),
	formatter func(err error) goahttp.Statuser,
) http.Handler

NewGetBookingStatusHandler creates a HTTP handler which loads the HTTP request and calls the "booking" service "get_booking_status" endpoint.

func NewGetBookingStatusPayload

func NewGetBookingStatusPayload(body *GetBookingStatusRequestBody) *booking.GetBookingStatusPayload

NewGetBookingStatusPayload builds a booking service get_booking_status endpoint payload.

func NewListBookingsHandler

func NewListBookingsHandler(
	endpoint goa.Endpoint,
	mux goahttp.Muxer,
	decoder func(*http.Request) goahttp.Decoder,
	encoder func(context.Context, http.ResponseWriter) goahttp.Encoder,
	errhandler func(context.Context, http.ResponseWriter, error),
	formatter func(err error) goahttp.Statuser,
) http.Handler

NewListBookingsHandler creates a HTTP handler which loads the HTTP request and calls the "booking" service "list_bookings" endpoint.

func NewListBookingsPayload

func NewListBookingsPayload(body *ListBookingsRequestBody) *booking.ListBookingsPayload

NewListBookingsPayload builds a booking service list_bookings endpoint payload.

func NewUpdateBookingHandler

func NewUpdateBookingHandler(
	endpoint goa.Endpoint,
	mux goahttp.Muxer,
	decoder func(*http.Request) goahttp.Decoder,
	encoder func(context.Context, http.ResponseWriter) goahttp.Encoder,
	errhandler func(context.Context, http.ResponseWriter, error),
	formatter func(err error) goahttp.Statuser,
) http.Handler

NewUpdateBookingHandler creates a HTTP handler which loads the HTTP request and calls the "booking" service "update_booking" endpoint.

func NewUpdateBookingPayload

func NewUpdateBookingPayload(body *UpdateBookingRequestBody) *booking.UpdateBookingPayload

NewUpdateBookingPayload builds a booking service update_booking endpoint payload.

func UpdateBookingBookingPath

func UpdateBookingBookingPath() string

UpdateBookingBookingPath returns the URL path to the booking service update_booking HTTP endpoint.

func ValidateBatchAvailabilityLookupRequestBody

func ValidateBatchAvailabilityLookupRequestBody(body *BatchAvailabilityLookupRequestBody) (err error)

ValidateBatchAvailabilityLookupRequestBody runs the validations defined on batch_availability_lookup_request_body

func ValidateBookingRequestBodyRequestBody

func ValidateBookingRequestBodyRequestBody(body *BookingRequestBodyRequestBody) (err error)

ValidateBookingRequestBodyRequestBody runs the validations defined on BookingRequestBodyRequestBody

func ValidateCardNetworkParametersRequestBodyRequestBody

func ValidateCardNetworkParametersRequestBodyRequestBody(body *CardNetworkParametersRequestBodyRequestBody) (err error)

ValidateCardNetworkParametersRequestBodyRequestBody runs the validations defined on CardNetworkParametersRequestBodyRequestBody

func ValidateCheckAvailabilityRequestBody

func ValidateCheckAvailabilityRequestBody(body *CheckAvailabilityRequestBody) (err error)

ValidateCheckAvailabilityRequestBody runs the validations defined on check_availability_request_body

func ValidateCreateBookingRequestBody

func ValidateCreateBookingRequestBody(body *CreateBookingRequestBody) (err error)

ValidateCreateBookingRequestBody runs the validations defined on create_booking_request_body

func ValidateDepositRequestBodyRequestBody

func ValidateDepositRequestBodyRequestBody(body *DepositRequestBodyRequestBody) (err error)

ValidateDepositRequestBodyRequestBody runs the validations defined on DepositRequestBodyRequestBody

func ValidateGetBookingStatusRequestBody

func ValidateGetBookingStatusRequestBody(body *GetBookingStatusRequestBody) (err error)

ValidateGetBookingStatusRequestBody runs the validations defined on get_booking_status_request_body

func ValidateLeaseReferenceRequestBodyRequestBody

func ValidateLeaseReferenceRequestBodyRequestBody(body *LeaseReferenceRequestBodyRequestBody) (err error)

ValidateLeaseReferenceRequestBodyRequestBody runs the validations defined on LeaseReferenceRequestBodyRequestBody

func ValidateListBookingsRequestBody

func ValidateListBookingsRequestBody(body *ListBookingsRequestBody) (err error)

ValidateListBookingsRequestBody runs the validations defined on list_bookings_request_body

func ValidateNoShowFeeRequestBodyRequestBody

func ValidateNoShowFeeRequestBodyRequestBody(body *NoShowFeeRequestBodyRequestBody) (err error)

ValidateNoShowFeeRequestBodyRequestBody runs the validations defined on NoShowFeeRequestBodyRequestBody

func ValidateOfferInfoRequestBodyRequestBody

func ValidateOfferInfoRequestBodyRequestBody(body *OfferInfoRequestBodyRequestBody) (err error)

ValidateOfferInfoRequestBodyRequestBody runs the validations defined on OfferInfoRequestBodyRequestBody

func ValidatePaymentInformationRequestBodyRequestBody

func ValidatePaymentInformationRequestBodyRequestBody(body *PaymentInformationRequestBodyRequestBody) (err error)

ValidatePaymentInformationRequestBodyRequestBody runs the validations defined on PaymentInformationRequestBodyRequestBody

func ValidatePaymentProcessingParametersRequestBodyRequestBody

func ValidatePaymentProcessingParametersRequestBodyRequestBody(body *PaymentProcessingParametersRequestBodyRequestBody) (err error)

ValidatePaymentProcessingParametersRequestBodyRequestBody runs the validations defined on PaymentProcessingParametersRequestBodyRequestBody

func ValidatePostalAddressRequestBodyRequestBody

func ValidatePostalAddressRequestBodyRequestBody(body *PostalAddressRequestBodyRequestBody) (err error)

ValidatePostalAddressRequestBodyRequestBody runs the validations defined on PostalAddressRequestBodyRequestBody

func ValidatePriceRequestBodyRequestBody

func ValidatePriceRequestBodyRequestBody(body *PriceRequestBodyRequestBody) (err error)

ValidatePriceRequestBodyRequestBody runs the validations defined on PriceRequestBodyRequestBody

func ValidateSlotRequestBodyRequestBody

func ValidateSlotRequestBodyRequestBody(body *SlotRequestBodyRequestBody) (err error)

ValidateSlotRequestBodyRequestBody runs the validations defined on SlotRequestBodyRequestBody

func ValidateSlotTimeRequestBodyRequestBody

func ValidateSlotTimeRequestBodyRequestBody(body *SlotTimeRequestBodyRequestBody) (err error)

ValidateSlotTimeRequestBodyRequestBody runs the validations defined on SlotTimeRequestBodyRequestBody

func ValidateTokenizationConfigRequestBodyRequestBody

func ValidateTokenizationConfigRequestBodyRequestBody(body *TokenizationConfigRequestBodyRequestBody) (err error)

ValidateTokenizationConfigRequestBodyRequestBody runs the validations defined on TokenizationConfigRequestBodyRequestBody

func ValidateUpdateBookingRequestBody

func ValidateUpdateBookingRequestBody(body *UpdateBookingRequestBody) (err error)

ValidateUpdateBookingRequestBody runs the validations defined on update_booking_request_body

func ValidateUserInformationRequestBodyRequestBody

func ValidateUserInformationRequestBodyRequestBody(body *UserInformationRequestBodyRequestBody) (err error)

ValidateUserInformationRequestBodyRequestBody runs the validations defined on UserInformationRequestBodyRequestBody

Types

type AvailabilityUpdateResponseBody

type AvailabilityUpdateResponseBody struct {
	SlotAvailability []*SlotAvailabilityResponseBody `form:"slot_availability" json:"slot_availability" xml:"slot_availability"`
}

AvailabilityUpdateResponseBody is used to define fields on response body types.

type BatchAvailabilityLookupBadRequestResponseBody

type BatchAvailabilityLookupBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupBadRequestResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "bad_request" error.

func NewBatchAvailabilityLookupBadRequestResponseBody

func NewBatchAvailabilityLookupBadRequestResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupBadRequestResponseBody

NewBatchAvailabilityLookupBadRequestResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupClientClosedRequestResponseBody

type BatchAvailabilityLookupClientClosedRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupClientClosedRequestResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "client_closed_request" error.

func NewBatchAvailabilityLookupClientClosedRequestResponseBody

func NewBatchAvailabilityLookupClientClosedRequestResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupClientClosedRequestResponseBody

NewBatchAvailabilityLookupClientClosedRequestResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupConflictResponseBody

type BatchAvailabilityLookupConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupConflictResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "conflict" error.

func NewBatchAvailabilityLookupConflictResponseBody

func NewBatchAvailabilityLookupConflictResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupConflictResponseBody

NewBatchAvailabilityLookupConflictResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupForbiddenResponseBody

type BatchAvailabilityLookupForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupForbiddenResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "forbidden" error.

func NewBatchAvailabilityLookupForbiddenResponseBody

func NewBatchAvailabilityLookupForbiddenResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupForbiddenResponseBody

NewBatchAvailabilityLookupForbiddenResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupGatewayTimeoutResponseBody

type BatchAvailabilityLookupGatewayTimeoutResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupGatewayTimeoutResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "gateway_timeout" error.

func NewBatchAvailabilityLookupGatewayTimeoutResponseBody

func NewBatchAvailabilityLookupGatewayTimeoutResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupGatewayTimeoutResponseBody

NewBatchAvailabilityLookupGatewayTimeoutResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupInternalServerErrorResponseBody

type BatchAvailabilityLookupInternalServerErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupInternalServerErrorResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "internal_server_error" error.

func NewBatchAvailabilityLookupInternalServerErrorResponseBody

func NewBatchAvailabilityLookupInternalServerErrorResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupInternalServerErrorResponseBody

NewBatchAvailabilityLookupInternalServerErrorResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupNotFoundResponseBody

type BatchAvailabilityLookupNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupNotFoundResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "not_found" error.

func NewBatchAvailabilityLookupNotFoundResponseBody

func NewBatchAvailabilityLookupNotFoundResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupNotFoundResponseBody

NewBatchAvailabilityLookupNotFoundResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupNotImplementedResponseBody

type BatchAvailabilityLookupNotImplementedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupNotImplementedResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "not_implemented" error.

func NewBatchAvailabilityLookupNotImplementedResponseBody

func NewBatchAvailabilityLookupNotImplementedResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupNotImplementedResponseBody

NewBatchAvailabilityLookupNotImplementedResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupRequestBody

type BatchAvailabilityLookupRequestBody struct {
	MerchantID *string                           `form:"merchant_id,omitempty" json:"merchant_id,omitempty" xml:"merchant_id,omitempty"`
	SlotTime   []*SlotTimeRequestBodyRequestBody `form:"slot_time,omitempty" json:"slot_time,omitempty" xml:"slot_time,omitempty"`
}

BatchAvailabilityLookupRequestBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP request body.

type BatchAvailabilityLookupResponseBody

type BatchAvailabilityLookupResponseBody struct {
	SlotTimeAvailability []*SlotTimeAvailabilityResponseBody `form:"slot_time_availability" json:"slot_time_availability" xml:"slot_time_availability"`
}

BatchAvailabilityLookupResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body.

func NewBatchAvailabilityLookupResponseBody

func NewBatchAvailabilityLookupResponseBody(res *booking.BatchAvailabilityLookupResponse) *BatchAvailabilityLookupResponseBody

NewBatchAvailabilityLookupResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupServiceUnavailableResponseBody

type BatchAvailabilityLookupServiceUnavailableResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupServiceUnavailableResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "service_unavailable" error.

func NewBatchAvailabilityLookupServiceUnavailableResponseBody

func NewBatchAvailabilityLookupServiceUnavailableResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupServiceUnavailableResponseBody

NewBatchAvailabilityLookupServiceUnavailableResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupTooManyRequestsResponseBody

type BatchAvailabilityLookupTooManyRequestsResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupTooManyRequestsResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "too_many_requests" error.

func NewBatchAvailabilityLookupTooManyRequestsResponseBody

func NewBatchAvailabilityLookupTooManyRequestsResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupTooManyRequestsResponseBody

NewBatchAvailabilityLookupTooManyRequestsResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BatchAvailabilityLookupUnauthorizedResponseBody

type BatchAvailabilityLookupUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

BatchAvailabilityLookupUnauthorizedResponseBody is the type of the "booking" service "batch_availability_lookup" endpoint HTTP response body for the "unauthorized" error.

func NewBatchAvailabilityLookupUnauthorizedResponseBody

func NewBatchAvailabilityLookupUnauthorizedResponseBody(res *goa.ServiceError) *BatchAvailabilityLookupUnauthorizedResponseBody

NewBatchAvailabilityLookupUnauthorizedResponseBody builds the HTTP response body from the result of the "batch_availability_lookup" endpoint of the "booking" service.

type BookingFailureResponseBody

type BookingFailureResponseBody struct {
	Cause            string                                 `form:"cause" json:"cause" xml:"cause"`
	RejectedCardType *string                                `form:"rejected_card_type,omitempty" json:"rejected_card_type,omitempty" xml:"rejected_card_type,omitempty"`
	Description      *string                                `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	PaymentFailure   *PaymentFailureInformationResponseBody `form:"payment_failure,omitempty" json:"payment_failure,omitempty" xml:"payment_failure,omitempty"`
}

BookingFailureResponseBody is used to define fields on response body types.

type BookingRequestBodyRequestBody

type BookingRequestBodyRequestBody struct {
	BookingID          *string                                   `form:"booking_id,omitempty" json:"booking_id,omitempty" xml:"booking_id,omitempty"`
	Slot               *SlotRequestBodyRequestBody               `form:"slot,omitempty" json:"slot,omitempty" xml:"slot,omitempty"`
	UserInformation    *UserInformationRequestBodyRequestBody    `form:"user_information,omitempty" json:"user_information,omitempty" xml:"user_information,omitempty"`
	Status             *string                                   `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	PaymentInformation *PaymentInformationRequestBodyRequestBody `form:"payment_information,omitempty" json:"payment_information,omitempty" xml:"payment_information,omitempty"`
	VirtualSessionInfo *VirtualSessionInfoRequestBodyRequestBody `form:"virtual_session_info,omitempty" json:"virtual_session_info,omitempty" xml:"virtual_session_info,omitempty"`
	OfferInfo          *OfferInfoRequestBodyRequestBody          `form:"offer_info,omitempty" json:"offer_info,omitempty" xml:"offer_info,omitempty"`
}

BookingRequestBodyRequestBody is used to define fields on request body types.

type BookingResponseBody

type BookingResponseBody struct {
	BookingID          string                          `form:"booking_id" json:"booking_id" xml:"booking_id"`
	Slot               *SlotResponseBody               `form:"slot,omitempty" json:"slot,omitempty" xml:"slot,omitempty"`
	UserInformation    *UserInformationResponseBody    `form:"user_information,omitempty" json:"user_information,omitempty" xml:"user_information,omitempty"`
	Status             *string                         `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	PaymentInformation *PaymentInformationResponseBody `form:"payment_information,omitempty" json:"payment_information,omitempty" xml:"payment_information,omitempty"`
	VirtualSessionInfo *VirtualSessionInfoResponseBody `form:"virtual_session_info,omitempty" json:"virtual_session_info,omitempty" xml:"virtual_session_info,omitempty"`
	OfferInfo          *OfferInfoResponseBody          `form:"offer_info,omitempty" json:"offer_info,omitempty" xml:"offer_info,omitempty"`
}

BookingResponseBody is used to define fields on response body types.

type CardNetworkParametersRequestBodyRequestBody

type CardNetworkParametersRequestBodyRequestBody struct {
	CardNetwork        *string `form:"card_network,omitempty" json:"card_network,omitempty" xml:"card_network,omitempty"`
	AcquirerBin        *string `form:"acquirer_bin,omitempty" json:"acquirer_bin,omitempty" xml:"acquirer_bin,omitempty"`
	AcquirerMerchantID *string `form:"acquirer_merchant_id,omitempty" json:"acquirer_merchant_id,omitempty" xml:"acquirer_merchant_id,omitempty"`
}

CardNetworkParametersRequestBodyRequestBody is used to define fields on request body types.

type CheckAvailabilityBadRequestResponseBody

type CheckAvailabilityBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityBadRequestResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "bad_request" error.

func NewCheckAvailabilityBadRequestResponseBody

func NewCheckAvailabilityBadRequestResponseBody(res *goa.ServiceError) *CheckAvailabilityBadRequestResponseBody

NewCheckAvailabilityBadRequestResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityClientClosedRequestResponseBody

type CheckAvailabilityClientClosedRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityClientClosedRequestResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "client_closed_request" error.

func NewCheckAvailabilityClientClosedRequestResponseBody

func NewCheckAvailabilityClientClosedRequestResponseBody(res *goa.ServiceError) *CheckAvailabilityClientClosedRequestResponseBody

NewCheckAvailabilityClientClosedRequestResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityConflictResponseBody

type CheckAvailabilityConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityConflictResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "conflict" error.

func NewCheckAvailabilityConflictResponseBody

func NewCheckAvailabilityConflictResponseBody(res *goa.ServiceError) *CheckAvailabilityConflictResponseBody

NewCheckAvailabilityConflictResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityForbiddenResponseBody

type CheckAvailabilityForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityForbiddenResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "forbidden" error.

func NewCheckAvailabilityForbiddenResponseBody

func NewCheckAvailabilityForbiddenResponseBody(res *goa.ServiceError) *CheckAvailabilityForbiddenResponseBody

NewCheckAvailabilityForbiddenResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityGatewayTimeoutResponseBody

type CheckAvailabilityGatewayTimeoutResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityGatewayTimeoutResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "gateway_timeout" error.

func NewCheckAvailabilityGatewayTimeoutResponseBody

func NewCheckAvailabilityGatewayTimeoutResponseBody(res *goa.ServiceError) *CheckAvailabilityGatewayTimeoutResponseBody

NewCheckAvailabilityGatewayTimeoutResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityInternalServerErrorResponseBody

type CheckAvailabilityInternalServerErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityInternalServerErrorResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "internal_server_error" error.

func NewCheckAvailabilityInternalServerErrorResponseBody

func NewCheckAvailabilityInternalServerErrorResponseBody(res *goa.ServiceError) *CheckAvailabilityInternalServerErrorResponseBody

NewCheckAvailabilityInternalServerErrorResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityNotFoundResponseBody

type CheckAvailabilityNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityNotFoundResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "not_found" error.

func NewCheckAvailabilityNotFoundResponseBody

func NewCheckAvailabilityNotFoundResponseBody(res *goa.ServiceError) *CheckAvailabilityNotFoundResponseBody

NewCheckAvailabilityNotFoundResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityNotImplementedResponseBody

type CheckAvailabilityNotImplementedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityNotImplementedResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "not_implemented" error.

func NewCheckAvailabilityNotImplementedResponseBody

func NewCheckAvailabilityNotImplementedResponseBody(res *goa.ServiceError) *CheckAvailabilityNotImplementedResponseBody

NewCheckAvailabilityNotImplementedResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityRequestBody

type CheckAvailabilityRequestBody struct {
	Slot *SlotRequestBodyRequestBody `form:"slot,omitempty" json:"slot,omitempty" xml:"slot,omitempty"`
}

CheckAvailabilityRequestBody is the type of the "booking" service "check_availability" endpoint HTTP request body.

type CheckAvailabilityResponseBody

type CheckAvailabilityResponseBody struct {
	Slot                     *SlotResponseBody               `form:"slot" json:"slot" xml:"slot"`
	CountAvailable           int32                           `form:"count_available" json:"count_available" xml:"count_available"`
	LastOnlineCancellableSec *string                         `` /* 133-byte string literal not displayed */
	DurationRequirement      *string                         `form:"duration_requirement,omitempty" json:"duration_requirement,omitempty" xml:"duration_requirement,omitempty"`
	AvailabilityUpdate       *AvailabilityUpdateResponseBody `form:"availability_update,omitempty" json:"availability_update,omitempty" xml:"availability_update,omitempty"`
}

CheckAvailabilityResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body.

func NewCheckAvailabilityResponseBody

func NewCheckAvailabilityResponseBody(res *booking.CheckAvailabilityResponse) *CheckAvailabilityResponseBody

NewCheckAvailabilityResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityServiceUnavailableResponseBody

type CheckAvailabilityServiceUnavailableResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityServiceUnavailableResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "service_unavailable" error.

func NewCheckAvailabilityServiceUnavailableResponseBody

func NewCheckAvailabilityServiceUnavailableResponseBody(res *goa.ServiceError) *CheckAvailabilityServiceUnavailableResponseBody

NewCheckAvailabilityServiceUnavailableResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityTooManyRequestsResponseBody

type CheckAvailabilityTooManyRequestsResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityTooManyRequestsResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "too_many_requests" error.

func NewCheckAvailabilityTooManyRequestsResponseBody

func NewCheckAvailabilityTooManyRequestsResponseBody(res *goa.ServiceError) *CheckAvailabilityTooManyRequestsResponseBody

NewCheckAvailabilityTooManyRequestsResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CheckAvailabilityUnauthorizedResponseBody

type CheckAvailabilityUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CheckAvailabilityUnauthorizedResponseBody is the type of the "booking" service "check_availability" endpoint HTTP response body for the "unauthorized" error.

func NewCheckAvailabilityUnauthorizedResponseBody

func NewCheckAvailabilityUnauthorizedResponseBody(res *goa.ServiceError) *CheckAvailabilityUnauthorizedResponseBody

NewCheckAvailabilityUnauthorizedResponseBody builds the HTTP response body from the result of the "check_availability" endpoint of the "booking" service.

type CreateBookingBadRequestResponseBody

type CreateBookingBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingBadRequestResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "bad_request" error.

func NewCreateBookingBadRequestResponseBody

func NewCreateBookingBadRequestResponseBody(res *goa.ServiceError) *CreateBookingBadRequestResponseBody

NewCreateBookingBadRequestResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingClientClosedRequestResponseBody

type CreateBookingClientClosedRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingClientClosedRequestResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "client_closed_request" error.

func NewCreateBookingClientClosedRequestResponseBody

func NewCreateBookingClientClosedRequestResponseBody(res *goa.ServiceError) *CreateBookingClientClosedRequestResponseBody

NewCreateBookingClientClosedRequestResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingConflictResponseBody

type CreateBookingConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingConflictResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "conflict" error.

func NewCreateBookingConflictResponseBody

func NewCreateBookingConflictResponseBody(res *goa.ServiceError) *CreateBookingConflictResponseBody

NewCreateBookingConflictResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingForbiddenResponseBody

type CreateBookingForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingForbiddenResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "forbidden" error.

func NewCreateBookingForbiddenResponseBody

func NewCreateBookingForbiddenResponseBody(res *goa.ServiceError) *CreateBookingForbiddenResponseBody

NewCreateBookingForbiddenResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingGatewayTimeoutResponseBody

type CreateBookingGatewayTimeoutResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingGatewayTimeoutResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "gateway_timeout" error.

func NewCreateBookingGatewayTimeoutResponseBody

func NewCreateBookingGatewayTimeoutResponseBody(res *goa.ServiceError) *CreateBookingGatewayTimeoutResponseBody

NewCreateBookingGatewayTimeoutResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingInternalServerErrorResponseBody

type CreateBookingInternalServerErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingInternalServerErrorResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "internal_server_error" error.

func NewCreateBookingInternalServerErrorResponseBody

func NewCreateBookingInternalServerErrorResponseBody(res *goa.ServiceError) *CreateBookingInternalServerErrorResponseBody

NewCreateBookingInternalServerErrorResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingNotFoundResponseBody

type CreateBookingNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingNotFoundResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "not_found" error.

func NewCreateBookingNotFoundResponseBody

func NewCreateBookingNotFoundResponseBody(res *goa.ServiceError) *CreateBookingNotFoundResponseBody

NewCreateBookingNotFoundResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingNotImplementedResponseBody

type CreateBookingNotImplementedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingNotImplementedResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "not_implemented" error.

func NewCreateBookingNotImplementedResponseBody

func NewCreateBookingNotImplementedResponseBody(res *goa.ServiceError) *CreateBookingNotImplementedResponseBody

NewCreateBookingNotImplementedResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingRequestBody

type CreateBookingRequestBody struct {
	Slot                        *SlotRequestBodyRequestBody                        `form:"slot,omitempty" json:"slot,omitempty" xml:"slot,omitempty"`
	LeaseRef                    *LeaseReferenceRequestBodyRequestBody              `form:"lease_ref,omitempty" json:"lease_ref,omitempty" xml:"lease_ref,omitempty"`
	UserInformation             *UserInformationRequestBodyRequestBody             `form:"user_information,omitempty" json:"user_information,omitempty" xml:"user_information,omitempty"`
	PaymentInformation          *PaymentInformationRequestBodyRequestBody          `form:"payment_information,omitempty" json:"payment_information,omitempty" xml:"payment_information,omitempty"`
	PaymentProcessingParameters *PaymentProcessingParametersRequestBodyRequestBody `` /* 139-byte string literal not displayed */
	IdempotencyToken            *string                                            `form:"idempotency_token,omitempty" json:"idempotency_token,omitempty" xml:"idempotency_token,omitempty"`
	AdditionalRequest           *string                                            `form:"additional_request,omitempty" json:"additional_request,omitempty" xml:"additional_request,omitempty"`
	OfferID                     *string                                            `form:"offer_id,omitempty" json:"offer_id,omitempty" xml:"offer_id,omitempty"`
	DealID                      *string                                            `form:"deal_id,omitempty" json:"deal_id,omitempty" xml:"deal_id,omitempty"`
}

CreateBookingRequestBody is the type of the "booking" service "create_booking" endpoint HTTP request body.

type CreateBookingResponseBody

type CreateBookingResponseBody struct {
	Booking           *BookingResponseBody           `form:"booking" json:"booking" xml:"booking"`
	UserPaymentOption *UserPaymentOptionResponseBody `form:"user_payment_option,omitempty" json:"user_payment_option,omitempty" xml:"user_payment_option,omitempty"`
	BookingFailure    *BookingFailureResponseBody    `form:"booking_failure,omitempty" json:"booking_failure,omitempty" xml:"booking_failure,omitempty"`
}

CreateBookingResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body.

func NewCreateBookingResponseBody

func NewCreateBookingResponseBody(res *booking.CreateBookingResponse) *CreateBookingResponseBody

NewCreateBookingResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingServiceUnavailableResponseBody

type CreateBookingServiceUnavailableResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingServiceUnavailableResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "service_unavailable" error.

func NewCreateBookingServiceUnavailableResponseBody

func NewCreateBookingServiceUnavailableResponseBody(res *goa.ServiceError) *CreateBookingServiceUnavailableResponseBody

NewCreateBookingServiceUnavailableResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingTooManyRequestsResponseBody

type CreateBookingTooManyRequestsResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingTooManyRequestsResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "too_many_requests" error.

func NewCreateBookingTooManyRequestsResponseBody

func NewCreateBookingTooManyRequestsResponseBody(res *goa.ServiceError) *CreateBookingTooManyRequestsResponseBody

NewCreateBookingTooManyRequestsResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type CreateBookingUnauthorizedResponseBody

type CreateBookingUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

CreateBookingUnauthorizedResponseBody is the type of the "booking" service "create_booking" endpoint HTTP response body for the "unauthorized" error.

func NewCreateBookingUnauthorizedResponseBody

func NewCreateBookingUnauthorizedResponseBody(res *goa.ServiceError) *CreateBookingUnauthorizedResponseBody

NewCreateBookingUnauthorizedResponseBody builds the HTTP response body from the result of the "create_booking" endpoint of the "booking" service.

type DepositRequestBodyRequestBody

type DepositRequestBodyRequestBody struct {
	Deposit                   *PriceRequestBodyRequestBody `form:"deposit,omitempty" json:"deposit,omitempty" xml:"deposit,omitempty"`
	MinAdvanceCancellationSec *string                      `` /* 136-byte string literal not displayed */
	DepositType               *string                      `form:"deposit_type,omitempty" json:"deposit_type,omitempty" xml:"deposit_type,omitempty"`
}

DepositRequestBodyRequestBody is used to define fields on request body types.

type DepositResponseBody

type DepositResponseBody struct {
	Deposit                   *PriceResponseBody `form:"deposit" json:"deposit" xml:"deposit"`
	MinAdvanceCancellationSec string             `form:"min_advance_cancellation_sec" json:"min_advance_cancellation_sec" xml:"min_advance_cancellation_sec"`
	DepositType               string             `form:"deposit_type" json:"deposit_type" xml:"deposit_type"`
}

DepositResponseBody is used to define fields on response body types.

type ErrorNamer

type ErrorNamer interface {
	ErrorName() string
}

ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the design.

type GetBookingStatusBadRequestResponseBody

type GetBookingStatusBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusBadRequestResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "bad_request" error.

func NewGetBookingStatusBadRequestResponseBody

func NewGetBookingStatusBadRequestResponseBody(res *goa.ServiceError) *GetBookingStatusBadRequestResponseBody

NewGetBookingStatusBadRequestResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusClientClosedRequestResponseBody

type GetBookingStatusClientClosedRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusClientClosedRequestResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "client_closed_request" error.

func NewGetBookingStatusClientClosedRequestResponseBody

func NewGetBookingStatusClientClosedRequestResponseBody(res *goa.ServiceError) *GetBookingStatusClientClosedRequestResponseBody

NewGetBookingStatusClientClosedRequestResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusConflictResponseBody

type GetBookingStatusConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusConflictResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "conflict" error.

func NewGetBookingStatusConflictResponseBody

func NewGetBookingStatusConflictResponseBody(res *goa.ServiceError) *GetBookingStatusConflictResponseBody

NewGetBookingStatusConflictResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusForbiddenResponseBody

type GetBookingStatusForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusForbiddenResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "forbidden" error.

func NewGetBookingStatusForbiddenResponseBody

func NewGetBookingStatusForbiddenResponseBody(res *goa.ServiceError) *GetBookingStatusForbiddenResponseBody

NewGetBookingStatusForbiddenResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusGatewayTimeoutResponseBody

type GetBookingStatusGatewayTimeoutResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusGatewayTimeoutResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "gateway_timeout" error.

func NewGetBookingStatusGatewayTimeoutResponseBody

func NewGetBookingStatusGatewayTimeoutResponseBody(res *goa.ServiceError) *GetBookingStatusGatewayTimeoutResponseBody

NewGetBookingStatusGatewayTimeoutResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusInternalServerErrorResponseBody

type GetBookingStatusInternalServerErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusInternalServerErrorResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "internal_server_error" error.

func NewGetBookingStatusInternalServerErrorResponseBody

func NewGetBookingStatusInternalServerErrorResponseBody(res *goa.ServiceError) *GetBookingStatusInternalServerErrorResponseBody

NewGetBookingStatusInternalServerErrorResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusNotFoundResponseBody

type GetBookingStatusNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusNotFoundResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "not_found" error.

func NewGetBookingStatusNotFoundResponseBody

func NewGetBookingStatusNotFoundResponseBody(res *goa.ServiceError) *GetBookingStatusNotFoundResponseBody

NewGetBookingStatusNotFoundResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusNotImplementedResponseBody

type GetBookingStatusNotImplementedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusNotImplementedResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "not_implemented" error.

func NewGetBookingStatusNotImplementedResponseBody

func NewGetBookingStatusNotImplementedResponseBody(res *goa.ServiceError) *GetBookingStatusNotImplementedResponseBody

NewGetBookingStatusNotImplementedResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusRequestBody

type GetBookingStatusRequestBody struct {
	BookingID *string `form:"booking_id,omitempty" json:"booking_id,omitempty" xml:"booking_id,omitempty"`
}

GetBookingStatusRequestBody is the type of the "booking" service "get_booking_status" endpoint HTTP request body.

type GetBookingStatusResponseBody

type GetBookingStatusResponseBody struct {
	BookingID        string `form:"booking_id" json:"booking_id" xml:"booking_id"`
	BookingStatus    string `form:"booking_status" json:"booking_status" xml:"booking_status"`
	PrepaymentStatus string `form:"prepayment_status" json:"prepayment_status" xml:"prepayment_status"`
}

GetBookingStatusResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body.

func NewGetBookingStatusResponseBody

func NewGetBookingStatusResponseBody(res *booking.GetBookingStatusResponse) *GetBookingStatusResponseBody

NewGetBookingStatusResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusServiceUnavailableResponseBody

type GetBookingStatusServiceUnavailableResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusServiceUnavailableResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "service_unavailable" error.

func NewGetBookingStatusServiceUnavailableResponseBody

func NewGetBookingStatusServiceUnavailableResponseBody(res *goa.ServiceError) *GetBookingStatusServiceUnavailableResponseBody

NewGetBookingStatusServiceUnavailableResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusTooManyRequestsResponseBody

type GetBookingStatusTooManyRequestsResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusTooManyRequestsResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "too_many_requests" error.

func NewGetBookingStatusTooManyRequestsResponseBody

func NewGetBookingStatusTooManyRequestsResponseBody(res *goa.ServiceError) *GetBookingStatusTooManyRequestsResponseBody

NewGetBookingStatusTooManyRequestsResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type GetBookingStatusUnauthorizedResponseBody

type GetBookingStatusUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

GetBookingStatusUnauthorizedResponseBody is the type of the "booking" service "get_booking_status" endpoint HTTP response body for the "unauthorized" error.

func NewGetBookingStatusUnauthorizedResponseBody

func NewGetBookingStatusUnauthorizedResponseBody(res *goa.ServiceError) *GetBookingStatusUnauthorizedResponseBody

NewGetBookingStatusUnauthorizedResponseBody builds the HTTP response body from the result of the "get_booking_status" endpoint of the "booking" service.

type LeaseReferenceRequestBodyRequestBody

type LeaseReferenceRequestBodyRequestBody struct {
	LeaseID *string `form:"lease_id,omitempty" json:"lease_id,omitempty" xml:"lease_id,omitempty"`
}

LeaseReferenceRequestBodyRequestBody is used to define fields on request body types.

type ListBookingsBadRequestResponseBody

type ListBookingsBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsBadRequestResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "bad_request" error.

func NewListBookingsBadRequestResponseBody

func NewListBookingsBadRequestResponseBody(res *goa.ServiceError) *ListBookingsBadRequestResponseBody

NewListBookingsBadRequestResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsClientClosedRequestResponseBody

type ListBookingsClientClosedRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsClientClosedRequestResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "client_closed_request" error.

func NewListBookingsClientClosedRequestResponseBody

func NewListBookingsClientClosedRequestResponseBody(res *goa.ServiceError) *ListBookingsClientClosedRequestResponseBody

NewListBookingsClientClosedRequestResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsConflictResponseBody

type ListBookingsConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsConflictResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "conflict" error.

func NewListBookingsConflictResponseBody

func NewListBookingsConflictResponseBody(res *goa.ServiceError) *ListBookingsConflictResponseBody

NewListBookingsConflictResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsForbiddenResponseBody

type ListBookingsForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsForbiddenResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "forbidden" error.

func NewListBookingsForbiddenResponseBody

func NewListBookingsForbiddenResponseBody(res *goa.ServiceError) *ListBookingsForbiddenResponseBody

NewListBookingsForbiddenResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsGatewayTimeoutResponseBody

type ListBookingsGatewayTimeoutResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsGatewayTimeoutResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "gateway_timeout" error.

func NewListBookingsGatewayTimeoutResponseBody

func NewListBookingsGatewayTimeoutResponseBody(res *goa.ServiceError) *ListBookingsGatewayTimeoutResponseBody

NewListBookingsGatewayTimeoutResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsInternalServerErrorResponseBody

type ListBookingsInternalServerErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsInternalServerErrorResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "internal_server_error" error.

func NewListBookingsInternalServerErrorResponseBody

func NewListBookingsInternalServerErrorResponseBody(res *goa.ServiceError) *ListBookingsInternalServerErrorResponseBody

NewListBookingsInternalServerErrorResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsNotFoundResponseBody

type ListBookingsNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsNotFoundResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "not_found" error.

func NewListBookingsNotFoundResponseBody

func NewListBookingsNotFoundResponseBody(res *goa.ServiceError) *ListBookingsNotFoundResponseBody

NewListBookingsNotFoundResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsNotImplementedResponseBody

type ListBookingsNotImplementedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsNotImplementedResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "not_implemented" error.

func NewListBookingsNotImplementedResponseBody

func NewListBookingsNotImplementedResponseBody(res *goa.ServiceError) *ListBookingsNotImplementedResponseBody

NewListBookingsNotImplementedResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsRequestBody

type ListBookingsRequestBody struct {
	UserID *string `form:"user_id,omitempty" json:"user_id,omitempty" xml:"user_id,omitempty"`
}

ListBookingsRequestBody is the type of the "booking" service "list_bookings" endpoint HTTP request body.

type ListBookingsResponseBody

type ListBookingsResponseBody struct {
	Bookings []*BookingResponseBody `form:"bookings" json:"bookings" xml:"bookings"`
}

ListBookingsResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body.

func NewListBookingsResponseBody

func NewListBookingsResponseBody(res *booking.ListBookingsResponse) *ListBookingsResponseBody

NewListBookingsResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsServiceUnavailableResponseBody

type ListBookingsServiceUnavailableResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsServiceUnavailableResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "service_unavailable" error.

func NewListBookingsServiceUnavailableResponseBody

func NewListBookingsServiceUnavailableResponseBody(res *goa.ServiceError) *ListBookingsServiceUnavailableResponseBody

NewListBookingsServiceUnavailableResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsTooManyRequestsResponseBody

type ListBookingsTooManyRequestsResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsTooManyRequestsResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "too_many_requests" error.

func NewListBookingsTooManyRequestsResponseBody

func NewListBookingsTooManyRequestsResponseBody(res *goa.ServiceError) *ListBookingsTooManyRequestsResponseBody

NewListBookingsTooManyRequestsResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type ListBookingsUnauthorizedResponseBody

type ListBookingsUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

ListBookingsUnauthorizedResponseBody is the type of the "booking" service "list_bookings" endpoint HTTP response body for the "unauthorized" error.

func NewListBookingsUnauthorizedResponseBody

func NewListBookingsUnauthorizedResponseBody(res *goa.ServiceError) *ListBookingsUnauthorizedResponseBody

NewListBookingsUnauthorizedResponseBody builds the HTTP response body from the result of the "list_bookings" endpoint of the "booking" service.

type MountPoint

type MountPoint struct {
	// Method is the name of the service method served by the mounted HTTP handler.
	Method string
	// Verb is the HTTP method used to match requests to the mounted handler.
	Verb string
	// Pattern is the HTTP request path pattern used to match requests to the
	// mounted handler.
	Pattern string
}

MountPoint holds information about the mounted endpoints.

type NoShowFeeRequestBodyRequestBody

type NoShowFeeRequestBodyRequestBody struct {
	Fee     *PriceRequestBodyRequestBody `form:"fee,omitempty" json:"fee,omitempty" xml:"fee,omitempty"`
	FeeType *string                      `form:"fee_type,omitempty" json:"fee_type,omitempty" xml:"fee_type,omitempty"`
}

NoShowFeeRequestBodyRequestBody is used to define fields on request body types.

type NoShowFeeResponseBody

type NoShowFeeResponseBody struct {
	Fee     *PriceResponseBody `form:"fee" json:"fee" xml:"fee"`
	FeeType string             `form:"fee_type" json:"fee_type" xml:"fee_type"`
}

NoShowFeeResponseBody is used to define fields on response body types.

type OfferInfoRequestBodyRequestBody

type OfferInfoRequestBodyRequestBody struct {
	OfferID *string `form:"offer_id,omitempty" json:"offer_id,omitempty" xml:"offer_id,omitempty"`
}

OfferInfoRequestBodyRequestBody is used to define fields on request body types.

type OfferInfoResponseBody

type OfferInfoResponseBody struct {
	OfferID string `form:"offer_id" json:"offer_id" xml:"offer_id"`
}

OfferInfoResponseBody is used to define fields on response body types.

type PaymentFailureInformationResponseBody

type PaymentFailureInformationResponseBody struct {
	Threeds1Parameters *ThreeDS1ParametersResponseBody `form:"threeds1_parameters" json:"threeds1_parameters" xml:"threeds1_parameters"`
}

PaymentFailureInformationResponseBody is used to define fields on response body types.

type PaymentInformationRequestBodyRequestBody

type PaymentInformationRequestBodyRequestBody struct {
	PrepaymentStatus     *string                          `form:"prepayment_status,omitempty" json:"prepayment_status,omitempty" xml:"prepayment_status,omitempty"`
	PaymentTransactionID *string                          `form:"payment_transaction_id,omitempty" json:"payment_transaction_id,omitempty" xml:"payment_transaction_id,omitempty"`
	Price                *PriceRequestBodyRequestBody     `form:"price,omitempty" json:"price,omitempty" xml:"price,omitempty"`
	TaxAmount            *PriceRequestBodyRequestBody     `form:"tax_amount,omitempty" json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	Fees                 *PriceRequestBodyRequestBody     `form:"fees,omitempty" json:"fees,omitempty" xml:"fees,omitempty"`
	FeesAndTaxes         *PriceRequestBodyRequestBody     `form:"fees_and_taxes,omitempty" json:"fees_and_taxes,omitempty" xml:"fees_and_taxes,omitempty"`
	Deposit              *DepositRequestBodyRequestBody   `form:"deposit,omitempty" json:"deposit,omitempty" xml:"deposit,omitempty"`
	NoShowFee            *NoShowFeeRequestBodyRequestBody `form:"no_show_fee,omitempty" json:"no_show_fee,omitempty" xml:"no_show_fee,omitempty"`
	PaymentProcessedBy   *string                          `form:"payment_processed_by,omitempty" json:"payment_processed_by,omitempty" xml:"payment_processed_by,omitempty"`
	PaymentOptionID      *string                          `form:"payment_option_id,omitempty" json:"payment_option_id,omitempty" xml:"payment_option_id,omitempty"`
	UserPaymentOptionID  *string                          `form:"user_payment_option_id,omitempty" json:"user_payment_option_id,omitempty" xml:"user_payment_option_id,omitempty"`
	FraudSignals         *string                          `form:"fraud_signals,omitempty" json:"fraud_signals,omitempty" xml:"fraud_signals,omitempty"`
	PaResponse           *string                          `form:"pa_response,omitempty" json:"pa_response,omitempty" xml:"pa_response,omitempty"`
	MdMerchantData       *string                          `form:"md_merchant_data,omitempty" json:"md_merchant_data,omitempty" xml:"md_merchant_data,omitempty"`
}

PaymentInformationRequestBodyRequestBody is used to define fields on request body types.

type PaymentInformationResponseBody

type PaymentInformationResponseBody struct {
	PrepaymentStatus     string                 `form:"prepayment_status" json:"prepayment_status" xml:"prepayment_status"`
	PaymentTransactionID *string                `form:"payment_transaction_id,omitempty" json:"payment_transaction_id,omitempty" xml:"payment_transaction_id,omitempty"`
	Price                *PriceResponseBody     `form:"price" json:"price" xml:"price"`
	TaxAmount            *PriceResponseBody     `form:"tax_amount,omitempty" json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	Fees                 *PriceResponseBody     `form:"fees,omitempty" json:"fees,omitempty" xml:"fees,omitempty"`
	FeesAndTaxes         *PriceResponseBody     `form:"fees_and_taxes,omitempty" json:"fees_and_taxes,omitempty" xml:"fees_and_taxes,omitempty"`
	Deposit              *DepositResponseBody   `form:"deposit,omitempty" json:"deposit,omitempty" xml:"deposit,omitempty"`
	NoShowFee            *NoShowFeeResponseBody `form:"no_show_fee,omitempty" json:"no_show_fee,omitempty" xml:"no_show_fee,omitempty"`
	PaymentProcessedBy   string                 `form:"payment_processed_by" json:"payment_processed_by" xml:"payment_processed_by"`
	PaymentOptionID      *string                `form:"payment_option_id,omitempty" json:"payment_option_id,omitempty" xml:"payment_option_id,omitempty"`
	UserPaymentOptionID  *string                `form:"user_payment_option_id,omitempty" json:"user_payment_option_id,omitempty" xml:"user_payment_option_id,omitempty"`
	FraudSignals         *string                `form:"fraud_signals,omitempty" json:"fraud_signals,omitempty" xml:"fraud_signals,omitempty"`
	PaResponse           *string                `form:"pa_response,omitempty" json:"pa_response,omitempty" xml:"pa_response,omitempty"`
	MdMerchantData       *string                `form:"md_merchant_data,omitempty" json:"md_merchant_data,omitempty" xml:"md_merchant_data,omitempty"`
}

PaymentInformationResponseBody is used to define fields on response body types.

type PaymentProcessingParametersRequestBodyRequestBody

type PaymentProcessingParametersRequestBodyRequestBody struct {
	Processor                  *string                                   `form:"processor,omitempty" json:"processor,omitempty" xml:"processor,omitempty"`
	PaymentMethodToken         *string                                   `form:"payment_method_token,omitempty" json:"payment_method_token,omitempty" xml:"payment_method_token,omitempty"`
	UnparsedPaymentMethodToken *string                                   `` /* 139-byte string literal not displayed */
	Version                    *string                                   `form:"version,omitempty" json:"version,omitempty" xml:"version,omitempty"`
	PaymentProcessor           *string                                   `form:"payment_processor,omitempty" json:"payment_processor,omitempty" xml:"payment_processor,omitempty"`
	TokenizationConfig         *TokenizationConfigRequestBodyRequestBody `form:"tokenization_config,omitempty" json:"tokenization_config,omitempty" xml:"tokenization_config,omitempty"`
}

PaymentProcessingParametersRequestBodyRequestBody is used to define fields on request body types.

type PostalAddressRequestBodyRequestBody

type PostalAddressRequestBodyRequestBody struct {
	Country       *string `form:"country,omitempty" json:"country,omitempty" xml:"country,omitempty"`
	Locality      *string `form:"locality,omitempty" json:"locality,omitempty" xml:"locality,omitempty"`
	Region        *string `form:"region,omitempty" json:"region,omitempty" xml:"region,omitempty"`
	PostalCode    *string `form:"postal_code,omitempty" json:"postal_code,omitempty" xml:"postal_code,omitempty"`
	StreetAddress *string `form:"street_address,omitempty" json:"street_address,omitempty" xml:"street_address,omitempty"`
}

PostalAddressRequestBodyRequestBody is used to define fields on request body types.

type PostalAddressResponseBody

type PostalAddressResponseBody 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"`
}

PostalAddressResponseBody is used to define fields on response body types.

type PriceRequestBodyRequestBody

type PriceRequestBodyRequestBody struct {
	PriceMicros      *int64  `form:"price_micros,omitempty" json:"price_micros,omitempty" xml:"price_micros,omitempty"`
	CurrencyCode     *string `form:"currency_code,omitempty" json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	PricingOptionTag *string `form:"pricing_option_tag,omitempty" json:"pricing_option_tag,omitempty" xml:"pricing_option_tag,omitempty"`
}

PriceRequestBodyRequestBody is used to define fields on request body types.

type PriceResponseBody

type PriceResponseBody struct {
	PriceMicros      int64   `form:"price_micros" json:"price_micros" xml:"price_micros"`
	CurrencyCode     string  `form:"currency_code" json:"currency_code" xml:"currency_code"`
	PricingOptionTag *string `form:"pricing_option_tag,omitempty" json:"pricing_option_tag,omitempty" xml:"pricing_option_tag,omitempty"`
}

PriceResponseBody is used to define fields on response body types.

type ResourceIdsRequestBodyRequestBody

type ResourceIdsRequestBodyRequestBody struct {
	StaffID   *string `form:"staff_id,omitempty" json:"staff_id,omitempty" xml:"staff_id,omitempty"`
	RoomID    *string `form:"room_id,omitempty" json:"room_id,omitempty" xml:"room_id,omitempty"`
	PartySize *int32  `form:"party_size,omitempty" json:"party_size,omitempty" xml:"party_size,omitempty"`
}

ResourceIdsRequestBodyRequestBody is used to define fields on request body types.

type ResourceIdsResponseBody

type ResourceIdsResponseBody struct {
	StaffID   *string `form:"staff_id,omitempty" json:"staff_id,omitempty" xml:"staff_id,omitempty"`
	RoomID    *string `form:"room_id,omitempty" json:"room_id,omitempty" xml:"room_id,omitempty"`
	PartySize *int32  `form:"party_size,omitempty" json:"party_size,omitempty" xml:"party_size,omitempty"`
}

ResourceIdsResponseBody is used to define fields on response body types.

type Server

type Server struct {
	Mounts                  []*MountPoint
	BatchAvailabilityLookup http.Handler
	CheckAvailability       http.Handler
	CreateBooking           http.Handler
	UpdateBooking           http.Handler
	GetBookingStatus        http.Handler
	ListBookings            http.Handler
}

Server lists the booking service endpoint HTTP handlers.

func New

func New(
	e *booking.Endpoints,
	mux goahttp.Muxer,
	decoder func(*http.Request) goahttp.Decoder,
	encoder func(context.Context, http.ResponseWriter) goahttp.Encoder,
	errhandler func(context.Context, http.ResponseWriter, error),
	formatter func(err error) goahttp.Statuser,
) *Server

New instantiates HTTP handlers for all the booking service endpoints using the provided encoder and decoder. The handlers are mounted on the given mux using the HTTP verb and path defined in the design. errhandler is called whenever a response fails to be encoded. formatter is used to format errors returned by the service methods prior to encoding. Both errhandler and formatter are optional and can be nil.

func (*Server) Service

func (s *Server) Service() string

Service returns the name of the service served.

func (*Server) Use

func (s *Server) Use(m func(http.Handler) http.Handler)

Use wraps the server handlers with the given middleware.

type SlotAvailabilityResponseBody

type SlotAvailabilityResponseBody struct {
	Slot           *SlotResponseBody `form:"slot" json:"slot" xml:"slot"`
	CountAvailable int32             `form:"count_available" json:"count_available" xml:"count_available"`
}

SlotAvailabilityResponseBody is used to define fields on response body types.

type SlotRequestBodyRequestBody

type SlotRequestBodyRequestBody struct {
	MerchantID       *string                            `form:"merchant_id,omitempty" json:"merchant_id,omitempty" xml:"merchant_id,omitempty"`
	ServiceID        *string                            `form:"service_id,omitempty" json:"service_id,omitempty" xml:"service_id,omitempty"`
	StartSec         *string                            `form:"start_sec,omitempty" json:"start_sec,omitempty" xml:"start_sec,omitempty"`
	DurationSec      *string                            `form:"duration_sec,omitempty" json:"duration_sec,omitempty" xml:"duration_sec,omitempty"`
	AvailabilityTag  *string                            `form:"availability_tag,omitempty" json:"availability_tag,omitempty" xml:"availability_tag,omitempty"`
	Resources        *ResourceIdsRequestBodyRequestBody `form:"resources,omitempty" json:"resources,omitempty" xml:"resources,omitempty"`
	ConfirmationMode *string                            `form:"confirmation_mode,omitempty" json:"confirmation_mode,omitempty" xml:"confirmation_mode,omitempty"`
}

SlotRequestBodyRequestBody is used to define fields on request body types.

type SlotResponseBody

type SlotResponseBody struct {
	MerchantID       *string                  `form:"merchant_id,omitempty" json:"merchant_id,omitempty" xml:"merchant_id,omitempty"`
	ServiceID        *string                  `form:"service_id,omitempty" json:"service_id,omitempty" xml:"service_id,omitempty"`
	StartSec         *string                  `form:"start_sec,omitempty" json:"start_sec,omitempty" xml:"start_sec,omitempty"`
	DurationSec      *string                  `form:"duration_sec,omitempty" json:"duration_sec,omitempty" xml:"duration_sec,omitempty"`
	AvailabilityTag  *string                  `form:"availability_tag,omitempty" json:"availability_tag,omitempty" xml:"availability_tag,omitempty"`
	Resources        *ResourceIdsResponseBody `form:"resources,omitempty" json:"resources,omitempty" xml:"resources,omitempty"`
	ConfirmationMode *string                  `form:"confirmation_mode,omitempty" json:"confirmation_mode,omitempty" xml:"confirmation_mode,omitempty"`
}

SlotResponseBody is used to define fields on response body types.

type SlotTimeAvailabilityResponseBody

type SlotTimeAvailabilityResponseBody struct {
	SlotTime  *SlotTimeResponseBody `form:"slot_time" json:"slot_time" xml:"slot_time"`
	Available bool                  `form:"available" json:"available" xml:"available"`
}

SlotTimeAvailabilityResponseBody is used to define fields on response body types.

type SlotTimeRequestBodyRequestBody

type SlotTimeRequestBodyRequestBody struct {
	ServiceID        *string                            `form:"service_id,omitempty" json:"service_id,omitempty" xml:"service_id,omitempty"`
	StartSec         *string                            `form:"start_sec,omitempty" json:"start_sec,omitempty" xml:"start_sec,omitempty"`
	DurationSec      *string                            `form:"duration_sec,omitempty" json:"duration_sec,omitempty" xml:"duration_sec,omitempty"`
	AvailabilityTag  *string                            `form:"availability_tag,omitempty" json:"availability_tag,omitempty" xml:"availability_tag,omitempty"`
	ResourceIds      *ResourceIdsRequestBodyRequestBody `form:"resource_ids,omitempty" json:"resource_ids,omitempty" xml:"resource_ids,omitempty"`
	ConfirmationMode *string                            `form:"confirmation_mode,omitempty" json:"confirmation_mode,omitempty" xml:"confirmation_mode,omitempty"`
}

SlotTimeRequestBodyRequestBody is used to define fields on request body types.

type SlotTimeResponseBody

type SlotTimeResponseBody struct {
	ServiceID        string                   `form:"service_id" json:"service_id" xml:"service_id"`
	StartSec         string                   `form:"start_sec" json:"start_sec" xml:"start_sec"`
	DurationSec      *string                  `form:"duration_sec,omitempty" json:"duration_sec,omitempty" xml:"duration_sec,omitempty"`
	AvailabilityTag  *string                  `form:"availability_tag,omitempty" json:"availability_tag,omitempty" xml:"availability_tag,omitempty"`
	ResourceIds      *ResourceIdsResponseBody `form:"resource_ids,omitempty" json:"resource_ids,omitempty" xml:"resource_ids,omitempty"`
	ConfirmationMode *string                  `form:"confirmation_mode,omitempty" json:"confirmation_mode,omitempty" xml:"confirmation_mode,omitempty"`
}

SlotTimeResponseBody is used to define fields on response body types.

type ThreeDS1ParametersResponseBody

type ThreeDS1ParametersResponseBody struct {
	AcsURL         string `form:"acs_url" json:"acs_url" xml:"acs_url"`
	PaReq          string `form:"pa_req" json:"pa_req" xml:"pa_req"`
	TransactionID  string `form:"transaction_id" json:"transaction_id" xml:"transaction_id"`
	MdMerchantData string `form:"md_merchant_data" json:"md_merchant_data" xml:"md_merchant_data"`
}

ThreeDS1ParametersResponseBody is used to define fields on response body types.

type TokenizationConfigRequestBodyRequestBody

type TokenizationConfigRequestBodyRequestBody struct {
	TokenizationParameter    map[string]string                              `form:"tokenization_parameter,omitempty" json:"tokenization_parameter,omitempty" xml:"tokenization_parameter,omitempty"`
	BillingInformationFormat *string                                        `` /* 130-byte string literal not displayed */
	MerchantOfRecordName     *string                                        `form:"merchant_of_record_name,omitempty" json:"merchant_of_record_name,omitempty" xml:"merchant_of_record_name,omitempty"`
	PaymentCountryCode       *string                                        `form:"payment_country_code,omitempty" json:"payment_country_code,omitempty" xml:"payment_country_code,omitempty"`
	CardNetworkParameters    []*CardNetworkParametersRequestBodyRequestBody `form:"card_network_parameters,omitempty" json:"card_network_parameters,omitempty" xml:"card_network_parameters,omitempty"`
	AllowedAuthMethods       []string                                       `form:"allowed_auth_methods,omitempty" json:"allowed_auth_methods,omitempty" xml:"allowed_auth_methods,omitempty"`
}

TokenizationConfigRequestBodyRequestBody is used to define fields on request body types.

type UpdateBookingBadRequestResponseBody

type UpdateBookingBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingBadRequestResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "bad_request" error.

func NewUpdateBookingBadRequestResponseBody

func NewUpdateBookingBadRequestResponseBody(res *goa.ServiceError) *UpdateBookingBadRequestResponseBody

NewUpdateBookingBadRequestResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingClientClosedRequestResponseBody

type UpdateBookingClientClosedRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingClientClosedRequestResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "client_closed_request" error.

func NewUpdateBookingClientClosedRequestResponseBody

func NewUpdateBookingClientClosedRequestResponseBody(res *goa.ServiceError) *UpdateBookingClientClosedRequestResponseBody

NewUpdateBookingClientClosedRequestResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingConflictResponseBody

type UpdateBookingConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingConflictResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "conflict" error.

func NewUpdateBookingConflictResponseBody

func NewUpdateBookingConflictResponseBody(res *goa.ServiceError) *UpdateBookingConflictResponseBody

NewUpdateBookingConflictResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingForbiddenResponseBody

type UpdateBookingForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingForbiddenResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "forbidden" error.

func NewUpdateBookingForbiddenResponseBody

func NewUpdateBookingForbiddenResponseBody(res *goa.ServiceError) *UpdateBookingForbiddenResponseBody

NewUpdateBookingForbiddenResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingGatewayTimeoutResponseBody

type UpdateBookingGatewayTimeoutResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingGatewayTimeoutResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "gateway_timeout" error.

func NewUpdateBookingGatewayTimeoutResponseBody

func NewUpdateBookingGatewayTimeoutResponseBody(res *goa.ServiceError) *UpdateBookingGatewayTimeoutResponseBody

NewUpdateBookingGatewayTimeoutResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingInternalServerErrorResponseBody

type UpdateBookingInternalServerErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingInternalServerErrorResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "internal_server_error" error.

func NewUpdateBookingInternalServerErrorResponseBody

func NewUpdateBookingInternalServerErrorResponseBody(res *goa.ServiceError) *UpdateBookingInternalServerErrorResponseBody

NewUpdateBookingInternalServerErrorResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingNotFoundResponseBody

type UpdateBookingNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingNotFoundResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "not_found" error.

func NewUpdateBookingNotFoundResponseBody

func NewUpdateBookingNotFoundResponseBody(res *goa.ServiceError) *UpdateBookingNotFoundResponseBody

NewUpdateBookingNotFoundResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingNotImplementedResponseBody

type UpdateBookingNotImplementedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingNotImplementedResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "not_implemented" error.

func NewUpdateBookingNotImplementedResponseBody

func NewUpdateBookingNotImplementedResponseBody(res *goa.ServiceError) *UpdateBookingNotImplementedResponseBody

NewUpdateBookingNotImplementedResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingRequestBody

type UpdateBookingRequestBody struct {
	Booking *BookingRequestBodyRequestBody `form:"booking,omitempty" json:"booking,omitempty" xml:"booking,omitempty"`
}

UpdateBookingRequestBody is the type of the "booking" service "update_booking" endpoint HTTP request body.

type UpdateBookingResponseBody

type UpdateBookingResponseBody struct {
	Booking           *BookingResponseBody           `form:"booking" json:"booking" xml:"booking"`
	UserPaymentOption *UserPaymentOptionResponseBody `form:"user_payment_option,omitempty" json:"user_payment_option,omitempty" xml:"user_payment_option,omitempty"`
	BookingFailure    *BookingFailureResponseBody    `form:"booking_failure,omitempty" json:"booking_failure,omitempty" xml:"booking_failure,omitempty"`
}

UpdateBookingResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body.

func NewUpdateBookingResponseBody

func NewUpdateBookingResponseBody(res *booking.UpdateBookingResponse) *UpdateBookingResponseBody

NewUpdateBookingResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingServiceUnavailableResponseBody

type UpdateBookingServiceUnavailableResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingServiceUnavailableResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "service_unavailable" error.

func NewUpdateBookingServiceUnavailableResponseBody

func NewUpdateBookingServiceUnavailableResponseBody(res *goa.ServiceError) *UpdateBookingServiceUnavailableResponseBody

NewUpdateBookingServiceUnavailableResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingTooManyRequestsResponseBody

type UpdateBookingTooManyRequestsResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingTooManyRequestsResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "too_many_requests" error.

func NewUpdateBookingTooManyRequestsResponseBody

func NewUpdateBookingTooManyRequestsResponseBody(res *goa.ServiceError) *UpdateBookingTooManyRequestsResponseBody

NewUpdateBookingTooManyRequestsResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UpdateBookingUnauthorizedResponseBody

type UpdateBookingUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name string `form:"name" json:"name" xml:"name"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID string `form:"id" json:"id" xml:"id"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message string `form:"message" json:"message" xml:"message"`
	// Is the error temporary?
	Temporary bool `form:"temporary" json:"temporary" xml:"temporary"`
	// Is the error a timeout?
	Timeout bool `form:"timeout" json:"timeout" xml:"timeout"`
	// Is the error a server-side fault?
	Fault bool `form:"fault" json:"fault" xml:"fault"`
}

UpdateBookingUnauthorizedResponseBody is the type of the "booking" service "update_booking" endpoint HTTP response body for the "unauthorized" error.

func NewUpdateBookingUnauthorizedResponseBody

func NewUpdateBookingUnauthorizedResponseBody(res *goa.ServiceError) *UpdateBookingUnauthorizedResponseBody

NewUpdateBookingUnauthorizedResponseBody builds the HTTP response body from the result of the "update_booking" endpoint of the "booking" service.

type UserInformationRequestBodyRequestBody

type UserInformationRequestBodyRequestBody struct {
	UserID       *string                              `form:"user_id,omitempty" json:"user_id,omitempty" xml:"user_id,omitempty"`
	GivenName    *string                              `form:"given_name,omitempty" json:"given_name,omitempty" xml:"given_name,omitempty"`
	FamilyName   *string                              `form:"family_name,omitempty" json:"family_name,omitempty" xml:"family_name,omitempty"`
	Address      *PostalAddressRequestBodyRequestBody `form:"address,omitempty" json:"address,omitempty" xml:"address,omitempty"`
	Telephone    *string                              `form:"telephone,omitempty" json:"telephone,omitempty" xml:"telephone,omitempty"`
	Email        *string                              `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	LanguageCode *string                              `form:"language_code,omitempty" json:"language_code,omitempty" xml:"language_code,omitempty"`
}

UserInformationRequestBodyRequestBody is used to define fields on request body types.

type UserInformationResponseBody

type UserInformationResponseBody 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      *PostalAddressResponseBody `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"`
}

UserInformationResponseBody is used to define fields on response body types.

type UserPaymentOptionResponseBody

type UserPaymentOptionResponseBody struct {
	UserPaymentOptionID string  `form:"user_payment_option_id" json:"user_payment_option_id" xml:"user_payment_option_id"`
	ValidStartTimeSec   *string `form:"valid_start_time_sec,omitempty" json:"valid_start_time_sec,omitempty" xml:"valid_start_time_sec,omitempty"`
	ValidEndTimeSec     *string `form:"valid_end_time_sec,omitempty" json:"valid_end_time_sec,omitempty" xml:"valid_end_time_sec,omitempty"`
	Type                string  `form:"type" json:"type" xml:"type"`
	OriginalCount       int32   `form:"original_count" json:"original_count" xml:"original_count"`
	CurrentCount        int32   `form:"current_count" json:"current_count" xml:"current_count"`
	PaymentOptionID     string  `form:"payment_option_id" json:"payment_option_id" xml:"payment_option_id"`
}

UserPaymentOptionResponseBody is used to define fields on response body types.

type VirtualSessionInfoRequestBodyRequestBody

type VirtualSessionInfoRequestBodyRequestBody struct {
	SessionURL *string `form:"session_url,omitempty" json:"session_url,omitempty" xml:"session_url,omitempty"`
	MeetingID  *string `form:"meeting_id,omitempty" json:"meeting_id,omitempty" xml:"meeting_id,omitempty"`
	Password   *string `form:"password,omitempty" json:"password,omitempty" xml:"password,omitempty"`
}

VirtualSessionInfoRequestBodyRequestBody is used to define fields on request body types.

type VirtualSessionInfoResponseBody

type VirtualSessionInfoResponseBody struct {
	SessionURL *string `form:"session_url,omitempty" json:"session_url,omitempty" xml:"session_url,omitempty"`
	MeetingID  *string `form:"meeting_id,omitempty" json:"meeting_id,omitempty" xml:"meeting_id,omitempty"`
	Password   *string `form:"password,omitempty" json:"password,omitempty" xml:"password,omitempty"`
}

VirtualSessionInfoResponseBody is used to define fields on response body types.

Jump to

Keyboard shortcuts

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