<PackageReference Include="Relativity.Server.Transfer.SDK" Version="24000.0.1" />

FileShareItem

public class FileShareItem
using Newtonsoft.Json; using System; namespace Relativity.Transfer.Dto { public class FileShareItem { private static readonly string FileType; private static readonly string DirectoryType; [JsonProperty(PropertyName = "Path")] public string Path { get; set; } [JsonProperty(PropertyName = "Name")] public string Name { get; set; } [JsonProperty(PropertyName = "PathType")] public string PathType { get; set; } [JsonProperty(PropertyName = "Modified")] public DateTime Modified { get; set; } [JsonProperty(PropertyName = "Size")] public long Size { get; set; } public bool IsFile() { return PathType.ToLower() == FileType; } static FileShareItem() { FileShareItemType fileShareItemType = FileShareItemType.File; FileType = fileShareItemType.ToString().ToLower(); fileShareItemType = FileShareItemType.Directory; DirectoryType = fileShareItemType.ToString().ToLower(); } } }