Activity
¶
Source code in docs_src/capo_workdocs/types/activity.py
comment_metadata
instance-attribute
¶
comment_metadata: NotRequired[CommentMetadata]
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
initiator
instance-attribute
¶
initiator: NotRequired[UserMetadata]
The user who performed the action.
is_indirect_activity
instance-attribute
¶
is_indirect_activity: BooleanType
Indicates whether an activity is indirect or direct. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).
organization_id
instance-attribute
¶
organization_id: NotRequired[IdType]
The ID of the organization.
original_parent
instance-attribute
¶
original_parent: NotRequired[ResourceMetadata]
The original parent of the resource. This is an optional field and is filled for move activities.
participants
instance-attribute
¶
participants: NotRequired[Participants]
The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.
resource_metadata
instance-attribute
¶
resource_metadata: NotRequired[ResourceMetadata]
The metadata of the resource involved in the user action.
time_stamp
instance-attribute
¶
time_stamp: NotRequired[TimestampType]
The timestamp when the action was performed.