Package ai.extend.types
Class LegacyExtractionField
- java.lang.Object
-
- ai.extend.types.LegacyExtractionField
-
public final class LegacyExtractionField extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLegacyExtractionField._FinalStagestatic classLegacyExtractionField.Builderstatic interfaceLegacyExtractionField.DescriptionStagestatic interfaceLegacyExtractionField.IdStagestatic interfaceLegacyExtractionField.NameStagestatic interfaceLegacyExtractionField.TypeStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LegacyExtractionField.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetDescription()java.util.Optional<java.util.List<Enum>>getEnum()java.lang.StringgetId()java.lang.StringgetName()java.util.Optional<java.util.List<LegacyExtractionField>>getSchema()LegacyExtractionFieldTypegetType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- Unique identifier for the field.
-
getName
public java.lang.String getName()
- Returns:
- Human-readable name for the field.
-
getType
public LegacyExtractionFieldType getType()
- Returns:
- The type of the field.
-
getDescription
public java.lang.String getDescription()
- Returns:
- Detailed description of the field, including expected content and format.
-
getSchema
public java.util.Optional<java.util.List<LegacyExtractionField>> getSchema()
- Returns:
- Required when type is "array" or "object". Contains nested field definitions.
-
getEnum
public java.util.Optional<java.util.List<Enum>> getEnum()
- Returns:
- Required when type is "enum". List of allowed values.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static LegacyExtractionField.IdStage builder()
-
-