Class: TencentCloud::Mps::V20190612::AiAnalysisTaskHeadTailResult

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, errcode = nil, message = nil, input = nil, output = nil) ⇒ AiAnalysisTaskHeadTailResult

Returns a new instance of AiAnalysisTaskHeadTailResult.



1787
1788
1789
1790
1791
1792
1793
# File 'lib/v20190612/models.rb', line 1787

def initialize(status=nil, errcode=nil, message=nil, input=nil, output=nil)
  @Status = status
  @ErrCode = errcode
  @Message = message
  @Input = input
  @Output = output
end

Instance Attribute Details

#ErrCodeObject

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

Parameters:

  • 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • 错误码,0:成功,其他值:失败。

  • 错误信息。

  • 片头片尾任务输入。

  • 片头片尾任务输出。



1785
1786
1787
# File 'lib/v20190612/models.rb', line 1785

def ErrCode
  @ErrCode
end

#InputObject

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

Parameters:

  • 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • 错误码,0:成功,其他值:失败。

  • 错误信息。

  • 片头片尾任务输入。

  • 片头片尾任务输出。



1785
1786
1787
# File 'lib/v20190612/models.rb', line 1785

def Input
  @Input
end

#MessageObject

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

Parameters:

  • 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • 错误码,0:成功,其他值:失败。

  • 错误信息。

  • 片头片尾任务输入。

  • 片头片尾任务输出。



1785
1786
1787
# File 'lib/v20190612/models.rb', line 1785

def Message
  @Message
end

#OutputObject

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

Parameters:

  • 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • 错误码,0:成功,其他值:失败。

  • 错误信息。

  • 片头片尾任务输入。

  • 片头片尾任务输出。



1785
1786
1787
# File 'lib/v20190612/models.rb', line 1785

def Output
  @Output
end

#StatusObject

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

Parameters:

  • 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。

  • 错误码,0:成功,其他值:失败。

  • 错误信息。

  • 片头片尾任务输入。

  • 片头片尾任务输出。



1785
1786
1787
# File 'lib/v20190612/models.rb', line 1785

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
# File 'lib/v20190612/models.rb', line 1795

def deserialize(params)
  @Status = params['Status']
  @ErrCode = params['ErrCode']
  @Message = params['Message']
  unless params['Input'].nil?
    @Input = AiAnalysisTaskHeadTailInput.new
    @Input.deserialize(params['Input'])
  end
  unless params['Output'].nil?
    @Output = AiAnalysisTaskHeadTailOutput.new
    @Output.deserialize(params['Output'])
  end
end