FileEntryDto
Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.Files
A file, folder or root of the platform file system. The REST upload endpoints answer it, and the GraphQL based metadata calls of IFilesClient map their results to it.
public class FileEntryDto
Inheritance Object → FileEntryDto
Properties
RtId
Runtime id of the entity.
public string RtId { get; set; }
Property Value
CkTypeId
Type id (System.Files/FileSystemItem, System.Files/Folder, System.Files/FolderRoot).
public string CkTypeId { get; set; }
Property Value
Kind
"file", "folder" or "root" (see FileEntryKinds).
public string Kind { get; set; }
Property Value
Name
Name of the entry.
public string Name { get; set; }
Property Value
Root
Well-known name of the root the entry was addressed in, when known. For a root it is the root's own well-known name.
public string Root { get; set; }
Property Value
Path
Path below the root ('/'-separated, incl. the name), when known; empty for a root.
public string Path { get; set; }
Property Value
ParentRtId
Runtime id of the parent folder or root, when known.
public string ParentRtId { get; set; }
Property Value
Size
Size in bytes (files).
public Nullable<long> Size { get; set; }
Property Value
ContentType
Content type (files).
public string ContentType { get; set; }
Property Value
BinaryId
GridFS id of the content (files).
public string BinaryId { get; set; }
Property Value
CreatedAt
Creation time (UTC).
public Nullable<DateTime> CreatedAt { get; set; }
Property Value
ChangedAt
Last change (UTC).
public Nullable<DateTime> ChangedAt { get; set; }
Property Value
CreatedBy
Subject that created the entry.
public string CreatedBy { get; set; }
Property Value
Replaced
True when an upload replaced the content of an existing file.
public bool Replaced { get; set; }
Property Value
IsContainer
True for roots and folders.
public bool IsContainer { get; }
Property Value
Constructors
FileEntryDto()
public FileEntryDto()