Package com.smartsheet.api
Interface HomeFolderResources
-
@Deprecated(since="3.4.0", forRemoval=true) public interface HomeFolderResourcesDeprecated, for removal: This API element is subject to removal in a future version.Home resources have been deprecated and will be removed in a future version.This interface provides methods to access Folder resources under home.
Thread Safety: Implementation of this interface must be thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description FoldercreateFolder(Folder folder)Deprecated, for removal: This API element is subject to removal in a future version.Home resources have been deprecated and will be removed in a future version.PagedResult<Folder>listFolders(PaginationParameters parameters)Deprecated, for removal: This API element is subject to removal in a future version.Home resources have been deprecated and will be removed in a future version.
-
-
-
Method Detail
-
listFolders
@Deprecated(since="3.4.0", forRemoval=true) PagedResult<Folder> listFolders(PaginationParameters parameters) throws SmartsheetExceptionDeprecated, for removal: This API element is subject to removal in a future version.Home resources have been deprecated and will be removed in a future version.List folders under home.
It mirrors to the following Smartsheet REST API method: GET /home/folders
- Parameters:
parameters- the pagination parameters- Returns:
- the list of folders (note that an empty list will be returned if there is none)
- Throws:
java.lang.IllegalArgumentException- if any argument is null or empty stringInvalidRequestException- if there is any problem with the REST API requestAuthorizationException- if there is any problem with the REST API authorization (access token)ResourceNotFoundException- if the resource cannot be foundServiceUnavailableException- if the REST API service is not available (possibly due to rate limiting)SmartsheetException- if there is any other error during the operation
-
createFolder
@Deprecated(since="3.4.0", forRemoval=true) Folder createFolder(Folder folder) throws SmartsheetExceptionDeprecated, for removal: This API element is subject to removal in a future version.Home resources have been deprecated and will be removed in a future version.Create a folder in home.
It mirrors to the following Smartsheet REST API method: POST /home/folders
- Parameters:
folder- the folder to create- Returns:
- the folder
- Throws:
java.lang.IllegalArgumentException- if any argument is null or empty stringInvalidRequestException- if there is any problem with the REST API requestAuthorizationException- if there is any problem with the REST API authorization (access token)ResourceNotFoundException- if the resource cannot be foundServiceUnavailableException- if the REST API service is not available (possibly due to rate limiting)SmartsheetException- if there is any other error during the operation
-
-