VirtualFolderInfo.cs 1.6 KB

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