public class AiRecognitionTaskTransTextResult extends AbstractModel
Constructor and Description |
---|
AiRecognitionTaskTransTextResult() |
AiRecognitionTaskTransTextResult(AiRecognitionTaskTransTextResult source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getErrCode()
Get The error code.
|
String |
getErrCodeExt()
Get The error code.
|
AiRecognitionTaskTransTextResultInput |
getInput()
Get The input of the translation task.
|
String |
getMessage()
Get The error message.
|
AiRecognitionTaskTransTextResultOutput |
getOutput()
Get The output of the translation task.
|
String |
getStatus()
Get The task status.
|
void |
setErrCode(Long ErrCode)
Set The error code.
|
void |
setErrCodeExt(String ErrCodeExt)
Set The error code.
|
void |
setInput(AiRecognitionTaskTransTextResultInput Input)
Set The input of the translation task.
|
void |
setMessage(String Message)
Set The error message.
|
void |
setOutput(AiRecognitionTaskTransTextResultOutput Output)
Set The output of the translation task.
|
void |
setStatus(String Status)
Set The task status.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AiRecognitionTaskTransTextResult()
public AiRecognitionTaskTransTextResult(AiRecognitionTaskTransTextResult source)
public String getStatus()
public void setStatus(String Status)
Status
- The task status. Valid values: PROCESSING, SUCCESS, FAIL.public String getErrCodeExt()
public void setErrCodeExt(String ErrCodeExt)
ErrCodeExt
- The error code. An empty string indicates the task is successful; any other value indicates the task has failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249).public Long getErrCode()
public void setErrCode(Long ErrCode)
ErrCode
- The error code. `0` indicates the task is successful; other values indicate the task has failed. This parameter is not recommended. Please use `ErrCodeExt` instead.public String getMessage()
public void setMessage(String Message)
Message
- The error message.public AiRecognitionTaskTransTextResultInput getInput()
public void setInput(AiRecognitionTaskTransTextResultInput Input)
Input
- The input of the translation task.public AiRecognitionTaskTransTextResultOutput getOutput()
public void setOutput(AiRecognitionTaskTransTextResultOutput Output)
Output
- The output of the translation task.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.