Condividi tramite


QueryUtterancesResults Class

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

Implements

public final class QueryUtterancesResults
implements JsonSerializable<QueryUtterancesResults>

Suggested utterances where the detector can be applicable.

Method Summary

Modifier and Type Method and Description
static QueryUtterancesResults fromJson(JsonReader jsonReader)

Reads an instance of QueryUtterancesResults from the JsonReader.

String query()

Get the query property: Search Query.

List<QueryUtterancesResult> results()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static QueryUtterancesResults fromJson(JsonReader jsonReader)

Reads an instance of QueryUtterancesResults from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QueryUtterancesResults if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the QueryUtterancesResults.

query

public String query()

Get the query property: Search Query.

Returns:

the query value.

results

public List<QueryUtterancesResult> results()

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

Returns:

the results value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to