jellyfin/MediaBrowser.Model/IO/FileSystemMetadata.cs

65 lines
1.9 KiB
C#
Raw Normal View History

#nullable disable
2020-02-03 17:49:27 -07:00
#pragma warning disable CS1591
using System;
2018-12-27 16:27:57 -07:00
namespace MediaBrowser.Model.IO
{
public class FileSystemMetadata
{
/// <summary>
/// Gets or sets a value indicating whether this <see cref="FileSystemMetadata"/> is exists.
/// </summary>
/// <value><c>true</c> if exists; otherwise, <c>false</c>.</value>
public bool Exists { get; set; }
2020-02-03 17:49:27 -07:00
2018-12-27 16:27:57 -07:00
/// <summary>
/// Gets or sets the full name.
/// </summary>
/// <value>The full name.</value>
public string FullName { get; set; }
2020-02-03 17:49:27 -07:00
2018-12-27 16:27:57 -07:00
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
2020-02-03 17:49:27 -07:00
2018-12-27 16:27:57 -07:00
/// <summary>
/// Gets or sets the extension.
/// </summary>
/// <value>The extension.</value>
public string Extension { get; set; }
2020-02-03 17:49:27 -07:00
2018-12-27 16:27:57 -07:00
/// <summary>
/// Gets or sets the length.
/// </summary>
/// <value>The length.</value>
public long Length { get; set; }
2020-02-03 17:49:27 -07:00
2018-12-27 16:27:57 -07:00
/// <summary>
/// Gets or sets the name of the directory.
/// </summary>
/// <value>The name of the directory.</value>
public string DirectoryName { get; set; }
/// <summary>
/// Gets or sets the last write time UTC.
/// </summary>
/// <value>The last write time UTC.</value>
public DateTime LastWriteTimeUtc { get; set; }
2020-02-03 17:49:27 -07:00
2018-12-27 16:27:57 -07:00
/// <summary>
/// Gets or sets the creation time UTC.
/// </summary>
/// <value>The creation time UTC.</value>
public DateTime CreationTimeUtc { get; set; }
2018-12-27 16:27:57 -07:00
/// <summary>
2020-08-31 13:20:19 -07:00
/// Gets or sets a value indicating whether this instance is directory.
2018-12-27 16:27:57 -07:00
/// </summary>
/// <value><c>true</c> if this instance is directory; otherwise, <c>false</c>.</value>
public bool IsDirectory { get; set; }
}
}