Class: TencentCloud::Dbbrain::V20210527::TopHotKeys

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

Overview

热key分析返回信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, db = nil, instancenodeid = nil, key = nil, type = nil) ⇒ TopHotKeys

Returns a new instance of TopHotKeys.



7913
7914
7915
7916
7917
7918
7919
# File 'lib/v20210527/models.rb', line 7913

def initialize(count=nil, db=nil, instancenodeid=nil, key=nil, type=nil)
  @Count = count
  @Db = db
  @InstanceNodeId = instancenodeid
  @Key = key
  @Type = type
end

Instance Attribute Details

#CountObject

Parameters:

  • 访问频次。

  • 热Key所属数据库。

  • Redis节点。

  • 热Key。

  • 数据类型。



7911
7912
7913
# File 'lib/v20210527/models.rb', line 7911

def Count
  @Count
end

#DbObject

Parameters:

  • 访问频次。

  • 热Key所属数据库。

  • Redis节点。

  • 热Key。

  • 数据类型。



7911
7912
7913
# File 'lib/v20210527/models.rb', line 7911

def Db
  @Db
end

#InstanceNodeIdObject

Parameters:

  • 访问频次。

  • 热Key所属数据库。

  • Redis节点。

  • 热Key。

  • 数据类型。



7911
7912
7913
# File 'lib/v20210527/models.rb', line 7911

def InstanceNodeId
  @InstanceNodeId
end

#KeyObject

Parameters:

  • 访问频次。

  • 热Key所属数据库。

  • Redis节点。

  • 热Key。

  • 数据类型。



7911
7912
7913
# File 'lib/v20210527/models.rb', line 7911

def Key
  @Key
end

#TypeObject

Parameters:

  • 访问频次。

  • 热Key所属数据库。

  • Redis节点。

  • 热Key。

  • 数据类型。



7911
7912
7913
# File 'lib/v20210527/models.rb', line 7911

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



7921
7922
7923
7924
7925
7926
7927
# File 'lib/v20210527/models.rb', line 7921

def deserialize(params)
  @Count = params['Count']
  @Db = params['Db']
  @InstanceNodeId = params['InstanceNodeId']
  @Key = params['Key']
  @Type = params['Type']
end