Class Cell.UpdateCellBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class for updating a cell with the necessary fields for inserting into a list of cells.
public class Cell.UpdateCellBuilder
- Inheritance
-
Cell.UpdateCellBuilder
- Inherited Members
Constructors
UpdateCellBuilder(long?, object)
Set required properties.
public UpdateCellBuilder(long? columnId, object value)
Parameters
Methods
Build()
Builds and returns the Cell object.
public Cell Build()
Returns
- Cell
Cell object
GetColumnId()
Gets the column Id.
public long? GetColumnId()
Returns
- long?
the column Id.
GetFormat()
Gets the format.
public string GetFormat()
Returns
- string
the format
GetHyperlink()
Gets the hyperLink
public Hyperlink GetHyperlink()
Returns
- Hyperlink
the hyperlink
GetLinkInFromCell()
Gets link in from cell.
public CellLink GetLinkInFromCell()
Returns
- CellLink
the link in from cell
GetStrict()
Gets the Strict.
public bool? GetStrict()
Returns
- bool?
the strict.
GetValue()
Gets the value.
public object GetValue()
Returns
- object
the value.
SetColumnId(long?)
Sets the column Id
public Cell.UpdateCellBuilder SetColumnId(long? columnId)
Parameters
columnId
long?columnId
Returns
- Cell.UpdateCellBuilder
this UpdateCellBuilder
SetFormat(string)
Sets the format.
public Cell.UpdateCellBuilder SetFormat(string format)
Parameters
format
string(optional)
Returns
- Cell.UpdateCellBuilder
this UpdateCellBuilder
SetHyperlink(Hyperlink)
(optional) with exactly one of the following attributes set:
- url
- sheetId
- reportId
public Cell.UpdateCellBuilder SetHyperlink(Hyperlink hyperlink)
Parameters
hyperlink
HyperlinkLink object
Returns
- Cell.UpdateCellBuilder
this UpdateCellBuilder
SetLinkInFromCell(CellLink)
(optional) with all of the following attributes set:
- sheetId
- rowId
- columnId
public Cell.UpdateCellBuilder SetLinkInFromCell(CellLink linkInFromCell)
Parameters
linkInFromCell
CellLinkCellLink object
Returns
- Cell.UpdateCellBuilder
this UpdateCellBuilder
SetStrict(bool?)
Sets the strict.
public Cell.UpdateCellBuilder SetStrict(bool? strict)
Parameters
strict
bool?(optional)
Returns
- Cell.UpdateCellBuilder
this UpdateCellBuilder
SetValue(object)
Sets the value.
public Cell.UpdateCellBuilder SetValue(object value)
Parameters
value
object(required)
Returns
- Cell.UpdateCellBuilder
this UpdateCellBuilder