using System.Collections.Generic; namespace Jellyfin.Plugin.Request.Api; /// /// Body for creating a media request. /// public sealed class CreateRequestDto { /// /// Gets or sets the media type (movie or tv). /// public string MediaType { get; set; } = string.Empty; /// /// Gets or sets the TMDB identifier. Ignored for custom requests. /// public int TmdbId { get; set; } /// /// Gets or sets a value indicating whether this is a custom title not on TMDB. /// public bool IsCustom { get; set; } /// /// Gets or sets the title for custom requests. /// public string? Title { get; set; } /// /// Gets or sets an optional release year for custom requests. /// public int? Year { get; set; } /// /// Gets or sets optional requester notes. /// public string? Notes { get; set; } /// /// Gets or sets optional season numbers for TV. /// Null or empty with true requests everything. /// public List? Seasons { get; set; } /// /// Gets or sets a value indicating whether all seasons are requested. /// public bool AllSeasons { get; set; } = true; } /// /// Optional admin note body for status transitions. /// public sealed class AdminNoteDto { /// /// Gets or sets an optional administrator note. /// public string? AdminNote { get; set; } }