public class EditMediaTask extends AbstractModel
Constructor and Description |
---|
EditMediaTask() |
EditMediaTask(EditMediaTask 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.
|
EditMediaTaskInput |
getInput()
Get Input of video editing task.
|
String |
getMessage()
Get Error message.
|
MediaMetaData |
getMetaData()
Get The metadata of the output video.
|
EditMediaTaskOutput |
getOutput()
Get Output of video editing task.
|
String |
getProcedureTaskId()
Get The task ID for the task type `Procedure`.
|
Long |
getProgress()
Get Progress of a video editing task.
|
String |
getReviewAudioVideoTaskId()
Get The task ID for the task type `ReviewAudioVideo`.
|
String |
getSessionContext()
Get The source context which is used to pass through the user request information.
|
String |
getSessionId()
Get The ID used for deduplication.
|
String |
getStatus()
Get Task flow status.
|
String |
getTaskId()
Get Task ID.
|
void |
setErrCode(Long ErrCode)
Set Error code.
|
void |
setErrCodeExt(String ErrCodeExt)
Set Error code.
|
void |
setInput(EditMediaTaskInput Input)
Set Input of video editing task.
|
void |
setMessage(String Message)
Set Error message.
|
void |
setMetaData(MediaMetaData MetaData)
Set The metadata of the output video.
|
void |
setOutput(EditMediaTaskOutput Output)
Set Output of video editing task.
|
void |
setProcedureTaskId(String ProcedureTaskId)
Set The task ID for the task type `Procedure`.
|
void |
setProgress(Long Progress)
Set Progress of a video editing task.
|
void |
setReviewAudioVideoTaskId(String ReviewAudioVideoTaskId)
Set The task ID for the task type `ReviewAudioVideo`.
|
void |
setSessionContext(String SessionContext)
Set The source context which is used to pass through the user request information.
|
void |
setSessionId(String SessionId)
Set The ID used for deduplication.
|
void |
setStatus(String Status)
Set Task flow status.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public EditMediaTask()
public EditMediaTask(EditMediaTask source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- Task ID.public String getStatus()
public void setStatus(String Status)
Status
- Task flow status. Valid values:
public Long getErrCode()
public void setErrCode(Long ErrCode)
ErrCode
- Error code. 0: success; other values: failure.
public String getErrCodeExt()
public void setErrCodeExt(String ErrCodeExt)
ErrCodeExt
- Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).public String getMessage()
public void setMessage(String Message)
Message
- Error message.
Note: this field may return null, indicating that no valid values can be obtained.public Long getProgress()
public void setProgress(Long Progress)
Progress
- Progress of a video editing task. Value range: [0, 100]public EditMediaTaskInput getInput()
public void setInput(EditMediaTaskInput Input)
Input
- Input of video editing task.
Note: this field may return null, indicating that no valid values can be obtained.public EditMediaTaskOutput getOutput()
public void setOutput(EditMediaTaskOutput Output)
Output
- Output of video editing task.
Note: this field may return null, indicating that no valid values can be obtained.public MediaMetaData getMetaData()
public void setMetaData(MediaMetaData MetaData)
MetaData
- The metadata of the output video.public String getProcedureTaskId()
public void setProcedureTaskId(String ProcedureTaskId)
ProcedureTaskId
- The task ID for the task type `Procedure`. If a task flow (`ProcedureName`) is specified by [EditMedia](https://intl.cloud.tencent.com/document/api/266/34783?from_cn_redirect=1), and the task flow includes one or more of `MediaProcessTask`, `AiAnalysisTask`, and `AiRecognitionTask`, the task specified by this parameter will be executed.public String getReviewAudioVideoTaskId()
public void setReviewAudioVideoTaskId(String ReviewAudioVideoTaskId)
ReviewAudioVideoTaskId
- The task ID for the task type `ReviewAudioVideo`. If a task flow (`ProcedureName`) is specified by [EditMedia](https://intl.cloud.tencent.com/document/api/266/34783?from_cn_redirect=1), and the task flow includes `ReviewAudioVideoTask`, the task specified by this parameter will be executed.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed.
Note: this field may return null, indicating that no valid values can be obtained.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.