| | 1 | | #nullable disable |
| | 2 | |
|
| | 3 | | #pragma warning disable CA1002, CA2227, CS1591 |
| | 4 | |
|
| | 5 | | using System.Collections.Generic; |
| | 6 | | using MediaBrowser.Model.Channels; |
| | 7 | |
|
| | 8 | | namespace MediaBrowser.Controller.Channels |
| | 9 | | { |
| | 10 | | public class InternalChannelFeatures |
| | 11 | | { |
| | 12 | | public InternalChannelFeatures() |
| | 13 | | { |
| 0 | 14 | | MediaTypes = new List<ChannelMediaType>(); |
| 0 | 15 | | ContentTypes = new List<ChannelMediaContentType>(); |
| | 16 | |
|
| 0 | 17 | | DefaultSortFields = new List<ChannelItemSortField>(); |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> |
| | 21 | | /// Gets or sets the media types. |
| | 22 | | /// </summary> |
| | 23 | | /// <value>The media types.</value> |
| | 24 | | public List<ChannelMediaType> MediaTypes { get; set; } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Gets or sets the content types. |
| | 28 | | /// </summary> |
| | 29 | | /// <value>The content types.</value> |
| | 30 | | public List<ChannelMediaContentType> ContentTypes { get; set; } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Gets or sets the maximum number of records the channel allows retrieving at a time. |
| | 34 | | /// </summary> |
| | 35 | | public int? MaxPageSize { get; set; } |
| | 36 | |
|
| | 37 | | /// <summary> |
| | 38 | | /// Gets or sets the default sort orders. |
| | 39 | | /// </summary> |
| | 40 | | /// <value>The default sort orders.</value> |
| | 41 | | public List<ChannelItemSortField> DefaultSortFields { get; set; } |
| | 42 | |
|
| | 43 | | /// <summary> |
| | 44 | | /// Gets or sets a value indicating whether a sort ascending/descending toggle is supported or not. |
| | 45 | | /// </summary> |
| | 46 | | public bool SupportsSortOrderToggle { get; set; } |
| | 47 | |
|
| | 48 | | /// <summary> |
| | 49 | | /// Gets or sets the automatic refresh levels. |
| | 50 | | /// </summary> |
| | 51 | | /// <value>The automatic refresh levels.</value> |
| | 52 | | public int? AutoRefreshLevels { get; set; } |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// Gets or sets the daily download limit. |
| | 56 | | /// </summary> |
| | 57 | | /// <value>The daily download limit.</value> |
| | 58 | | public int? DailyDownloadLimit { get; set; } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// Gets or sets a value indicating whether [supports downloading]. |
| | 62 | | /// </summary> |
| | 63 | | /// <value><c>true</c> if [supports downloading]; otherwise, <c>false</c>.</value> |
| | 64 | | public bool SupportsContentDownloading { get; set; } |
| | 65 | | } |
| | 66 | | } |