DocumentBarcode Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. DocumentBarcode
- com.
Implements
public final class DocumentBarcode
implements JsonSerializable<DocumentBarcode>
Barcode in a document.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
| Double |
getConfidence()
Get the confidence property: Confidence of predicting the barcode. |
|
Document |
getKind()
Get the kind property: Barcode kind. |
| String |
getSource()
Get the source property: Encoded source that identifies the position of the barcode in the content. |
|
Content |
getSpan()
Get the span property: Span of the barcode in the markdown content. |
| String |
getValue()
Get the value property: Barcode value. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentBarcode fromJson(JsonReader jsonReader)
Reads an instance of DocumentBarcode from the JsonReader.
Parameters:
Returns:
Throws:
getConfidence
public Double getConfidence()
Get the confidence property: Confidence of predicting the barcode.
Returns:
getKind
public DocumentBarcodeKind getKind()
Get the kind property: Barcode kind.
Returns:
getSource
public String getSource()
Get the source property: Encoded source that identifies the position of the barcode in the content.
Returns:
getSpan
public ContentSpan getSpan()
Get the span property: Span of the barcode in the markdown content.
Returns:
getValue
public String getValue()
Get the value property: Barcode value.
Returns: