Condividi tramite


QueryUtterancesResult Class

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

Implements

public final class QueryUtterancesResult
implements JsonSerializable<QueryUtterancesResult>

Result for utterances query.

Method Summary

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

Reads an instance of QueryUtterancesResult from the JsonReader.

SampleUtterance sampleUtterance()

Get the sampleUtterance property: A sample utterance.

Float score()

Get the score property: Score of a sample utterance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static QueryUtterancesResult fromJson(JsonReader jsonReader)

Reads an instance of QueryUtterancesResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QueryUtterancesResult 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 QueryUtterancesResult.

sampleUtterance

public SampleUtterance sampleUtterance()

Get the sampleUtterance property: A sample utterance.

Returns:

the sampleUtterance value.

score

public Float score()

Get the score property: Score of a sample utterance.

Returns:

the score value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to