public class NextUserActionState
The temporary initial state for next user action.
public NextUserActionState(@Nullable
java.util.List<ai.tock.nlp.api.client.model.NlpIntentQualifier> intentsQualifiers,
@Nullable
java.time.ZonedDateTime referenceDate,
@Nullable
java.time.ZoneId referenceTimezone,
@Nullable
java.util.Set<java.lang.String> states)
The temporary initial state for next user action.
intentsQualifiers - Next sentence will be analysed for these intents.referenceDate - Entity parsing will use this date as reference.referenceTimezone - Entity parsing will use this referenceTimezone as reference.states - NLP query states.public NextUserActionState()
The temporary initial state for next user action.
public NextUserActionState(@NotNull
java.util.Map<? extends ai.tock.bot.definition.IntentAware,java.lang.Double> intentsQualifiers,
@Nullable
java.time.ZonedDateTime referenceDate,
@Nullable
java.time.ZoneId referenceTimezone,
@Nullable
java.util.Set<java.lang.String> states)
Build NextUserActionState from interface IntentAware/modifier map (in order to build NlpIntentQualifier).
interface IntentAwarepublic NextUserActionState(@NotNull
kotlin.Pair... intentsQualifiers)
Build NextUserActionState from interface IntentAware/modifier list (in order to build NlpIntentQualifier).
interface IntentAwarepublic NextUserActionState(@NotNull
java.lang.String... states)
Build NextUserActionState from list of current states.
@Nullable public java.util.List<ai.tock.nlp.api.client.model.NlpIntentQualifier> getIntentsQualifiers()
Next sentence will be analysed for these intents.
public void setIntentsQualifiers(@Nullable
java.util.List<ai.tock.nlp.api.client.model.NlpIntentQualifier> p)
Next sentence will be analysed for these intents.
p - Next sentence will be analysed for these intents.@Nullable public java.time.ZonedDateTime getReferenceDate()
Entity parsing will use this date as reference.
public void setReferenceDate(@Nullable
java.time.ZonedDateTime p)
Entity parsing will use this date as reference.
p - Entity parsing will use this date as reference.@Nullable public java.time.ZoneId getReferenceTimezone()
Entity parsing will use this referenceTimezone as reference.
public void setReferenceTimezone(@Nullable
java.time.ZoneId p)
Entity parsing will use this referenceTimezone as reference.
p - Entity parsing will use this referenceTimezone as reference.@Nullable public java.util.Set<java.lang.String> getStates()
NLP query states.
public void setStates(@Nullable
java.util.Set<java.lang.String> p)
NLP query states.
p - NLP query states.@Nullable public java.util.List<ai.tock.nlp.api.client.model.NlpIntentQualifier> component1()
Next sentence will be analysed for these intents.
@Nullable public java.time.ZonedDateTime component2()
Entity parsing will use this date as reference.
@Nullable public java.time.ZoneId component3()
Entity parsing will use this referenceTimezone as reference.
@Nullable public java.util.Set<java.lang.String> component4()
NLP query states.
@NotNull public NextUserActionState copy(@Nullable java.util.List<ai.tock.nlp.api.client.model.NlpIntentQualifier> intentsQualifiers, @Nullable java.time.ZonedDateTime referenceDate, @Nullable java.time.ZoneId referenceTimezone, @Nullable java.util.Set<java.lang.String> states)
The temporary initial state for next user action.
@NotNull public java.lang.String toString()
The temporary initial state for next user action.
public int hashCode()
The temporary initial state for next user action.
public boolean equals(@Nullable
java.lang.Object p)
The temporary initial state for next user action.