RED-8670: add features to status update
This commit is contained in:
parent
76c8e98384
commit
80dfa16103
@ -1,5 +1,8 @@
|
||||
package com.knecon.fforesight.service.ocr.v1.api.model;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Set;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@ -12,9 +15,16 @@ import lombok.NoArgsConstructor;
|
||||
public class OCRStatusUpdateResponse {
|
||||
|
||||
private String fileId;
|
||||
private Set<AzureOcrFeature> features;
|
||||
private int numberOfPagesToOCR;
|
||||
private int numberOfOCRedPages;
|
||||
private boolean ocrFinished;
|
||||
private boolean ocrStarted;
|
||||
|
||||
|
||||
public Set<AzureOcrFeature> getFeatures() {
|
||||
|
||||
return features == null ? Collections.emptySet() : features;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user