Class: TencentCloud::Monitor::V20180724::DescribeAlarmNoticesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeAlarmNoticesResponse
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeAlarmNotices返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, notices = nil, requestid = nil) ⇒ DescribeAlarmNoticesResponse
constructor
A new instance of DescribeAlarmNoticesResponse.
Constructor Details
#initialize(totalcount = nil, notices = nil, requestid = nil) ⇒ DescribeAlarmNoticesResponse
Returns a new instance of DescribeAlarmNoticesResponse.
4608 4609 4610 4611 4612 |
# File 'lib/v20180724/models.rb', line 4608 def initialize(totalcount=nil, notices=nil, requestid=nil) @TotalCount = totalcount @Notices = notices @RequestId = requestid end |
Instance Attribute Details
#Notices ⇒ Object
4606 4607 4608 |
# File 'lib/v20180724/models.rb', line 4606 def Notices @Notices end |
#RequestId ⇒ Object
4606 4607 4608 |
# File 'lib/v20180724/models.rb', line 4606 def RequestId @RequestId end |
#TotalCount ⇒ Object
4606 4607 4608 |
# File 'lib/v20180724/models.rb', line 4606 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 |
# File 'lib/v20180724/models.rb', line 4614 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Notices'].nil? @Notices = [] params['Notices'].each do |i| alarmnotice_tmp = AlarmNotice.new alarmnotice_tmp.deserialize(i) @Notices << alarmnotice_tmp end end @RequestId = params['RequestId'] end |