ItemsResult.cs 688 B

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