using System.Text.Json.Serialization; namespace Centron.Api.docuFORM.Models.Swagger; public class DeviceSummaryGroup { [JsonPropertyName("title")] public string? Title { get; set; } /// /// Each element is either a (type=1) or a /// (type=2). Deserialized as generic objects; /// check the "type" field to cast accordingly. /// [JsonPropertyName("elements")] public List? Elements { get; set; } }