CollectionCreationOptions.cs 825 B

1234567891011121314151617181920212223242526272829303132
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. using MediaBrowser.Model.Entities;
  6. namespace MediaBrowser.Controller.Collections
  7. {
  8. public class CollectionCreationOptions : IHasProviderIds
  9. {
  10. public CollectionCreationOptions()
  11. {
  12. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  13. ItemIdList = Array.Empty<string>();
  14. UserIds = Array.Empty<Guid>();
  15. }
  16. public string Name { get; set; }
  17. public Guid? ParentId { get; set; }
  18. public bool IsLocked { get; set; }
  19. public Dictionary<string, string> ProviderIds { get; set; }
  20. public IReadOnlyList<string> ItemIdList { get; set; }
  21. public IReadOnlyList<Guid> UserIds { get; set; }
  22. }
  23. }