Class Sheet.CreateSheetBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class to make a Sheet object with the necessary fields to create the sheet by posting it to Smartsheet.
public class Sheet.CreateSheetBuilder
- Inheritance
-
Sheet.CreateSheetBuilder
- Inherited Members
Constructors
CreateSheetBuilder(string, IList<Column>)
Sets the required properties for creating a Sheet.
public CreateSheetBuilder(string name, IList<Column> columns)
Parameters
Methods
Build()
Creates a sheet by using the values from setters in this builder.
public Sheet Build()
Returns
- Sheet
the sheet
GetColumns()
Returns the list of Columns.
public IList<Column> GetColumns()
Returns
GetName()
Returns the Name for the sheet.
public string GetName()
Returns
- string
the Name
SetColumns(IList<Column>)
Sets the Columns for the sheet being created.
public Sheet.CreateSheetBuilder SetColumns(IList<Column> columns)
Parameters
Returns
- Sheet.CreateSheetBuilder
the creates the builder
SetName(string)
Sets the Name for the sheet being created.
public Sheet.CreateSheetBuilder SetName(string name)
Parameters
name
stringThe Name for the sheet being created.
Returns
- Sheet.CreateSheetBuilder
the creates the builder