Class LLMObsExperimentSpanMeta

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsExperimentSpanMeta extends Object
Metadata associated with an experiment span.
  • Field Details

  • Constructor Details

    • LLMObsExperimentSpanMeta

      public LLMObsExperimentSpanMeta()
  • Method Details

    • error

    • getError

      @Nullable public LLMObsExperimentSpanError getError()
      Error details for an experiment span.
      Returns:
      error
    • setError

      public void setError(LLMObsExperimentSpanError error)
    • expectedOutput

      public LLMObsExperimentSpanMeta expectedOutput(Map<String,Object> expectedOutput)
    • putExpectedOutputItem

      public LLMObsExperimentSpanMeta putExpectedOutputItem(String key, Object expectedOutputItem)
    • getExpectedOutput

      @Nullable public Map<String,Object> getExpectedOutput()
      Expected output for the span, used for evaluation.
      Returns:
      expectedOutput
    • setExpectedOutput

      public void setExpectedOutput(Map<String,Object> expectedOutput)
    • input

      public LLMObsExperimentSpanMeta input(AnyValue input)
    • getInput

      @Nullable public AnyValue getInput()
      Represents any valid JSON value.
      Returns:
      input
    • getInput_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<AnyValue> getInput_JsonNullable()
    • setInput_JsonNullable

      public void setInput_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<AnyValue> input)
    • setInput

      public void setInput(AnyValue input)
    • output

      public LLMObsExperimentSpanMeta output(AnyValue output)
    • getOutput

      @Nullable public AnyValue getOutput()
      Represents any valid JSON value.
      Returns:
      output
    • getOutput_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<AnyValue> getOutput_JsonNullable()
    • setOutput_JsonNullable

      public void setOutput_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<AnyValue> output)
    • setOutput

      public void setOutput(AnyValue output)
    • putAdditionalProperty

      public LLMObsExperimentSpanMeta 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:
      LLMObsExperimentSpanMeta
    • 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 LLMObsExperimentSpanMeta 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