2014-03-07 21:20:31 -07:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2014-03-05 22:17:13 -07:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Collections
|
|
|
|
|
{
|
2014-03-07 21:20:31 -07:00
|
|
|
|
public class CollectionCreationOptions : IHasProviderIds
|
2014-03-05 22:17:13 -07:00
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2014-03-07 08:53:23 -07:00
|
|
|
|
public Guid? ParentId { get; set; }
|
2014-03-05 22:17:13 -07:00
|
|
|
|
|
|
|
|
|
public bool IsLocked { get; set; }
|
2014-03-07 21:20:31 -07:00
|
|
|
|
|
|
|
|
|
public Dictionary<string, string> ProviderIds { get; set; }
|
|
|
|
|
|
2017-08-19 12:43:35 -07:00
|
|
|
|
public string[] ItemIdList { get; set; }
|
|
|
|
|
public string[] UserIds { get; set; }
|
2014-03-15 08:17:46 -07:00
|
|
|
|
|
2014-03-07 21:20:31 -07:00
|
|
|
|
public CollectionCreationOptions()
|
|
|
|
|
{
|
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
2017-08-19 12:43:35 -07:00
|
|
|
|
ItemIdList = new string[] { };
|
|
|
|
|
UserIds = new string[] { };
|
2014-03-07 21:20:31 -07:00
|
|
|
|
}
|
2014-03-05 22:17:13 -07:00
|
|
|
|
}
|
|
|
|
|
}
|