public class Snapshot
A "snapshot" is a readonly view of the state in the dialog, usually after a bot reply.
public Snapshot(@Nullable
java.lang.String storyDefinitionId,
@Nullable
java.lang.String intentName,
@Nullable
java.lang.String step,
@NotNull
java.util.List<ai.tock.bot.engine.dialog.EntityValue> entityValues,
@NotNull
java.time.Instant date)
A "snapshot" is a readonly view of the state in the dialog, usually after a bot reply.
public Snapshot(@NotNull
Dialog dialog)
public boolean hasValue(@NotNull
ai.tock.nlp.api.client.model.Entity entity)
Does this value exist in the snapshot?
@Nullable public EntityValue getValue(@NotNull ai.tock.nlp.api.client.model.Entity entity)
Returns the value if it exists.
@Nullable public java.lang.String getStoryDefinitionId()
@Nullable public java.lang.String getIntentName()
@Nullable public java.lang.String getStep()
@NotNull public java.util.List<ai.tock.bot.engine.dialog.EntityValue> getEntityValues()
@NotNull public java.time.Instant getDate()
@Nullable public java.lang.String component1()
@Nullable public java.lang.String component2()
@Nullable public java.lang.String component3()
@NotNull public java.util.List<ai.tock.bot.engine.dialog.EntityValue> component4()
@NotNull public java.time.Instant component5()
@NotNull public Snapshot copy(@Nullable java.lang.String storyDefinitionId, @Nullable java.lang.String intentName, @Nullable java.lang.String step, @NotNull java.util.List<ai.tock.bot.engine.dialog.EntityValue> entityValues, @NotNull java.time.Instant date)
A "snapshot" is a readonly view of the state in the dialog, usually after a bot reply.
@NotNull public java.lang.String toString()
A "snapshot" is a readonly view of the state in the dialog, usually after a bot reply.
public int hashCode()
A "snapshot" is a readonly view of the state in the dialog, usually after a bot reply.
public boolean equals(@Nullable
java.lang.Object p)
A "snapshot" is a readonly view of the state in the dialog, usually after a bot reply.