public class DocumentInfo extends AbstractModel
Constructor and Description |
---|
DocumentInfo() |
DocumentInfo(DocumentInfo 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 |
getCover()
Get The thumbnail.
|
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.
|
Long |
getHeight()
Get The height.
|
String |
getOwner()
Get The user ID of the document’s owner.
|
Long |
getPages()
Get The number of pages.
|
Long |
getPermission()
Get The document access type.
|
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.
|
Long |
getWidth()
Get The width.
|
void |
setCover(String Cover)
Set The thumbnail.
|
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 |
setHeight(Long Height)
Set The height.
|
void |
setOwner(String Owner)
Set The user ID of the document’s owner.
|
void |
setPages(Long Pages)
Set The number of pages.
|
void |
setPermission(Long Permission)
Set The document access type.
|
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 |
setWidth(Long Width)
Set The width.
|
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 DocumentInfo()
public DocumentInfo(DocumentInfo source)
public String getDocumentId()
public void setDocumentId(String DocumentId)
DocumentId
- The document ID. Note: This field may return null, indicating that no valid values can be obtained.public String getDocumentUrl()
public void setDocumentUrl(String DocumentUrl)
DocumentUrl
- The document’s original URL. Note: This field may return null, indicating that no valid values can be obtained.public String getDocumentName()
public void setDocumentName(String DocumentName)
DocumentName
- The document title. Note: This field may return null, indicating that no valid values can be obtained.public String getOwner()
public void setOwner(String Owner)
Owner
- The user ID of the document’s owner. Note: This field may return null, indicating that no valid values can be obtained.public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- The application ID. Note: This field may return null, indicating that no valid values can be obtained.public Long getPermission()
public void setPermission(Long Permission)
Permission
- The document access type. 0: Private; 1: Public. Note: This field may return null, indicating that no valid values can be obtained.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. Note: This field may return null, indicating that no valid values can be obtained.public Long getTranscodeType()
public void setTranscodeType(Long TranscodeType)
TranscodeType
- The transcoding type. Note: This field may return null, indicating that no valid values can be obtained.public Long getTranscodeProgress()
public void setTranscodeProgress(Long TranscodeProgress)
TranscodeProgress
- The transcoding progress. Value range: 0-100. Note: This field may return null, indicating that no valid values can be obtained.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. Note: This field may return null, indicating that no valid values can be obtained.public String getTranscodeInfo()
public void setTranscodeInfo(String TranscodeInfo)
TranscodeInfo
- The error message for failed transcoding. Note: This field may return null, indicating that no valid values can be obtained.public String getDocumentType()
public void setDocumentType(String DocumentType)
DocumentType
- The document type. Note: This field may return null, indicating that no valid values can be obtained.public Long getDocumentSize()
public void setDocumentSize(Long DocumentSize)
DocumentSize
- The document size (bytes). Note: This field may return null, indicating that no valid values can be obtained.public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- The time (Unix timestamp) when the document was last updated. Note: This field may return null, indicating that no valid values can be obtained.public Long getPages()
public void setPages(Long Pages)
Pages
- The number of pages.
Note: This field may return null, indicating that no valid values can be obtained.public Long getWidth()
public void setWidth(Long Width)
Width
- The width. This parameter is valid only if static document transcoding is used.
Note: This field may return null, indicating that no valid values can be obtained.public Long getHeight()
public void setHeight(Long Height)
Height
- The height. This parameter is valid only if static document transcoding is used.
Note: This field may return null, indicating that no valid values can be obtained.public String getCover()
public void setCover(String Cover)
Cover
- The thumbnail. Only transcoded courseware has thumbnails.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.