RecordingInfoDto.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.LiveTv
  4. {
  5. public class RecordingInfoDto
  6. {
  7. /// <summary>
  8. /// Id of the recording.
  9. /// </summary>
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// ChannelId of the recording.
  13. /// </summary>
  14. public string ChannelId { get; set; }
  15. /// <summary>
  16. /// ChannelName of the recording.
  17. /// </summary>
  18. public string ChannelName { get; set; }
  19. /// <summary>
  20. /// Name of the recording.
  21. /// </summary>
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// Description of the recording.
  25. /// </summary>
  26. public string Description { get; set; }
  27. /// <summary>
  28. /// The start date of the recording, in UTC.
  29. /// </summary>
  30. public DateTime StartDate { get; set; }
  31. /// <summary>
  32. /// The end date of the recording, in UTC.
  33. /// </summary>
  34. public DateTime EndDate { get; set; }
  35. /// <summary>
  36. /// Status of the recording.
  37. /// </summary>
  38. public string Status { get; set; } //TODO: Enum for status?? Difference NextPvr,Argus,...
  39. /// <summary>
  40. /// Quality of the Recording.
  41. /// </summary>
  42. public string Quality { get; set; } // TODO: Enum for quality?? Difference NextPvr,Argus,...
  43. /// <summary>
  44. /// Recurring recording?
  45. /// </summary>
  46. public bool Recurring { get; set; }
  47. /// <summary>
  48. /// Parent recurring.
  49. /// </summary>
  50. public string RecurringParent { get; set; }
  51. /// <summary>
  52. /// Start date for the recurring, in UTC.
  53. /// </summary>
  54. public DateTime RecurrringStartDate { get; set; }
  55. /// <summary>
  56. /// End date for the recurring, in UTC
  57. /// </summary>
  58. public DateTime RecurringEndDate { get; set; }
  59. /// <summary>
  60. /// When do we need the recording?
  61. /// </summary>
  62. public List<string> DayMask { get; set; }
  63. }
  64. }