Class QueryUtterancesResult

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

public final class QueryUtterancesResult extends Object
Result for utterances query.
  • Constructor Details

    • QueryUtterancesResult

      public QueryUtterancesResult()
  • Method Details

    • sampleUtterance

      public SampleUtterance sampleUtterance()
      Get the sampleUtterance property: A sample utterance.
      Returns:
      the sampleUtterance value.
    • 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.
    • score

      public Float score()
      Get the score property: Score of a sample utterance.
      Returns:
      the score value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.