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.
1182 |
# File 'sig/types.rbs', line 1182
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.
1176 1177 1178 |
# File 'sig/types.rbs', line 1176 def content @content end |
#metadata ⇒ Hash[String, json_value]?
Returns the value of attribute metadata.
1178 1179 1180 |
# File 'sig/types.rbs', line 1178 def @metadata end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
1177 1178 1179 |
# File 'sig/types.rbs', line 1177 def mime_type @mime_type end |
#ocr_elements ⇒ Array[OcrElement]?
Returns the value of attribute ocr_elements.
1180 1181 1182 |
# File 'sig/types.rbs', line 1180 def ocr_elements @ocr_elements end |
#tables ⇒ Array[OcrTable]?
Returns the value of attribute tables.
1179 1180 1181 |
# File 'sig/types.rbs', line 1179 def tables @tables end |