Class Job


  • public final class Job
    extends Object
    Information on the processing of a file sent to the Mindee API.
    • 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)
        Creates a new Job instance.
        Parameters:
        createdAt - Date and time of the Job creation.
        completedAt - Date and time of the Job completion. Filled once processing is finished.
        id - ID of the job.
        status - Status of the job.
        error - Status of the job.
        modelId - ID of the model.
        fileName - Name of the file.
        fileAlias - Optional alias of the file.
        pollingUrl - Polling URL.
        resultUrl - Result URL, when available.
        webhooks - Polling URL.
      • 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.
      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object