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, json_value]
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.
1142 |
# File 'sig/types.rbs', line 1142
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 (readonly)
Returns the value of attribute content.
1136 1137 1138 |
# File 'sig/types.rbs', line 1136 def content @content end |
#metadata ⇒ Hash[String, json_value] (readonly)
Returns the value of attribute metadata.
1138 1139 1140 |
# File 'sig/types.rbs', line 1138 def @metadata end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
1137 1138 1139 |
# File 'sig/types.rbs', line 1137 def mime_type @mime_type end |
#ocr_elements ⇒ Array[OcrElement] (readonly)
Returns the value of attribute ocr_elements.
1140 1141 1142 |
# File 'sig/types.rbs', line 1140 def ocr_elements @ocr_elements end |
#tables ⇒ Array[OcrTable] (readonly)
Returns the value of attribute tables.
1139 1140 1141 |
# File 'sig/types.rbs', line 1139 def tables @tables end |