Class: TencentCloud::Mps::V20190612::AiRecognitionTaskTransTextResult

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

Returns a new instance of AiRecognitionTaskTransTextResult.



3656
3657
3658
3659
3660
3661
3662
3663
3664
# File 'lib/v20190612/models.rb', line 3656

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

Instance Attribute Details

#ErrCodeObject

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

Parameters:

  • Status:

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

  • ErrCodeExt:

    错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。

  • ErrCode:

    错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。

  • Message:

    错误信息。

  • Input:

    翻译任务输入信息。

  • Output:

    翻译任务输出信息。

  • Progress:

    任务进度。



3654
3655
3656
# File 'lib/v20190612/models.rb', line 3654

def ErrCode
  @ErrCode
end

#ErrCodeExtObject

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

Parameters:

  • Status:

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

  • ErrCodeExt:

    错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。

  • ErrCode:

    错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。

  • Message:

    错误信息。

  • Input:

    翻译任务输入信息。

  • Output:

    翻译任务输出信息。

  • Progress:

    任务进度。



3654
3655
3656
# File 'lib/v20190612/models.rb', line 3654

def ErrCodeExt
  @ErrCodeExt
end

#InputObject

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

Parameters:

  • Status:

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

  • ErrCodeExt:

    错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。

  • ErrCode:

    错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。

  • Message:

    错误信息。

  • Input:

    翻译任务输入信息。

  • Output:

    翻译任务输出信息。

  • Progress:

    任务进度。



3654
3655
3656
# File 'lib/v20190612/models.rb', line 3654

def Input
  @Input
end

#MessageObject

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

Parameters:

  • Status:

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

  • ErrCodeExt:

    错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。

  • ErrCode:

    错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。

  • Message:

    错误信息。

  • Input:

    翻译任务输入信息。

  • Output:

    翻译任务输出信息。

  • Progress:

    任务进度。



3654
3655
3656
# File 'lib/v20190612/models.rb', line 3654

def Message
  @Message
end

#OutputObject

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

Parameters:

  • Status:

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

  • ErrCodeExt:

    错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。

  • ErrCode:

    错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。

  • Message:

    错误信息。

  • Input:

    翻译任务输入信息。

  • Output:

    翻译任务输出信息。

  • Progress:

    任务进度。



3654
3655
3656
# File 'lib/v20190612/models.rb', line 3654

def Output
  @Output
end

#ProgressObject

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

Parameters:

  • Status:

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

  • ErrCodeExt:

    错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。

  • ErrCode:

    错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。

  • Message:

    错误信息。

  • Input:

    翻译任务输入信息。

  • Output:

    翻译任务输出信息。

  • Progress:

    任务进度。



3654
3655
3656
# File 'lib/v20190612/models.rb', line 3654

def Progress
  @Progress
end

#StatusObject

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

Parameters:

  • Status:

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

  • ErrCodeExt:

    错误码,空字符串表示成功,其他值表示失败,取值请参考 媒体处理类错误码 列表。

  • ErrCode:

    错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。

  • Message:

    错误信息。

  • Input:

    翻译任务输入信息。

  • Output:

    翻译任务输出信息。

  • Progress:

    任务进度。



3654
3655
3656
# File 'lib/v20190612/models.rb', line 3654

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
# File 'lib/v20190612/models.rb', line 3666

def deserialize(params)
  @Status = params['Status']
  @ErrCodeExt = params['ErrCodeExt']
  @ErrCode = params['ErrCode']
  @Message = params['Message']
  unless params['Input'].nil?
    @Input = AiRecognitionTaskTransTextResultInput.new
    @Input.deserialize(params['Input'])
  end
  unless params['Output'].nil?
    @Output = AiRecognitionTaskTransTextResultOutput.new
    @Output.deserialize(params['Output'])
  end
  @Progress = params['Progress']
end