Class: TencentCloud::Vm::V20201229::CreateVideoModerationTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20201229::CreateVideoModerationTaskRequest
- Defined in:
- lib/v20201229/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(type = nil, tasks = nil, biztype = nil, seed = nil, callbackurl = nil, priority = nil) ⇒ CreateVideoModerationTaskRequest
constructor
A new instance of CreateVideoModerationTaskRequest.
Constructor Details
#initialize(type = nil, tasks = nil, biztype = nil, seed = nil, callbackurl = nil, priority = nil) ⇒ CreateVideoModerationTaskRequest
Returns a new instance of CreateVideoModerationTaskRequest.
430 431 432 433 434 435 436 437 |
# File 'lib/v20201229/models.rb', line 430 def initialize(type=nil, tasks=nil, biztype=nil, seed=nil, callbackurl=nil, priority=nil) @Type = type @Tasks = tasks @BizType = biztype @Seed = seed @CallbackUrl = callbackurl @Priority = priority end |
Instance Attribute Details
#BizType ⇒ Object
428 429 430 |
# File 'lib/v20201229/models.rb', line 428 def BizType @BizType end |
#CallbackUrl ⇒ Object
428 429 430 |
# File 'lib/v20201229/models.rb', line 428 def CallbackUrl @CallbackUrl end |
#Priority ⇒ Object
428 429 430 |
# File 'lib/v20201229/models.rb', line 428 def Priority @Priority end |
#Seed ⇒ Object
428 429 430 |
# File 'lib/v20201229/models.rb', line 428 def Seed @Seed end |
#Tasks ⇒ Object
428 429 430 |
# File 'lib/v20201229/models.rb', line 428 def Tasks @Tasks end |
#Type ⇒ Object
428 429 430 |
# File 'lib/v20201229/models.rb', line 428 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 |
# File 'lib/v20201229/models.rb', line 439 def deserialize(params) @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 @BizType = params['BizType'] @Seed = params['Seed'] @CallbackUrl = params['CallbackUrl'] @Priority = params['Priority'] end |