BotSharp/Platform.Articulate/Models/IntentModel.cs

27 lines
607 B
C#
Raw Normal View History

2018-09-29 18:18:34 +00:00
using BotSharp.Platform.Models;
using Newtonsoft.Json;
using System;
2018-09-28 00:49:43 +00:00
using System.Collections.Generic;
using System.Text;
namespace Platform.Articulate.Models
2018-09-28 00:49:43 +00:00
{
2018-09-29 18:18:34 +00:00
public class IntentModel : IntentBase
2018-09-28 00:49:43 +00:00
{
2018-09-29 18:18:34 +00:00
[JsonProperty("IntentName")]
public new string Name { get; set; }
2018-09-28 00:49:43 +00:00
public string Agent { get; set; }
public string Domain { get; set; }
public bool UsePostFormat { get; set; }
public bool UseWebhook { get; set; }
public List<IntentExampleModel> Examples { get; set; }
2018-09-29 18:18:34 +00:00
public IntentResponseBase Response { get; set; }
2018-09-28 00:49:43 +00:00
}
}