2018-03-28 22:08:49 +00:00
|
|
|
|
using BotSharp.Core.Intents;
|
|
|
|
|
|
using BotSharp.Core.Models;
|
2018-03-21 21:07:43 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
2018-03-28 22:08:49 +00:00
|
|
|
|
namespace BotSharp.Core.Adapters.Dialogflow
|
2018-03-21 21:07:43 +00:00
|
|
|
|
{
|
|
|
|
|
|
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();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|