Class LLMObsCustomEvalConfigAssessmentCriteria

java.lang.Object
com.datadog.api.client.v2.model.LLMObsCustomEvalConfigAssessmentCriteria

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsCustomEvalConfigAssessmentCriteria extends Object
Criteria used to assess the pass/fail result of a custom evaluator.
  • Field Details

  • Constructor Details

    • LLMObsCustomEvalConfigAssessmentCriteria

      public LLMObsCustomEvalConfigAssessmentCriteria()
  • Method Details

    • maxThreshold

      public LLMObsCustomEvalConfigAssessmentCriteria maxThreshold(Double maxThreshold)
    • getMaxThreshold

      @Nullable public Double getMaxThreshold()
      Maximum numeric threshold for a passing result.
      Returns:
      maxThreshold
    • getMaxThreshold_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getMaxThreshold_JsonNullable()
    • setMaxThreshold_JsonNullable

      public void setMaxThreshold_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> maxThreshold)
    • setMaxThreshold

      public void setMaxThreshold(Double maxThreshold)
    • minThreshold

      public LLMObsCustomEvalConfigAssessmentCriteria minThreshold(Double minThreshold)
    • getMinThreshold

      @Nullable public Double getMinThreshold()
      Minimum numeric threshold for a passing result.
      Returns:
      minThreshold
    • getMinThreshold_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getMinThreshold_JsonNullable()
    • setMinThreshold_JsonNullable

      public void setMinThreshold_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> minThreshold)
    • setMinThreshold

      public void setMinThreshold(Double minThreshold)
    • passValues

      public LLMObsCustomEvalConfigAssessmentCriteria passValues(List<String> passValues)
    • addPassValuesItem

      public LLMObsCustomEvalConfigAssessmentCriteria addPassValuesItem(String passValuesItem)
    • getPassValues

      @Nullable public List<String> getPassValues()
      Specific output values considered as a passing result.
      Returns:
      passValues
    • getPassValues_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getPassValues_JsonNullable()
    • setPassValues_JsonNullable

      public void setPassValues_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> passValues)
    • setPassValues

      public void setPassValues(List<String> passValues)
    • passWhen

    • getPassWhen

      @Nullable public Boolean getPassWhen()
      When true, a boolean output of true is treated as passing.
      Returns:
      passWhen
    • getPassWhen_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getPassWhen_JsonNullable()
    • setPassWhen_JsonNullable

      public void setPassWhen_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> passWhen)
    • setPassWhen

      public void setPassWhen(Boolean passWhen)
    • putAdditionalProperty

      public LLMObsCustomEvalConfigAssessmentCriteria putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      LLMObsCustomEvalConfigAssessmentCriteria
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this LLMObsCustomEvalConfigAssessmentCriteria object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object