NextUpQuery.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using MediaBrowser.Model.Entities;
  2. using System;
  3. namespace MediaBrowser.Model.Querying
  4. {
  5. public class NextUpQuery
  6. {
  7. /// <summary>
  8. /// Gets or sets the user id.
  9. /// </summary>
  10. /// <value>The user id.</value>
  11. public string UserId { get; set; }
  12. /// <summary>
  13. /// Skips over a given number of items within the results. Use for paging.
  14. /// </summary>
  15. /// <value>The start index.</value>
  16. public int? StartIndex { get; set; }
  17. /// <summary>
  18. /// The maximum number of items to return
  19. /// </summary>
  20. /// <value>The limit.</value>
  21. public int? Limit { get; set; }
  22. /// <summary>
  23. /// Fields to return within the items, in addition to basic information
  24. /// </summary>
  25. /// <value>The fields.</value>
  26. public ItemFields[] Fields { get; set; }
  27. /// <summary>
  28. /// Gets or sets the exclude location types.
  29. /// </summary>
  30. /// <value>The exclude location types.</value>
  31. public LocationType[] ExcludeLocationTypes { get; set; }
  32. public bool? HasPremiereDate { get; set; }
  33. public DateTime? MinPremiereDate { get; set; }
  34. public DateTime? MaxPremiereDate { get; set; }
  35. public NextUpQuery()
  36. {
  37. ExcludeLocationTypes = new LocationType[] { };
  38. }
  39. }
  40. }