jellyfin-server/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs

28 lines
748 B
C#
Raw Normal View History

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; }
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; }
2014-03-15 15:17:46 +00:00
public List<Guid> ItemIdList { get; set; }
2014-12-13 03:56:30 +00:00
public List<Guid> 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);
2014-03-15 15:17:46 +00:00
ItemIdList = new List<Guid>();
2014-12-13 03:56:30 +00:00
UserIds = new List<Guid>();
2014-03-08 04:20:31 +00:00
}
2014-03-06 05:17:13 +00:00
}
}