using System; namespace Jellyfin.Data.Entities; /// /// Provides informations about an Attachment to an . /// public class AttachmentStreamInfo { /// /// Gets or Sets the reference. /// public required Guid ItemId { get; set; } /// /// Gets or Sets the reference. /// public required BaseItemEntity Item { get; set; } /// /// Gets or Sets The index within the source file. /// public required int Index { get; set; } /// /// Gets or Sets the codec of the attachment. /// public required string Codec { get; set; } /// /// Gets or Sets the codec tag of the attachment. /// public string? CodecTag { get; set; } /// /// Gets or Sets the comment of the attachment. /// public string? Comment { get; set; } /// /// Gets or Sets the filename of the attachment. /// public string? Filename { get; set; } /// /// Gets or Sets the attachments mimetype. /// public string? MimeType { get; set; } }