public class DescribeDocumentResponse extends AbstractModel
Constructor and Description |
---|
DescribeDocumentResponse() |
DescribeDocumentResponse(DescribeDocumentResponse 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 |
---|---|
String |
getDocumentId()
Get The document ID.
|
String |
getDocumentName()
Get The document title.
|
Long |
getDocumentSize()
Get The document size (bytes).
|
String |
getDocumentType()
Get The document type.
|
String |
getDocumentUrl()
Get The document’s original URL.
|
String |
getOwner()
Get The user ID of the document’s owner.
|
Long |
getPermission()
Get The document access type.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Long |
getSdkAppId()
Get The application ID.
|
String |
getTranscodeInfo()
Get The error message for failed transcoding.
|
Long |
getTranscodeProgress()
Get The transcoding progress.
|
String |
getTranscodeResult()
Get The transcoding result.
|
Long |
getTranscodeState()
Get The transcoding status.
|
Long |
getTranscodeType()
Get The transcoding type.
|
Long |
getUpdateTime()
Get The time (Unix timestamp) when the document was last updated.
|
void |
setDocumentId(String DocumentId)
Set The document ID.
|
void |
setDocumentName(String DocumentName)
Set The document title.
|
void |
setDocumentSize(Long DocumentSize)
Set The document size (bytes).
|
void |
setDocumentType(String DocumentType)
Set The document type.
|
void |
setDocumentUrl(String DocumentUrl)
Set The document’s original URL.
|
void |
setOwner(String Owner)
Set The user ID of the document’s owner.
|
void |
setPermission(Long Permission)
Set The document access type.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setSdkAppId(Long SdkAppId)
Set The application ID.
|
void |
setTranscodeInfo(String TranscodeInfo)
Set The error message for failed transcoding.
|
void |
setTranscodeProgress(Long TranscodeProgress)
Set The transcoding progress.
|
void |
setTranscodeResult(String TranscodeResult)
Set The transcoding result.
|
void |
setTranscodeState(Long TranscodeState)
Set The transcoding status.
|
void |
setTranscodeType(Long TranscodeType)
Set The transcoding type.
|
void |
setUpdateTime(Long UpdateTime)
Set The time (Unix timestamp) when the document was last updated.
|
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 DescribeDocumentResponse()
public DescribeDocumentResponse(DescribeDocumentResponse source)
public String getDocumentId()
public void setDocumentId(String DocumentId)
DocumentId
- The document ID.public String getDocumentUrl()
public void setDocumentUrl(String DocumentUrl)
DocumentUrl
- The document’s original URL.public String getDocumentName()
public void setDocumentName(String DocumentName)
DocumentName
- The document title.public String getOwner()
public void setOwner(String Owner)
Owner
- The user ID of the document’s owner.public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- The application ID.public Long getPermission()
public void setPermission(Long Permission)
Permission
- The document access type.public String getTranscodeResult()
public void setTranscodeResult(String TranscodeResult)
TranscodeResult
- The transcoding result. If the file is not transcoded, this parameter will be empty. If it is successfully transcoded, this parameter will be the URL of the transcoded file. If transcoding fails, this parameter will indicate the error code.public Long getTranscodeType()
public void setTranscodeType(Long TranscodeType)
TranscodeType
- The transcoding type.public Long getTranscodeProgress()
public void setTranscodeProgress(Long TranscodeProgress)
TranscodeProgress
- The transcoding progress. Value range: 0-100.public Long getTranscodeState()
public void setTranscodeState(Long TranscodeState)
TranscodeState
- The transcoding status. 0: The file is not transcoded. 1: The file is being transcoded. 2: Transcoding failed. 3: Transcoding is successful.public String getTranscodeInfo()
public void setTranscodeInfo(String TranscodeInfo)
TranscodeInfo
- The error message for failed transcoding.public String getDocumentType()
public void setDocumentType(String DocumentType)
DocumentType
- The document type.public Long getDocumentSize()
public void setDocumentSize(Long DocumentSize)
DocumentSize
- The document size (bytes).public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- The time (Unix timestamp) when the document was last updated.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2023. All rights reserved.