Class: TencentCloud::Mps::V20190612::ImageProcessTaskResult

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

Overview

图片处理任务结果类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, errmsg = nil, message = nil, output = nil, progress = nil) ⇒ ImageProcessTaskResult

Returns a new instance of ImageProcessTaskResult.



17846
17847
17848
17849
17850
17851
17852
# File 'lib/v20190612/models.rb', line 17846

def initialize(status=nil, errmsg=nil, message=nil, output=nil, progress=nil)
  @Status = status
  @ErrMsg = errmsg
  @Message = message
  @Output = output
  @Progress = progress
end

Instance Attribute Details

#ErrMsgObject

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

Parameters:



17844
17845
17846
# File 'lib/v20190612/models.rb', line 17844

def ErrMsg
  @ErrMsg
end

#MessageObject

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

Parameters:



17844
17845
17846
# File 'lib/v20190612/models.rb', line 17844

def Message
  @Message
end

#OutputObject

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

Parameters:



17844
17845
17846
# File 'lib/v20190612/models.rb', line 17844

def Output
  @Output
end

#ProgressObject

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

Parameters:



17844
17845
17846
# File 'lib/v20190612/models.rb', line 17844

def Progress
  @Progress
end

#StatusObject

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

Parameters:



17844
17845
17846
# File 'lib/v20190612/models.rb', line 17844

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
# File 'lib/v20190612/models.rb', line 17854

def deserialize(params)
  @Status = params['Status']
  @ErrMsg = params['ErrMsg']
  @Message = params['Message']
  unless params['Output'].nil?
    @Output = ImageProcessTaskOutput.new
    @Output.deserialize(params['Output'])
  end
  @Progress = params['Progress']
end