public class DescribeFileAttributesTask extends AbstractModel
Constructor and Description |
---|
DescribeFileAttributesTask() |
DescribeFileAttributesTask(DescribeFileAttributesTask 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 The error code.
|
String |
getErrCodeExt()
Get The error code.
|
String |
getFileId()
Get The file ID
|
String |
getMessage()
Get The error message.
|
DescribeFileAttributesTaskOutput |
getOutput()
Get The output of the task to get file attributes.
|
Long |
getProgress()
Get The task progress.
|
String |
getSessionContext()
Get The source context, which is used to pass through user request information.
|
String |
getSessionId()
Get The session ID, which is used for de-duplication.
|
String |
getStatus()
Get The task status.
|
String |
getTaskId()
Get The task ID.
|
void |
setErrCode(Long ErrCode)
Set The error code.
|
void |
setErrCodeExt(String ErrCodeExt)
Set The error code.
|
void |
setFileId(String FileId)
Set The file ID
|
void |
setMessage(String Message)
Set The error message.
|
void |
setOutput(DescribeFileAttributesTaskOutput Output)
Set The output of the task to get file attributes.
|
void |
setProgress(Long Progress)
Set The task progress.
|
void |
setSessionContext(String SessionContext)
Set The source context, which is used to pass through user request information.
|
void |
setSessionId(String SessionId)
Set The session ID, which is used for de-duplication.
|
void |
setStatus(String Status)
Set The task 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 DescribeFileAttributesTask()
public DescribeFileAttributesTask(DescribeFileAttributesTask source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- The task ID.public String getStatus()
public void setStatus(String Status)
Status
- The task status. Valid values: PROCESSING, SUCCESS, FAIL.public Long getErrCode()
public void setErrCode(Long ErrCode)
ErrCode
- The error code. `0` indicates the task is successful. Other values indicate that the task failed.
public String getErrCodeExt()
public void setErrCodeExt(String ErrCodeExt)
ErrCodeExt
- The error code. An empty string indicates the task is successful; other values indicate that the task failed. For details, see [Video processing error codes](https://intl.cloud.tencent.com/document/product/266/39145?lang=en&pg=#video-processing).public String getMessage()
public void setMessage(String Message)
Message
- The error message.public Long getProgress()
public void setProgress(Long Progress)
Progress
- The task progress. Value range: 0-100.public String getFileId()
public void setFileId(String FileId)
FileId
- The file IDpublic DescribeFileAttributesTaskOutput getOutput()
public void setOutput(DescribeFileAttributesTaskOutput Output)
Output
- The output of the task to get file attributes.
Note: This field may return null, indicating that no valid values can be obtained.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters.Copyright © 2023. All rights reserved.