Skip to content

ReceptionistContactUserAndNote

Bases: OCIType

The Receptionist User (or VON User) and Receptionist Notes.

Attributes:

contact_user_id (Optional[str]):

von_user (Optional[VirtualOnNetUserKey]):

note (Nillable[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class ReceptionistContactUserAndNote(OCIType):
    """The Receptionist User (or VON User) and Receptionist Notes.

    Attributes:

        contact_user_id (Optional[str]):

        von_user (Optional[VirtualOnNetUserKey]):

        note (Nillable[str]):

    """

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

    von_user: Optional[VirtualOnNetUserKey] = field(
        default=None, metadata={"alias": "vonUser"}
    )

    note: Nillable[str] = field(metadata={"alias": "note"})

    def __post_init__(self):
        nillable_fields = ["note"]
        for field_name in nillable_fields:
            value = getattr(self, field_name)
            if value == "" or value == "None":
                object.__setattr__(self, field_name, OCINil)