public class PullUploadTask extends AbstractModel
Constructor and Description |
---|
PullUploadTask() |
PullUploadTask(PullUploadTask 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 |
getFileId()
Get The ID of the uploaded file.
|
String |
getFileUrl()
Get The playback address of the uploaded file.
|
MediaBasicInfo |
getMediaBasicInfo()
Get The basic information of the uploaded file.
|
String |
getMessage()
Get Error message.
|
MediaMetaData |
getMetaData()
Get The metadata of the output video.
|
String |
getProcedureTaskId()
Get The task ID for the task type `Procedure`.
|
Long |
getProgress()
Get The progress of the pull and upload task.
|
String |
getReviewAudioVideoTaskId()
Get The task ID for the task type `ReviewAudioVideo`.
|
String |
getSessionContext()
Get The source context, which is used to pass through user request information.
|
String |
getSessionId()
Get The ID used for deduplication.
|
String |
getStatus()
Get Task flow status.
|
String |
getTaskId()
Get The task ID.
|
void |
setErrCode(Long ErrCode)
Set Error code.
|
void |
setFileId(String FileId)
Set The ID of the uploaded file.
|
void |
setFileUrl(String FileUrl)
Set The playback address of the uploaded file.
|
void |
setMediaBasicInfo(MediaBasicInfo MediaBasicInfo)
Set The basic information of the uploaded file.
|
void |
setMessage(String Message)
Set Error message.
|
void |
setMetaData(MediaMetaData MetaData)
Set The metadata of the output video.
|
void |
setProcedureTaskId(String ProcedureTaskId)
Set The task ID for the task type `Procedure`.
|
void |
setProgress(Long Progress)
Set The progress of the pull and upload 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 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 The 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 PullUploadTask()
public PullUploadTask(PullUploadTask source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- The 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 getMessage()
public void setMessage(String Message)
Message
- Error message.public String getFileId()
public void setFileId(String FileId)
FileId
- The ID of the uploaded file.public MediaBasicInfo getMediaBasicInfo()
public void setMediaBasicInfo(MediaBasicInfo MediaBasicInfo)
MediaBasicInfo
- The basic information of the uploaded file.
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 getFileUrl()
public void setFileUrl(String FileUrl)
FileUrl
- The playback address of the uploaded file.public String getProcedureTaskId()
public void setProcedureTaskId(String ProcedureTaskId)
ProcedureTaskId
- The task ID for the task type `Procedure`. If a task flow is specified by [PullUpload](https://intl.cloud.tencent.com/document/api/266/35575?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 is specified by [PullUpload](https://intl.cloud.tencent.com/document/api/266/35575?from_cn_redirect=1), and the task flow includes `ReviewAudioVideoTask`, the task specified by this parameter will be executed.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The source context, which is used to pass through user request information. The [PullComplete](https://intl.cloud.tencent.com/document/product/266/7831?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 1,000 characters.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.public Long getProgress()
public void setProgress(Long Progress)
Progress
- The progress of the pull and upload task. Value range: 1-100.Copyright © 2023. All rights reserved.