VirtualFolderInfo.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #nullable disable
  2. #pragma warning disable CS1591
  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. /// Initializes a new instance of the <see cref="VirtualFolderInfo"/> class.
  14. /// </summary>
  15. public VirtualFolderInfo()
  16. {
  17. Locations = Array.Empty<string>();
  18. }
  19. /// <summary>
  20. /// Gets or sets the name.
  21. /// </summary>
  22. /// <value>The name.</value>
  23. public string Name { get; set; }
  24. /// <summary>
  25. /// Gets or sets the locations.
  26. /// </summary>
  27. /// <value>The locations.</value>
  28. public string[] Locations { get; set; }
  29. /// <summary>
  30. /// Gets or sets the type of the collection.
  31. /// </summary>
  32. /// <value>The type of the collection.</value>
  33. public CollectionTypeOptions? CollectionType { get; set; }
  34. public LibraryOptions LibraryOptions { get; set; }
  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. }