QueryUtterancesResults Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.QueryUtterancesResults

public final class QueryUtterancesResults

Suggested utterances where the detector can be applicable.

Constructor Summary

Constructor Description
QueryUtterancesResults()

Creates an instance of QueryUtterancesResults class.

Method Summary

Modifier and Type Method and Description
String query()

Get the query property: Search Query.

List<QueryUtterancesResult> results()

Get the results property: Array of utterance results for search query.

void validate()

Validates the instance.

QueryUtterancesResults withQuery(String query)

Set the query property: Search Query.

QueryUtterancesResults 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

query

public String query()

Get the query property: Search Query.

Returns:

the query value.

results

public List results()

Get the results property: Array of utterance results for search query.

Returns:

the results value.

validate

public void validate()

Validates the instance.

withQuery

public QueryUtterancesResults withQuery(String query)

Set the query property: Search Query.

Parameters:

query - the query value to set.

Returns:

the QueryUtterancesResults object itself.

withResults

public QueryUtterancesResults withResults(List results)

Set the results property: Array of utterance results for search query.

Parameters:

results - the results value to set.

Returns:

the QueryUtterancesResults object itself.

Applies to