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.
4321 4322 4323 4324 4325 4326 4327 4328 |
# File 'lib/v20221121/models.rb', line 4321 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
4319 4320 4321 |
# File 'lib/v20221121/models.rb', line 4319 def AlertList @AlertList end |
#AlertTypeCount ⇒ Object
4319 4320 4321 |
# File 'lib/v20221121/models.rb', line 4319 def AlertTypeCount @AlertTypeCount end |
#RequestId ⇒ Object
4319 4320 4321 |
# File 'lib/v20221121/models.rb', line 4319 def RequestId @RequestId end |
#ReturnCode ⇒ Object
4319 4320 4321 |
# File 'lib/v20221121/models.rb', line 4319 def ReturnCode @ReturnCode end |
#ReturnMsg ⇒ Object
4319 4320 4321 |
# File 'lib/v20221121/models.rb', line 4319 def ReturnMsg @ReturnMsg end |
#TotalCount ⇒ Object
4319 4320 4321 |
# File 'lib/v20221121/models.rb', line 4319 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 |
# File 'lib/v20221121/models.rb', line 4330 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 |