-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommand.cs
More file actions
30 lines (25 loc) · 878 Bytes
/
Command.cs
File metadata and controls
30 lines (25 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System.Text.Json.Serialization;
namespace DevMiniOS.Models
{
/// <summary>
/// Repersents a single command within a plan
/// </summary>
public class Command
{
/// <summary>
/// Gets or sets operation type of the command (e.g., "make_controller").
/// </summary>
[JsonPropertyName("op")]
public string Op { get; set; } = string.Empty;
///<summary>
///Gets and sets the name associated with the command (e.g., controller name).
/// </summary>
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
/// <summary>
/// Gets or sets additional parameters for the command
/// </summary>
[JsonPropertyName("parameters")]
public string Parameters { get; set; } = string.Empty;
}
}