Trash

class tekdrive.models.Trash(tekdrive: TekDrive, _data: Optional[Dict[str, Any]] = None)

Represents a file or folder that has been placed in the trashcan.

trasher

The user who placed the object in the trash.

Type

PartialUser

trashed_at

When the object was placed in the trash.

Type

datetime

trashed_directly

Was the item placed directly in the trash?

Type

bool

total_bytes

The total bytes of the trashed object. If the item is a folder, this will be the total sum of the folder contents.

Type

str

item_share_count

How many TekDrive users the item is shared with.

Type

int

item

File or folder details.

Type

File or Folder