from __future__ import annotations
from dataclasses import dataclass, field
from .name_of_class_vehicle_journey_spot_allocation_ref_structure_type import NameOfClassVehicleJourneySpotAllocationRefStructureType
from .version_of_object_ref_structure import VersionOfObjectRefStructure

__NAMESPACE__ = "http://www.netex.org.uk/netex"


@dataclass(slots=True, kw_only=True)
class VehicleJourneySpotAllocationRefStructure(VersionOfObjectRefStructure):
    name_of_ref_class: NameOfClassVehicleJourneySpotAllocationRefStructureType = field(
        default=NameOfClassVehicleJourneySpotAllocationRefStructureType.VEHICLE_JOURNEY_SPOT_ALLOCATION,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )