Skip to content

AccessDeviceEndpointAdd

Bases: OCIType

Access device end point used in the context of add. Port numbers are only used by devices with static line ordering. The following element is only used in AS data mode and ignored in XS data mode: pathHeader

Attributes:

access_device (AccessDevice):

line_port (str):

contact (Optional[str]):

path_header (Optional[str]):

port_number (Optional[int]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class AccessDeviceEndpointAdd(OCIType):
    """Access device end point used in the context of add.
        Port numbers are only used by devices with static line ordering.
        The following element is only used in AS data mode and ignored in XS data mode:
          pathHeader

    Attributes:

        access_device (AccessDevice):

        line_port (str):

        contact (Optional[str]):

        path_header (Optional[str]):

        port_number (Optional[int]):

    """

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

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

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

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

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