Package com.mindee.v2.clientoptions
Class BaseParameters
- java.lang.Object
-
- com.mindee.v2.clientoptions.BaseParameters
-
- Direct Known Subclasses:
ClassificationParameters,CropParameters,ExtractionParameters,OcrParameters,SplitParameters
public abstract class BaseParameters extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBaseParameters.BaseBuilder<T extends BaseParameters.BaseBuilder<T>>
-
Constructor Summary
Constructors Constructor Description BaseParameters(String modelId, String alias, String[] webhookIds)Creates a newBaseParametersinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hc.client5.http.entity.mime.MultipartEntityBuilderbuildHttpBody(org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder builder)protected booleancanEqual(Object other)booleanequals(Object o)StringgetAlias()Optional alias for the file.StringgetModelId()Model ID to use for the inference (required).String[]getWebhookIds()Webhook IDs to call after all processing is finished.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
BaseParameters
public BaseParameters(String modelId, String alias, String[] webhookIds)
Creates a newBaseParametersinstance.- Parameters:
modelId- Model ID to use for the inference (required).alias- Optional alias for the file.webhookIds- Webhook IDs to call after all processing is finished. If empty, no webhooks will be used.
-
-
Method Detail
-
buildHttpBody
public org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder buildHttpBody(org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder builder)
-
getModelId
public String getModelId()
Model ID to use for the inference (required).
-
getAlias
public String getAlias()
Optional alias for the file.
-
getWebhookIds
public String[] getWebhookIds()
Webhook IDs to call after all processing is finished. If empty, no webhooks will be used.
-
canEqual
protected boolean canEqual(Object other)
-
-