public class PullUploadTask extends AbstractModel
Constructor and Description |
---|
PullUploadTask() |
Modifier and Type | Method and Description |
---|---|
Long |
getErrCode()
Get Error code.
|
String |
getFileId()
Get ID of video generated after pull for upload is completed.
|
String |
getFileUrl()
Get Playback address generated after pull for upload is completed.
|
MediaBasicInfo |
getMediaBasicInfo()
Get Basic information of media file generated after pull for upload is completed.
|
String |
getMessage()
Get Error message.
|
String |
getProcedureTaskId()
Get If a video processing flow is specified when a video is pulled for upload, this parameter will be the ID of the task flow.
|
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 Pull for upload task ID.
|
void |
setErrCode(Long ErrCode)
Set Error code.
|
void |
setFileId(String FileId)
Set ID of video generated after pull for upload is completed.
|
void |
setFileUrl(String FileUrl)
Set Playback address generated after pull for upload is completed.
|
void |
setMediaBasicInfo(MediaBasicInfo MediaBasicInfo)
Set Basic information of media file generated after pull for upload is completed.
|
void |
setMessage(String Message)
Set Error message.
|
void |
setProcedureTaskId(String ProcedureTaskId)
Set If a video processing flow is specified when a video is pulled for upload, this parameter will be the ID of the task flow.
|
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 Pull for upload 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 String getTaskId()
public void setTaskId(String TaskId)
TaskId
- Pull for upload 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
- ID of video generated after pull for upload is completed.public MediaBasicInfo getMediaBasicInfo()
public void setMediaBasicInfo(MediaBasicInfo MediaBasicInfo)
MediaBasicInfo
- Basic information of media file generated after pull for upload is completed.
Note: this field may return null, indicating that no valid values can be obtained.public String getFileUrl()
public void setFileUrl(String FileUrl)
FileUrl
- Playback address generated after pull for upload is completed.public String getProcedureTaskId()
public void setProcedureTaskId(String ProcedureTaskId)
ProcedureTaskId
- If a video processing flow is specified when a video is pulled for upload, this parameter will be the ID of the task flow.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.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.Copyright © 2020. All rights reserved.