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.



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

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

Instance Attribute Details

#LabelObject

Parameters:

  • Label:

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

  • Level:

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



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

def Label
  @Label
end

#LevelObject

Parameters:

  • Label:

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

  • Level:

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



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

def Level
  @Level
end

Instance Method Details

#deserialize(params) ⇒ Object



372
373
374
375
# File 'lib/v20201229/models.rb', line 372

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