Class: TencentCloud::Cls::V20201016::DescribeAlarmsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeAlarmsResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeAlarms返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alarms = nil, totalcount = nil, requestid = nil) ⇒ DescribeAlarmsResponse
constructor
A new instance of DescribeAlarmsResponse.
Constructor Details
#initialize(alarms = nil, totalcount = nil, requestid = nil) ⇒ DescribeAlarmsResponse
Returns a new instance of DescribeAlarmsResponse.
6913 6914 6915 6916 6917 |
# File 'lib/v20201016/models.rb', line 6913 def initialize(alarms=nil, totalcount=nil, requestid=nil) @Alarms = alarms @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Alarms ⇒ Object
6911 6912 6913 |
# File 'lib/v20201016/models.rb', line 6911 def Alarms @Alarms end |
#RequestId ⇒ Object
6911 6912 6913 |
# File 'lib/v20201016/models.rb', line 6911 def RequestId @RequestId end |
#TotalCount ⇒ Object
6911 6912 6913 |
# File 'lib/v20201016/models.rb', line 6911 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 |
# File 'lib/v20201016/models.rb', line 6919 def deserialize(params) unless params['Alarms'].nil? @Alarms = [] params['Alarms'].each do |i| alarminfo_tmp = AlarmInfo.new alarminfo_tmp.deserialize(i) @Alarms << alarminfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |