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; } = []; /// /// 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 user permissions. /// public IReadOnlyList Users { get; set; } = []; /// /// Gets or sets a value indicating whether the playlist is public. /// public bool? Public { get; set; } = true; }