using System; using System.Collections.Generic; using Jellyfin.Data.Enums; using MediaBrowser.Model.Entities; namespace MediaBrowser.Model.Playlists; /// /// A playlist creation request. /// public class PlaylistCreationRequest { /// /// Gets or sets the name. /// public string? Name { get; set; } /// /// Gets or sets the list of items. /// public IReadOnlyList ItemIdList { get; set; } = Array.Empty(); /// /// Gets or sets the media type. /// public MediaType? MediaType { get; set; } /// /// Gets or sets the user id. /// public Guid UserId { get; set; } /// /// Gets or sets the shares. /// public IReadOnlyList? Shares { get; set; } /// /// Gets or sets a value indicating whether open access is enabled. /// public bool? OpenAccess { get; set; } }