Class: TencentCloud::Mps::V20190612::ImageProcessTaskOutput

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

Overview

图片处理结果信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path = nil, outputstorage = nil) ⇒ ImageProcessTaskOutput

Returns a new instance of ImageProcessTaskOutput.



15382
15383
15384
15385
# File 'lib/v20190612/models.rb', line 15382

def initialize(path=nil, outputstorage=nil)
  @Path = path
  @OutputStorage = outputstorage
end

Instance Attribute Details

#OutputStorageObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Path:

    输出文件的路径。

  • OutputStorage:

    输出文件的存储位置。



15380
15381
15382
# File 'lib/v20190612/models.rb', line 15380

def OutputStorage
  @OutputStorage
end

#PathObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Path:

    输出文件的路径。

  • OutputStorage:

    输出文件的存储位置。



15380
15381
15382
# File 'lib/v20190612/models.rb', line 15380

def Path
  @Path
end

Instance Method Details

#deserialize(params) ⇒ Object



15387
15388
15389
15390
15391
15392
15393
# File 'lib/v20190612/models.rb', line 15387

def deserialize(params)
  @Path = params['Path']
  unless params['OutputStorage'].nil?
    @OutputStorage = TaskOutputStorage.new
    @OutputStorage.deserialize(params['OutputStorage'])
  end
end