Class: TencentCloud::Tds::V20220801::RiskInfo

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

Overview

风险信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, level = nil) ⇒ RiskInfo

Returns a new instance of RiskInfo.



635
636
637
638
# File 'lib/v20220801/models.rb', line 635

def initialize(type=nil, level=nil)
  @Type = type
  @Level = level
end

Instance Attribute Details

#LevelObject



633
634
635
# File 'lib/v20220801/models.rb', line 633

def Level
  @Level
end

#TypeObject



633
634
635
# File 'lib/v20220801/models.rb', line 633

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



640
641
642
643
# File 'lib/v20220801/models.rb', line 640

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