Class QueryUtterancesResults
java.lang.Object
com.azure.resourcemanager.appservice.models.QueryUtterancesResults
Suggested utterances where the detector can be applicable.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of QueryUtterancesResults class. -
Method Summary
Modifier and TypeMethodDescriptionquery()Get the query property: Search Query.results()Get the results property: Array of utterance results for search query.voidvalidate()Validates the instance.Set the query property: Search Query.withResults(List<QueryUtterancesResult> results) Set the results property: Array of utterance results for search query.
-
Constructor Details
-
QueryUtterancesResults
public QueryUtterancesResults()Creates an instance of QueryUtterancesResults class.
-
-
Method Details
-
query
Get the query property: Search Query.- Returns:
- the query value.
-
withQuery
Set the query property: Search Query.- Parameters:
query- the query value to set.- Returns:
- the QueryUtterancesResults object itself.
-
results
Get the results property: Array of utterance results for search query.- Returns:
- the results value.
-
withResults
Set the results property: Array of utterance results for search query.- Parameters:
results- the results value to set.- Returns:
- the QueryUtterancesResults object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-