Class: Xberg::DocumentMetadata
- Inherits:
-
Object
- Object
- Xberg::DocumentMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#chunking_enabled ⇒ Boolean
readonly
Returns the value of attribute chunking_enabled.
-
#force_ocr ⇒ Boolean
readonly
Returns the value of attribute force_ocr.
-
#mime_type ⇒ String
readonly
Returns the value of attribute mime_type.
-
#page_count ⇒ Integer
readonly
Returns the value of attribute page_count.
-
#size_bytes ⇒ Integer
readonly
Returns the value of attribute size_bytes.
-
#user_chunk_config ⇒ UserChunkConfig
readonly
Returns the value of attribute user_chunk_config.
Instance Method Summary collapse
-
#initialize ⇒ DocumentMetadata
constructor
A new instance of DocumentMetadata.
Constructor Details
#initialize ⇒ DocumentMetadata
Returns a new instance of DocumentMetadata.
1964 |
# File 'sig/types.rbs', line 1964
def initialize: (mime_type: String, size_bytes: Integer, ?page_count: Integer, force_ocr: bool, ?user_chunk_config: UserChunkConfig, chunking_enabled: bool) -> void
|
Instance Attribute Details
#chunking_enabled ⇒ Boolean (readonly)
Returns the value of attribute chunking_enabled.
1962 1963 1964 |
# File 'sig/types.rbs', line 1962 def chunking_enabled @chunking_enabled end |
#force_ocr ⇒ Boolean (readonly)
Returns the value of attribute force_ocr.
1960 1961 1962 |
# File 'sig/types.rbs', line 1960 def force_ocr @force_ocr end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
1957 1958 1959 |
# File 'sig/types.rbs', line 1957 def mime_type @mime_type end |
#page_count ⇒ Integer (readonly)
Returns the value of attribute page_count.
1959 1960 1961 |
# File 'sig/types.rbs', line 1959 def page_count @page_count end |
#size_bytes ⇒ Integer (readonly)
Returns the value of attribute size_bytes.
1958 1959 1960 |
# File 'sig/types.rbs', line 1958 def size_bytes @size_bytes end |
#user_chunk_config ⇒ UserChunkConfig (readonly)
Returns the value of attribute user_chunk_config.
1961 1962 1963 |
# File 'sig/types.rbs', line 1961 def user_chunk_config @user_chunk_config end |