from __future__ import annotations
from dataclasses import dataclass, field
from .onboard_space_version_structure import OnboardSpaceVersionStructure
from .sensors_in_spot_rel_structure import SensorsInSpotRelStructure
from .spot_column_ref import SpotColumnRef
from .spot_row_ref import SpotRowRef
from .type_of_locatable_spot_enumeration import TypeOfLocatableSpotEnumeration
from .type_of_locatable_spot_ref import TypeOfLocatableSpotRef

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


@dataclass(slots=True, kw_only=True)
class LocatableSpotVersionStructure(OnboardSpaceVersionStructure):
    class Meta:
        name = "LocatableSpot_VersionStructure"

    locatable_spot_type: None | TypeOfLocatableSpotEnumeration = field(
        default=None,
        metadata={
            "name": "LocatableSpotType",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    type_of_locatable_spot_ref: None | TypeOfLocatableSpotRef = field(
        default=None,
        metadata={
            "name": "TypeOfLocatableSpotRef",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    spot_row_ref: None | SpotRowRef = field(
        default=None,
        metadata={
            "name": "SpotRowRef",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    spot_column_ref: None | SpotColumnRef = field(
        default=None,
        metadata={
            "name": "SpotColumnRef",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    sensors_in_spot: None | SensorsInSpotRelStructure = field(
        default=None,
        metadata={
            "name": "sensorsInSpot",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )