Zum Hauptinhalt springen

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​

String

CkTypeId​

Type id (System.Files/FileSystemItem, System.Files/Folder, System.Files/FolderRoot).

public string CkTypeId { get; set; }

Property Value​

String

Kind​

"file", "folder" or "root" (see FileEntryKinds).

public string Kind { get; set; }

Property Value​

String

Name​

Name of the entry.

public string Name { get; set; }

Property Value​

String

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​

String

Path​

Path below the root ('/'-separated, incl. the name), when known; empty for a root.

public string Path { get; set; }

Property Value​

String

ParentRtId​

Runtime id of the parent folder or root, when known.

public string ParentRtId { get; set; }

Property Value​

String

Size​

Size in bytes (files).

public Nullable<long> Size { get; set; }

Property Value​

Nullable<Int64>

ContentType​

Content type (files).

public string ContentType { get; set; }

Property Value​

String

BinaryId​

GridFS id of the content (files).

public string BinaryId { get; set; }

Property Value​

String

CreatedAt​

Creation time (UTC).

public Nullable<DateTime> CreatedAt { get; set; }

Property Value​

Nullable<DateTime>

ChangedAt​

Last change (UTC).

public Nullable<DateTime> ChangedAt { get; set; }

Property Value​

Nullable<DateTime>

CreatedBy​

Subject that created the entry.

public string CreatedBy { get; set; }

Property Value​

String

Replaced​

True when an upload replaced the content of an existing file.

public bool Replaced { get; set; }

Property Value​

Boolean

IsContainer​

True for roots and folders.

public bool IsContainer { get; }

Property Value​

Boolean

Constructors​

FileEntryDto()​

public FileEntryDto()