IBNItem.cs 1021 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using MediaBrowser.Model.Entities;
  2. namespace MediaBrowser.Model.DTO
  3. {
  4. /// <summary>
  5. /// This is a stub class used by the api to get IBN types along with their item counts
  6. /// </summary>
  7. public class IBNItem<T>
  8. {
  9. /// <summary>
  10. /// The actual genre, year, studio, etc
  11. /// </summary>
  12. public T Item { get; set; }
  13. /// <summary>
  14. /// The number of items that have the genre, year, studio, etc
  15. /// </summary>
  16. public int BaseItemCount { get; set; }
  17. }
  18. /// <summary>
  19. /// This is used by BaseItemContainer
  20. /// </summary>
  21. public class BaseItemPerson
  22. {
  23. public PersonInfo PersonInfo { get; set; }
  24. public string PrimaryImagePath { get; set; }
  25. }
  26. /// <summary>
  27. /// This is used by BaseItemContainer
  28. /// </summary>
  29. public class BaseItemStudio
  30. {
  31. public string Name { get; set; }
  32. public string PrimaryImagePath { get; set; }
  33. }
  34. }