Module python_odpt.models.occupancy_status

Classes

class OccupancyStatus (value, names=None, *, module=None, qualname=None, type=None, start=1)
Expand source code
class OccupancyStatus(str, Enum):
    ODPT_OCCUPANCYSTATUSCRUSHEDSTANDINGROOMONLY = "odpt.OccupancyStatus:CrushedStandingRoomOnly"
    ODPT_OCCUPANCYSTATUSEMPTY = "odpt.OccupancyStatus:Empty"
    ODPT_OCCUPANCYSTATUSFEWSEATSAVAILABLE = "odpt.OccupancyStatus:FewSeatsAvailable"
    ODPT_OCCUPANCYSTATUSFULLROOMONLY = "odpt.OccupancyStatus:FullRoomOnly"
    ODPT_OCCUPANCYSTATUSMANYSEATSAVAILABLE = "odpt.OccupancyStatus:ManySeatsAvailable"
    ODPT_OCCUPANCYSTATUSNOTACCEPTINGPASSENGERS = "odpt.OccupancyStatus:NotAcceptingPassengers"
    ODPT_OCCUPANCYSTATUSSTANDINGROOMONLY = "odpt.OccupancyStatus:StandingRoomOnly"

    def __str__(self) -> str:
        return str(self.value)

An enumeration.

Ancestors

  • builtins.str
  • enum.Enum

Class variables

var ODPT_OCCUPANCYSTATUSCRUSHEDSTANDINGROOMONLY
var ODPT_OCCUPANCYSTATUSEMPTY
var ODPT_OCCUPANCYSTATUSFEWSEATSAVAILABLE
var ODPT_OCCUPANCYSTATUSFULLROOMONLY
var ODPT_OCCUPANCYSTATUSMANYSEATSAVAILABLE
var ODPT_OCCUPANCYSTATUSNOTACCEPTINGPASSENGERS
var ODPT_OCCUPANCYSTATUSSTANDINGROOMONLY