28 lines
649 B
C#
28 lines
649 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace NostrStreamer.ApiModel;
|
|
|
|
public class PatchEvent
|
|
{
|
|
[JsonProperty("id")]
|
|
public Guid Id { get; init; }
|
|
|
|
[JsonProperty("title")]
|
|
public string Title { get; init; } = null!;
|
|
|
|
[JsonProperty("summary")]
|
|
public string Summary { get; init; } = null!;
|
|
|
|
[JsonProperty("image")]
|
|
public string Image { get; init; } = null!;
|
|
|
|
[JsonProperty("tags")]
|
|
public string[] Tags { get; init; } = Array.Empty<string>();
|
|
|
|
[JsonProperty("content_warning")]
|
|
public string? ContentWarning { get; init; }
|
|
|
|
[JsonProperty("goal")]
|
|
public string? Goal { get; init; }
|
|
}
|