using System.ComponentModel.DataAnnotations;
namespace Jellyfin.Api.Models.SubtitleDtos;
///
/// Upload subtitles dto.
///
public class UploadSubtitleDto
{
///
/// Gets or sets the subtitle language.
///
[Required]
public string Language { get; set; } = string.Empty;
///
/// Gets or sets the subtitle format.
///
[Required]
public string Format { get; set; } = string.Empty;
///
/// Gets or sets a value indicating whether the subtitle is forced.
///
[Required]
public bool IsForced { get; set; }
///
/// Gets or sets the subtitle data.
///
[Required]
public string Data { get; set; } = string.Empty;
}