Package com.mindee.parsing.v2
Class Job
- java.lang.Object
-
- com.mindee.parsing.v2.Job
-
public final class Job extends Object
Information on the processing of a file sent to the Mindee API.
-
-
Constructor Summary
Constructors Constructor Description Job()Job(LocalDateTime createdAt, LocalDateTime completedAt, String id, String status, ErrorResponse error, String modelId, String fileName, String fileAlias, String pollingUrl, String resultUrl, List<JobWebhook> webhooks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LocalDateTimegetCompletedAt()Date and time of the Job completion.LocalDateTimegetCreatedAt()Date and time of the Job creation.ErrorResponsegetError()Status of the job.StringgetFileAlias()Optional alias of the file.StringgetFileName()Name of the file.StringgetId()ID of the job.StringgetModelId()ID of the model.StringgetPollingUrl()Polling URL.StringgetResultUrl()Result URL, when available.StringgetStatus()Status of the job.List<JobWebhook>getWebhooks()Polling URL.inthashCode()
-
-
-
Constructor Detail
-
Job
public Job(LocalDateTime createdAt, LocalDateTime completedAt, String id, String status, ErrorResponse error, String modelId, String fileName, String fileAlias, String pollingUrl, String resultUrl, List<JobWebhook> webhooks)
-
Job
public Job()
-
-
Method Detail
-
getCreatedAt
public LocalDateTime getCreatedAt()
Date and time of the Job creation.
-
getCompletedAt
public LocalDateTime getCompletedAt()
Date and time of the Job completion. Filled once processing is finished.
-
getId
public String getId()
ID of the job.
-
getStatus
public String getStatus()
Status of the job.
-
getError
public ErrorResponse getError()
Status of the job.
-
getModelId
public String getModelId()
ID of the model.
-
getFileName
public String getFileName()
Name of the file.
-
getFileAlias
public String getFileAlias()
Optional alias of the file.
-
getPollingUrl
public String getPollingUrl()
Polling URL.
-
getResultUrl
public String getResultUrl()
Result URL, when available.
-
getWebhooks
public List<JobWebhook> getWebhooks()
Polling URL.
-
-