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;
|
|
|
|
|
|
|
2018-09-28 22:25:55 +00:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
}
|