C# Class Smartsheet.Api.Models.Cell.AddCellBuilder

A convenience class for quickly creating a List of Cells To update. /// The Cells. /// Adds the cell. /// /// Gets the cells. /// /// Adds the cell. /// /// Returns the list of Cells. /// A convenience class for adding a Cell with the necessary fields for inserting into a list of Cells.
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk Class Usage Examples

Public Methods

Method Description
AddCellBuilder ( long columnId, object value ) : System.Collections.Generic

Set required properties.

Build ( ) : Cell

Builds and returns the Cell object.

GetColumnId ( ) : long?

Gets the column Id.

GetFormat ( ) : string

Gets the Format.

GetHyperlink ( ) : Link

Gets the Hyperlink.

GetStrict ( ) : bool?

Gets the Strict option.

GetValue ( ) : object

Gets the Value.

SetColumnId ( long columnId ) : AddCellBuilder

Sets the Column Id

SetFormat ( string format ) : AddCellBuilder

Sets the format.

SetHyperlink ( Link hyperlink ) : AddCellBuilder

Sets the hyperlink.

SetStrict ( bool strict ) : AddCellBuilder

Sets whether cells is strict or not.

SetValue ( object value ) : AddCellBuilder

Sets the cell value

Method Details

AddCellBuilder() public method

Set required properties.
public AddCellBuilder ( long columnId, object value ) : System.Collections.Generic
columnId long the column Id
value object the value of the cell
return System.Collections.Generic

Build() public method

Builds and returns the Cell object.
public Build ( ) : Cell
return Cell

GetColumnId() public method

Gets the column Id.
public GetColumnId ( ) : long?
return long?

GetFormat() public method

Gets the Format.
public GetFormat ( ) : string
return string

GetHyperlink() public method

Gets the Hyperlink.
public GetHyperlink ( ) : Link
return Link

GetStrict() public method

Gets the Strict option.
public GetStrict ( ) : bool?
return bool?

GetValue() public method

Gets the Value.
public GetValue ( ) : object
return object

SetColumnId() public method

Sets the Column Id
public SetColumnId ( long columnId ) : AddCellBuilder
columnId long the column Id
return AddCellBuilder

SetFormat() public method

Sets the format.
public SetFormat ( string format ) : AddCellBuilder
format string the format
return AddCellBuilder

SetHyperlink() public method

Sets the hyperlink.
public SetHyperlink ( Link hyperlink ) : AddCellBuilder
hyperlink Link the hyperlink
return AddCellBuilder

SetStrict() public method

Sets whether cells is strict or not.
public SetStrict ( bool strict ) : AddCellBuilder
strict bool the strict option
return AddCellBuilder

SetValue() public method

Sets the cell value
public SetValue ( object value ) : AddCellBuilder
value object the value
return AddCellBuilder