2018-10-03 01:44:11 +00:00
|
|
|
|
using System;
|
2018-03-21 21:07:43 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
2018-10-03 01:44:11 +00:00
|
|
|
|
namespace Platform.Dialogflow.Models
|
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();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|