Skip to content

RouteVehicleIncident

Source code in docs_src/capo_geo_routes/types/route_vehicle_incident.py
class RouteVehicleIncident(TypedDict, closed=True):
    description: NotRequired["capo_geo_routes.types.sensitive_string.SensitiveString"]
    """<p>Brief readable description of the incident.</p>"""
    end_time: NotRequired[
        "capo_geo_routes.types.timestamp_with_timezone_offset.TimestampWithTimezoneOffset"
    ]
    """<p>End timestamp of the incident.</p>"""
    severity: NotRequired[
        "capo_geo_routes.types.route_vehicle_incident_severity.RouteVehicleIncidentSeverity"
    ]
    """<p>Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic</p>"""
    start_time: NotRequired[
        "capo_geo_routes.types.timestamp_with_timezone_offset.TimestampWithTimezoneOffset"
    ]
    """<p>Start time of the incident.</p>"""
    type: NotRequired[
        "capo_geo_routes.types.route_vehicle_incident_type.RouteVehicleIncidentType"
    ]
    """<p>Type of the incident.</p>"""

description instance-attribute

description: NotRequired[SensitiveString]

Brief readable description of the incident.

end_time instance-attribute

end_time: NotRequired[TimestampWithTimezoneOffset]

End timestamp of the incident.

severity instance-attribute

severity: NotRequired[RouteVehicleIncidentSeverity]

Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic

start_time instance-attribute

start_time: NotRequired[TimestampWithTimezoneOffset]

Start time of the incident.

type instance-attribute

type: NotRequired[RouteVehicleIncidentType]

Type of the incident.