Class: TencentCloud::Es::V20250101::Chunk

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

Overview

切片对象信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(index = nil, content = nil) ⇒ Chunk

Returns a new instance of Chunk.



170
171
172
173
# File 'lib/v20250101/models.rb', line 170

def initialize(index=nil, content=nil)
  @Index = index
  @Content = content
end

Instance Attribute Details

#ContentObject

Parameters:

  • Index:

    chunk索引。切片顺序 id。

  • Content:

    chunk内容。



168
169
170
# File 'lib/v20250101/models.rb', line 168

def Content
  @Content
end

#IndexObject

Parameters:

  • Index:

    chunk索引。切片顺序 id。

  • Content:

    chunk内容。



168
169
170
# File 'lib/v20250101/models.rb', line 168

def Index
  @Index
end

Instance Method Details

#deserialize(params) ⇒ Object



175
176
177
178
# File 'lib/v20250101/models.rb', line 175

def deserialize(params)
  @Index = params['Index']
  @Content = params['Content']
end