Class Share.UpdateShareBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class for creating a Share with the necessary fields to update a specific share.
public class Share.UpdateShareBuilder
- Inheritance
-
Share.UpdateShareBuilder
- Inherited Members
Constructors
UpdateShareBuilder(string, AccessLevel?)
Sets the required properties for updating a share object.
public UpdateShareBuilder(string shareId, AccessLevel? accessLevel)
Parameters
shareId
stringthe share Id
accessLevel
AccessLevel?the Access Level
Methods
Build()
Builds the Share object.
public Share Build()
Returns
- Share
the share
GetAccessLevel()
Gets the access level.
public AccessLevel? GetAccessLevel()
Returns
- AccessLevel?
the access level
SetAccessLevel(AccessLevel?)
Access level for the share.
public Share.UpdateShareBuilder SetAccessLevel(AccessLevel? accessLevel)
Parameters
accessLevel
AccessLevel?the access level
Returns
- Share.UpdateShareBuilder
the update share builder