jellyfin-server/MediaBrowser.Model/IO/FileSystemEntryInfo.cs
2013-02-20 20:33:05 -05:00

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
}
}