VirtualFolderInfo.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #pragma warning disable CS1591
  2. using System;
  3. using MediaBrowser.Model.Configuration;
  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. }