Wonky.Client/Wonky.Entity/Views/ClxMessage.cs
Frede Hundewadt 532cd08827 WIP
2023-05-21 08:23:47 +02:00

31 lines
No EOL
1,016 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Wonky.Entity.Views;
public class ClxMessage
{
[JsonPropertyName("id")]
public string Id { get; set; } = "";
[JsonPropertyName("to")]
public List<string> To { get; set; } = new();
[JsonPropertyName("from")]
public string From { get; set; } = "";
[JsonPropertyName("cancelled")]
public bool Cancelled { get; set; }
[JsonPropertyName("body")]
public string Body { get; set; } = "";
[JsonPropertyName("type")]
public string Type { get; set; } = "";
[JsonPropertyName("created_at")]
public string CreatedAt { get; set; } = "";
[JsonPropertyName("modified_at")]
public string ModifiedAt { get; set; } = "";
[JsonPropertyName("delivery_report")]
public string DeliveryReport { get; set; } = "";
[JsonPropertyName("expire_at")]
public string ExpireAt { get; set; } = "";
[JsonPropertyName("flash_message")]
public bool FlashMessage { get; set; }
}