Zum Hauptinhalt springen

FilesCapabilitiesDto

Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.Files

What the file API of the cluster offers (GET {tenant}/v1/files/capabilities).

public class FilesCapabilitiesDto

Inheritance Object → FilesCapabilitiesDto

Properties​

Available​

The file system is usable in this tenant. False when the tenant has no System.Files model yet (FilesCapabilitiesDto.Reason = SYSTEM_FILES_MISSING). Older servers do not send it; it then reads true.

public bool Available { get; set; }

Property Value​

Boolean

Reason​

Why the file system is not available (SYSTEM_FILES_MISSING), null when it is.

public string Reason { get; set; }

Property Value​

String

MaxDeleteEntries​

Largest number of entries one delete of a folder or root may remove (LIMIT_EXCEEDED above).

public int MaxDeleteEntries { get; set; }

Property Value​

Int32

LinkedCounts​

The linked-counts endpoint exists (IFilesClient.GetLinkedCountsAsync(IEnumerable<String>, CancellationToken)).

public bool LinkedCounts { get; set; }

Property Value​

Boolean

ApiVersion​

Version of the file API contract.

public int ApiVersion { get; set; }

Property Value​

Int32

MaxUploadBytes​

Largest file one upload may carry, in bytes.

public long MaxUploadBytes { get; set; }

Property Value​

Int64

ZipDownload​

The streamed zip endpoint exists.

public bool ZipDownload { get; set; }

Property Value​

Boolean

ZipMaxFiles​

Largest number of files in one zip download.

public int ZipMaxFiles { get; set; }

Property Value​

Int32

ZipMaxBytes​

Largest sum of source sizes of one zip download, in bytes.

public long ZipMaxBytes { get; set; }

Property Value​

Int64

PreviewMaxBytes​

Largest file clients should preview inline, in bytes (advisory).

public long PreviewMaxBytes { get; set; }

Property Value​

Int64

RecursiveDelete​

The server deletes folders and roots recursively.

public bool RecursiveDelete { get; set; }

Property Value​

Boolean

FolderStats​

The folder statistics endpoint exists.

public bool FolderStats { get; set; }

Property Value​

Boolean

ReservedRootNames​

Well-known names a folder root cannot use.

public List<string> ReservedRootNames { get; set; }

Property Value​

List<String>

Constructors​

FilesCapabilitiesDto()​

public FilesCapabilitiesDto()