from __future__ import annotations
from dataclasses import dataclass, field
from .garage_point import GaragePoint
from .garage_point_ref import GaragePointRef
from .strict_containment_aggregation_structure import StrictContainmentAggregationStructure

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


@dataclass(slots=True, kw_only=True)
class GaragePointsRelStructure(StrictContainmentAggregationStructure):
    class Meta:
        name = "garagePoints_RelStructure"

    garage_point_ref_or_garage_point: list[GaragePointRef | GaragePoint] = field(
        default_factory=list,
        metadata={
            "type": "Elements",
            "choices": (
                {
                    "name": "GaragePointRef",
                    "type": GaragePointRef,
                    "namespace": "http://www.netex.org.uk/netex",
                },
                {
                    "name": "GaragePoint",
                    "type": GaragePoint,
                    "namespace": "http://www.netex.org.uk/netex",
                },
            ),
        }
    )