Class: TencentCloud::Ams::V20200608::TaskInput

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

Overview

音视频任务结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dataid = nil, name = nil, input = nil) ⇒ TaskInput

Returns a new instance of TaskInput.



1375
1376
1377
1378
1379
# File 'lib/v20200608/models.rb', line 1375

def initialize(dataid=nil, name=nil, input=nil)
  @DataId = dataid
  @Name = name
  @Input = input
end

Instance Attribute Details

#DataIdObject

Parameters:

  • DataId:

    数据ID

  • Name:

    任务名

  • Input:

    任务输入



1373
1374
1375
# File 'lib/v20200608/models.rb', line 1373

def DataId
  @DataId
end

#InputObject

Parameters:

  • DataId:

    数据ID

  • Name:

    任务名

  • Input:

    任务输入



1373
1374
1375
# File 'lib/v20200608/models.rb', line 1373

def Input
  @Input
end

#NameObject

Parameters:

  • DataId:

    数据ID

  • Name:

    任务名

  • Input:

    任务输入



1373
1374
1375
# File 'lib/v20200608/models.rb', line 1373

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



1381
1382
1383
1384
1385
1386
1387
1388
# File 'lib/v20200608/models.rb', line 1381

def deserialize(params)
  @DataId = params['DataId']
  @Name = params['Name']
  unless params['Input'].nil?
    @Input = StorageInfo.new
    @Input.deserialize(params['Input'])
  end
end