VirtualFolderInfo.cs 1.6 KB

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