QueryUtterancesResult Class

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

public final class QueryUtterancesResult

Result for utterances query.

Constructor Summary

Constructor Description
QueryUtterancesResult()

Creates an instance of QueryUtterancesResult class.

Method Summary

Modifier and Type Method and Description
SampleUtterance sampleUtterance()

Get the sampleUtterance property: A sample utterance.

Float score()

Get the score property: Score of a sample utterance.

void validate()

Validates the instance.

QueryUtterancesResult withSampleUtterance(SampleUtterance sampleUtterance)

Set the sampleUtterance property: A sample utterance.

QueryUtterancesResult withScore(Float score)

Set the score property: Score of a sample utterance.

Methods inherited from java.lang.Object

Constructor Details

QueryUtterancesResult

public QueryUtterancesResult()

Creates an instance of QueryUtterancesResult class.

Method Details

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.

validate

public void validate()

Validates the instance.

withSampleUtterance

public QueryUtterancesResult withSampleUtterance(SampleUtterance sampleUtterance)

Set the sampleUtterance property: A sample utterance.

Parameters:

sampleUtterance - the sampleUtterance value to set.

Returns:

the QueryUtterancesResult object itself.

withScore

public QueryUtterancesResult withScore(Float score)

Set the score property: Score of a sample utterance.

Parameters:

score - the score value to set.

Returns:

the QueryUtterancesResult object itself.

Applies to