#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
namespace MediaBrowser.Model.Channels
{
public class ChannelFeatures
{
///
/// Gets or sets the name.
///
/// The name.
public string Name { get; set; }
///
/// Gets or sets the identifier.
///
/// The identifier.
public string Id { get; set; }
///
/// Gets or sets a value indicating whether this instance can search.
///
/// true if this instance can search; otherwise, false.
public bool CanSearch { get; set; }
///
/// Gets or sets the media types.
///
/// The media types.
public ChannelMediaType[] MediaTypes { get; set; }
///
/// Gets or sets the content types.
///
/// The content types.
public ChannelMediaContentType[] ContentTypes { get; set; }
///
/// Represents the maximum number of records the channel allows retrieving at a time
///
public int? MaxPageSize { get; set; }
///
/// Gets or sets the automatic refresh levels.
///
/// The automatic refresh levels.
public int? AutoRefreshLevels { get; set; }
///
/// Gets or sets the default sort orders.
///
/// The default sort orders.
public ChannelItemSortField[] DefaultSortFields { get; set; }
///
/// Indicates if a sort ascending/descending toggle is supported or not.
///
public bool SupportsSortOrderToggle { get; set; }
///
/// Gets or sets a value indicating whether [supports latest media].
///
/// true if [supports latest media]; otherwise, false.
public bool SupportsLatestMedia { get; set; }
///
/// Gets or sets a value indicating whether this instance can filter.
///
/// true if this instance can filter; otherwise, false.
public bool CanFilter { get; set; }
///
/// Gets or sets a value indicating whether [supports content downloading].
///
/// true if [supports content downloading]; otherwise, false.
public bool SupportsContentDownloading { get; set; }
public ChannelFeatures()
{
MediaTypes = Array.Empty();
ContentTypes = Array.Empty();
DefaultSortFields = Array.Empty();
}
}
}