Class: Xberg::DocumentMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDocumentMetadata

Returns a new instance of DocumentMetadata.

Parameters:

  • mime_type: (String)
  • size_bytes: (Integer)
  • page_count: (Integer)
  • force_ocr: (Boolean)
  • user_chunk_config: (UserChunkConfig)
  • chunking_enabled: (Boolean)


1938
# File 'sig/types.rbs', line 1938

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_enabledBoolean (readonly)

Returns the value of attribute chunking_enabled.

Returns:

  • (Boolean)


1936
1937
1938
# File 'sig/types.rbs', line 1936

def chunking_enabled
  @chunking_enabled
end

#force_ocrBoolean (readonly)

Returns the value of attribute force_ocr.

Returns:

  • (Boolean)


1934
1935
1936
# File 'sig/types.rbs', line 1934

def force_ocr
  @force_ocr
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


1931
1932
1933
# File 'sig/types.rbs', line 1931

def mime_type
  @mime_type
end

#page_countInteger (readonly)

Returns the value of attribute page_count.

Returns:

  • (Integer)


1933
1934
1935
# File 'sig/types.rbs', line 1933

def page_count
  @page_count
end

#size_bytesInteger (readonly)

Returns the value of attribute size_bytes.

Returns:

  • (Integer)


1932
1933
1934
# File 'sig/types.rbs', line 1932

def size_bytes
  @size_bytes
end

#user_chunk_configUserChunkConfig (readonly)

Returns the value of attribute user_chunk_config.

Returns:



1935
1936
1937
# File 'sig/types.rbs', line 1935

def user_chunk_config
  @user_chunk_config
end