V2modelsIntentOutputContext class

Constructors

V2modelsIntentOutputContext({required Input<String> name, required Input<int> timeToLiveInSeconds, required Input<int> turnsToLive})
Creates a new V2modelsIntentOutputContext. name Name of the output context. timeToLiveInSeconds Amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user. turnsToLive Number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.
const
V2modelsIntentOutputContext.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
Name of the output context.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeToLiveInSeconds → Input<int>
Amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.
final
turnsToLive → Input<int>
Number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited