Class: TencentCloud::Mps::V20190612::AiAnalysisTaskHighlightResult

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) ⇒ AiAnalysisTaskHighlightResult

Returns a new instance of AiAnalysisTaskHighlightResult.



1604
1605
1606
1607
1608
1609
1610
# File 'lib/v20190612/models.rb', line 1604

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:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    智能精彩片段任务输入。

  • Output:

    智能精彩片段任务输出。



1602
1603
1604
# File 'lib/v20190612/models.rb', line 1602

def ErrCode
  @ErrCode
end

#InputObject

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

Parameters:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    智能精彩片段任务输入。

  • Output:

    智能精彩片段任务输出。



1602
1603
1604
# File 'lib/v20190612/models.rb', line 1602

def Input
  @Input
end

#MessageObject

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

Parameters:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    智能精彩片段任务输入。

  • Output:

    智能精彩片段任务输出。



1602
1603
1604
# File 'lib/v20190612/models.rb', line 1602

def Message
  @Message
end

#OutputObject

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

Parameters:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    智能精彩片段任务输入。

  • Output:

    智能精彩片段任务输出。



1602
1603
1604
# File 'lib/v20190612/models.rb', line 1602

def Output
  @Output
end

#StatusObject

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

Parameters:

  • Status:

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

  • ErrCode:

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

  • Message:

    错误信息。

  • Input:

    智能精彩片段任务输入。

  • Output:

    智能精彩片段任务输出。



1602
1603
1604
# File 'lib/v20190612/models.rb', line 1602

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'lib/v20190612/models.rb', line 1612

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