public class ComposeMediaTask extends AbstractModel
header, skipSign
Constructor and Description |
---|
ComposeMediaTask() |
ComposeMediaTask(ComposeMediaTask 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: success;
Other values: failure.
Note: this field may return null, indicating that no valid values can be obtained.
|
ComposeMediaTaskInput |
getInput()
Get Input of media file composing task.
|
String |
getMessage()
Get Error message.
|
MediaMetaData |
getMetaData()
Get The metadata of the output video.
|
ComposeMediaTaskOutput |
getOutput()
Get Output of media file composing task.
|
Long |
getProgress()
Get Progress of a media file composing task.
|
String |
getSessionContext()
Get The source context which is used to pass through the user request information.
|
String |
getSessionId()
Get ID used for deduplication.
|
String |
getStatus()
Get Task flow status.
|
String |
getTaskId()
Get Task ID.
|
void |
setErrCode(Long ErrCode)
Set Error code
0: success;
Other values: failure.
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setInput(ComposeMediaTaskInput Input)
Set Input of media file composing task.
|
void |
setMessage(String Message)
Set Error message.
|
void |
setMetaData(MediaMetaData MetaData)
Set The metadata of the output video.
|
void |
setOutput(ComposeMediaTaskOutput Output)
Set Output of media file composing task.
|
void |
setProgress(Long Progress)
Set Progress of a media file composing task.
|
void |
setSessionContext(String SessionContext)
Set The source context which is used to pass through the user request information.
|
void |
setSessionId(String SessionId)
Set 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ComposeMediaTask()
public ComposeMediaTask(ComposeMediaTask 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
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 media file composing task. Value range: [0, 100]public ComposeMediaTaskInput getInput()
public void setInput(ComposeMediaTaskInput Input)
Input
- Input of media file composing task.
Note: this field may return null, indicating that no valid values can be obtained.public ComposeMediaTaskOutput getOutput()
public void setOutput(ComposeMediaTaskOutput Output)
Output
- Output of media file composing 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.
Note: This field may return `null`, indicating that no valid value was found.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- 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 not carried or is left empty, no deduplication will be performed.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 parameter. It can contain up to 1000 characters.Copyright © 2024. All rights reserved.