Class: TencentCloud::Live::V20180801::CallBackTemplateInfo

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

Overview

回调模板信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CallBackTemplateInfo.



836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
# File 'lib/v20180801/models.rb', line 836

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

Instance Attribute Details

#AudioAuditNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def AudioAuditNotifyUrl
  @AudioAuditNotifyUrl
end

#CallbackKeyObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def CallbackKey
  @CallbackKey
end

#DescriptionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def Description
  @Description
end

#PornCensorshipNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def PornCensorshipNotifyUrl
  @PornCensorshipNotifyUrl
end

#PushExceptionNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def PushExceptionNotifyUrl
  @PushExceptionNotifyUrl
end

#RecordExceptionLevelsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def RecordExceptionLevels
  @RecordExceptionLevels
end

#RecordExceptionNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def RecordExceptionNotifyUrl
  @RecordExceptionNotifyUrl
end

#RecordNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def RecordNotifyUrl
  @RecordNotifyUrl
end

#SnapshotNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def SnapshotNotifyUrl
  @SnapshotNotifyUrl
end

#StreamBeginNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def StreamBeginNotifyUrl
  @StreamBeginNotifyUrl
end

#StreamEndNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def StreamEndNotifyUrl
  @StreamEndNotifyUrl
end

#StreamMixNotifyUrlObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def StreamMixNotifyUrl
  @StreamMixNotifyUrl
end

#TemplateIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def TemplateId
  @TemplateId
end

#TemplateNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TemplateId:

    模板 ID。

  • TemplateName:

    模板名称。

  • Description:

    描述信息。

  • StreamBeginNotifyUrl:

    开播回调 URL。

  • StreamMixNotifyUrl:

    混流回调 URL。(参数已弃用)。

  • StreamEndNotifyUrl:

    断流回调 URL。

  • RecordNotifyUrl:

    录制文件回调 URL。

  • SnapshotNotifyUrl:

    截图回调 URL。

  • PornCensorshipNotifyUrl:

    鉴黄回调 URL。

  • CallbackKey:

    回调的鉴权 key。

  • PushExceptionNotifyUrl:

    推流异常回调 URL。

  • AudioAuditNotifyUrl:

    音频审核回调 URL。

  • RecordExceptionNotifyUrl:

    录制异常回调 URL。

  • RecordExceptionLevels:

    录制异常回调级别,可选择:error: 错误。alarm: 告警。



834
835
836
# File 'lib/v20180801/models.rb', line 834

def TemplateName
  @TemplateName
end

Instance Method Details

#deserialize(params) ⇒ Object



853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'lib/v20180801/models.rb', line 853

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