C# Class Smartsheet.Api.Models.SheetEmail.CreateSheetEmail

A convenience class for creating a SheetEmail object with the necessary fields.
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

Method Description
Build ( ) : SheetEmail

Creates and returns the SheetEmail object.

CreateSheetEmail ( IList sendTo, SheetEmailFormat format ) : System.Collections.Generic

Sets the required properties for creating a SheetEmail.

SetCcMe ( bool ccMe ) : CreateSheetEmail

Sets whether to ccMe.

SetFormatDetails ( FormatDetails formatDetails ) : CreateSheetEmail

Sets the format details of the SheetEmail.

SetMessage ( string message ) : CreateSheetEmail

Sets the message of the SheetEmail.

SetSubject ( string subject ) : CreateSheetEmail

Sets the subject of the SheetEmail.

Method Details

Build() public method

Creates and returns the SheetEmail object.
public Build ( ) : SheetEmail
return SheetEmail

CreateSheetEmail() public method

Sets the required properties for creating a SheetEmail.
public CreateSheetEmail ( IList sendTo, SheetEmailFormat format ) : System.Collections.Generic
sendTo IList
format SheetEmailFormat
return System.Collections.Generic

SetCcMe() public method

Sets whether to ccMe.
public SetCcMe ( bool ccMe ) : CreateSheetEmail
ccMe bool the ccMe option
return CreateSheetEmail

SetFormatDetails() public method

Sets the format details of the SheetEmail.
public SetFormatDetails ( FormatDetails formatDetails ) : CreateSheetEmail
formatDetails FormatDetails the format details
return CreateSheetEmail

SetMessage() public method

Sets the message of the SheetEmail.
public SetMessage ( string message ) : CreateSheetEmail
message string the message
return CreateSheetEmail

SetSubject() public method

Sets the subject of the SheetEmail.
public SetSubject ( string subject ) : CreateSheetEmail
subject string the subject
return CreateSheetEmail