CollectionCreationOptions.cs 748 B

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