| | | 1 | | #nullable disable |
| | | 2 | | #pragma warning disable CS1591 |
| | | 3 | | |
| | | 4 | | using System; |
| | | 5 | | using System.Collections.Generic; |
| | | 6 | | using MediaBrowser.Model.Entities; |
| | | 7 | | |
| | | 8 | | namespace MediaBrowser.Model.LiveTv |
| | | 9 | | { |
| | | 10 | | public enum KeepUntil |
| | | 11 | | { |
| | | 12 | | UntilDeleted, |
| | | 13 | | UntilSpaceNeeded, |
| | | 14 | | UntilWatched, |
| | | 15 | | UntilDate |
| | | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Class SeriesTimerInfoDto. |
| | | 20 | | /// </summary> |
| | | 21 | | public class SeriesTimerInfoDto : BaseTimerInfoDto |
| | | 22 | | { |
| | 0 | 23 | | public SeriesTimerInfoDto() |
| | | 24 | | { |
| | 0 | 25 | | ImageTags = new Dictionary<ImageType, string>(); |
| | 0 | 26 | | Days = Array.Empty<DayOfWeek>(); |
| | 0 | 27 | | Type = "SeriesTimer"; |
| | 0 | 28 | | } |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// Gets or sets a value indicating whether [record any time]. |
| | | 32 | | /// </summary> |
| | | 33 | | /// <value><c>true</c> if [record any time]; otherwise, <c>false</c>.</value> |
| | | 34 | | public bool RecordAnyTime { get; set; } |
| | | 35 | | |
| | | 36 | | public bool SkipEpisodesInLibrary { get; set; } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// Gets or sets a value indicating whether [record any channel]. |
| | | 40 | | /// </summary> |
| | | 41 | | /// <value><c>true</c> if [record any channel]; otherwise, <c>false</c>.</value> |
| | | 42 | | public bool RecordAnyChannel { get; set; } |
| | | 43 | | |
| | | 44 | | public int KeepUpTo { get; set; } |
| | | 45 | | |
| | | 46 | | /// <summary> |
| | | 47 | | /// Gets or sets a value indicating whether [record new only]. |
| | | 48 | | /// </summary> |
| | | 49 | | /// <value><c>true</c> if [record new only]; otherwise, <c>false</c>.</value> |
| | | 50 | | public bool RecordNewOnly { get; set; } |
| | | 51 | | |
| | | 52 | | /// <summary> |
| | | 53 | | /// Gets or sets the days. |
| | | 54 | | /// </summary> |
| | | 55 | | /// <value>The days.</value> |
| | | 56 | | public DayOfWeek[] Days { get; set; } |
| | | 57 | | |
| | | 58 | | /// <summary> |
| | | 59 | | /// Gets or sets the day pattern. |
| | | 60 | | /// </summary> |
| | | 61 | | /// <value>The day pattern.</value> |
| | | 62 | | public DayPattern? DayPattern { get; set; } |
| | | 63 | | |
| | | 64 | | /// <summary> |
| | | 65 | | /// Gets or sets the image tags. |
| | | 66 | | /// </summary> |
| | | 67 | | /// <value>The image tags.</value> |
| | | 68 | | public Dictionary<ImageType, string> ImageTags { get; set; } |
| | | 69 | | |
| | | 70 | | /// <summary> |
| | | 71 | | /// Gets or sets the parent thumb item id. |
| | | 72 | | /// </summary> |
| | | 73 | | /// <value>The parent thumb item id.</value> |
| | | 74 | | public string ParentThumbItemId { get; set; } |
| | | 75 | | |
| | | 76 | | /// <summary> |
| | | 77 | | /// Gets or sets the parent thumb image tag. |
| | | 78 | | /// </summary> |
| | | 79 | | /// <value>The parent thumb image tag.</value> |
| | | 80 | | public string ParentThumbImageTag { get; set; } |
| | | 81 | | |
| | | 82 | | /// <summary> |
| | | 83 | | /// Gets or sets the parent primary image item identifier. |
| | | 84 | | /// </summary> |
| | | 85 | | /// <value>The parent primary image item identifier.</value> |
| | | 86 | | public Guid? ParentPrimaryImageItemId { get; set; } |
| | | 87 | | |
| | | 88 | | /// <summary> |
| | | 89 | | /// Gets or sets the parent primary image tag. |
| | | 90 | | /// </summary> |
| | | 91 | | /// <value>The parent primary image tag.</value> |
| | | 92 | | public string ParentPrimaryImageTag { get; set; } |
| | | 93 | | } |
| | | 94 | | } |