Skip to content

Principal

Source code in docs_src/capo_workdocs/types/principal.py
class Principal(TypedDict, closed=True):
    id: NotRequired["capo_workdocs.types.id_type.IdType"]
    """<p>The ID of the resource.</p>"""
    type: NotRequired["capo_workdocs.types.principal_type.PrincipalType"]
    """<p>The type of resource.</p>"""
    roles: NotRequired["capo_workdocs.types.permission_info_list.PermissionInfoList"]
    """<p>The permission information for the resource.</p>"""

id instance-attribute

id: NotRequired[IdType]

The ID of the resource.

roles instance-attribute

roles: NotRequired[PermissionInfoList]

The permission information for the resource.

type instance-attribute

type: NotRequired[PrincipalType]

The type of resource.