Package ai.tock.bot.engine.dialog
Class Dialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDialog.Companion
-
Field Summary
Fields Modifier and Type Field Description private final InstantlastDateUpdateprivate final StorycurrentStoryprivate final ActionlastActionprivate final ActionlastUserActionprivate final List<Snapshot>snapshotsprivate final IntegeractionsSizeprivate final Set<PlayerId>playerIdsprivate Id<Dialog>idprivate final DialogStatestateprivate final List<Story>storiesprivate final StringgroupIdprivate Integerratingprivate Stringreviewpublic final static Dialog.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final InstantgetLastDateUpdate()final StorygetCurrentStory()final ActiongetLastAction()final ActiongetLastUserAction()Returns last user action. final List<Snapshot>getSnapshots()The Snapshots of the dialog. final IntegergetActionsSize()final Set<PlayerId>getPlayerIds()The players of the dialog. final Id<Dialog>getId()The id of the dialog. final UnitsetId(Id<Dialog> id)The id of the dialog. final DialogStategetState()The state of the dialog. final List<Story>getStories()The history of stories in the dialog. final StringgetGroupId()An optional group identifier. final IntegergetRating()final UnitsetRating(Integer rating)final StringgetReview()final UnitsetReview(String review)final List<Action>allActions()All old actions. -
-
Method Detail
-
getLastDateUpdate
final Instant getLastDateUpdate()
-
getCurrentStory
final Story getCurrentStory()
-
getLastAction
final Action getLastAction()
-
getLastUserAction
final Action getLastUserAction()
Returns last user action.
-
getSnapshots
final List<Snapshot> getSnapshots()
The Snapshots of the dialog.
-
getActionsSize
final Integer getActionsSize()
-
getPlayerIds
final Set<PlayerId> getPlayerIds()
The players of the dialog.
-
getState
final DialogState getState()
The state of the dialog.
-
getStories
final List<Story> getStories()
The history of stories in the dialog.
-
getGroupId
final String getGroupId()
An optional group identifier.
-
allActions
final List<Action> allActions()
All old actions.
-
-
-
-