Skip to content

AccessDeviceMultipleIdentityEndpointWithType

Bases: OCIType

Access device end point that can have multiple contacts. The endpoint is identified by its linePort (public Identity) and possibly a private Identity. Port numbers are only used by devices with static line ordering.

Attributes:

access_device (AccessDevice):

device_type (str):

line_port (str):

private_identity (Optional[str]):

contact (Optional[str]):

port_number (Optional[int]):

mac_address (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class AccessDeviceMultipleIdentityEndpointWithType(OCIType):
    """Access device end point that can have multiple contacts.
      The endpoint is identified by its linePort (public Identity) and possibly a private Identity.
      Port numbers are only used by devices with static line ordering.

    Attributes:

        access_device (AccessDevice):

        device_type (str):

        line_port (str):

        private_identity (Optional[str]):

        contact (Optional[str]):

        port_number (Optional[int]):

        mac_address (Optional[str]):

    """

    access_device: AccessDevice = field(metadata={"alias": "accessDevice"})

    device_type: str = field(metadata={"alias": "deviceType"})

    line_port: str = field(metadata={"alias": "linePort"})

    private_identity: Optional[str] = field(
        default=None, metadata={"alias": "privateIdentity"}
    )

    contact: Optional[str] = field(default=None, metadata={"alias": "contact"})

    port_number: Optional[int] = field(default=None, metadata={"alias": "portNumber"})

    mac_address: Optional[str] = field(default=None, metadata={"alias": "macAddress"})