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

34 lines
1.1 KiB
Go
Raw Normal View History

2023-10-20 11:41:39 +00:00
/*
* 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 (
2023-10-20 11:47:51 +00:00
WAITING_DRIVER_CONFIRMATION BookingStatus = "WAITING_DRIVER_CONFIRMATION"
2023-10-20 11:41:39 +00:00
WAITING_PASSENGER_CONFIRMATION BookingStatus = "WAITING_PASSENGER_CONFIRMATION"
2023-10-20 11:47:51 +00:00
CONFIRMED BookingStatus = "CONFIRMED"
CANCELLED BookingStatus = "CANCELLED"
COMPLETED_PENDING_VALIDATION BookingStatus = "COMPLETED_PENDING_VALIDATION"
VALIDATED BookingStatus = "VALIDATED"
2023-10-20 11:41:39 +00:00
)
// 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
}