Class: Xberg::OcrExtractionResult
- Inherits:
-
Object
- Object
- Xberg::OcrExtractionResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#metadata ⇒ Hash[String, String]
readonly
Returns the value of attribute metadata.
-
#mime_type ⇒ String
readonly
Returns the value of attribute mime_type.
-
#ocr_elements ⇒ Array[OcrElement]?
readonly
Returns the value of attribute ocr_elements.
-
#tables ⇒ Array[OcrTable]
readonly
Returns the value of attribute tables.
Instance Method Summary collapse
-
#initialize ⇒ OcrExtractionResult
constructor
A new instance of OcrExtractionResult.
Constructor Details
#initialize ⇒ OcrExtractionResult
Returns a new instance of OcrExtractionResult.
1724 |
# File 'sig/types.rbs', line 1724
def initialize: (?content: String, ?mime_type: String, ?metadata: Hash[String, String], ?tables: Array[OcrTable], ?ocr_elements: Array[OcrElement]) -> void
|
Instance Attribute Details
#content ⇒ String (readonly)
Returns the value of attribute content.
1718 1719 1720 |
# File 'sig/types.rbs', line 1718 def content @content end |
#metadata ⇒ Hash[String, String] (readonly)
Returns the value of attribute metadata.
1720 1721 1722 |
# File 'sig/types.rbs', line 1720 def @metadata end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
1719 1720 1721 |
# File 'sig/types.rbs', line 1719 def mime_type @mime_type end |
#ocr_elements ⇒ Array[OcrElement]? (readonly)
Returns the value of attribute ocr_elements.
1722 1723 1724 |
# File 'sig/types.rbs', line 1722 def ocr_elements @ocr_elements end |
#tables ⇒ Array[OcrTable] (readonly)
Returns the value of attribute tables.
1721 1722 1723 |
# File 'sig/types.rbs', line 1721 def tables @tables end |