Class ExtractorsCreateRequest
- java.lang.Object
-
- ai.extend.resources.extractors.requests.ExtractorsCreateRequest
-
public final class ExtractorsCreateRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExtractorsCreateRequest._FinalStagestatic classExtractorsCreateRequest.Builderstatic interfaceExtractorsCreateRequest.NameStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtractorsCreateRequest.NameStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getCloneExtractorId()java.util.Optional<ExtractConfigJson>getConfig()java.lang.StringgetName()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- The name of the extractor.
-
getCloneExtractorId
public java.util.Optional<java.lang.String> getCloneExtractorId()
- Returns:
- The ID of an existing extractor to clone. If provided, the new extractor will be created with the same config as the extractor with this ID. Cannot be provided together with
config.Example:
"ex_BMdfq_yWM3sT-ZzvCnA3f"
-
getConfig
public java.util.Optional<ExtractConfigJson> getConfig()
- Returns:
- The configuration for the extractor. Cannot be provided together with
cloneExtractorId.
-
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 ExtractorsCreateRequest.NameStage builder()
-
-