QueryParameters class
Represents the parameters of the conversational query.
- Annotations
-
- @JsonSerializable()
Constructors
-
QueryParameters({String? timeZone, LatLng? geoLocation, List<
Context> ? contexts, bool? resetContexts, List<SessionEntityType> ? sessionEntityTypes, Map<String, dynamic> ? payload, SentimentAnalysisRequestConfig? sentimentAnalysisRequestConfig}) - Represents the parameters of the conversational query.
-
QueryParameters.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
contexts
→ List<
Context> ? -
The collection of contexts to be activated before this query is executed.
final
- geoLocation → LatLng?
-
The geo location of this conversational query.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
payload
→ Map<
String, dynamic> ? -
This field can be used to pass custom data to your webhook.
Arbitrary JSON objects are supported.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- resetContexts → bool?
-
Specifies whether to delete all contexts in the current session before
the new ones are activated.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sentimentAnalysisRequestConfig → SentimentAnalysisRequestConfig?
-
Configures the type of sentiment analysis to perform.
final
-
sessionEntityTypes
→ List<
SessionEntityType> ? -
Additional session entity types to replace or extend developer entity
types with.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - timeZone → String?
-
The time zone of this conversational query from the
time zone database,
e.g., America/New_York, Europe/Paris. If not provided, the time zone
specified in agent settings is used.
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