Files
jellyfin-herald/Jellyfin.Plugin.Herald/Api/PendingNotice.cs
T

35 lines
822 B
C#

using System;
namespace Jellyfin.Plugin.Herald.Api;
/// <summary>
/// A notice as shown to the user it is pending for.
/// </summary>
public class PendingNotice
{
/// <summary>
/// Gets or sets the notice id.
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// Gets or sets the title.
/// </summary>
public string Title { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the body.
/// </summary>
public string Body { get; set; } = string.Empty;
/// <summary>
/// Gets or sets a value indicating whether the notice has to be accepted.
/// </summary>
public bool RequireAccept { get; set; }
/// <summary>
/// Gets or sets the revision to send back with the response.
/// </summary>
public int Revision { get; set; }
}