Class: TencentCloud::Mps::V20190612::ProcessImageRequest

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

Overview

ProcessImage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inputinfo = nil, outputstorage = nil, outputdir = nil, outputpath = nil, definition = nil, resourceid = nil, imagetask = nil, scheduleid = nil, addonparameter = nil, stdextinfo = nil) ⇒ ProcessImageRequest

Returns a new instance of ProcessImageRequest.



24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
# File 'lib/v20190612/models.rb', line 24732

def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, outputpath=nil, definition=nil, resourceid=nil, imagetask=nil, scheduleid=nil, addonparameter=nil, stdextinfo=nil)
  @InputInfo = inputinfo
  @OutputStorage = outputstorage
  @OutputDir = outputdir
  @OutputPath = outputpath
  @Definition = definition
  @ResourceId = resourceid
  @ImageTask = imagetask
  @ScheduleId = scheduleid
  @AddOnParameter = addonparameter
  @StdExtInfo = stdextinfo
end

Instance Attribute Details

#AddOnParameterObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def AddOnParameter
  @AddOnParameter
end

#DefinitionObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def Definition
  @Definition
end

#ImageTaskObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def ImageTask
  @ImageTask
end

#InputInfoObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def InputInfo
  @InputInfo
end

#OutputDirObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def OutputDir
  @OutputDir
end

#OutputPathObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def OutputPath
  @OutputPath
end

#OutputStorageObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def OutputStorage
  @OutputStorage
end

#ResourceIdObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def ResourceId
  @ResourceId
end

#ScheduleIdObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def ScheduleId
  @ScheduleId
end

#StdExtInfoObject

  • 30000:文字水印擦除
  • 30010:图片扩展
  • 30100:换装场景

Parameters:

  • AddOnParameter:

    图片处理附加参数。

  • StdExtInfo:

    图片处理拓展参数。



24730
24731
24732
# File 'lib/v20190612/models.rb', line 24730

def StdExtInfo
  @StdExtInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
# File 'lib/v20190612/models.rb', line 24745

def deserialize(params)
  unless params['InputInfo'].nil?
    @InputInfo = MediaInputInfo.new
    @InputInfo.deserialize(params['InputInfo'])
  end
  unless params['OutputStorage'].nil?
    @OutputStorage = TaskOutputStorage.new
    @OutputStorage.deserialize(params['OutputStorage'])
  end
  @OutputDir = params['OutputDir']
  @OutputPath = params['OutputPath']
  @Definition = params['Definition']
  @ResourceId = params['ResourceId']
  unless params['ImageTask'].nil?
    @ImageTask = ImageTaskInput.new
    @ImageTask.deserialize(params['ImageTask'])
  end
  @ScheduleId = params['ScheduleId']
  unless params['AddOnParameter'].nil?
    @AddOnParameter = AddOnParameter.new
    @AddOnParameter.deserialize(params['AddOnParameter'])
  end
  @StdExtInfo = params['StdExtInfo']
end