C# Класс 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.
Наследование: AbstractResources, WorkspaceFolderResources
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CreateFolder() публичный Метод

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
Результат Folder

ListFolders() публичный Метод

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
Результат PaginatedResult

WorkspaceFolderResourcesImpl() публичный Метод

Constructor. Exceptions: - IllegalArgumentException : if any argument is
public WorkspaceFolderResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic
smartsheet SmartsheetImpl the Smartsheet
Результат System.Collections.Generic