using System.ComponentModel.DataAnnotations; using Jellyfin.Plugin.Herald.Notices; namespace Jellyfin.Plugin.Herald.Api; /// /// Body of an acknowledgement request. /// public class AckRequest { /// /// Gets or sets the revision the user saw. /// [Required] public int? Revision { get; set; } /// /// Gets or sets the response. /// [Required] [EnumDataType(typeof(AckAction))] public AckAction? Action { get; set; } }