2020-08-22 12:56:24 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:01:16 -07:00
|
|
|
using System;
|
2018-12-27 16:27:57 -07:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 12:25:32 -07:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Collections
|
|
|
|
{
|
|
|
|
public class CollectionCreationOptions : IHasProviderIds
|
|
|
|
{
|
2020-08-22 12:56:24 -07:00
|
|
|
public CollectionCreationOptions()
|
|
|
|
{
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
|
ItemIdList = Array.Empty<string>();
|
|
|
|
UserIds = Array.Empty<Guid>();
|
|
|
|
}
|
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
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; }
|
2020-06-15 14:43:52 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public Guid[] UserIds { get; set; }
|
|
|
|
}
|
|
|
|
}
|