Class: TencentCloud::Csip::V20221121::DescribeAlertListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::DescribeAlertListResponse
- Defined in:
- lib/v20221121/models.rb
Overview
DescribeAlertList返回参数结构体
Instance Attribute Summary collapse
- #AlertList ⇒ Object
- #AlertTypeCount ⇒ Object
- #RequestId ⇒ Object
- #ReturnCode ⇒ Object
- #ReturnMsg ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alertlist = nil, alerttypecount = nil, totalcount = nil, returncode = nil, returnmsg = nil, requestid = nil) ⇒ DescribeAlertListResponse
constructor
A new instance of DescribeAlertListResponse.
Constructor Details
#initialize(alertlist = nil, alerttypecount = nil, totalcount = nil, returncode = nil, returnmsg = nil, requestid = nil) ⇒ DescribeAlertListResponse
Returns a new instance of DescribeAlertListResponse.
2724 2725 2726 2727 2728 2729 2730 2731 |
# File 'lib/v20221121/models.rb', line 2724 def initialize(alertlist=nil, alerttypecount=nil, totalcount=nil, returncode=nil, returnmsg=nil, requestid=nil) @AlertList = alertlist @AlertTypeCount = alerttypecount @TotalCount = totalcount @ReturnCode = returncode @ReturnMsg = returnmsg @RequestId = requestid end |
Instance Attribute Details
#AlertList ⇒ Object
2722 2723 2724 |
# File 'lib/v20221121/models.rb', line 2722 def AlertList @AlertList end |
#AlertTypeCount ⇒ Object
2722 2723 2724 |
# File 'lib/v20221121/models.rb', line 2722 def AlertTypeCount @AlertTypeCount end |
#RequestId ⇒ Object
2722 2723 2724 |
# File 'lib/v20221121/models.rb', line 2722 def RequestId @RequestId end |
#ReturnCode ⇒ Object
2722 2723 2724 |
# File 'lib/v20221121/models.rb', line 2722 def ReturnCode @ReturnCode end |
#ReturnMsg ⇒ Object
2722 2723 2724 |
# File 'lib/v20221121/models.rb', line 2722 def ReturnMsg @ReturnMsg end |
#TotalCount ⇒ Object
2722 2723 2724 |
# File 'lib/v20221121/models.rb', line 2722 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 |
# File 'lib/v20221121/models.rb', line 2733 def deserialize(params) unless params['AlertList'].nil? @AlertList = [] params['AlertList'].each do |i| alertinfo_tmp = AlertInfo.new alertinfo_tmp.deserialize(i) @AlertList << alertinfo_tmp end end unless params['AlertTypeCount'].nil? @AlertTypeCount = [] params['AlertTypeCount'].each do |i| tagcount_tmp = TagCount.new tagcount_tmp.deserialize(i) @AlertTypeCount << tagcount_tmp end end @TotalCount = params['TotalCount'] @ReturnCode = params['ReturnCode'] @ReturnMsg = params['ReturnMsg'] @RequestId = params['RequestId'] end |