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