Class: TencentCloud::Cls::V20201016::DescribeAlarmShieldsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeAlarmShieldsResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeAlarmShields返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, alarmshields = nil, requestid = nil) ⇒ DescribeAlarmShieldsResponse
constructor
A new instance of DescribeAlarmShieldsResponse.
Constructor Details
#initialize(totalcount = nil, alarmshields = nil, requestid = nil) ⇒ DescribeAlarmShieldsResponse
Returns a new instance of DescribeAlarmShieldsResponse.
6826 6827 6828 6829 6830 |
# File 'lib/v20201016/models.rb', line 6826 def initialize(totalcount=nil, alarmshields=nil, requestid=nil) @TotalCount = totalcount @AlarmShields = alarmshields @RequestId = requestid end |
Instance Attribute Details
#AlarmShields ⇒ Object
6824 6825 6826 |
# File 'lib/v20201016/models.rb', line 6824 def AlarmShields @AlarmShields end |
#RequestId ⇒ Object
6824 6825 6826 |
# File 'lib/v20201016/models.rb', line 6824 def RequestId @RequestId end |
#TotalCount ⇒ Object
6824 6825 6826 |
# File 'lib/v20201016/models.rb', line 6824 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 |
# File 'lib/v20201016/models.rb', line 6832 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AlarmShields'].nil? @AlarmShields = [] params['AlarmShields'].each do |i| alarmshieldinfo_tmp = AlarmShieldInfo.new alarmshieldinfo_tmp.deserialize(i) @AlarmShields << alarmshieldinfo_tmp end end @RequestId = params['RequestId'] end |