13 lines
270 B
C#
13 lines
270 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace WirelessTextSyncer.Windows.Models;
|
|
|
|
public sealed record SyncMessage
|
|
{
|
|
[JsonPropertyName("action")]
|
|
public SyncAction Action { get; init; }
|
|
|
|
[JsonPropertyName("text")]
|
|
public string? Text { get; init; }
|
|
}
|