ItemsResult.cs 653 B

12345678910111213141516171819202122232425
  1. using ProtoBuf;
  2. namespace MediaBrowser.Model.Dto
  3. {
  4. /// <summary>
  5. /// Represents the result of a query for items
  6. /// </summary>
  7. [ProtoContract]
  8. public class ItemsResult
  9. {
  10. /// <summary>
  11. /// The set of items returned based on sorting, paging, etc
  12. /// </summary>
  13. /// <value>The items.</value>
  14. [ProtoMember(1)]
  15. public BaseItemDto[] Items { get; set; }
  16. /// <summary>
  17. /// The total number of records available
  18. /// </summary>
  19. /// <value>The total record count.</value>
  20. [ProtoMember(2)]
  21. public int TotalRecordCount { get; set; }
  22. }
  23. }