Skip to content

CustomContactDirectoryEntry

Bases: OCIType

Represents either an existing user's Id or an existing Virtual On-Net user's DN. For a DN the groupId is used to make it unique within an Enterprise, however the groupId is not used with Service Providers.

Attributes:

user_id (Optional[str]):

virtual_on_net_phone_number (Optional[str]):

group_id (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class CustomContactDirectoryEntry(OCIType):
    """Represents either an existing user's Id or an existing Virtual
        On-Net user's DN. For a DN the groupId is used to make it unique
        within an Enterprise, however the groupId is not used with Service
        Providers.

    Attributes:

        user_id (Optional[str]):

        virtual_on_net_phone_number (Optional[str]):

        group_id (Optional[str]):

    """

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

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

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