跳到主要内容

TFileInfo

File information returned by SDK methods.

type TFileInfo = TEntityBase & object;

Type Declaration​

NameTypeDescription
commentstringFile comment text.
contentLengthstringFormatted file size string.
denyDownloadbooleanWhether downloads are denied.
denySharingbooleanWhether sharing is denied.
fileExststringFile extension (e.g. ".docx").
fileStatusnumberNumeric file status flags.
fileTypenumberNumeric file type.
folderIdnumberParent folder ID.
hasDraftbooleanWhether the file has an unsaved draft.
isFavoritebooleanWhether the file is marked as favorite.
isFolderbooleanWhether this entry is a folder.
isFormbooleanWhether the file is a form template.
lockedbooleanWhether the file is locked for editing.
lockedBystringID of the user who locked the file.
parentIdnumberParent folder ID.
parentRoomTypenumberParent room type number.
pureContentLengthnumberRaw file size in bytes.
rootFolderIdnumberRoot folder ID.
rootFolderTypenumberRoot folder type.
shortWebUrlstringShort sharing URL.
thumbnailStatusnumberThumbnail generation status.
thumbnailUrlstringThumbnail image URL.
versionnumberFile version number.
versionGroupnumberVersion group number.
viewAccessibilityRecord<string, boolean>View capability flags.
viewUrlstringDirect view URL.
webUrlstringWeb view URL.