Class: TencentCloud::Live::V20180801::CreateLiveStreamMonitorRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::CreateLiveStreamMonitorRequest
- Defined in:
- lib/v20180801/models.rb
Overview
CreateLiveStreamMonitor请求参数结构体
Instance Attribute Summary collapse
-
#AiAsrInputIndexList ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#AiFormatDiagnose ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#AiOcrInputIndexList ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#AiQualityControl ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#AllowMonitorReport ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#AsrLanguage ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#CasterId ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#CheckStreamBroken ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#CheckStreamLowFrameRate ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#InputList ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#MonitorName ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#NotifyPolicy ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#OcrLanguage ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#OutputInfo ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
-
#PullPushTaskId ⇒ Object
不填默认为没有任何通知。 0 关闭 1 中文 2 英文 3 日文 4 韩文。 0 关闭 1 中、英文。 (第1条输入流index为1) (第1条输入流index为1).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(outputinfo = nil, inputlist = nil, monitorname = nil, notifypolicy = nil, asrlanguage = nil, ocrlanguage = nil, aiasrinputindexlist = nil, aiocrinputindexlist = nil, checkstreambroken = nil, checkstreamlowframerate = nil, allowmonitorreport = nil, aiformatdiagnose = nil, aiqualitycontrol = nil, casterid = nil, pullpushtaskid = nil) ⇒ CreateLiveStreamMonitorRequest
constructor
A new instance of CreateLiveStreamMonitorRequest.
Constructor Details
#initialize(outputinfo = nil, inputlist = nil, monitorname = nil, notifypolicy = nil, asrlanguage = nil, ocrlanguage = nil, aiasrinputindexlist = nil, aiocrinputindexlist = nil, checkstreambroken = nil, checkstreamlowframerate = nil, allowmonitorreport = nil, aiformatdiagnose = nil, aiqualitycontrol = nil, casterid = nil, pullpushtaskid = nil) ⇒ CreateLiveStreamMonitorRequest
Returns a new instance of CreateLiveStreamMonitorRequest.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 |
# File 'lib/v20180801/models.rb', line 3404 def initialize(outputinfo=nil, inputlist=nil, monitorname=nil, notifypolicy=nil, asrlanguage=nil, ocrlanguage=nil, aiasrinputindexlist=nil, aiocrinputindexlist=nil, checkstreambroken=nil, checkstreamlowframerate=nil, allowmonitorreport=nil, aiformatdiagnose=nil, aiqualitycontrol=nil, casterid=nil, pullpushtaskid=nil) @OutputInfo = outputinfo @InputList = inputlist @MonitorName = monitorname @NotifyPolicy = notifypolicy @AsrLanguage = asrlanguage @OcrLanguage = ocrlanguage @AiAsrInputIndexList = aiasrinputindexlist @AiOcrInputIndexList = aiocrinputindexlist @CheckStreamBroken = checkstreambroken @CheckStreamLowFrameRate = checkstreamlowframerate @AllowMonitorReport = allowmonitorreport @AiFormatDiagnose = aiformatdiagnose @AiQualityControl = aiqualitycontrol @CasterId = casterid @PullPushTaskId = pullpushtaskid end |
Instance Attribute Details
#AiAsrInputIndexList ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def AiAsrInputIndexList @AiAsrInputIndexList end |
#AiFormatDiagnose ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def AiFormatDiagnose @AiFormatDiagnose end |
#AiOcrInputIndexList ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def AiOcrInputIndexList @AiOcrInputIndexList end |
#AiQualityControl ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def AiQualityControl @AiQualityControl end |
#AllowMonitorReport ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def AllowMonitorReport @AllowMonitorReport end |
#AsrLanguage ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def AsrLanguage @AsrLanguage end |
#CasterId ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def CasterId @CasterId end |
#CheckStreamBroken ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def CheckStreamBroken @CheckStreamBroken end |
#CheckStreamLowFrameRate ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def CheckStreamLowFrameRate @CheckStreamLowFrameRate end |
#InputList ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def InputList @InputList end |
#MonitorName ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def MonitorName @MonitorName end |
#NotifyPolicy ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def NotifyPolicy @NotifyPolicy end |
#OcrLanguage ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def OcrLanguage @OcrLanguage end |
#OutputInfo ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def OutputInfo @OutputInfo end |
#PullPushTaskId ⇒ Object
不填默认为没有任何通知。0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。(第1条输入流index为1)(第1条输入流index为1)
3402 3403 3404 |
# File 'lib/v20180801/models.rb', line 3402 def PullPushTaskId @PullPushTaskId end |
Instance Method Details
#deserialize(params) ⇒ Object
3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 |
# File 'lib/v20180801/models.rb', line 3422 def deserialize(params) unless params['OutputInfo'].nil? @OutputInfo = LiveStreamMonitorOutputInfo.new @OutputInfo.deserialize(params['OutputInfo']) end unless params['InputList'].nil? @InputList = [] params['InputList'].each do |i| livestreammonitorinputinfo_tmp = LiveStreamMonitorInputInfo.new livestreammonitorinputinfo_tmp.deserialize(i) @InputList << livestreammonitorinputinfo_tmp end end @MonitorName = params['MonitorName'] unless params['NotifyPolicy'].nil? @NotifyPolicy = LiveStreamMonitorNotifyPolicy.new @NotifyPolicy.deserialize(params['NotifyPolicy']) end @AsrLanguage = params['AsrLanguage'] @OcrLanguage = params['OcrLanguage'] @AiAsrInputIndexList = params['AiAsrInputIndexList'] @AiOcrInputIndexList = params['AiOcrInputIndexList'] @CheckStreamBroken = params['CheckStreamBroken'] @CheckStreamLowFrameRate = params['CheckStreamLowFrameRate'] @AllowMonitorReport = params['AllowMonitorReport'] @AiFormatDiagnose = params['AiFormatDiagnose'] @AiQualityControl = params['AiQualityControl'] @CasterId = params['CasterId'] @PullPushTaskId = params['PullPushTaskId'] end |