You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Model/IO/FileSystemEntryInfo.cs

56 lines
1.2 KiB

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