from __future__ import annotations
from dataclasses import dataclass, field
from .name_of_class_fare_contract_security_listing_ref_structure_type import NameOfClassFareContractSecurityListingRefStructureType
from .security_listing_ref_structure import SecurityListingRefStructure

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


@dataclass(slots=True, kw_only=True)
class FareContractSecurityListingRefStructure(SecurityListingRefStructure):
    name_of_ref_class: NameOfClassFareContractSecurityListingRefStructureType = field(
        default=NameOfClassFareContractSecurityListingRefStructureType.FARE_CONTRACT_SECURITY_LISTING,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )