Class ComposeMediaTask
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vod.v20180717.models.ComposeMediaTask
-
public class ComposeMediaTask extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getErrCode()
Get 错误码 0:成功; 其他值:失败。ComposeMediaTaskInput
getInput()
Get 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。String
getMessage()
Get 错误信息。MediaMetaData
getMetaData()
Get 输出视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。ComposeMediaTaskOutput
getOutput()
Get 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。Long
getProgress()
Get 制作媒体文件任务进度,取值范围 [0-100] 。String
getSessionContext()
Get 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。String
getSessionId()
Get 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。String
getStatus()
Get 任务流状态,取值: PROCESSING:处理中; FINISH:已完成。String
getTaskId()
Get 任务 ID。void
setErrCode(Long ErrCode)
Set 错误码 0:成功; 其他值:失败。void
setInput(ComposeMediaTaskInput Input)
Set 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。void
setMessage(String Message)
Set 错误信息。void
setMetaData(MediaMetaData MetaData)
Set 输出视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。void
setOutput(ComposeMediaTaskOutput Output)
Set 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。void
setProgress(Long Progress)
Set 制作媒体文件任务进度,取值范围 [0-100] 。void
setSessionContext(String SessionContext)
Set 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。void
setSessionId(String SessionId)
Set 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。void
setStatus(String Status)
Set 任务流状态,取值: PROCESSING:处理中; FINISH:已完成。void
setTaskId(String TaskId)
Set 任务 ID。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ComposeMediaTask
public ComposeMediaTask()
-
ComposeMediaTask
public 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.
-
-
Method Detail
-
getTaskId
public String getTaskId()
Get 任务 ID。- Returns:
- TaskId 任务 ID。
-
setTaskId
public void setTaskId(String TaskId)
Set 任务 ID。- Parameters:
TaskId
- 任务 ID。
-
getStatus
public String getStatus()
Get 任务流状态,取值:- PROCESSING:处理中;
- FINISH:已完成。
- Returns:
- Status 任务流状态,取值:
- PROCESSING:处理中;
- FINISH:已完成。
-
setStatus
public void setStatus(String Status)
Set 任务流状态,取值:- PROCESSING:处理中;
- FINISH:已完成。
- Parameters:
Status
- 任务流状态,取值:- PROCESSING:处理中;
- FINISH:已完成。
-
getErrCode
public Long getErrCode()
Get 错误码- 0:成功;
- 其他值:失败。
- Returns:
- ErrCode 错误码
- 0:成功;
- 其他值:失败。
-
setErrCode
public void setErrCode(Long ErrCode)
Set 错误码- 0:成功;
- 其他值:失败。
- Parameters:
ErrCode
- 错误码- 0:成功;
- 其他值:失败。
-
getMessage
public String getMessage()
Get 错误信息。- Returns:
- Message 错误信息。
-
setMessage
public void setMessage(String Message)
Set 错误信息。- Parameters:
Message
- 错误信息。
-
getProgress
public Long getProgress()
Get 制作媒体文件任务进度,取值范围 [0-100] 。- Returns:
- Progress 制作媒体文件任务进度,取值范围 [0-100] 。
-
setProgress
public void setProgress(Long Progress)
Set 制作媒体文件任务进度,取值范围 [0-100] 。- Parameters:
Progress
- 制作媒体文件任务进度,取值范围 [0-100] 。
-
getInput
public ComposeMediaTaskInput getInput()
Get 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Input 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。
-
setInput
public void setInput(ComposeMediaTaskInput Input)
Set 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Input
- 制作媒体文件任务的输入。 注意:此字段可能返回 null,表示取不到有效值。
-
getOutput
public ComposeMediaTaskOutput getOutput()
Get 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Output 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。
-
setOutput
public void setOutput(ComposeMediaTaskOutput Output)
Set 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Output
- 制作媒体文件任务的输出。 注意:此字段可能返回 null,表示取不到有效值。
-
getMetaData
public MediaMetaData getMetaData()
Get 输出视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MetaData 输出视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。
-
setMetaData
public void setMetaData(MediaMetaData MetaData)
Set 输出视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MetaData
- 输出视频的元信息。 注意:此字段可能返回 null,表示取不到有效值。
-
getSessionId
public String getSessionId()
Get 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。- Returns:
- SessionId 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
-
setSessionId
public void setSessionId(String SessionId)
Set 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。- Parameters:
SessionId
- 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
-
getSessionContext
public String getSessionContext()
Get 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。- Returns:
- SessionContext 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
-
setSessionContext
public void setSessionContext(String SessionContext)
Set 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。- Parameters:
SessionContext
- 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
-
-