Class: Xberg::Metadata
- Inherits:
-
Object
- Object
- Xberg::Metadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#abstract_text ⇒ String?
Returns the value of attribute abstract_text.
-
#additional ⇒ Hash[String, json_value]?
Returns the value of attribute additional.
-
#authors ⇒ Array[String]?
Returns the value of attribute authors.
-
#category ⇒ String?
Returns the value of attribute category.
-
#created_at ⇒ String?
Returns the value of attribute created_at.
-
#created_by ⇒ String?
Returns the value of attribute created_by.
-
#document_version ⇒ String?
Returns the value of attribute document_version.
-
#error ⇒ ErrorMetadata?
Returns the value of attribute error.
-
#extraction_duration_ms ⇒ Integer?
Returns the value of attribute extraction_duration_ms.
-
#format ⇒ FormatMetadata?
Returns the value of attribute format.
-
#image_preprocessing ⇒ ImagePreprocessingMetadata?
Returns the value of attribute image_preprocessing.
-
#json_schema ⇒ json_value?
Returns the value of attribute json_schema.
-
#keywords ⇒ Array[String]?
Returns the value of attribute keywords.
-
#language ⇒ String?
Returns the value of attribute language.
-
#modified_at ⇒ String?
Returns the value of attribute modified_at.
-
#modified_by ⇒ String?
Returns the value of attribute modified_by.
-
#ocr_used ⇒ Boolean?
Returns the value of attribute ocr_used.
-
#output_format ⇒ String?
Returns the value of attribute output_format.
-
#pages ⇒ PageStructure?
Returns the value of attribute pages.
-
#subject ⇒ String?
Returns the value of attribute subject.
-
#tags ⇒ Array[String]?
Returns the value of attribute tags.
-
#title ⇒ String?
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ Metadata
constructor
A new instance of Metadata.
- #is_empty ⇒ Boolean
Constructor Details
#initialize ⇒ Metadata
Returns a new instance of Metadata.
1305 |
# File 'sig/types.rbs', line 1305
def initialize: (?title: String, ?subject: String, ?authors: Array[String], ?keywords: Array[String], ?language: String, ?created_at: String, ?modified_at: String, ?created_by: String, ?modified_by: String, ?pages: PageStructure, ?format: FormatMetadata, ?image_preprocessing: ImagePreprocessingMetadata, ?json_schema: json_value, ?error: ErrorMetadata, ?extraction_duration_ms: Integer, ?category: String, ?tags: Array[String], ?document_version: String, ?abstract_text: String, ?output_format: String, ?ocr_used: bool, ?additional: Hash[String, json_value]) -> void
|
Instance Attribute Details
#abstract_text ⇒ String?
Returns the value of attribute abstract_text.
1300 1301 1302 |
# File 'sig/types.rbs', line 1300 def abstract_text @abstract_text end |
#additional ⇒ Hash[String, json_value]?
Returns the value of attribute additional.
1303 1304 1305 |
# File 'sig/types.rbs', line 1303 def additional @additional end |
#authors ⇒ Array[String]?
Returns the value of attribute authors.
1284 1285 1286 |
# File 'sig/types.rbs', line 1284 def @authors end |
#category ⇒ String?
Returns the value of attribute category.
1297 1298 1299 |
# File 'sig/types.rbs', line 1297 def category @category end |
#created_at ⇒ String?
Returns the value of attribute created_at.
1287 1288 1289 |
# File 'sig/types.rbs', line 1287 def created_at @created_at end |
#created_by ⇒ String?
Returns the value of attribute created_by.
1289 1290 1291 |
# File 'sig/types.rbs', line 1289 def created_by @created_by end |
#document_version ⇒ String?
Returns the value of attribute document_version.
1299 1300 1301 |
# File 'sig/types.rbs', line 1299 def document_version @document_version end |
#error ⇒ ErrorMetadata?
Returns the value of attribute error.
1295 1296 1297 |
# File 'sig/types.rbs', line 1295 def error @error end |
#extraction_duration_ms ⇒ Integer?
Returns the value of attribute extraction_duration_ms.
1296 1297 1298 |
# File 'sig/types.rbs', line 1296 def extraction_duration_ms @extraction_duration_ms end |
#format ⇒ FormatMetadata?
Returns the value of attribute format.
1292 1293 1294 |
# File 'sig/types.rbs', line 1292 def format @format end |
#image_preprocessing ⇒ ImagePreprocessingMetadata?
Returns the value of attribute image_preprocessing.
1293 1294 1295 |
# File 'sig/types.rbs', line 1293 def image_preprocessing @image_preprocessing end |
#json_schema ⇒ json_value?
Returns the value of attribute json_schema.
1294 1295 1296 |
# File 'sig/types.rbs', line 1294 def json_schema @json_schema end |
#keywords ⇒ Array[String]?
Returns the value of attribute keywords.
1285 1286 1287 |
# File 'sig/types.rbs', line 1285 def keywords @keywords end |
#language ⇒ String?
Returns the value of attribute language.
1286 1287 1288 |
# File 'sig/types.rbs', line 1286 def language @language end |
#modified_at ⇒ String?
Returns the value of attribute modified_at.
1288 1289 1290 |
# File 'sig/types.rbs', line 1288 def modified_at @modified_at end |
#modified_by ⇒ String?
Returns the value of attribute modified_by.
1290 1291 1292 |
# File 'sig/types.rbs', line 1290 def modified_by @modified_by end |
#ocr_used ⇒ Boolean?
Returns the value of attribute ocr_used.
1302 1303 1304 |
# File 'sig/types.rbs', line 1302 def ocr_used @ocr_used end |
#output_format ⇒ String?
Returns the value of attribute output_format.
1301 1302 1303 |
# File 'sig/types.rbs', line 1301 def output_format @output_format end |
#pages ⇒ PageStructure?
Returns the value of attribute pages.
1291 1292 1293 |
# File 'sig/types.rbs', line 1291 def pages @pages end |
#subject ⇒ String?
Returns the value of attribute subject.
1283 1284 1285 |
# File 'sig/types.rbs', line 1283 def subject @subject end |
#tags ⇒ Array[String]?
Returns the value of attribute tags.
1298 1299 1300 |
# File 'sig/types.rbs', line 1298 def @tags end |
#title ⇒ String?
Returns the value of attribute title.
1282 1283 1284 |
# File 'sig/types.rbs', line 1282 def title @title end |
Instance Method Details
#is_empty ⇒ Boolean
1306 |
# File 'sig/types.rbs', line 1306
def is_empty: () -> bool
|