2018-12-09 15:57:34 +00:00
|
|
|
|
using BotSharp.Platform.Models.Contexts;
|
|
|
|
|
|
using System;
|
2018-10-29 02:16:55 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.Platform.Dialogflow.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
public class DialogflowIntentResponse
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
public bool ResetContexts { get; set; }
|
|
|
|
|
|
public string Action { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public List<AIContext> AffectedContexts { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public List<DialogflowIntentResponseParameter> Parameters { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public List<DialogflowIntentResponseMessage> MessageList { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public DialogflowIntentResponse()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id = Guid.NewGuid().ToString();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|