from __future__ import annotations
from dataclasses import dataclass, field
from .name_of_class_spot_affinity_ref_structure_type import NameOfClassSpotAffinityRefStructureType
from .version_of_object_ref_structure import VersionOfObjectRefStructure

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


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