QueryUtterancesResult Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. QueryUtterancesResult
- com.
Implements
public final class QueryUtterancesResult
implements JsonSerializable<QueryUtterancesResult>
Result for utterances query.
Constructor | Description |
---|---|
Query |
Creates an instance of Query |
Modifier and Type | Method and Description |
---|---|
static
Query |
from Reads an instance of Query |
Sample |
sample Get the sample |
Float |
score()
Get the score property: Score of a sample utterance. |
Json |
to |
void |
validate()
Validates the instance. |
Query |
with Set the sample |
Query |
with Set the score property: Score of a sample utterance. |
Methods inherited from java.lang.Object
QueryUtterancesResult
public QueryUtterancesResult()
Creates an instance of QueryUtterancesResult class.
fromJson
public static QueryUtterancesResult fromJson(JsonReader jsonReader)
Reads an instance of QueryUtterancesResult from the JsonReader.
Parameters:
Returns:
Throws:
sampleUtterance
public SampleUtterance sampleUtterance()
Get the sampleUtterance property: A sample utterance.
Returns:
score
public Float score()
Get the score property: Score of a sample utterance.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSampleUtterance
public QueryUtterancesResult withSampleUtterance(SampleUtterance sampleUtterance)
Set the sampleUtterance property: A sample utterance.
Parameters:
Returns:
withScore
public QueryUtterancesResult withScore(Float score)
Set the score property: Score of a sample utterance.
Parameters:
Returns:
Azure SDK for Java feedback
Azure SDK for Java is an open source project. Select a link to provide feedback: