solidarity-service/interoperability/solidarity-api/server/openapi/model_booking_status.go

36 lines
1.0 KiB
Go

/*
* Solidarity Mobility API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* API version: 1.0.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package openapi
// BookingStatus : Status of the booking.
type BookingStatus string
// List of BookingStatus
const (
WAITING_DRIVER_CONFIRMATION BookingStatus = "WAITING_DRIVER_CONFIRMATION"
WAITING_PASSENGER_CONFIRMATION BookingStatus = "WAITING_PASSENGER_CONFIRMATION"
CONFIRMED BookingStatus = "CONFIRMED"
CANCELLED BookingStatus = "CANCELLED"
COMPLETED_PENDING_VALIDATION BookingStatus = "COMPLETED_PENDING_VALIDATION"
VALIDATED BookingStatus = "VALIDATED"
)
// AssertBookingStatusRequired checks if the required fields are not zero-ed
func AssertBookingStatusRequired(obj BookingStatus) error {
return nil
}
// AssertBookingStatusConstraints checks if the values respects the defined constraints
func AssertBookingStatusConstraints(obj BookingStatus) error {
return nil
}