25 lines
558 B
C#
25 lines
558 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AxCopilot.Models;
|
|
|
|
public class AgentHookEntry
|
|
{
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = "";
|
|
|
|
[JsonPropertyName("toolName")]
|
|
public string ToolName { get; set; } = "*";
|
|
|
|
[JsonPropertyName("timing")]
|
|
public string Timing { get; set; } = "post";
|
|
|
|
[JsonPropertyName("scriptPath")]
|
|
public string ScriptPath { get; set; } = "";
|
|
|
|
[JsonPropertyName("arguments")]
|
|
public string Arguments { get; set; } = "";
|
|
|
|
[JsonPropertyName("enabled")]
|
|
public bool Enabled { get; set; } = true;
|
|
}
|