Class: TencentCloud::Dbbrain::V20210527::IndexesToBuild

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

Overview

推荐的索引

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, indexcommand = nil, indexstr = nil, level = nil, score = nil, signs = nil, status = nil) ⇒ IndexesToBuild

Returns a new instance of IndexesToBuild.



5427
5428
5429
5430
5431
5432
5433
5434
5435
# File 'lib/v20210527/models.rb', line 5427

def initialize(id=nil, indexcommand=nil, indexstr=nil, level=nil, score=nil, signs=nil, status=nil)
  @Id = id
  @IndexCommand = indexcommand
  @IndexStr = indexstr
  @Level = level
  @Score = score
  @Signs = signs
  @Status = status
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    索引id,唯一标识一个索引。

  • IndexCommand:

    创建索引命令。

  • IndexStr:

    索引字符串。

  • Level:

    优化级别,1-4,优先级从高到低。

  • Score:

    索引得分。

  • Signs:

    签名。

  • Status:

    0-待创建;1-创建中。



5425
5426
5427
# File 'lib/v20210527/models.rb', line 5425

def Id
  @Id
end

#IndexCommandObject

Parameters:

  • Id:

    索引id,唯一标识一个索引。

  • IndexCommand:

    创建索引命令。

  • IndexStr:

    索引字符串。

  • Level:

    优化级别,1-4,优先级从高到低。

  • Score:

    索引得分。

  • Signs:

    签名。

  • Status:

    0-待创建;1-创建中。



5425
5426
5427
# File 'lib/v20210527/models.rb', line 5425

def IndexCommand
  @IndexCommand
end

#IndexStrObject

Parameters:

  • Id:

    索引id,唯一标识一个索引。

  • IndexCommand:

    创建索引命令。

  • IndexStr:

    索引字符串。

  • Level:

    优化级别,1-4,优先级从高到低。

  • Score:

    索引得分。

  • Signs:

    签名。

  • Status:

    0-待创建;1-创建中。



5425
5426
5427
# File 'lib/v20210527/models.rb', line 5425

def IndexStr
  @IndexStr
end

#LevelObject

Parameters:

  • Id:

    索引id,唯一标识一个索引。

  • IndexCommand:

    创建索引命令。

  • IndexStr:

    索引字符串。

  • Level:

    优化级别,1-4,优先级从高到低。

  • Score:

    索引得分。

  • Signs:

    签名。

  • Status:

    0-待创建;1-创建中。



5425
5426
5427
# File 'lib/v20210527/models.rb', line 5425

def Level
  @Level
end

#ScoreObject

Parameters:

  • Id:

    索引id,唯一标识一个索引。

  • IndexCommand:

    创建索引命令。

  • IndexStr:

    索引字符串。

  • Level:

    优化级别,1-4,优先级从高到低。

  • Score:

    索引得分。

  • Signs:

    签名。

  • Status:

    0-待创建;1-创建中。



5425
5426
5427
# File 'lib/v20210527/models.rb', line 5425

def Score
  @Score
end

#SignsObject

Parameters:

  • Id:

    索引id,唯一标识一个索引。

  • IndexCommand:

    创建索引命令。

  • IndexStr:

    索引字符串。

  • Level:

    优化级别,1-4,优先级从高到低。

  • Score:

    索引得分。

  • Signs:

    签名。

  • Status:

    0-待创建;1-创建中。



5425
5426
5427
# File 'lib/v20210527/models.rb', line 5425

def Signs
  @Signs
end

#StatusObject

Parameters:

  • Id:

    索引id,唯一标识一个索引。

  • IndexCommand:

    创建索引命令。

  • IndexStr:

    索引字符串。

  • Level:

    优化级别,1-4,优先级从高到低。

  • Score:

    索引得分。

  • Signs:

    签名。

  • Status:

    0-待创建;1-创建中。



5425
5426
5427
# File 'lib/v20210527/models.rb', line 5425

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



5437
5438
5439
5440
5441
5442
5443
5444
5445
# File 'lib/v20210527/models.rb', line 5437

def deserialize(params)
  @Id = params['Id']
  @IndexCommand = params['IndexCommand']
  @IndexStr = params['IndexStr']
  @Level = params['Level']
  @Score = params['Score']
  @Signs = params['Signs']
  @Status = params['Status']
end