jellyfin/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
2021-07-24 20:33:58 -07:00

33 lines
833 B
C#

#nullable disable
#pragma warning disable CA2227, CS1591
using System;
using System.Collections.Generic;
using MediaBrowser.Model.Entities;
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>();
}
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; }
public IReadOnlyList<Guid> UserIds { get; set; }
}
}