C# Class Smartsheet.Api.Models.MultiShare.ShareToManyBuilder

A convenience class for creating a MultiShare object with the necessary fields for sharing a sheet with many Users.
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

Method Description
Build ( ) : MultiShare

Builds the Multishare object with the set fields.

SetAccessLevel ( AccessLevel accessLevel ) : ShareToManyBuilder

Sets the access level.

SetCCMe ( bool ccMe ) : ShareToManyBuilder

Set the carbon copy me flag.

SetMessage ( string message ) : ShareToManyBuilder

Sets the Message To be included in the body of the Email that will be sent To the use.

SetSubject ( string subject ) : ShareToManyBuilder

Sets the Subject of the Email that sent To notify the Users.

SetUsers ( IList users ) : ShareToManyBuilder

Sets the Users that will be shared with. The Email address must be defined for each user.

Method Details

Build() public method

Builds the Multishare object with the set fields.
public Build ( ) : MultiShare
return MultiShare

SetAccessLevel() public method

Sets the access level.
public SetAccessLevel ( AccessLevel accessLevel ) : ShareToManyBuilder
accessLevel AccessLevel the access level
return ShareToManyBuilder

SetCCMe() public method

Set the carbon copy me flag.
public SetCCMe ( bool ccMe ) : ShareToManyBuilder
ccMe bool the carbon copy me flag.
return ShareToManyBuilder

SetMessage() public method

Sets the Message To be included in the body of the Email that will be sent To the use.
public SetMessage ( string message ) : ShareToManyBuilder
message string the Message
return ShareToManyBuilder

SetSubject() public method

Sets the Subject of the Email that sent To notify the Users.
public SetSubject ( string subject ) : ShareToManyBuilder
subject string the Subject
return ShareToManyBuilder

SetUsers() public method

Sets the Users that will be shared with. The Email address must be defined for each user.
public SetUsers ( IList users ) : ShareToManyBuilder
users IList the Users
return ShareToManyBuilder