feat: add Herald API controller
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user