Class: TencentCloud::Es::V20250101::ChunkDocument

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250101/models.rb

Overview

切片文档信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filetype = nil, filecontent = nil) ⇒ ChunkDocument

Returns a new instance of ChunkDocument.



230
231
232
233
# File 'lib/v20250101/models.rb', line 230

def initialize(filetype=nil, filecontent=nil)
  @FileType = filetype
  @FileContent = filecontent
end

Instance Attribute Details

#FileContentObject

Parameters:

  • FileType:

    文件类型,支持 MD,TXT 格式。

  • FileContent:

    文本原文,使用字符串格式输入。



228
229
230
# File 'lib/v20250101/models.rb', line 228

def FileContent
  @FileContent
end

#FileTypeObject

Parameters:

  • FileType:

    文件类型,支持 MD,TXT 格式。

  • FileContent:

    文本原文,使用字符串格式输入。



228
229
230
# File 'lib/v20250101/models.rb', line 228

def FileType
  @FileType
end

Instance Method Details

#deserialize(params) ⇒ Object



235
236
237
238
# File 'lib/v20250101/models.rb', line 235

def deserialize(params)
  @FileType = params['FileType']
  @FileContent = params['FileContent']
end