Class: TencentCloud::Monitor::V20180724::DescribeAlarmHistoriesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeAlarmHistoriesResponse
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeAlarmHistories返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, histories = nil, requestid = nil) ⇒ DescribeAlarmHistoriesResponse
constructor
A new instance of DescribeAlarmHistoriesResponse.
Constructor Details
#initialize(totalcount = nil, histories = nil, requestid = nil) ⇒ DescribeAlarmHistoriesResponse
Returns a new instance of DescribeAlarmHistoriesResponse.
4372 4373 4374 4375 4376 |
# File 'lib/v20180724/models.rb', line 4372 def initialize(totalcount=nil, histories=nil, requestid=nil) @TotalCount = totalcount @Histories = histories @RequestId = requestid end |
Instance Attribute Details
#Histories ⇒ Object
4370 4371 4372 |
# File 'lib/v20180724/models.rb', line 4370 def Histories @Histories end |
#RequestId ⇒ Object
4370 4371 4372 |
# File 'lib/v20180724/models.rb', line 4370 def RequestId @RequestId end |
#TotalCount ⇒ Object
4370 4371 4372 |
# File 'lib/v20180724/models.rb', line 4370 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 |
# File 'lib/v20180724/models.rb', line 4378 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Histories'].nil? @Histories = [] params['Histories'].each do |i| alarmhistory_tmp = AlarmHistory.new alarmhistory_tmp.deserialize(i) @Histories << alarmhistory_tmp end end @RequestId = params['RequestId'] end |