Class: TencentCloud::Tms::V20201229::RiskDetails

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

Overview

账号风险检测结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label = nil, level = nil) ⇒ RiskDetails

Returns a new instance of RiskDetails.



363
364
365
366
# File 'lib/v20201229/models.rb', line 363

def initialize(label=nil, level=nil)
  @Label = label
  @Level = level
end

Instance Attribute Details

#LabelObject

Parameters:

  • Label:

    该字段用于返回账号信息检测对应的风险类别,取值为:RiskAccount(账号存在风险)、RiskIP(IP地址存在风险)、RiskIMEI(移动设备识别码存在风险)。

  • Level:

    该字段用于返回账号信息检测对应的风险等级,取值为:1(疑似存在风险)和2(存在恶意风险)。



361
362
363
# File 'lib/v20201229/models.rb', line 361

def Label
  @Label
end

#LevelObject

Parameters:

  • Label:

    该字段用于返回账号信息检测对应的风险类别,取值为:RiskAccount(账号存在风险)、RiskIP(IP地址存在风险)、RiskIMEI(移动设备识别码存在风险)。

  • Level:

    该字段用于返回账号信息检测对应的风险等级,取值为:1(疑似存在风险)和2(存在恶意风险)。



361
362
363
# File 'lib/v20201229/models.rb', line 361

def Level
  @Level
end

Instance Method Details

#deserialize(params) ⇒ Object



368
369
370
371
# File 'lib/v20201229/models.rb', line 368

def deserialize(params)
  @Label = params['Label']
  @Level = params['Level']
end