2021-05-06 18:39:20 -04:00
|
|
|
#nullable disable
|
|
|
|
|
2021-08-15 11:20:07 -04:00
|
|
|
#pragma warning disable CS1591
|
2020-08-22 15:56:24 -04:00
|
|
|
|
2019-01-13 15:01:16 -05:00
|
|
|
using System;
|
2018-12-27 18:27:57 -05:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 14:25:32 -05:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Collections
|
|
|
|
{
|
|
|
|
public class CollectionCreationOptions : IHasProviderIds
|
|
|
|
{
|
2020-08-22 15:56:24 -04:00
|
|
|
public CollectionCreationOptions()
|
|
|
|
{
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
|
ItemIdList = Array.Empty<string>();
|
|
|
|
UserIds = Array.Empty<Guid>();
|
|
|
|
}
|
|
|
|
|
2018-12-27 18:27:57 -05:00
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
public Guid? ParentId { get; set; }
|
|
|
|
|
|
|
|
public bool IsLocked { get; set; }
|
|
|
|
|
|
|
|
public Dictionary<string, string> ProviderIds { get; set; }
|
|
|
|
|
2021-05-11 07:55:46 -04:00
|
|
|
public IReadOnlyList<string> ItemIdList { get; set; }
|
2020-06-15 17:43:52 -04:00
|
|
|
|
2021-05-11 07:55:46 -04:00
|
|
|
public IReadOnlyList<Guid> UserIds { get; set; }
|
2018-12-27 18:27:57 -05:00
|
|
|
}
|
|
|
|
}
|