BotSharp/src/Infrastructure/BotSharp.Abstraction/Routing/Models/RoutableAgent.cs

31 lines
877 B
C#
Raw Normal View History

using BotSharp.Abstraction.Functions.Models;
2023-09-26 03:04:04 +00:00
2023-08-28 03:50:10 +00:00
namespace BotSharp.Abstraction.Routing.Models;
public class RoutableAgent
{
[JsonPropertyName("agent_id")]
public string AgentId { get; set; } = string.Empty;
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
[JsonPropertyName("description")]
public string Description { get; set; } = string.Empty;
[JsonPropertyName("profiles")]
public List<string> Profiles { get; set; }
= new List<string>();
2023-10-30 17:44:53 +00:00
[JsonPropertyName("required_fields")]
public List<ParameterPropertyDef> RequiredFields { get; set; } = new List<ParameterPropertyDef>();
[JsonPropertyName("optional_fields")]
public List<ParameterPropertyDef> OptionalFields { get; set; } = new List<ParameterPropertyDef>();
2024-01-06 22:24:22 +00:00
public override string ToString()
{
return Name;
}
}