Skip to content

AccessDeviceMultipleIdentityAndContactEndpointAdd22V2

Bases: OCIType

Access device end point used in the context of add that can have more than one contact defined. The endpoint is identified by its linePort (public Identity) and possibly a private Identity. Only Static Registration capabable devices may have more than one contact defined. Port numbers are only used by devices with static line ordering. The following elements are only used in XS data mode and ignored in AS data mode: privateIdentity

The following elements are only used in AS data mode and ignored in XS data mode:
  useHotline, use value false in XS data mode
  hotlineContact

Attributes:

access_device (AccessDevice):

line_port (str):

private_identity (Optional[str]):

contact (Optional[List[SIPContactInfo]]):

port_number (Optional[int]):

use_hotline (bool):

hotline_contact (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class AccessDeviceMultipleIdentityAndContactEndpointAdd22V2(OCIType):
    """Access device end point used in the context of add that can have more than one contact defined.
        The endpoint is identified by its linePort (public Identity) and possibly a private Identity.
        Only Static Registration capabable devices may have more than one contact defined.
        Port numbers are only used by devices with static line ordering.
        The following elements are only used in XS data mode and ignored in AS data mode:
          privateIdentity

        The following elements are only used in AS data mode and ignored in XS data mode:
          useHotline, use value false in XS data mode
          hotlineContact

    Attributes:

        access_device (AccessDevice):

        line_port (str):

        private_identity (Optional[str]):

        contact (Optional[List[SIPContactInfo]]):

        port_number (Optional[int]):

        use_hotline (bool):

        hotline_contact (Optional[str]):

    """

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

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

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

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

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

    use_hotline: bool = field(metadata={"alias": "useHotline"})

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