// Copyright (c) Microsoft. All rights reserved.
using System.Text.Json.Serialization;
namespace AGUIDojoClient.Components.Demos.HumanInTheLoop;
///
/// Represents a single step in a plan.
///
public sealed class Step
{
///
/// The description of the step.
///
[JsonPropertyName("description")]
public string Description { get; set; } = string.Empty;
///
/// The status of the step (pending or completed).
///
[JsonPropertyName("status")]
public string Status { get; set; } = "pending";
///
/// Gets whether this step is completed.
///
[JsonIgnore]
public bool IsCompleted => string.Equals(this.Status, "completed", StringComparison.OrdinalIgnoreCase);
}