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