FileUploadInfo Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. FileUploadInfo
- com.
public class FileUploadInfo
Information about the file to be uploaded.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| FileUploadInfo() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getContentUrl()
Gets URL to file. |
| java.lang.String |
getFileType()
Gets type of file. |
| java.lang.String |
getName()
Gets name of the file. |
| java.lang.String |
getUniqueId()
Gets unique Id for the file. |
| java.lang.String |
getUploadUrl()
Gets URL to an upload session that the bot can use to set the file contents. |
| void |
setContentUrl(String withContentUrl)
Sets URL to file. |
| void |
setFileType(String withFileType)
Sets type of file. |
| void |
setName(String withName)
Sets name of the file. |
| void |
setUniqueId(String withUniqueId)
Sets unique Id for the file. |
| void |
setUploadUrl(String withUploadUrl)
Sets URL to an upload session that the bot can use to set the file contents. |
Methods inherited from java.lang.Object
Constructor Details
FileUploadInfo
public FileUploadInfo()
Method Details
getContentUrl
public String getContentUrl()
Gets URL to file.
Returns:
getFileType
public String getFileType()
Gets type of file.
Returns:
getName
public String getName()
Gets name of the file.
Returns:
getUniqueId
public String getUniqueId()
Gets unique Id for the file.
Returns:
getUploadUrl
public String getUploadUrl()
Gets URL to an upload session that the bot can use to set the file contents.
Returns:
setContentUrl
public void setContentUrl(String withContentUrl)
Sets URL to file.
Parameters:
setFileType
public void setFileType(String withFileType)
Sets type of file.
Parameters:
setName
public void setName(String withName)
Sets name of the file.
Parameters:
setUniqueId
public void setUniqueId(String withUniqueId)
Sets unique Id for the file.
Parameters:
setUploadUrl
public void setUploadUrl(String withUploadUrl)
Sets URL to an upload session that the bot can use to set the file contents.
Parameters: