C# Class Smartsheet.Api.Internal.FolderSheetResourcesImpl

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

Public Methods

Method Description
CreateSheet ( long folderId, Sheet sheet ) : Sheet

Creates a Sheet from scratch in the specified Folder.

It mirrors To the following Smartsheet REST API method: POST /folders/{folderId}/sheets

CreateSheetFromTemplate ( long folderId, Sheet sheet, IEnumerable includes ) : Sheet

Creates a Sheet in the specified Folder, from the specified Template.

It mirrors To the following Smartsheet REST API method: POST /folders/{folderId}/sheets

FolderSheetResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic

Constructor. Exceptions: - IllegalArgumentException : if any argument is

Method Details

CreateSheet() public method

Creates a Sheet from scratch in the specified Folder.

It mirrors To the following Smartsheet REST API method: POST /folders/{folderId}/sheets

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 CreateSheet ( long folderId, Sheet sheet ) : Sheet
folderId long the folder Id
sheet Sheet the sheet To create
return Sheet

CreateSheetFromTemplate() public method

Creates a Sheet in the specified Folder, from the specified Template.

It mirrors To the following Smartsheet REST API method: POST /folders/{folderId}/sheets

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 CreateSheetFromTemplate ( long folderId, Sheet sheet, IEnumerable includes ) : Sheet
folderId long the folder Id
sheet Sheet the sheet To create
includes IEnumerable used To specify the optional objects To include
return Sheet

FolderSheetResourcesImpl() public method

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