from __future__ import annotations
from dataclasses import dataclass, field
from .through_access_enumeration import ThroughAccessEnumeration

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


@dataclass(slots=True, kw_only=True)
class TrainComponentCouplingStructure:
    splittable: None | bool = field(
        default=None,
        metadata={
            "name": "Splittable",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    through_access: ThroughAccessEnumeration = field(
        metadata={
            "name": "ThroughAccess",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )