C# Class Smartsheet.Api.Internal.WorkspaceFolderResourcesImpl

This is the implementation of the WorkspaceFolderResources. Thread Safety: This class is thread safe because it is immutable and its base class is thread safe.
Inheritance: AbstractResources, WorkspaceFolderResources
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk Class Usage Examples

Public Methods

Method Description
CreateFolder ( long workspaceId, Folder folder ) : Folder

Create a folder in the workspace.

It mirrors To the following Smartsheet REST API method: POST /workspaces/{workspaceId}/Folders

ListFolders ( long workspaceId, PaginationParameters paging ) : PaginatedResult

List Folders of a given workspace.

It mirrors To the following Smartsheet REST API method: GET /workspaces/{workspaceId}/Folders

WorkspaceFolderResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic

Constructor. Exceptions: - IllegalArgumentException : if any argument is

Method Details

CreateFolder() public method

Create a folder in the workspace.

It mirrors To the following Smartsheet REST API method: POST /workspaces/{workspaceId}/Folders

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public CreateFolder ( long workspaceId, Folder folder ) : Folder
workspaceId long the workspace Id
folder Folder the folder To create
return Folder

ListFolders() public method

List Folders of a given workspace.

It mirrors To the following Smartsheet REST API method: GET /workspaces/{workspaceId}/Folders

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public ListFolders ( long workspaceId, PaginationParameters paging ) : PaginatedResult
workspaceId long the workspace Id
paging PaginationParameters the pagination information
return PaginatedResult

WorkspaceFolderResourcesImpl() public method

Constructor. Exceptions: - IllegalArgumentException : if any argument is
public WorkspaceFolderResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic
smartsheet SmartsheetImpl the Smartsheet
return System.Collections.Generic