BotSharp/src/Infrastructure/BotSharp.OpenAPI/ViewModels/Routing/RoutingProfileCreationModel.cs

19 lines
392 B
C#
Raw Normal View History

2023-09-03 04:11:53 +00:00
using BotSharp.Abstraction.Routing.Models;
namespace BotSharp.OpenAPI.ViewModels.Routing;
public class RoutingProfileCreationModel
{
public string Name { get; set; }
2023-09-07 22:04:34 +00:00
public List<string> AgentIds { get; set; }
2023-09-03 04:11:53 +00:00
public RoutingProfile ToRoutingProfile()
{
return new RoutingProfile
{
Name = Name,
AgentIds = AgentIds,
};
}
}