-
- All Implemented Interfaces:
public final class FaqQueryResultFaq result after queried
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<FaqDefinition>_idprivate final StringbotIdprivate final Id<IntentDefinition>intentIdprivate final Id<I18nLabel>i18nIdprivate final List<String>tagsprivate final Booleanenabledprivate final InstantcreationDateprivate final InstantupdateDateprivate final List<ClassifiedSentence>utterancesprivate final IntentDefinitionfaqprivate final StringstoryName
-
Constructor Summary
Constructors Constructor Description FaqQueryResult(Id<FaqDefinition> _id, String botId, Id<IntentDefinition> intentId, Id<I18nLabel> i18nId, List<String> tags, Boolean enabled, Instant creationDate, Instant updateDate, List<ClassifiedSentence> utterances, IntentDefinition faq, String storyName)
-
Method Summary
Modifier and Type Method Description final Id<FaqDefinition>get_id()The unique Id of the intent. final StringgetBotId()The bot id (that corresponds to the application name). final Id<IntentDefinition>getIntentId()The intent id. final Id<I18nLabel>getI18nId()The i18n label id. final List<String>getTags()List of tags for better Faq categorisation final BooleangetEnabled()Is the Faq enabled? final InstantgetCreationDate()Faq creation date final InstantgetUpdateDate()Faq update date final List<ClassifiedSentence>getUtterances()Questions/Utterances list inspired by ClassifiedSentence final IntentDefinitiongetFaq()The IntentDefinition identity of the faq final StringgetStoryName()The StoryDefinitionBase name of the faq final FaqDefinitionDetailedtoFaqDefinitionDetailed(FaqQueryResult faqQueryResult, I18nLabel i18nLabel)Convert FaqQueryResult to FaqDefinitionDetailed with I18nLabel -
-
Constructor Detail
-
FaqQueryResult
FaqQueryResult(Id<FaqDefinition> _id, String botId, Id<IntentDefinition> intentId, Id<I18nLabel> i18nId, List<String> tags, Boolean enabled, Instant creationDate, Instant updateDate, List<ClassifiedSentence> utterances, IntentDefinition faq, String storyName)
-
-
Method Detail
-
get_id
final Id<FaqDefinition> get_id()
The unique Id of the intent.
-
getIntentId
final Id<IntentDefinition> getIntentId()
The intent id.
-
getI18nId
final Id<I18nLabel> getI18nId()
The i18n label id.
-
getEnabled
final Boolean getEnabled()
Is the Faq enabled?
-
getCreationDate
final Instant getCreationDate()
Faq creation date
-
getUpdateDate
final Instant getUpdateDate()
Faq update date
-
getUtterances
final List<ClassifiedSentence> getUtterances()
Questions/Utterances list inspired by ClassifiedSentence
-
getFaq
final IntentDefinition getFaq()
The IntentDefinition identity of the faq
-
getStoryName
final String getStoryName()
The StoryDefinitionBase name of the faq
-
toFaqDefinitionDetailed
final FaqDefinitionDetailed toFaqDefinitionDetailed(FaqQueryResult faqQueryResult, I18nLabel i18nLabel)
Convert FaqQueryResult to FaqDefinitionDetailed with I18nLabel
-
-
-
-