Skip to content

AccessDeviceMultipleContactEndpointAdd22

Bases: OCIType

Access device end point used in the context of add that can have more than one contact defined. Only Static Registration capabable devices may have more than one contact defined. Port numbers are only used by devices with static line ordering.

Attributes:

access_device (AccessDevice):

line_port (str):

contact (Optional[List[SIPContactInfo]]):

port_number (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class AccessDeviceMultipleContactEndpointAdd22(OCIType):
    """Access device end point used in the context of add that can have more than one contact defined.
        Only Static Registration capabable devices may have more than one contact defined.
                    Port numbers are only used by devices with static line ordering.

    Attributes:

        access_device (AccessDevice):

        line_port (str):

        contact (Optional[List[SIPContactInfo]]):

        port_number (Optional[int]):

    """

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

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

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

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