Class: TencentCloud::Vm::V20200709::CreateVideoModerationTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20200709::CreateVideoModerationTaskRequest
- Defined in:
- lib/v20200709/models.rb
Overview
CreateVideoModerationTask请求参数结构体
Instance Attribute Summary collapse
- #BizType ⇒ Object
- #CallbackUrl ⇒ Object
- #Priority ⇒ Object
- #Seed ⇒ Object
- #Tasks ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(biztype = nil, type = nil, tasks = nil, seed = nil, callbackurl = nil, priority = nil) ⇒ CreateVideoModerationTaskRequest
constructor
A new instance of CreateVideoModerationTaskRequest.
Constructor Details
#initialize(biztype = nil, type = nil, tasks = nil, seed = nil, callbackurl = nil, priority = nil) ⇒ CreateVideoModerationTaskRequest
Returns a new instance of CreateVideoModerationTaskRequest.
385 386 387 388 389 390 391 392 |
# File 'lib/v20200709/models.rb', line 385 def initialize(biztype=nil, type=nil, tasks=nil, seed=nil, callbackurl=nil, priority=nil) @BizType = biztype @Type = type @Tasks = tasks @Seed = seed @CallbackUrl = callbackurl @Priority = priority end |
Instance Attribute Details
#BizType ⇒ Object
383 384 385 |
# File 'lib/v20200709/models.rb', line 383 def BizType @BizType end |
#CallbackUrl ⇒ Object
383 384 385 |
# File 'lib/v20200709/models.rb', line 383 def CallbackUrl @CallbackUrl end |
#Priority ⇒ Object
383 384 385 |
# File 'lib/v20200709/models.rb', line 383 def Priority @Priority end |
#Seed ⇒ Object
383 384 385 |
# File 'lib/v20200709/models.rb', line 383 def Seed @Seed end |
#Tasks ⇒ Object
383 384 385 |
# File 'lib/v20200709/models.rb', line 383 def Tasks @Tasks end |
#Type ⇒ Object
383 384 385 |
# File 'lib/v20200709/models.rb', line 383 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 |
# File 'lib/v20200709/models.rb', line 394 def deserialize(params) @BizType = params['BizType'] @Type = params['Type'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| taskinput_tmp = TaskInput.new taskinput_tmp.deserialize(i) @Tasks << taskinput_tmp end end @Seed = params['Seed'] @CallbackUrl = params['CallbackUrl'] @Priority = params['Priority'] end |