26 lines
772 B
C#
26 lines
772 B
C#
using Bot.Rasa.Intents;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Bot.Rasa.Adapters.Dialogflow
|
|
{
|
|
public class DialogflowIntent
|
|
{
|
|
public string Id { get; set; }
|
|
public string Name { get; set; }
|
|
public bool Auto { get; set; }
|
|
/// <summary>
|
|
/// Input Contexts
|
|
/// </summary>
|
|
public List<String> ContextList { get; set; }
|
|
|
|
public List<DialogflowIntentExpression> UserSays { get; set; }
|
|
public List<DialogflowIntentResponse> Responses { get; set; }
|
|
public int Priority { get; set; }
|
|
public bool WebhookUsed { get; set; }
|
|
public bool FallbackIntent { get; set; }
|
|
public List<DialogflowIntentEvent> Events { get; set; }
|
|
}
|
|
}
|