Package ai.extend.types
Class LegacyProcessor
- java.lang.Object
-
- ai.extend.types.LegacyProcessor
-
public final class LegacyProcessor extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLegacyProcessor._FinalStagestatic classLegacyProcessor.Builderstatic interfaceLegacyProcessor.CreatedAtStagestatic interfaceLegacyProcessor.DraftVersionStagestatic interfaceLegacyProcessor.IdStagestatic interfaceLegacyProcessor.NameStagestatic interfaceLegacyProcessor.ObjectStagestatic interfaceLegacyProcessor.TypeStagestatic interfaceLegacyProcessor.UpdatedAtStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LegacyProcessor.ObjectStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.time.OffsetDateTimegetCreatedAt()LegacyProcessorVersiongetDraftVersion()java.lang.StringgetId()java.lang.StringgetName()java.lang.StringgetObject()LegacyProcessorTypegetType()java.time.OffsetDateTimegetUpdatedAt()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getObject
public java.lang.String getObject()
- Returns:
- The type of response. In this case, it will always be
"document_processor".
-
getId
public java.lang.String getId()
- Returns:
- The ID of the processor.
Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"
-
getName
public java.lang.String getName()
- Returns:
- The name of the processor.
Example:
"Invoice Processor"
-
getType
public LegacyProcessorType getType()
-
getCreatedAt
public java.time.OffsetDateTime getCreatedAt()
- Returns:
- The time (in UTC) at which the processor was created. Will follow the RFC 3339 format.
Example:
"2024-03-21T15:30:00Z"
-
getUpdatedAt
public java.time.OffsetDateTime getUpdatedAt()
- Returns:
- The time (in UTC) at which the processor was last updated. Will follow the RFC 3339 format.
Example:
"2024-03-21T16:45:00Z"
-
getDraftVersion
public LegacyProcessorVersion getDraftVersion()
-
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 LegacyProcessor.ObjectStage builder()
-
-