Class: TencentCloud::Dbbrain::V20210527::AlarmProfileList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::AlarmProfileList
- Defined in:
- lib/v20210527/models.rb
Overview
通知模板
Instance Attribute Summary collapse
- #IsWebHook ⇒ Object
- #Lang ⇒ Object
- #ReceiveGroupCount ⇒ Object
- #ReceiveInfo ⇒ Object
- #ReceiveType ⇒ Object
- #ReceiveUinCount ⇒ Object
- #Remark ⇒ Object
- #SendChannel ⇒ Object
- #TemplateId ⇒ Object
- #TemplateName ⇒ Object
- #TemplateType ⇒ Object
- #UpdateTime ⇒ Object
- #UpdateUin ⇒ Object
- #WebHookCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(iswebhook = nil, receiveuincount = nil, lang = nil, templatetype = nil, remark = nil, receivegroupcount = nil, updateuin = nil, receivetype = nil, receiveinfo = nil, updatetime = nil, templatename = nil, sendchannel = nil, templateid = nil, webhookcount = nil) ⇒ AlarmProfileList
constructor
A new instance of AlarmProfileList.
Constructor Details
#initialize(iswebhook = nil, receiveuincount = nil, lang = nil, templatetype = nil, remark = nil, receivegroupcount = nil, updateuin = nil, receivetype = nil, receiveinfo = nil, updatetime = nil, templatename = nil, sendchannel = nil, templateid = nil, webhookcount = nil) ⇒ AlarmProfileList
Returns a new instance of AlarmProfileList.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/v20210527/models.rb', line 129 def initialize(iswebhook=nil, receiveuincount=nil, lang=nil, templatetype=nil, remark=nil, receivegroupcount=nil, updateuin=nil, receivetype=nil, receiveinfo=nil, updatetime=nil, templatename=nil, sendchannel=nil, templateid=nil, webhookcount=nil) @IsWebHook = iswebhook @ReceiveUinCount = receiveuincount @Lang = lang @TemplateType = templatetype @Remark = remark @ReceiveGroupCount = receivegroupcount @UpdateUin = updateuin @ReceiveType = receivetype @ReceiveInfo = receiveinfo @UpdateTime = updatetime @TemplateName = templatename @SendChannel = sendchannel @TemplateId = templateid @WebHookCount = webhookcount end |
Instance Attribute Details
#IsWebHook ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def IsWebHook @IsWebHook end |
#Lang ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def Lang @Lang end |
#ReceiveGroupCount ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def ReceiveGroupCount @ReceiveGroupCount end |
#ReceiveInfo ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def ReceiveInfo @ReceiveInfo end |
#ReceiveType ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def ReceiveType @ReceiveType end |
#ReceiveUinCount ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def ReceiveUinCount @ReceiveUinCount end |
#Remark ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def Remark @Remark end |
#SendChannel ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def SendChannel @SendChannel end |
#TemplateId ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def TemplateId @TemplateId end |
#TemplateName ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def TemplateName @TemplateName end |
#TemplateType ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def TemplateType @TemplateType end |
#UpdateTime ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def UpdateTime @UpdateTime end |
#UpdateUin ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def UpdateUin @UpdateUin end |
#WebHookCount ⇒ Object
127 128 129 |
# File 'lib/v20210527/models.rb', line 127 def WebHookCount @WebHookCount end |
Instance Method Details
#deserialize(params) ⇒ Object
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/v20210527/models.rb', line 146 def deserialize(params) @IsWebHook = params['IsWebHook'] @ReceiveUinCount = params['ReceiveUinCount'] @Lang = params['Lang'] @TemplateType = params['TemplateType'] @Remark = params['Remark'] @ReceiveGroupCount = params['ReceiveGroupCount'] @UpdateUin = params['UpdateUin'] @ReceiveType = params['ReceiveType'] unless params['ReceiveInfo'].nil? @ReceiveInfo = [] params['ReceiveInfo'].each do |i| receiveinfo_tmp = ReceiveInfo.new receiveinfo_tmp.deserialize(i) @ReceiveInfo << receiveinfo_tmp end end @UpdateTime = params['UpdateTime'] @TemplateName = params['TemplateName'] @SendChannel = params['SendChannel'] @TemplateId = params['TemplateId'] @WebHookCount = params['WebHookCount'] end |