Class ClassifyDocumentRequest
java.lang.Object
com.azure.ai.documentintelligence.models.ClassifyDocumentRequest
Document classification parameters.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ClassifyDocumentRequest class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Get the base64Source property: Base64 encoding of the document to classify.Get the urlSource property: Document URL to classify.setBase64Source
(byte[] base64Source) Set the base64Source property: Base64 encoding of the document to classify.setUrlSource
(String urlSource) Set the urlSource property: Document URL to classify.
-
Constructor Details
-
ClassifyDocumentRequest
public ClassifyDocumentRequest()Creates an instance of ClassifyDocumentRequest class.
-
-
Method Details
-
getUrlSource
Get the urlSource property: Document URL to classify. Either urlSource or base64Source must be specified.- Returns:
- the urlSource value.
-
setUrlSource
Set the urlSource property: Document URL to classify. Either urlSource or base64Source must be specified.- Parameters:
urlSource
- the urlSource value to set.- Returns:
- the ClassifyDocumentRequest object itself.
-
getBase64Source
public byte[] getBase64Source()Get the base64Source property: Base64 encoding of the document to classify. Either urlSource or base64Source must be specified.- Returns:
- the base64Source value.
-
setBase64Source
Set the base64Source property: Base64 encoding of the document to classify. Either urlSource or base64Source must be specified.- Parameters:
base64Source
- the base64Source value to set.- Returns:
- the ClassifyDocumentRequest object itself.
-