Package ai.extend.types
Class ExtractorVersion
- java.lang.Object
-
- ai.extend.types.ExtractorVersion
-
public final class ExtractorVersion extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExtractorVersion._FinalStagestatic classExtractorVersion.Builderstatic interfaceExtractorVersion.ConfigStagestatic interfaceExtractorVersion.CreatedAtStagestatic interfaceExtractorVersion.ExtractorIdStagestatic interfaceExtractorVersion.IdStagestatic interfaceExtractorVersion.VersionStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtractorVersion.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()ExtractConfiggetConfig()java.time.OffsetDateTimegetCreatedAt()java.util.Optional<java.lang.String>getDescription()java.lang.StringgetExtractorId()java.lang.StringgetId()java.lang.StringgetObject()java.lang.StringgetVersion()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getObject
public java.lang.String getObject()
- Returns:
- The type of object. Will always be
"extractor_version".
-
getId
public java.lang.String getId()
- Returns:
- The unique identifier for this version of the extractor.
Example:
"exv_xK9mLPqRtN3vS8wF5hB2cQ"
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
- Returns:
- A description of this version of the extractor.
Example:
"Updated extraction fields for new invoice format"
-
getVersion
public java.lang.String getVersion()
- Returns:
- The version number or identifier for this specific version of the extractor. The draft version will have version="draft".
Examples:
"1.0","2.1","draft"
-
getConfig
public ExtractConfig getConfig()
- Returns:
- The configuration settings for this version of the extractor.
-
getExtractorId
public java.lang.String getExtractorId()
- Returns:
- The ID of the extractor that this version belongs to.
Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"
-
getCreatedAt
public java.time.OffsetDateTime getCreatedAt()
-
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 ExtractorVersion.IdStage builder()
-
-