Skip to content

DocumentMetadata

Source code in docs_src/capo_workdocs/types/document_metadata.py
class DocumentMetadata(TypedDict, closed=True):
    id: NotRequired["capo_workdocs.types.resource_id_type.ResourceIdType"]
    """<p>The ID of the document.</p>"""
    creator_id: NotRequired["capo_workdocs.types.id_type.IdType"]
    """<p>The ID of the creator.</p>"""
    parent_folder_id: NotRequired["capo_workdocs.types.resource_id_type.ResourceIdType"]
    """<p>The ID of the parent folder.</p>"""
    created_timestamp: NotRequired["capo_workdocs.types.timestamp_type.TimestampType"]
    """<p>The time when the document was created.</p>"""
    modified_timestamp: NotRequired["capo_workdocs.types.timestamp_type.TimestampType"]
    """<p>The time when the document was updated.</p>"""
    latest_version_metadata: NotRequired[
        "capo_workdocs.types.document_version_metadata.DocumentVersionMetadata"
    ]
    """<p>The latest version of the document.</p>"""
    resource_state: NotRequired[
        "capo_workdocs.types.resource_state_type.ResourceStateType"
    ]
    """<p>The resource state.</p>"""
    labels: NotRequired["capo_workdocs.types.shared_labels.SharedLabels"]
    """<p>List of labels on the document.</p>"""

created_timestamp instance-attribute

created_timestamp: NotRequired[TimestampType]

The time when the document was created.

creator_id instance-attribute

creator_id: NotRequired[IdType]

The ID of the creator.

id instance-attribute

id: NotRequired[ResourceIdType]

The ID of the document.

labels instance-attribute

labels: NotRequired[SharedLabels]

List of labels on the document.

latest_version_metadata instance-attribute

latest_version_metadata: NotRequired[DocumentVersionMetadata]

The latest version of the document.

modified_timestamp instance-attribute

modified_timestamp: NotRequired[TimestampType]

The time when the document was updated.

parent_folder_id instance-attribute

parent_folder_id: NotRequired[ResourceIdType]

The ID of the parent folder.

resource_state instance-attribute

resource_state: NotRequired[ResourceStateType]

The resource state.