public class QualityEnhanceTask extends AbstractModel
header, skipSign
Constructor and Description |
---|
QualityEnhanceTask() |
QualityEnhanceTask(QualityEnhanceTask 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, 0 means success, other values u200bu200bmean failure:
40000: The input parameters are illegal, please check the input parameters;
60000: Source file error (such as video data damage), Please confirm whether the source file is normal;
70000: Internal service error, it is recommended to try again.
|
String |
getErrCodeExt()
Get Error code.
|
QualityEnhanceTaskInput |
getInput()
Get Input for media quality enhance task.
|
String |
getMessage()
Get Error message.
|
MediaMetaData |
getMetaData()
Get Media quality enhance outputs meta-information of the video.
|
QualityEnhanceTaskOutput |
getOutput()
Get Output of the media quality enhance task.
|
Long |
getProgress()
Get Media quality enhance task progress, value range [0-100].
|
String |
getSessionContext()
Get Source context, used to transparently transmit user request information.
|
String |
getSessionId()
Get Identification code used for deduplication.
|
String |
getStatus()
Get Task flow status, values:
PROCESSING: Processing;
FINISH: Completed.
|
String |
getTaskId()
Get Task Id.
|
void |
setErrCode(Long ErrCode)
Set Error code, 0 means success, other values u200bu200bmean failure:
40000: The input parameters are illegal, please check the input parameters;
60000: Source file error (such as video data damage), Please confirm whether the source file is normal;
70000: Internal service error, it is recommended to try again.
|
void |
setErrCodeExt(String ErrCodeExt)
Set Error code.
|
void |
setInput(QualityEnhanceTaskInput Input)
Set Input for media quality enhance task.
|
void |
setMessage(String Message)
Set Error message.
|
void |
setMetaData(MediaMetaData MetaData)
Set Media quality enhance outputs meta-information of the video.
|
void |
setOutput(QualityEnhanceTaskOutput Output)
Set Output of the media quality enhance task.
|
void |
setProgress(Long Progress)
Set Media quality enhance task progress, value range [0-100].
|
void |
setSessionContext(String SessionContext)
Set Source context, used to transparently transmit user request information.
|
void |
setSessionId(String SessionId)
Set Identification code used for deduplication.
|
void |
setStatus(String Status)
Set Task flow status, values:
PROCESSING: Processing;
FINISH: Completed.
|
void |
setTaskId(String TaskId)
Set Task Id.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public QualityEnhanceTask()
public QualityEnhanceTask(QualityEnhanceTask source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- Task Id.public String getStatus()
public void setStatus(String Status)
Status
- Task flow status, values:
public Long getErrCode()
public void setErrCode(Long ErrCode)
ErrCode
- Error code, 0 means success, other values u200bu200bmean failure:
public String getMessage()
public void setMessage(String Message)
Message
- Error message.public String getErrCodeExt()
public void setErrCodeExt(String ErrCodeExt)
ErrCodeExt
- Error code. An empty string indicates success. Other values u200bu200bindicate failure. For values, please refer to [Video Processing Error Code](https://www.tencentcloud.com/document/product/266/39145) list.public Long getProgress()
public void setProgress(Long Progress)
Progress
- Media quality enhance task progress, value range [0-100].public QualityEnhanceTaskInput getInput()
public void setInput(QualityEnhanceTaskInput Input)
Input
- Input for media quality enhance task.
Note: This field may return null, indicating that no valid value can be obtained.public QualityEnhanceTaskOutput getOutput()
public void setOutput(QualityEnhanceTaskOutput Output)
Output
- Output of the media quality enhance task.
Note: This field may return null, indicating that no valid value can be obtained.public MediaMetaData getMetaData()
public void setMetaData(MediaMetaData MetaData)
MetaData
- Media quality enhance outputs meta-information of the video.
Note: This field may return null, indicating that no valid value can be obtained.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- Identification code used for deduplication. If there is a request for the same identification code within seven days, this request will return an error. The maximum length is 50 characters, without or with an empty string to indicate no deduplication.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- Source context, used to transparently transmit user request information. The task flow status change callback will return the value of this field, which can be up to 1000 characters.Copyright © 2024. All rights reserved.