Class LLMObsDatasetRecordItem

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsDatasetRecordItem extends Object
A single record to append to an Agent Observability dataset.
  • Field Details

  • Constructor Details

    • LLMObsDatasetRecordItem

      public LLMObsDatasetRecordItem()
    • LLMObsDatasetRecordItem

      public LLMObsDatasetRecordItem(AnyValue input)
  • Method Details

    • expectedOutput

      public LLMObsDatasetRecordItem expectedOutput(AnyValue expectedOutput)
    • getExpectedOutput

      @Nullable public AnyValue getExpectedOutput()
      Represents any valid JSON value.
      Returns:
      expectedOutput
    • getExpectedOutput_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<AnyValue> getExpectedOutput_JsonNullable()
    • setExpectedOutput_JsonNullable

      public void setExpectedOutput_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<AnyValue> expectedOutput)
    • setExpectedOutput

      public void setExpectedOutput(AnyValue expectedOutput)
    • input

      public LLMObsDatasetRecordItem input(AnyValue input)
    • getInput

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

      public void setInput(AnyValue input)
    • metadata

      public LLMObsDatasetRecordItem metadata(Map<String,Object> metadata)
    • putMetadataItem

      public LLMObsDatasetRecordItem putMetadataItem(String key, Object metadataItem)
    • getMetadata

      @Nullable public Map<String,Object> getMetadata()
      Arbitrary metadata associated with the record.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
    • putAdditionalProperty

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