mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 18:52:11 +00:00
18 lines
587 B
C#
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;
|
|
} |