2
0

VirtualFolderInfo.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using System.Collections.Generic;
  2. using MediaBrowser.Model.Configuration;
  3. using System;
  4. namespace MediaBrowser.Model.Entities
  5. {
  6. /// <summary>
  7. /// Used to hold information about a user's list of configured virtual folders
  8. /// </summary>
  9. public class VirtualFolderInfo
  10. {
  11. /// <summary>
  12. /// Gets or sets the name.
  13. /// </summary>
  14. /// <value>The name.</value>
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// Gets or sets the locations.
  18. /// </summary>
  19. /// <value>The locations.</value>
  20. public string[] Locations { get; set; }
  21. /// <summary>
  22. /// Gets or sets the type of the collection.
  23. /// </summary>
  24. /// <value>The type of the collection.</value>
  25. public string CollectionType { get; set; }
  26. public LibraryOptions LibraryOptions { get; set; }
  27. /// <summary>
  28. /// Initializes a new instance of the <see cref="VirtualFolderInfo"/> class.
  29. /// </summary>
  30. public VirtualFolderInfo()
  31. {
  32. Locations = Array.Empty<string>();
  33. }
  34. /// <summary>
  35. /// Gets or sets the item identifier.
  36. /// </summary>
  37. /// <value>The item identifier.</value>
  38. public string ItemId { get; set; }
  39. /// <summary>
  40. /// Gets or sets the primary image item identifier.
  41. /// </summary>
  42. /// <value>The primary image item identifier.</value>
  43. public string PrimaryImageItemId { get; set; }
  44. public double? RefreshProgress { get; set; }
  45. public string RefreshStatus { get; set; }
  46. }
  47. }