Package com.datadog.api.client.v2.model
Class LLMObsAnnotationLabelValueResponse
java.lang.Object
com.datadog.api.client.v2.model.LLMObsAnnotationLabelValueResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsAnnotationLabelValueResponse
extends Object
A single label value entry in an annotation response. In addition to the submitted fields, the
server populates
type and name_when_saved to mirror the schema state at
the time the annotation was created — these help clients display values correctly when the schema
has since changed.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsAnnotationLabelValueResponse(String labelSchemaId, LLMObsAnnotationLabelValueValue value) -
Method Summary
Modifier and TypeMethodDescriptionassessment(LLMObsAnnotationAssessment assessment) booleanReturn true if this LLMObsAnnotationLabelValueResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Assessment result for a label value.ID of the label schema this value corresponds to.Name of the label schema at the time the annotation was created.Free text reasoning for this label value.getType()Type of a label in an annotation queue label schema.getValue()The value for this label.inthashCode()labelSchemaId(String labelSchemaId) nameWhenSaved(String nameWhenSaved) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAssessment(LLMObsAnnotationAssessment assessment) voidsetLabelSchemaId(String labelSchemaId) voidsetNameWhenSaved(String nameWhenSaved) voidsetReasoning(String reasoning) voidsetType(LLMObsLabelSchemaType type) voidtoString()type(LLMObsLabelSchemaType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSESSMENT
- See Also:
-
JSON_PROPERTY_LABEL_SCHEMA_ID
- See Also:
-
JSON_PROPERTY_NAME_WHEN_SAVED
- See Also:
-
JSON_PROPERTY_REASONING
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
LLMObsAnnotationLabelValueResponse
public LLMObsAnnotationLabelValueResponse() -
LLMObsAnnotationLabelValueResponse
public LLMObsAnnotationLabelValueResponse(String labelSchemaId, LLMObsAnnotationLabelValueValue value)
-
-
Method Details
-
assessment
-
getAssessment
Assessment result for a label value.- Returns:
- assessment
-
setAssessment
-
labelSchemaId
-
getLabelSchemaId
ID of the label schema this value corresponds to.- Returns:
- labelSchemaId
-
setLabelSchemaId
-
nameWhenSaved
-
getNameWhenSaved
Name of the label schema at the time the annotation was created.- Returns:
- nameWhenSaved
-
setNameWhenSaved
-
reasoning
-
getReasoning
Free text reasoning for this label value.- Returns:
- reasoning
-
setReasoning
-
type
-
getType
Type of a label in an annotation queue label schema.- Returns:
- type
-
setType
-
value
-
getValue
The value for this label. Must comply with the label schema type constraints.- Returns:
- value
-
setValue
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- LLMObsAnnotationLabelValueResponse
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this LLMObsAnnotationLabelValueResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-