C# Class Smartsheet.Api.Internal.ContactResourcesImpl

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

Public Methods

Method Description
ContactResourcesImpl ( SmartsheetImpl smartsheet ) : System

Constructor.

GetContact ( string contactId ) : Contact

Gets the specified Contact.

It mirrors To the following Smartsheet REST API method: POST GET /contacts/{contactId}

ListContacts ( PaginationParameters paging ) : PaginatedResult

Gets a list of the user’s Smartsheet Contacts.

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

Method Details

ContactResourcesImpl() public method

Constructor.
if any argument is null
public ContactResourcesImpl ( SmartsheetImpl smartsheet ) : System
smartsheet SmartsheetImpl the Smartsheet
return System

GetContact() public method

Gets the specified Contact.

It mirrors To the following Smartsheet REST API method: POST GET /contacts/{contactId}

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 GetContact ( string contactId ) : Contact
contactId string the contactId
return Smartsheet.Api.Models.Contact

ListContacts() public method

Gets a list of the user’s Smartsheet Contacts.

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

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 ListContacts ( PaginationParameters paging ) : PaginatedResult
paging Smartsheet.Api.Models.PaginationParameters the pagination info
return PaginatedResult