Package com.datadog.api.client.v2.model
Class LLMObsLabelSchema
java.lang.Object
com.datadog.api.client.v2.model.LLMObsLabelSchema
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsLabelSchema
extends Object
Schema definition for a single label in an annotation queue.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValuesItem(String valuesItem) description(String description) booleanReturn true if this LLMObsLabelSchema object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Description of the label.Whether this label includes an assessment field.Whether this label includes a reasoning field.getId()Unique identifier of the label schema.Whether the boolean label represents an assessment.Whether score values must be integers.Whether this label is required for an annotation.getMax()Maximum value for score-type labels.getMin()Minimum value for score-type labels.getName()Name of the label.getType()Type of a label in an annotation queue label schema.Allowed values for categorical-type labels.hasAssessment(Boolean hasAssessment) inthashCode()hasReasoning(Boolean hasReasoning) isAssessment(Boolean isAssessment) isRequired(Boolean isRequired) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetHasAssessment(Boolean hasAssessment) voidsetHasReasoning(Boolean hasReasoning) voidvoidsetIsAssessment(Boolean isAssessment) voidsetIsInteger(Boolean isInteger) voidsetIsRequired(Boolean isRequired) voidvoidvoidvoidsetType(LLMObsLabelSchemaType type) voidtoString()type(LLMObsLabelSchemaType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_HAS_ASSESSMENT
- See Also:
-
JSON_PROPERTY_HAS_REASONING
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IS_ASSESSMENT
- See Also:
-
JSON_PROPERTY_IS_INTEGER
- See Also:
-
JSON_PROPERTY_IS_REQUIRED
- See Also:
-
JSON_PROPERTY_MAX
- See Also:
-
JSON_PROPERTY_MIN
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALUES
- See Also:
-
-
Constructor Details
-
LLMObsLabelSchema
public LLMObsLabelSchema() -
LLMObsLabelSchema
-
-
Method Details
-
description
-
getDescription
Description of the label.- Returns:
- description
-
setDescription
-
hasAssessment
-
getHasAssessment
Whether this label includes an assessment field.- Returns:
- hasAssessment
-
setHasAssessment
-
hasReasoning
-
getHasReasoning
Whether this label includes a reasoning field.- Returns:
- hasReasoning
-
setHasReasoning
-
id
-
getId
Unique identifier of the label schema. Assigned by the server if not provided.- Returns:
- id
-
setId
-
isAssessment
-
getIsAssessment
Whether the boolean label represents an assessment. Requireshas_assessmentto be true.- Returns:
- isAssessment
-
setIsAssessment
-
isInteger
-
getIsInteger
Whether score values must be integers. Applicable to score-type labels.- Returns:
- isInteger
-
setIsInteger
-
isRequired
-
getIsRequired
Whether this label is required for an annotation.- Returns:
- isRequired
-
setIsRequired
-
max
-
getMax
Maximum value for score-type labels.- Returns:
- max
-
setMax
-
min
-
getMin
Minimum value for score-type labels.- Returns:
- min
-
setMin
-
name
-
getName
Name of the label. Must match the pattern^[a-zA-Z0-9_-]+$and be unique within the queue.- Returns:
- name
-
setName
-
type
-
getType
Type of a label in an annotation queue label schema.- Returns:
- type
-
setType
-
values
-
addValuesItem
-
getValues
Allowed values for categorical-type labels. Must contain at least one non-empty, unique value.- Returns:
- values
-
setValues
-
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:
- LLMObsLabelSchema
-
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 LLMObsLabelSchema object is equal to o. -
hashCode
public int hashCode() -
toString
-