QueryUtterancesResults Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. QueryUtterancesResults
- com.
Implements
public final class QueryUtterancesResults
implements JsonSerializable<QueryUtterancesResults>
Suggested utterances where the detector can be applicable.
Constructor Summary
Constructor | Description |
---|---|
QueryUtterancesResults() |
Creates an instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
String |
query()
Get the query property: Search Query. |
List<Query |
results()
Get the results property: Array of utterance results for search query. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Query |
withQuery(String query)
Set the query property: Search Query. |
Query |
withResults(List<QueryUtterancesResult> results)
Set the results property: Array of utterance results for search query. |
Methods inherited from java.lang.Object
Constructor Details
QueryUtterancesResults
public QueryUtterancesResults()
Creates an instance of QueryUtterancesResults class.
Method Details
fromJson
public static QueryUtterancesResults fromJson(JsonReader jsonReader)
Reads an instance of QueryUtterancesResults from the JsonReader.
Parameters:
Returns:
Throws:
query
public String query()
Get the query property: Search Query.
Returns:
results
public List
Get the results property: Array of utterance results for search query.
Returns:
toJson
validate
public void validate()
Validates the instance.
withQuery
public QueryUtterancesResults withQuery(String query)
Set the query property: Search Query.
Parameters:
Returns:
withResults
public QueryUtterancesResults withResults(List
Set the results property: Array of utterance results for search query.
Parameters:
Returns:
Applies to
Azure SDK for Java