Class QueryUtterancesResult
java.lang.Object
com.azure.resourcemanager.appservice.models.QueryUtterancesResult
Result for utterances query.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the sampleUtterance property: A sample utterance.score()
Get the score property: Score of a sample utterance.void
validate()
Validates the instance.withSampleUtterance
(SampleUtterance sampleUtterance) Set the sampleUtterance property: A sample utterance.Set the score property: Score of a sample utterance.
-
Constructor Details
-
QueryUtterancesResult
public QueryUtterancesResult()
-
-
Method Details
-
sampleUtterance
Get the sampleUtterance property: A sample utterance.- Returns:
- the sampleUtterance value.
-
withSampleUtterance
Set the sampleUtterance property: A sample utterance.- Parameters:
sampleUtterance
- the sampleUtterance value to set.- Returns:
- the QueryUtterancesResult object itself.
-
score
Get the score property: Score of a sample utterance.- Returns:
- the score value.
-
withScore
Set the score property: Score of a sample utterance.- Parameters:
score
- the score value to set.- Returns:
- the QueryUtterancesResult object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-