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.
1366 |
# File 'sig/types.rbs', line 1366
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.
1361 1362 1363 |
# File 'sig/types.rbs', line 1361 def abstract_text @abstract_text end |
#additional ⇒ Hash[String, json_value]?
Returns the value of attribute additional.
1364 1365 1366 |
# File 'sig/types.rbs', line 1364 def additional @additional end |
#authors ⇒ Array[String]?
Returns the value of attribute authors.
1345 1346 1347 |
# File 'sig/types.rbs', line 1345 def @authors end |
#category ⇒ String?
Returns the value of attribute category.
1358 1359 1360 |
# File 'sig/types.rbs', line 1358 def category @category end |
#created_at ⇒ String?
Returns the value of attribute created_at.
1348 1349 1350 |
# File 'sig/types.rbs', line 1348 def created_at @created_at end |
#created_by ⇒ String?
Returns the value of attribute created_by.
1350 1351 1352 |
# File 'sig/types.rbs', line 1350 def created_by @created_by end |
#document_version ⇒ String?
Returns the value of attribute document_version.
1360 1361 1362 |
# File 'sig/types.rbs', line 1360 def document_version @document_version end |
#error ⇒ ErrorMetadata?
Returns the value of attribute error.
1356 1357 1358 |
# File 'sig/types.rbs', line 1356 def error @error end |
#extraction_duration_ms ⇒ Integer?
Returns the value of attribute extraction_duration_ms.
1357 1358 1359 |
# File 'sig/types.rbs', line 1357 def extraction_duration_ms @extraction_duration_ms end |
#format ⇒ FormatMetadata?
Returns the value of attribute format.
1353 1354 1355 |
# File 'sig/types.rbs', line 1353 def format @format end |
#image_preprocessing ⇒ ImagePreprocessingMetadata?
Returns the value of attribute image_preprocessing.
1354 1355 1356 |
# File 'sig/types.rbs', line 1354 def image_preprocessing @image_preprocessing end |
#json_schema ⇒ json_value?
Returns the value of attribute json_schema.
1355 1356 1357 |
# File 'sig/types.rbs', line 1355 def json_schema @json_schema end |
#keywords ⇒ Array[String]?
Returns the value of attribute keywords.
1346 1347 1348 |
# File 'sig/types.rbs', line 1346 def keywords @keywords end |
#language ⇒ String?
Returns the value of attribute language.
1347 1348 1349 |
# File 'sig/types.rbs', line 1347 def language @language end |
#modified_at ⇒ String?
Returns the value of attribute modified_at.
1349 1350 1351 |
# File 'sig/types.rbs', line 1349 def modified_at @modified_at end |
#modified_by ⇒ String?
Returns the value of attribute modified_by.
1351 1352 1353 |
# File 'sig/types.rbs', line 1351 def modified_by @modified_by end |
#ocr_used ⇒ Boolean?
Returns the value of attribute ocr_used.
1363 1364 1365 |
# File 'sig/types.rbs', line 1363 def ocr_used @ocr_used end |
#output_format ⇒ String?
Returns the value of attribute output_format.
1362 1363 1364 |
# File 'sig/types.rbs', line 1362 def output_format @output_format end |
#pages ⇒ PageStructure?
Returns the value of attribute pages.
1352 1353 1354 |
# File 'sig/types.rbs', line 1352 def pages @pages end |
#subject ⇒ String?
Returns the value of attribute subject.
1344 1345 1346 |
# File 'sig/types.rbs', line 1344 def subject @subject end |
#tags ⇒ Array[String]?
Returns the value of attribute tags.
1359 1360 1361 |
# File 'sig/types.rbs', line 1359 def @tags end |
#title ⇒ String?
Returns the value of attribute title.
1343 1344 1345 |
# File 'sig/types.rbs', line 1343 def title @title end |
Instance Method Details
#is_empty ⇒ Boolean
1367 |
# File 'sig/types.rbs', line 1367
def is_empty: () -> bool
|