Skip to content

EnterpriseDepartmentKey

Bases: DepartmentKey

Uniquely identifies a department defined within an enterprise. To uniquely identify an enterprise department, we must know the department name and which enterprise contains the department.

Attributes:

service_provider_id (str):

name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class EnterpriseDepartmentKey(DepartmentKey):
    """Uniquely identifies a department defined within an enterprise.
        To uniquely identify an enterprise department, we must know the department name and which
        enterprise contains the department.

    Attributes:

        service_provider_id (str):

        name (str):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    name: str = field(metadata={"alias": "name"})