FileDownloadInfo Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. FileDownloadInfo
- com.
public class FileDownloadInfo
File download info attachment.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final java.lang.String |
CONTENT_TYPE
Content type to be used in the type property. |
Constructor Summary
| Constructor | Description | |
|---|---|---|
| FileDownloadInfo() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getDownloadUrl()
Gets file download url. |
| java.lang.Object |
getEtag()
Gets e |
| java.lang.String |
getFileType()
Gets type of file. |
| java.lang.String |
getUniqueId()
Gets unique Id for the file. |
| void |
setDownloadUrl(String withDownloadUrl)
Sets file download url. |
| void |
setEtag(Object withEtag)
Sets e |
| void |
setFileType(String withFileType)
Sets type of file. |
| void |
setUniqueId(String withUniqueId)
Sets unique Id for the file. |
Methods inherited from java.lang.Object
Field Details
CONTENT_TYPE
public static final String CONTENT_TYPE
Content type to be used in the type property.
Constructor Details
FileDownloadInfo
public FileDownloadInfo()
Method Details
getDownloadUrl
public String getDownloadUrl()
Gets file download url.
Returns:
getEtag
public Object getEtag()
Gets eTag for the file.
Returns:
getFileType
public String getFileType()
Gets type of file.
Returns:
getUniqueId
public String getUniqueId()
Gets unique Id for the file.
Returns:
setDownloadUrl
public void setDownloadUrl(String withDownloadUrl)
Sets file download url.
Parameters:
setEtag
public void setEtag(Object withEtag)
Sets eTag for the file.
Parameters:
setFileType
public void setFileType(String withFileType)
Sets type of file.
Parameters:
setUniqueId
public void setUniqueId(String withUniqueId)
Sets unique Id for the file.
Parameters: