pub struct Activity {
pub comment_metadata: Option<CommentMetadata>,
pub initiator: Option<UserMetadata>,
pub is_indirect_activity: Option<bool>,
pub organization_id: Option<String>,
pub original_parent: Option<ResourceMetadata>,
pub participants: Option<Participants>,
pub resource_metadata: Option<ResourceMetadata>,
pub time_stamp: Option<f64>,
pub type_: Option<String>,
}
Expand description
Describes the activity information.
Fields§
§comment_metadata: Option<CommentMetadata>
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
initiator: Option<UserMetadata>
The user who performed the action.
is_indirect_activity: Option<bool>
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: Option<String>
The ID of the organization.
original_parent: Option<ResourceMetadata>
The original parent of the resource. This is an optional field and is filled for move activities.
participants: Option<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: Option<ResourceMetadata>
The metadata of the resource involved in the user action.
time_stamp: Option<f64>
The timestamp when the action was performed.
type_: Option<String>
The activity type.