Class: TencentCloud::Vm::V20210922::CreateVideoModerationTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::CreateVideoModerationTaskRequest
- Defined in:
- lib/v20210922/models.rb
Overview
CreateVideoModerationTask请求参数结构体
Instance Attribute Summary collapse
- #BizType ⇒ Object
- #CallbackUrl ⇒ Object
- #Priority ⇒ Object
- #Seed ⇒ Object
- #Tasks ⇒ Object
- #Type ⇒ Object
- #User ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(biztype = nil, type = nil, tasks = nil, seed = nil, callbackurl = nil, priority = nil, user = nil) ⇒ CreateVideoModerationTaskRequest
constructor
A new instance of CreateVideoModerationTaskRequest.
Constructor Details
#initialize(biztype = nil, type = nil, tasks = nil, seed = nil, callbackurl = nil, priority = nil, user = nil) ⇒ CreateVideoModerationTaskRequest
Returns a new instance of CreateVideoModerationTaskRequest.
391 392 393 394 395 396 397 398 399 |
# File 'lib/v20210922/models.rb', line 391 def initialize(biztype=nil, type=nil, tasks=nil, seed=nil, callbackurl=nil, priority=nil, user=nil) @BizType = biztype @Type = type @Tasks = tasks @Seed = seed @CallbackUrl = callbackurl @Priority = priority @User = user end |
Instance Attribute Details
#BizType ⇒ Object
389 390 391 |
# File 'lib/v20210922/models.rb', line 389 def BizType @BizType end |
#CallbackUrl ⇒ Object
389 390 391 |
# File 'lib/v20210922/models.rb', line 389 def CallbackUrl @CallbackUrl end |
#Priority ⇒ Object
389 390 391 |
# File 'lib/v20210922/models.rb', line 389 def Priority @Priority end |
#Seed ⇒ Object
389 390 391 |
# File 'lib/v20210922/models.rb', line 389 def Seed @Seed end |
#Tasks ⇒ Object
389 390 391 |
# File 'lib/v20210922/models.rb', line 389 def Tasks @Tasks end |
#Type ⇒ Object
389 390 391 |
# File 'lib/v20210922/models.rb', line 389 def Type @Type end |
#User ⇒ Object
389 390 391 |
# File 'lib/v20210922/models.rb', line 389 def User @User end |
Instance Method Details
#deserialize(params) ⇒ Object
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
# File 'lib/v20210922/models.rb', line 401 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'] unless params['User'].nil? @User = User.new @User.deserialize(params['User']) end end |