Class SheetEmail.CreateSheetEmail
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class for creating a SheetEmail object with the necessary fields.
public class SheetEmail.CreateSheetEmail
- Inheritance
-
SheetEmail.CreateSheetEmail
- Inherited Members
Constructors
CreateSheetEmail(IList<Recipient>, SheetEmailFormat?)
Sets the required properties for creating a SheetEmail.
public CreateSheetEmail(IList<Recipient> sendTo, SheetEmailFormat? format)
Parameters
sendTo
IList<Recipient>format
SheetEmailFormat?
Methods
Build()
Creates and returns the SheetEmail object.
public SheetEmail Build()
Returns
- SheetEmail
the SheetEmail object
SetCcMe(bool?)
Sets whether to ccMe.
public SheetEmail.CreateSheetEmail SetCcMe(bool? ccMe)
Parameters
ccMe
bool?the ccMe option
Returns
- SheetEmail.CreateSheetEmail
this CreateSheetEmail object
SetFormatDetails(FormatDetails)
Sets the format details of the SheetEmail.
public SheetEmail.CreateSheetEmail SetFormatDetails(FormatDetails formatDetails)
Parameters
formatDetails
FormatDetailsthe format details
Returns
- SheetEmail.CreateSheetEmail
this CreateSheetEmail object
SetMessage(string)
Sets the message of the SheetEmail.
public SheetEmail.CreateSheetEmail SetMessage(string message)
Parameters
message
stringthe message
Returns
- SheetEmail.CreateSheetEmail
this CreateSheetEmail object
SetSubject(string)
Sets the subject of the SheetEmail.
public SheetEmail.CreateSheetEmail SetSubject(string subject)
Parameters
subject
stringthe subject
Returns
- SheetEmail.CreateSheetEmail
this CreateSheetEmail object