mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
56 lines
1.2 KiB
C#
56 lines
1.2 KiB
C#
|
using ProtoBuf;
|
|||
|
|
|||
|
namespace MediaBrowser.Model.IO
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Class FileSystemEntryInfo
|
|||
|
/// </summary>
|
|||
|
[ProtoContract]
|
|||
|
public class FileSystemEntryInfo
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the name.
|
|||
|
/// </summary>
|
|||
|
/// <value>The name.</value>
|
|||
|
[ProtoMember(1)]
|
|||
|
public string Name { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the path.
|
|||
|
/// </summary>
|
|||
|
/// <value>The path.</value>
|
|||
|
[ProtoMember(2)]
|
|||
|
public string Path { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Gets or sets the type.
|
|||
|
/// </summary>
|
|||
|
/// <value>The type.</value>
|
|||
|
[ProtoMember(3)]
|
|||
|
public FileSystemEntryType Type { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Enum FileSystemEntryType
|
|||
|
/// </summary>
|
|||
|
public enum FileSystemEntryType
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// The file
|
|||
|
/// </summary>
|
|||
|
File,
|
|||
|
/// <summary>
|
|||
|
/// The directory
|
|||
|
/// </summary>
|
|||
|
Directory,
|
|||
|
/// <summary>
|
|||
|
/// The network computer
|
|||
|
/// </summary>
|
|||
|
NetworkComputer,
|
|||
|
/// <summary>
|
|||
|
/// The network share
|
|||
|
/// </summary>
|
|||
|
NetworkShare
|
|||
|
}
|
|||
|
}
|