Kinetica   C#   API  Version 7.2.3.1
KifsDirectoryInfo.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 
4 namespace kinetica.FileSystem;
5 
9  public class KifsDirectoryInfo
10  {
14  public string KifsPath { get; set; } = string.Empty;
15 
19  public string CreatedBy { get; set; } = string.Empty;
20 
24  public long CreationTime { get; set; }
25 
29  public DateTime CreationDateTime => DateTimeOffset.FromUnixTimeMilliseconds(CreationTime).DateTime;
30 
34  public string Permission { get; set; } = string.Empty;
35 
39  public IDictionary<string, string> Info { get; set; } = new Dictionary<string, string>();
40 
44  public override string ToString()
45  {
46  return $"KifsDirectoryInfo {{ KifsPath='{KifsPath}', CreatedBy='{CreatedBy}', CreationTime={CreationTime}, Permission='{Permission}' }}";
47  }
48  }
string KifsPath
Gets or sets the full KiFS directory path.
IDictionary< string, string > Info
Gets or sets additional information about the directory.
override string ToString()
Returns a string representation of this directory info.
string Permission
Gets or sets the permission string for the directory.
long CreationTime
Gets or sets the creation time as a Unix timestamp in milliseconds.
DateTime CreationDateTime
Gets the creation time as a DateTime object.
string CreatedBy
Gets or sets the username of the user who created the directory.
Contains information about a directory in KiFS.
DateTime in YYYY-MM-DD HH:MM:SS.mmm format