Class: TencentCloud::Dbbrain::V20210527::DescribeAlarmTemplateResponse

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

Overview

DescribeAlarmTemplate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(profilelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeAlarmTemplateResponse



1699
1700
1701
1702
1703
# File 'lib/v20210527/models.rb', line 1699

def initialize(profilelist=nil, totalcount=nil, requestid=nil)
  @ProfileList = profilelist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ProfileListObject



1697
1698
1699
# File 'lib/v20210527/models.rb', line 1697

def ProfileList
  @ProfileList
end

#RequestIdObject



1697
1698
1699
# File 'lib/v20210527/models.rb', line 1697

def RequestId
  @RequestId
end

#TotalCountObject



1697
1698
1699
# File 'lib/v20210527/models.rb', line 1697

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
# File 'lib/v20210527/models.rb', line 1705

def deserialize(params)
  unless params['ProfileList'].nil?
    @ProfileList = []
    params['ProfileList'].each do |i|
      alarmprofilelist_tmp = AlarmProfileList.new
      alarmprofilelist_tmp.deserialize(i)
      @ProfileList << alarmprofilelist_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end