jellyfin/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs

28 lines
748 B
C#
Raw Normal View History

2014-03-08 05:20:31 +01:00
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
2014-03-06 06:17:13 +01:00
namespace MediaBrowser.Controller.Collections
{
2014-03-08 05:20:31 +01:00
public class CollectionCreationOptions : IHasProviderIds
2014-03-06 06:17:13 +01:00
{
public string Name { get; set; }
public Guid? ParentId { get; set; }
2014-03-06 06:17:13 +01:00
public bool IsLocked { get; set; }
2014-03-08 05:20:31 +01:00
public Dictionary<string, string> ProviderIds { get; set; }
2014-03-15 16:17:46 +01:00
public List<Guid> ItemIdList { get; set; }
2014-12-13 04:56:30 +01:00
public List<Guid> UserIds { get; set; }
2014-03-15 16:17:46 +01:00
2014-03-08 05:20:31 +01:00
public CollectionCreationOptions()
{
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
2014-03-15 16:17:46 +01:00
ItemIdList = new List<Guid>();
2014-12-13 04:56:30 +01:00
UserIds = new List<Guid>();
2014-03-08 05:20:31 +01:00
}
2014-03-06 06:17:13 +01:00
}
}