Package com.mindee.v2.clientoptions
Class BaseProductParameters
- java.lang.Object
-
- com.mindee.v2.clientoptions.BaseProductParameters
-
- Direct Known Subclasses:
ClassificationParameters,CropParameters,ExtractionParameters,OcrParameters,SplitParameters
public abstract class BaseProductParameters extends Object
Base parameters for sending a file to a Mindee V2 product.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBaseProductParameters.BaseBuilder<T extends BaseProductParameters.BaseBuilder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseProductParameters(String modelId, String alias, String[] webhookIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetAlias()Optional: a free-form string to tag the request with your own identifier.StringgetModelId()Model ID to use for the inference.Map<String,String>getRequestParameters()String[]getWebhookIds()Webhook IDs to call after all processing is finished.inthashCode()StringtoString()
-
-
-
Field Detail
-
modelId
protected final String modelId
Model ID to use for the inference. Required.
-
alias
protected final String alias
Optional: a free-form string to tag the request with your own identifier. For example, an internal document ID, reference number, or database key. If set, it will be included in the job and result responses.
-
webhookIds
protected final String[] webhookIds
Webhook IDs to call after all processing is finished. If empty, no webhooks will be used.
-
-
Method Detail
-
getModelId
public String getModelId()
Model ID to use for the inference. Required.
-
getAlias
public String getAlias()
Optional: a free-form string to tag the request with your own identifier. For example, an internal document ID, reference number, or database key. If set, it will be included in the job and result responses.
-
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)
-
-