Class: TencentCloud::Live::V20180801::ModifyLiveCallbackTemplateRequest

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

Overview

ModifyLiveCallbackTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, templatename = nil, description = nil, streambeginnotifyurl = nil, streamendnotifyurl = nil, recordnotifyurl = nil, recordstatusnotifyurl = nil, snapshotnotifyurl = nil, porncensorshipnotifyurl = nil, callbackkey = nil, pushexceptionnotifyurl = nil, audioauditnotifyurl = nil, recordexceptionnotifyurl = nil, recordexceptionlevels = nil) ⇒ ModifyLiveCallbackTemplateRequest

Returns a new instance of ModifyLiveCallbackTemplateRequest.



12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
# File 'lib/v20180801/models.rb', line 12086

def initialize(templateid=nil, templatename=nil, description=nil, streambeginnotifyurl=nil, streamendnotifyurl=nil, recordnotifyurl=nil, recordstatusnotifyurl=nil, snapshotnotifyurl=nil, porncensorshipnotifyurl=nil, callbackkey=nil, pushexceptionnotifyurl=nil, audioauditnotifyurl=nil, recordexceptionnotifyurl=nil, recordexceptionlevels=nil)
  @TemplateId = templateid
  @TemplateName = templatename
  @Description = description
  @StreamBeginNotifyUrl = streambeginnotifyurl
  @StreamEndNotifyUrl = streamendnotifyurl
  @RecordNotifyUrl = recordnotifyurl
  @RecordStatusNotifyUrl = recordstatusnotifyurl
  @SnapshotNotifyUrl = snapshotnotifyurl
  @PornCensorshipNotifyUrl = porncensorshipnotifyurl
  @CallbackKey = callbackkey
  @PushExceptionNotifyUrl = pushexceptionnotifyurl
  @AudioAuditNotifyUrl = audioauditnotifyurl
  @RecordExceptionNotifyUrl = recordexceptionnotifyurl
  @RecordExceptionLevels = recordexceptionlevels
end

Instance Attribute Details

#AudioAuditNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def AudioAuditNotifyUrl
  @AudioAuditNotifyUrl
end

#CallbackKeyObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def CallbackKey
  @CallbackKey
end

#DescriptionObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def Description
  @Description
end

#PornCensorshipNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def PornCensorshipNotifyUrl
  @PornCensorshipNotifyUrl
end

#PushExceptionNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def PushExceptionNotifyUrl
  @PushExceptionNotifyUrl
end

#RecordExceptionLevelsObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def RecordExceptionLevels
  @RecordExceptionLevels
end

#RecordExceptionNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def RecordExceptionNotifyUrl
  @RecordExceptionNotifyUrl
end

#RecordNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def RecordNotifyUrl
  @RecordNotifyUrl
end

#RecordStatusNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def RecordStatusNotifyUrl
  @RecordStatusNotifyUrl
end

#SnapshotNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def SnapshotNotifyUrl
  @SnapshotNotifyUrl
end

#StreamBeginNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def StreamBeginNotifyUrl
  @StreamBeginNotifyUrl
end

#StreamEndNotifyUrlObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def StreamEndNotifyUrl
  @StreamEndNotifyUrl
end

#TemplateIdObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def TemplateId
  @TemplateId
end

#TemplateNameObject

[事件消息通知](/document/product/267/32744)。

Parameters:

  • TemplateId:

    DescribeLiveCallbackTemplates接口返回的模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • RecordStatusNotifyUrl:

    录制状态回调 URL 。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调 Key,回调 URL 公用,回调签名详见事件消息通知文档。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error、warning、info。



12084
12085
12086
# File 'lib/v20180801/models.rb', line 12084

def TemplateName
  @TemplateName
end

Instance Method Details

#deserialize(params) ⇒ Object



12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
# File 'lib/v20180801/models.rb', line 12103

def deserialize(params)
  @TemplateId = params['TemplateId']
  @TemplateName = params['TemplateName']
  @Description = params['Description']
  @StreamBeginNotifyUrl = params['StreamBeginNotifyUrl']
  @StreamEndNotifyUrl = params['StreamEndNotifyUrl']
  @RecordNotifyUrl = params['RecordNotifyUrl']
  @RecordStatusNotifyUrl = params['RecordStatusNotifyUrl']
  @SnapshotNotifyUrl = params['SnapshotNotifyUrl']
  @PornCensorshipNotifyUrl = params['PornCensorshipNotifyUrl']
  @CallbackKey = params['CallbackKey']
  @PushExceptionNotifyUrl = params['PushExceptionNotifyUrl']
  @AudioAuditNotifyUrl = params['AudioAuditNotifyUrl']
  @RecordExceptionNotifyUrl = params['RecordExceptionNotifyUrl']
  @RecordExceptionLevels = params['RecordExceptionLevels']
end