Package com.mindee.v2.parsing.inference
Class FailedInferenceResponse
- java.lang.Object
-
- com.mindee.v2.parsing.CommonResponse
-
- com.mindee.v2.parsing.inference.FailedInferenceResponse
-
public class FailedInferenceResponse extends CommonResponse
Represents an asynchronous polling response.
-
-
Constructor Summary
Constructors Constructor Description FailedInferenceResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)LocalDateTimegetCreatedAt()Date and time when the inference was started.ErrorResponsegetError()Problem details for the failure, if available.StringgetFileAlias()Alias sent for the file, if anyStringgetFileName()Name of the input file.StringgetInferenceId()UUID of the failed inference.StringgetModelId()UUID of the model used.inthashCode()voidsetCreatedAt(LocalDateTime createdAt)Date and time when the inference was started.voidsetError(ErrorResponse error)Problem details for the failure, if available.voidsetFileAlias(String fileAlias)Alias sent for the file, if anyvoidsetFileName(String fileName)Name of the input file.voidsetInferenceId(String inferenceId)UUID of the failed inference.voidsetModelId(String modelId)UUID of the model used.StringtoString()-
Methods inherited from class com.mindee.v2.parsing.CommonResponse
getRawResponse, setRawResponse
-
-
-
-
Method Detail
-
getInferenceId
public String getInferenceId()
UUID of the failed inference.
-
getModelId
public String getModelId()
UUID of the model used.
-
getFileName
public String getFileName()
Name of the input file.
-
getFileAlias
public String getFileAlias()
Alias sent for the file, if any
-
getError
public ErrorResponse getError()
Problem details for the failure, if available.
-
getCreatedAt
public LocalDateTime getCreatedAt()
Date and time when the inference was started.
-
setInferenceId
public void setInferenceId(String inferenceId)
UUID of the failed inference.
-
setModelId
public void setModelId(String modelId)
UUID of the model used.
-
setFileName
public void setFileName(String fileName)
Name of the input file.
-
setFileAlias
public void setFileAlias(String fileAlias)
Alias sent for the file, if any
-
setError
public void setError(ErrorResponse error)
Problem details for the failure, if available.
-
setCreatedAt
public void setCreatedAt(LocalDateTime createdAt)
Date and time when the inference was started.
-
toString
public String toString()
- Overrides:
toStringin classCommonResponse
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCommonResponse
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classCommonResponse
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCommonResponse
-
-