Class: TencentCloud::Live::V20180801::CreateLiveCallbackTemplateRequest

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

Overview

CreateLiveCallbackTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateLiveCallbackTemplateRequest.



2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
# File 'lib/v20180801/models.rb', line 2604

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

Instance Attribute Details

#AudioAuditNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def AudioAuditNotifyUrl
  @AudioAuditNotifyUrl
end

#CallbackKeyObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def CallbackKey
  @CallbackKey
end

#DescriptionObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def Description
  @Description
end

#PornCensorshipNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def PornCensorshipNotifyUrl
  @PornCensorshipNotifyUrl
end

#PushExceptionNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def PushExceptionNotifyUrl
  @PushExceptionNotifyUrl
end

#RecordExceptionLevelsObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def RecordExceptionLevels
  @RecordExceptionLevels
end

#RecordExceptionNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def RecordExceptionNotifyUrl
  @RecordExceptionNotifyUrl
end

#RecordNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def RecordNotifyUrl
  @RecordNotifyUrl
end

#RecordStatusNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def RecordStatusNotifyUrl
  @RecordStatusNotifyUrl
end

#SnapshotNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def SnapshotNotifyUrl
  @SnapshotNotifyUrl
end

#StreamBeginNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def StreamBeginNotifyUrl
  @StreamBeginNotifyUrl
end

#StreamEndNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def StreamEndNotifyUrl
  @StreamEndNotifyUrl
end

#StreamMixNotifyUrlObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def StreamMixNotifyUrl
  @StreamMixNotifyUrl
end

#TemplateNameObject

Parameters:

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL,

  • StreamEndNotifyUrl:

    断流回调 URL,

  • RecordNotifyUrl:

    录制文件回调 URL,

  • RecordStatusNotifyUrl:

    录制状态回调 URL ,

  • SnapshotNotifyUrl:

    截图回调 URL,

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL ,

  • CallbackKey:

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

  • StreamMixNotifyUrl:

    参数已弃用。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

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



2602
2603
2604
# File 'lib/v20180801/models.rb', line 2602

def TemplateName
  @TemplateName
end

Instance Method Details

#deserialize(params) ⇒ Object



2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
# File 'lib/v20180801/models.rb', line 2621

def deserialize(params)
  @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']
  @StreamMixNotifyUrl = params['StreamMixNotifyUrl']
  @PushExceptionNotifyUrl = params['PushExceptionNotifyUrl']
  @AudioAuditNotifyUrl = params['AudioAuditNotifyUrl']
  @RecordExceptionNotifyUrl = params['RecordExceptionNotifyUrl']
  @RecordExceptionLevels = params['RecordExceptionLevels']
end