jellyfin/MediaBrowser.Controller/LiveTv/ChannelInfo.cs

54 lines
1.6 KiB
C#
Raw Normal View History

using MediaBrowser.Model.LiveTv;
namespace MediaBrowser.Controller.LiveTv
{
/// <summary>
/// Class ChannelInfo
/// </summary>
public class ChannelInfo
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
2013-11-15 14:31:44 -07:00
/// <summary>
/// Gets or sets the number.
/// </summary>
/// <value>The number.</value>
public string Number { get; set; }
/// <summary>
/// Get or sets the Id.
/// </summary>
/// <value>The id of the channel.</value>
2013-10-31 13:45:58 -07:00
public string Id { get; set; }
/// <summary>
/// Gets or sets the type of the channel.
/// </summary>
/// <value>The type of the channel.</value>
2014-05-31 08:13:07 -07:00
public LiveTvChannelType ChannelType { get; set; }
2013-12-13 08:48:48 -07:00
/// <summary>
2013-12-19 14:51:32 -07:00
/// Supply the image path if it can be accessed directly from the file system
2013-12-13 08:48:48 -07:00
/// </summary>
2013-12-19 14:51:32 -07:00
/// <value>The image path.</value>
public string ImagePath { get; set; }
/// <summary>
/// Supply the image url if it can be downloaded
/// </summary>
/// <value>The image URL.</value>
public string ImageUrl { get; set; }
2013-12-22 10:16:24 -07:00
/// <summary>
/// Gets or sets a value indicating whether this instance has image.
/// </summary>
/// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</value>
public bool? HasImage { get; set; }
}
}