jellyfin/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs

28 lines
748 B
C#
Raw Normal View History

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