CollectionCreationOptions.cs 780 B

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