Skip to content

GroupDepartmentKey

Bases: DepartmentKey

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

Attributes:

service_provider_id (str):

group_id (str):

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

    Attributes:

        service_provider_id (str):

        group_id (str):

        name (str):

    """

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

    group_id: str = field(metadata={"alias": "groupId"})

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