C# 클래스 Smartsheet.Api.Internal.SightResourcesImpl

상속: AbstractResources, SightResources
파일 보기 프로젝트 열기: smartsheet-platform/smartsheet-csharp-sdk

공개 메소드들

메소드 설명
CopySight ( long sightId, ContainerDestination destination ) : Sight

Creates a copy of the specified Sight.

It mirrors To the following Smartsheet REST API method:
POST /sights/{sightId}/copy

DeleteSight ( long sightId ) : void

Delete a sight.

It mirrors To the following Smartsheet REST API method: DELETE /sights/{sightId}

GetSight ( long sightId ) : Sight

Get a specified Sight.

It mirrors To the following Smartsheet REST API method: GET /sights/{sightId}

ListSights ( PaginationParameters paging, System.DateTime modifiedSince ) : PaginatedResult

Gets the list of all Sights that the User has access to.

It mirrors To the following Smartsheet REST API method: GET /sights

MoveSight ( long sightId, ContainerDestination destination ) : Sight

Moves the specified Sight to a new location.

It mirrors To the following Smartsheet REST API method:
POST /sights/{sightId}/move

SightResourcesImpl ( SmartsheetImpl smartsheet ) : System

Constructor. Exceptions: - IllegalArgumentException : if any argument is null

UpdateSight ( Sight sight ) : Sight

Updates (renames) the specified Sight.

The request body is limited to the name attribute.

It mirrors To the following Smartsheet REST API method: PUT /sights/{sightId}

메소드 상세

CopySight() 공개 메소드

Creates a copy of the specified Sight.

It mirrors To the following Smartsheet REST API method:
POST /sights/{sightId}/copy

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 CopySight ( long sightId, ContainerDestination destination ) : Sight
sightId long the sightId
destination Smartsheet.Api.Models.ContainerDestination the destination to copy to
리턴 Smartsheet.Api.Models.Sight

DeleteSight() 공개 메소드

Delete a sight.

It mirrors To the following Smartsheet REST API method: DELETE /sights/{sightId}

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 DeleteSight ( long sightId ) : void
sightId long the sightId
리턴 void

GetSight() 공개 메소드

Get a specified Sight.

It mirrors To the following Smartsheet REST API method: GET /sights/{sightId}

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 GetSight ( long sightId ) : Sight
sightId long the Id of the sight
리턴 Smartsheet.Api.Models.Sight

ListSights() 공개 메소드

Gets the list of all Sights that the User has access to.

It mirrors To the following Smartsheet REST API method: GET /sights

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 ListSights ( PaginationParameters paging, System.DateTime modifiedSince ) : PaginatedResult
paging Smartsheet.Api.Models.PaginationParameters
modifiedSince System.DateTime
리턴 PaginatedResult

MoveSight() 공개 메소드

Moves the specified Sight to a new location.

It mirrors To the following Smartsheet REST API method:
POST /sights/{sightId}/move

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 MoveSight ( long sightId, ContainerDestination destination ) : Sight
sightId long the sightId
destination Smartsheet.Api.Models.ContainerDestination the destination to copy to
리턴 Smartsheet.Api.Models.Sight

SightResourcesImpl() 공개 메소드

Constructor. Exceptions: - IllegalArgumentException : if any argument is null
public SightResourcesImpl ( SmartsheetImpl smartsheet ) : System
smartsheet SmartsheetImpl the Smartsheet
리턴 System

UpdateSight() 공개 메소드

Updates (renames) the specified Sight.

The request body is limited to the name attribute.

It mirrors To the following Smartsheet REST API method: PUT /sights/{sightId}

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 UpdateSight ( Sight sight ) : Sight
sight Smartsheet.Api.Models.Sight the sight To update
리턴 Smartsheet.Api.Models.Sight