2026-08-02 21:41:12 +02:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Assistants.VisualBriefing;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines one value and visible label offered by an interaction control.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
|
|
|
|
|
[CanonicalJsonShape("08092336")]
|
|
|
|
|
public sealed class VisualBriefingControlOption
|
|
|
|
|
{
|
|
|
|
|
/// <summary>Gets or sets the stored option value.</summary>
|
|
|
|
|
[JsonRequired]
|
2026-11-03 14:20:41 +01:00
|
|
|
public string Value { get; set; } = string.Empty;
|
2026-08-02 21:41:12 +02:00
|
|
|
|
|
|
|
|
/// <summary>Gets or sets the visible option label.</summary>
|
|
|
|
|
[JsonRequired]
|
2026-11-03 14:20:41 +01:00
|
|
|
public string Label { get; set; } = string.Empty;
|
2026-08-02 21:41:12 +02:00
|
|
|
}
|