VirtualFolderInfo.cs 1.7 KB

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