AI-Studio/app/MindWork AI Studio/Assistants/VisualBriefing/VisualBriefingControlOption.cs
2026-07-30 19:36:52 +02:00

18 lines
587 B
C#

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)]
public sealed class VisualBriefingControlOption
{
/// <summary>Gets or sets the stored option value.</summary>
[JsonRequired]
public string Value { get; init; } = string.Empty;
/// <summary>Gets or sets the visible option label.</summary>
[JsonRequired]
public string Label { get; init; } = string.Empty;
}