27 lines
691 B
C#
27 lines
691 B
C#
using BotSharp.Core.Intents;
|
|
using BotSharp.Core.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace BotSharp.Core.Adapters.Dialogflow
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
}
|