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
Afficher le fichier Open project: smartsheet-platform/smartsheet-csharp-sdk Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat Folder

ListFolders() public méthode

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
Résultat PaginatedResult

WorkspaceFolderResourcesImpl() public méthode

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