C# Class Smartsheet.Api.Internal.WorkspaceSheetResourcesImpl

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, WorkspaceSheetResources
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

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

Create a sheet in given workspace.

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

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

Creates a Sheet at the top-level of the specified Workspace, from the specified Template.

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

WorkspaceSheetResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic

Constructor. Exceptions: - IllegalArgumentException : if any argument is

Method Details

CreateSheet() public method

Create a sheet in given workspace.

It mirrors To the following Smartsheet REST API method: POST /workspaces/{workspaceId}/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 workspaceId, Sheet sheet ) : Sheet
workspaceId long the workspace Id
sheet Sheet the sheet To create
return Sheet

CreateSheetFromTemplate() public method

Creates a Sheet at the top-level of the specified Workspace, from the specified Template.

It mirrors To the following Smartsheet REST API method: POST /workspaces/{workspaceId}/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 workspaceId, Sheet sheet, IEnumerable includes ) : Sheet
workspaceId long the workspace Id
sheet Sheet the sheet To create
includes IEnumerable used To specify the optional objects To include
return Sheet

WorkspaceSheetResourcesImpl() public method

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