| | 1 | | #nullable disable |
| | 2 | |
|
| | 3 | | #pragma warning disable CA1002, CA2227, CS1591 |
| | 4 | |
|
| | 5 | | using System; |
| | 6 | | using System.Collections.Generic; |
| | 7 | | using MediaBrowser.Controller.Entities; |
| | 8 | | using MediaBrowser.Model.Channels; |
| | 9 | | using MediaBrowser.Model.Dto; |
| | 10 | | using MediaBrowser.Model.Entities; |
| | 11 | |
|
| | 12 | | namespace MediaBrowser.Controller.Channels |
| | 13 | | { |
| | 14 | | public class ChannelItemInfo : IHasProviderIds |
| | 15 | | { |
| | 16 | | public ChannelItemInfo() |
| | 17 | | { |
| 0 | 18 | | MediaSources = new List<MediaSourceInfo>(); |
| 0 | 19 | | TrailerTypes = new List<TrailerType>(); |
| 0 | 20 | | Genres = new List<string>(); |
| 0 | 21 | | Studios = new List<string>(); |
| 0 | 22 | | People = new List<PersonInfo>(); |
| 0 | 23 | | Tags = new List<string>(); |
| 0 | 24 | | ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); |
| 0 | 25 | | Artists = new List<string>(); |
| 0 | 26 | | AlbumArtists = new List<string>(); |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | public string Name { get; set; } |
| | 30 | |
|
| | 31 | | public string SeriesName { get; set; } |
| | 32 | |
|
| | 33 | | public string Id { get; set; } |
| | 34 | |
|
| | 35 | | public DateTime DateModified { get; set; } |
| | 36 | |
|
| | 37 | | public ChannelItemType Type { get; set; } |
| | 38 | |
|
| | 39 | | public string OfficialRating { get; set; } |
| | 40 | |
|
| | 41 | | public string Overview { get; set; } |
| | 42 | |
|
| | 43 | | public List<string> Genres { get; set; } |
| | 44 | |
|
| | 45 | | public List<string> Studios { get; set; } |
| | 46 | |
|
| | 47 | | public List<string> Tags { get; set; } |
| | 48 | |
|
| | 49 | | public List<PersonInfo> People { get; set; } |
| | 50 | |
|
| | 51 | | public float? CommunityRating { get; set; } |
| | 52 | |
|
| | 53 | | public long? RunTimeTicks { get; set; } |
| | 54 | |
|
| | 55 | | public string ImageUrl { get; set; } |
| | 56 | |
|
| | 57 | | public string OriginalTitle { get; set; } |
| | 58 | |
|
| | 59 | | public ChannelMediaType MediaType { get; set; } |
| | 60 | |
|
| | 61 | | public ChannelFolderType FolderType { get; set; } |
| | 62 | |
|
| | 63 | | public ChannelMediaContentType ContentType { get; set; } |
| | 64 | |
|
| | 65 | | public ExtraType ExtraType { get; set; } |
| | 66 | |
|
| | 67 | | public List<TrailerType> TrailerTypes { get; set; } |
| | 68 | |
|
| | 69 | | public Dictionary<string, string> ProviderIds { get; set; } |
| | 70 | |
|
| | 71 | | public DateTime? PremiereDate { get; set; } |
| | 72 | |
|
| | 73 | | public int? ProductionYear { get; set; } |
| | 74 | |
|
| | 75 | | public DateTime? DateCreated { get; set; } |
| | 76 | |
|
| | 77 | | public DateTime? StartDate { get; set; } |
| | 78 | |
|
| | 79 | | public DateTime? EndDate { get; set; } |
| | 80 | |
|
| | 81 | | public int? IndexNumber { get; set; } |
| | 82 | |
|
| | 83 | | public int? ParentIndexNumber { get; set; } |
| | 84 | |
|
| | 85 | | public List<MediaSourceInfo> MediaSources { get; set; } |
| | 86 | |
|
| | 87 | | public string HomePageUrl { get; set; } |
| | 88 | |
|
| | 89 | | public List<string> Artists { get; set; } |
| | 90 | |
|
| | 91 | | public List<string> AlbumArtists { get; set; } |
| | 92 | |
|
| | 93 | | public bool IsLiveStream { get; set; } |
| | 94 | |
|
| | 95 | | public string Etag { get; set; } |
| | 96 | | } |
| | 97 | | } |