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

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

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

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

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

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

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

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

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

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