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

A convenience class for updating a Cell with the necessary fields for inserting into a list of Cells.
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

Method Description
Build ( ) : Cell

Builds and returns the Cell object.

GetColumnId ( ) : long?

Gets the Column Id.

GetFormat ( ) : string

Gets the Format.

GetHyperlink ( ) : Link

Gets the HyperLink

GetLinkInFromCell ( ) : CellLink

Gets Link In From Cell.

GetStrict ( ) : bool?

Gets the Strict.

GetValue ( ) : object

Gets the value.

SetColumnId ( long columnId ) : UpdateCellBuilder

Sets the Column Id

SetFormat ( string format ) : UpdateCellBuilder

Sets the format.

SetHyperlink ( Link hyperlink ) : UpdateCellBuilder

(optional) with exactly one of the following attributes set: url sheetId reportId

SetLinkInFromCell ( CellLink linkInFromCell ) : UpdateCellBuilder

(optional) with all of the following attributes set: sheetId rowId columnId

SetStrict ( bool strict ) : UpdateCellBuilder

Sets the strict.

SetValue ( object value ) : UpdateCellBuilder

Sets the value.

UpdateCellBuilder ( long columnId, object value ) : System.Collections.Generic

Set required properties.

Method Details

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

GetLinkInFromCell() public method

Gets Link In From Cell.
public GetLinkInFromCell ( ) : CellLink
return CellLink

GetStrict() public method

Gets the Strict.
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 ) : UpdateCellBuilder
columnId long columnId
return UpdateCellBuilder

SetFormat() public method

Sets the format.
public SetFormat ( string format ) : UpdateCellBuilder
format string (optional)
return UpdateCellBuilder

SetHyperlink() public method

(optional) with exactly one of the following attributes set: url sheetId reportId
public SetHyperlink ( Link hyperlink ) : UpdateCellBuilder
hyperlink Link Link object
return UpdateCellBuilder

SetLinkInFromCell() public method

(optional) with all of the following attributes set: sheetId rowId columnId
public SetLinkInFromCell ( CellLink linkInFromCell ) : UpdateCellBuilder
linkInFromCell CellLink CellLink object
return UpdateCellBuilder

SetStrict() public method

Sets the strict.
public SetStrict ( bool strict ) : UpdateCellBuilder
strict bool (optional)
return UpdateCellBuilder

SetValue() public method

Sets the value.
public SetValue ( object value ) : UpdateCellBuilder
value object (required)
return UpdateCellBuilder

UpdateCellBuilder() public method

Set required properties.
public UpdateCellBuilder ( long columnId, object value ) : System.Collections.Generic
columnId long required
value object required
return System.Collections.Generic