Table of Contents

Class AssetShare.UpdateAssetShareBuilder

Namespace
Smartsheet.Api.Models
Assembly
smartsheet-csharp-sdk.dll

A convenience class for creating a AssetShare with the necessary fields to update a specific share.

public class AssetShare.UpdateAssetShareBuilder
Inheritance
AssetShare.UpdateAssetShareBuilder
Inherited Members

Constructors

UpdateAssetShareBuilder(string, AccessLevel?)

Sets the required properties for updating a share object.

public UpdateAssetShareBuilder(string shareId, AccessLevel? accessLevel)

Parameters

shareId string

the share Id

accessLevel AccessLevel?

the Access Level

Methods

Build()

Builds the AssetShare object.

public AssetShare Build()

Returns

AssetShare

the share

GetAccessLevel()

Gets the access level.

public AccessLevel? GetAccessLevel()

Returns

AccessLevel?

the access level

SetAccessLevel(AccessLevel?)

Access level for the share.

public AssetShare.UpdateAssetShareBuilder SetAccessLevel(AccessLevel? accessLevel)

Parameters

accessLevel AccessLevel?

the access level

Returns

AssetShare.UpdateAssetShareBuilder

the update share builder