public class SmartSubtitleTaskTransTextResult extends AbstractModel
header, skipSign
Constructor and Description |
---|
SmartSubtitleTaskTransTextResult() |
SmartSubtitleTaskTransTextResult(SmartSubtitleTaskTransTextResult 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 Error code.
|
String |
getErrCodeExt()
Get Error code.
|
SmartSubtitleTaskResultInput |
getInput()
Get Translation task input information.
|
String |
getMessage()
Get Error message.
|
SmartSubtitleTaskTransTextResultOutput |
getOutput()
Get Translation task output information.
|
Long |
getProgress()
Get Task progress.
|
String |
getStatus()
Get Task status, including PROCESSING, SUCCESS, and FAIL.
|
void |
setErrCode(Long ErrCode)
Set Error code.
|
void |
setErrCodeExt(String ErrCodeExt)
Set Error code.
|
void |
setInput(SmartSubtitleTaskResultInput Input)
Set Translation task input information.
|
void |
setMessage(String Message)
Set Error message.
|
void |
setOutput(SmartSubtitleTaskTransTextResultOutput Output)
Set Translation task output information.
|
void |
setProgress(Long Progress)
Set Task progress.
|
void |
setStatus(String Status)
Set Task status, including PROCESSING, SUCCESS, and FAIL.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SmartSubtitleTaskTransTextResult()
public SmartSubtitleTaskTransTextResult(SmartSubtitleTaskTransTextResult source)
public String getStatus()
public void setStatus(String Status)
Status
- Task status, including PROCESSING, SUCCESS, and FAIL.public String getErrCodeExt()
public void setErrCodeExt(String ErrCodeExt)
ErrCodeExt
- Error code. An empty string indicates that the task is successful, and other values indicate that the task has failed. For specific values, see [Error Codes] (https://intl.cloud.tencent.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81).public Long getErrCode()
public void setErrCode(Long ErrCode)
ErrCode
- Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.)public String getMessage()
public void setMessage(String Message)
Message
- Error message.public SmartSubtitleTaskResultInput getInput()
public void setInput(SmartSubtitleTaskResultInput Input)
Input
- Translation task input information.
Note: This field may return null, indicating that no valid value can be obtained.public SmartSubtitleTaskTransTextResultOutput getOutput()
public void setOutput(SmartSubtitleTaskTransTextResultOutput Output)
Output
- Translation task output information.
Note: This field may return null, indicating that no valid value can be obtained.public Long getProgress()
public void setProgress(Long Progress)
Progress
- Task progress.
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.