ActiveContextTimeToLive class
The length of time or number of turns that a context remains active.
Constructors
- ActiveContextTimeToLive({int? timeToLiveInSeconds, int? turnsToLive})
-
ActiveContextTimeToLive.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeToLiveInSeconds → int?
-
The number of seconds that the context should be active after it is first
sent in a
PostContent
orPostText
response. You can set the value between 5 and 86,400 seconds (24 hours).final - turnsToLive → int?
-
The number of conversation turns that the context should be active. A
conversation turn is one
PostContent
orPostText
request and the corresponding response from Amazon Lex.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited