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.
1153 |
# File 'sig/types.rbs', line 1153
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.
1147 1148 1149 |
# File 'sig/types.rbs', line 1147 def content @content end |
#metadata ⇒ Hash[String, json_value]?
Returns the value of attribute metadata.
1149 1150 1151 |
# File 'sig/types.rbs', line 1149 def @metadata end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
1148 1149 1150 |
# File 'sig/types.rbs', line 1148 def mime_type @mime_type end |
#ocr_elements ⇒ Array[OcrElement]?
Returns the value of attribute ocr_elements.
1151 1152 1153 |
# File 'sig/types.rbs', line 1151 def ocr_elements @ocr_elements end |
#tables ⇒ Array[OcrTable]?
Returns the value of attribute tables.
1150 1151 1152 |
# File 'sig/types.rbs', line 1150 def tables @tables end |