@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public final class AnalyzeDocumentResult extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The document analysis results.
Note: Objects should always be created or deserialized using the AnalyzeDocumentResult.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the AnalyzeDocumentResult.Builder
, which maintain a
set of all explicitly set fields called AnalyzeDocumentResult.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AnalyzeDocumentResult.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AnalyzeDocumentResult(DocumentMetadata documentMetadata,
List<Page> pages,
List<DetectedDocumentType> detectedDocumentTypes,
List<DetectedLanguage> detectedLanguages,
String documentClassificationModelVersion,
String languageClassificationModelVersion,
String textDetectionModelVersion,
String keyValueDetectionModelVersion,
String tableDetectionModelVersion,
List<ProcessingError> errors,
byte[] searchablePdf)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AnalyzeDocumentResult.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<DetectedDocumentType> |
getDetectedDocumentTypes()
An array of detected document types.
|
List<DetectedLanguage> |
getDetectedLanguages()
An array of detected languages.
|
String |
getDocumentClassificationModelVersion()
The document classification model version.
|
DocumentMetadata |
getDocumentMetadata() |
List<ProcessingError> |
getErrors()
The errors encountered during document analysis.
|
String |
getKeyValueDetectionModelVersion()
The document keyValue detection model version.
|
String |
getLanguageClassificationModelVersion()
The document language classification model version.
|
List<Page> |
getPages()
The array of a Page.
|
byte[] |
getSearchablePdf()
The searchable PDF file that was generated.
|
String |
getTableDetectionModelVersion()
The document table detection model version.
|
String |
getTextDetectionModelVersion()
The document text detection model version.
|
int |
hashCode() |
AnalyzeDocumentResult.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"documentMetadata","pages","detectedDocumentTypes","detectedLanguages","documentClassificationModelVersion","languageClassificationModelVersion","textDetectionModelVersion","keyValueDetectionModelVersion","tableDetectionModelVersion","errors","searchablePdf"}) public AnalyzeDocumentResult(DocumentMetadata documentMetadata, List<Page> pages, List<DetectedDocumentType> detectedDocumentTypes, List<DetectedLanguage> detectedLanguages, String documentClassificationModelVersion, String languageClassificationModelVersion, String textDetectionModelVersion, String keyValueDetectionModelVersion, String tableDetectionModelVersion, List<ProcessingError> errors, byte[] searchablePdf)
public static AnalyzeDocumentResult.Builder builder()
Create a new builder.
public AnalyzeDocumentResult.Builder toBuilder()
public DocumentMetadata getDocumentMetadata()
public List<DetectedDocumentType> getDetectedDocumentTypes()
An array of detected document types.
public List<DetectedLanguage> getDetectedLanguages()
An array of detected languages.
public String getDocumentClassificationModelVersion()
The document classification model version.
public String getLanguageClassificationModelVersion()
The document language classification model version.
public String getTextDetectionModelVersion()
The document text detection model version.
public String getKeyValueDetectionModelVersion()
The document keyValue detection model version.
public String getTableDetectionModelVersion()
The document table detection model version.
public List<ProcessingError> getErrors()
The errors encountered during document analysis.
public byte[] getSearchablePdf()
The searchable PDF file that was generated.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.