from __future__ import annotations
from dataclasses import dataclass, field
from .name_of_class_allowed_line_direction_ref_structure_type import NameOfClassAllowedLineDirectionRefStructureType
from .version_of_object_ref_structure import VersionOfObjectRefStructure

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


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