Class: TencentCloud::Weilingwith::V20230427::DescribeAlarmTypeListRes

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230427/models.rb

Overview

告警类型列表回包

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alarmtypeset = nil) ⇒ DescribeAlarmTypeListRes

Returns a new instance of DescribeAlarmTypeListRes.



2202
2203
2204
# File 'lib/v20230427/models.rb', line 2202

def initialize(alarmtypeset=nil)
  @AlarmTypeSet = alarmtypeset
end

Instance Attribute Details

#AlarmTypeSetObject

Parameters:

  • AlarmTypeSet:

    告警类型查询列表



2200
2201
2202
# File 'lib/v20230427/models.rb', line 2200

def AlarmTypeSet
  @AlarmTypeSet
end

Instance Method Details

#deserialize(params) ⇒ Object



2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'lib/v20230427/models.rb', line 2206

def deserialize(params)
  unless params['AlarmTypeSet'].nil?
    @AlarmTypeSet = []
    params['AlarmTypeSet'].each do |i|
      alarmtypedetailinfo_tmp = AlarmTypeDetailInfo.new
      alarmtypedetailinfo_tmp.deserialize(i)
      @AlarmTypeSet << alarmtypedetailinfo_tmp
    end
  end
end