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

33 lines
825 B
C#
Raw Normal View History

#nullable disable
2021-08-15 15:20:07 +00:00
#pragma warning disable CS1591
using System;
2018-12-27 23:27:57 +00:00
using System.Collections.Generic;
using MediaBrowser.Model.Entities;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Controller.Collections
{
public class CollectionCreationOptions : IHasProviderIds
{
public CollectionCreationOptions()
{
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
ItemIdList = Array.Empty<string>();
UserIds = Array.Empty<Guid>();
}
2018-12-27 23:27:57 +00:00
public string Name { get; set; }
public Guid? ParentId { get; set; }
public bool IsLocked { get; set; }
public Dictionary<string, string> ProviderIds { get; set; }
public IReadOnlyList<string> ItemIdList { get; set; }
2020-06-15 21:43:52 +00:00
public IReadOnlyList<Guid> UserIds { get; set; }
2018-12-27 23:27:57 +00:00
}
}