using System.Text.Json.Serialization; namespace Centron.Api.docuFORM.Models.Swagger; public class DeviceNotifications { [JsonPropertyName("alertName")] public string? AlertName { get; set; } [JsonPropertyName("thresholdName")] public string? ThresholdName { get; set; } [JsonPropertyName("thresholdAction")] public int? ThresholdAction { get; set; } /// Note: the API uses "tresholdReceiver" (typo) in the write schema but "thresholdReceiver" in read. [JsonPropertyName("thresholdReceiver")] public string? ThresholdReceiver { get; set; } [JsonPropertyName("thresholdSubject")] public string? ThresholdSubject { get; set; } }