Class: Xberg::Metadata
- Inherits:
-
Object
- Object
- Xberg::Metadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#abstract_text ⇒ String?
readonly
Returns the value of attribute abstract_text.
-
#additional ⇒ Hash[String, String]
readonly
Returns the value of attribute additional.
-
#authors ⇒ Array[String]?
readonly
Returns the value of attribute authors.
-
#category ⇒ String?
readonly
Returns the value of attribute category.
-
#created_at ⇒ String?
readonly
Returns the value of attribute created_at.
-
#created_by ⇒ String?
readonly
Returns the value of attribute created_by.
-
#document_version ⇒ String?
readonly
Returns the value of attribute document_version.
-
#error ⇒ ErrorMetadata?
readonly
Returns the value of attribute error.
-
#extraction_duration_ms ⇒ Integer?
readonly
Returns the value of attribute extraction_duration_ms.
-
#format ⇒ FormatMetadata?
readonly
Returns the value of attribute format.
-
#image_preprocessing ⇒ ImagePreprocessingMetadata?
readonly
Returns the value of attribute image_preprocessing.
-
#json_schema ⇒ String?
readonly
Returns the value of attribute json_schema.
-
#keywords ⇒ Array[String]?
readonly
Returns the value of attribute keywords.
-
#language ⇒ String?
readonly
Returns the value of attribute language.
-
#modified_at ⇒ String?
readonly
Returns the value of attribute modified_at.
-
#modified_by ⇒ String?
readonly
Returns the value of attribute modified_by.
-
#ocr_used ⇒ Boolean
readonly
Returns the value of attribute ocr_used.
-
#output_format ⇒ String?
readonly
Returns the value of attribute output_format.
-
#pages ⇒ PageStructure?
readonly
Returns the value of attribute pages.
-
#subject ⇒ String?
readonly
Returns the value of attribute subject.
-
#tags ⇒ Array[String]?
readonly
Returns the value of attribute tags.
-
#title ⇒ String?
readonly
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.
1605 |
# File 'sig/types.rbs', line 1605
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: String, ?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, String]) -> void
|
Instance Attribute Details
#abstract_text ⇒ String? (readonly)
Returns the value of attribute abstract_text.
1600 1601 1602 |
# File 'sig/types.rbs', line 1600 def abstract_text @abstract_text end |
#additional ⇒ Hash[String, String] (readonly)
Returns the value of attribute additional.
1603 1604 1605 |
# File 'sig/types.rbs', line 1603 def additional @additional end |
#authors ⇒ Array[String]? (readonly)
Returns the value of attribute authors.
1584 1585 1586 |
# File 'sig/types.rbs', line 1584 def @authors end |
#category ⇒ String? (readonly)
Returns the value of attribute category.
1597 1598 1599 |
# File 'sig/types.rbs', line 1597 def category @category end |
#created_at ⇒ String? (readonly)
Returns the value of attribute created_at.
1587 1588 1589 |
# File 'sig/types.rbs', line 1587 def created_at @created_at end |
#created_by ⇒ String? (readonly)
Returns the value of attribute created_by.
1589 1590 1591 |
# File 'sig/types.rbs', line 1589 def created_by @created_by end |
#document_version ⇒ String? (readonly)
Returns the value of attribute document_version.
1599 1600 1601 |
# File 'sig/types.rbs', line 1599 def document_version @document_version end |
#error ⇒ ErrorMetadata? (readonly)
Returns the value of attribute error.
1595 1596 1597 |
# File 'sig/types.rbs', line 1595 def error @error end |
#extraction_duration_ms ⇒ Integer? (readonly)
Returns the value of attribute extraction_duration_ms.
1596 1597 1598 |
# File 'sig/types.rbs', line 1596 def extraction_duration_ms @extraction_duration_ms end |
#format ⇒ FormatMetadata? (readonly)
Returns the value of attribute format.
1592 1593 1594 |
# File 'sig/types.rbs', line 1592 def format @format end |
#image_preprocessing ⇒ ImagePreprocessingMetadata? (readonly)
Returns the value of attribute image_preprocessing.
1593 1594 1595 |
# File 'sig/types.rbs', line 1593 def image_preprocessing @image_preprocessing end |
#json_schema ⇒ String? (readonly)
Returns the value of attribute json_schema.
1594 1595 1596 |
# File 'sig/types.rbs', line 1594 def json_schema @json_schema end |
#keywords ⇒ Array[String]? (readonly)
Returns the value of attribute keywords.
1585 1586 1587 |
# File 'sig/types.rbs', line 1585 def keywords @keywords end |
#language ⇒ String? (readonly)
Returns the value of attribute language.
1586 1587 1588 |
# File 'sig/types.rbs', line 1586 def language @language end |
#modified_at ⇒ String? (readonly)
Returns the value of attribute modified_at.
1588 1589 1590 |
# File 'sig/types.rbs', line 1588 def modified_at @modified_at end |
#modified_by ⇒ String? (readonly)
Returns the value of attribute modified_by.
1590 1591 1592 |
# File 'sig/types.rbs', line 1590 def modified_by @modified_by end |
#ocr_used ⇒ Boolean (readonly)
Returns the value of attribute ocr_used.
1602 1603 1604 |
# File 'sig/types.rbs', line 1602 def ocr_used @ocr_used end |
#output_format ⇒ String? (readonly)
Returns the value of attribute output_format.
1601 1602 1603 |
# File 'sig/types.rbs', line 1601 def output_format @output_format end |
#pages ⇒ PageStructure? (readonly)
Returns the value of attribute pages.
1591 1592 1593 |
# File 'sig/types.rbs', line 1591 def pages @pages end |
#subject ⇒ String? (readonly)
Returns the value of attribute subject.
1583 1584 1585 |
# File 'sig/types.rbs', line 1583 def subject @subject end |
#tags ⇒ Array[String]? (readonly)
Returns the value of attribute tags.
1598 1599 1600 |
# File 'sig/types.rbs', line 1598 def @tags end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
1582 1583 1584 |
# File 'sig/types.rbs', line 1582 def title @title end |
Instance Method Details
#is_empty ⇒ Boolean
1606 |
# File 'sig/types.rbs', line 1606
def is_empty: () -> bool
|