Class: TencentCloud::Dbbrain::V20210527::AlarmProfileList

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

Overview

通知模板

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#IsWebHookObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def IsWebHook
  @IsWebHook
end

#LangObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def Lang
  @Lang
end

#ReceiveGroupCountObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def ReceiveGroupCount
  @ReceiveGroupCount
end

#ReceiveInfoObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def ReceiveInfo
  @ReceiveInfo
end

#ReceiveTypeObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def ReceiveType
  @ReceiveType
end

#ReceiveUinCountObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def ReceiveUinCount
  @ReceiveUinCount
end

#RemarkObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def Remark
  @Remark
end

#SendChannelObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def SendChannel
  @SendChannel
end

#TemplateIdObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def TemplateId
  @TemplateId
end

#TemplateNameObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def TemplateName
  @TemplateName
end

#TemplateTypeObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def TemplateType
  @TemplateType
end

#UpdateTimeObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def UpdateTime
  @UpdateTime
end

#UpdateUinObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



127
128
129
# File 'lib/v20210527/models.rb', line 127

def UpdateUin
  @UpdateUin
end

#WebHookCountObject

Parameters:

  • IsWebHook:

    0-不是 1-是

  • ReceiveUinCount:

    接收告警用户数量

  • Lang:

    语言

  • TemplateType:

    模板类型

  • Remark:

    备注

  • ReceiveGroupCount:

    接收组数量

  • UpdateUin:

    更新用户的uin

  • ReceiveType:

    接收类型

  • ReceiveInfo:

    接收用户信息

  • UpdateTime:

    更新时间,格式: “yyyy-MM-dd HH:mm:ss”

  • TemplateName:

    模板名

  • SendChannel:

    发送渠道

  • TemplateId:

    模板id

  • WebHookCount:

    webhook数量



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