2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 19:25:32 +00:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Collections
|
|
|
|
{
|
|
|
|
public class CollectionCreationOptions : IHasProviderIds
|
|
|
|
{
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
public Guid? ParentId { get; set; }
|
|
|
|
|
|
|
|
public bool IsLocked { get; set; }
|
|
|
|
|
|
|
|
public Dictionary<string, string> ProviderIds { get; set; }
|
|
|
|
|
|
|
|
public string[] ItemIdList { get; set; }
|
|
|
|
public Guid[] UserIds { get; set; }
|
|
|
|
|
|
|
|
public CollectionCreationOptions()
|
|
|
|
{
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
2018-12-27 21:43:48 +00:00
|
|
|
ItemIdList = Array.Empty<string>();
|
|
|
|
UserIds = Array.Empty<Guid>();
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|