Class: Xberg::OcrExtractionResult
- Inherits:
-
Object
- Object
- Xberg::OcrExtractionResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String?
Returns the value of attribute content.
-
#metadata ⇒ Hash[String, json_value]?
Returns the value of attribute metadata.
-
#mime_type ⇒ String?
Returns the value of attribute mime_type.
-
#ocr_elements ⇒ Array[OcrElement]?
Returns the value of attribute ocr_elements.
-
#tables ⇒ Array[OcrTable]?
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.
1143 |
# File 'sig/types.rbs', line 1143
def initialize: (?content: String, ?mime_type: String, ?metadata: Hash[String, json_value], ?tables: Array[OcrTable], ?ocr_elements: Array[OcrElement]) -> void
|
Instance Attribute Details
#content ⇒ String?
Returns the value of attribute content.
1137 1138 1139 |
# File 'sig/types.rbs', line 1137 def content @content end |
#metadata ⇒ Hash[String, json_value]?
Returns the value of attribute metadata.
1139 1140 1141 |
# File 'sig/types.rbs', line 1139 def @metadata end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
1138 1139 1140 |
# File 'sig/types.rbs', line 1138 def mime_type @mime_type end |
#ocr_elements ⇒ Array[OcrElement]?
Returns the value of attribute ocr_elements.
1141 1142 1143 |
# File 'sig/types.rbs', line 1141 def ocr_elements @ocr_elements end |
#tables ⇒ Array[OcrTable]?
Returns the value of attribute tables.
1140 1141 1142 |
# File 'sig/types.rbs', line 1140 def tables @tables end |