SmartsheetBuilder Class |
A convenience class to help create a instance with the appropriate fields.
Thread Safety: This class is not thread safe since it's mutable, one builder instance is NOT expected to be used in multiple threads.
Namespace: Smartsheet.Api
The SmartsheetBuilder type exposes the following members.
| Name | Description | |
|---|---|---|
| SmartsheetBuilder |
Constructor.
|
| Name | Description | |
|---|---|---|
| AccessToken | Gets the access token. | |
| AssumedUser | Gets the assumed user. | |
| BaseURI | Gets the base uri. | |
| DefaultBaseUri | Gets the default base uri. | |
| HttpClient | Gets the http client. | |
| JsonSerializer | Gets the Json serializer. |
| Name | Description | |
|---|---|---|
| Build | Build the SmartsheetClient instance. | |
| SetAccessToken | Set the access token. | |
| SetAssumedUser | Set the assumed user. | |
| SetBaseURI | Set the base URI. | |
| SetChangeAgent | Set the Smartsheet change agent. | |
| SetDateTimeFixOptOut |
Set optional flag to re-enable JSON deserializers conversion from string to C# DateTime
| |
| SetHttpClient | Set the HttpClient. | |
| SetJsonSerializer | Set the JsonSerializer. | |
| SetMaxRetryTimeout |
Create a DefaultCalcBackoff with a max elapsed timeout specified by the user. This interface
is only valid when the DefaultHttpClient is used.
|
| Name | Description | |
|---|---|---|
| DEFAULT_BASE_URI | Represents the default base URI of the Smartsheet REST API. It is a constant with Value "https://api.smartsheet.com/2.0". | |
| GOV_BASE_URI | Represents the base URI of the Smartsheetgov REST API. It is a constant with Value "https://api.smartsheetgov.com/2.0". |