mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-06 08:02:23 +00:00
19 lines
620 B
C#
19 lines
620 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)]
|
||
|
|
[CanonicalJsonShape("08092336")]
|
||
|
|
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;
|
||
|
|
}
|