Class: TencentCloud::Tds::V20220801::RiskInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tds::V20220801::RiskInfo
- Defined in:
- lib/v20220801/models.rb
Overview
风险信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, level = nil) ⇒ RiskInfo
constructor
A new instance of RiskInfo.
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
#Level ⇒ Object
633 634 635 |
# File 'lib/v20220801/models.rb', line 633 def Level @Level end |
#Type ⇒ Object
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 |