Class Row.UpdateRowBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class for updating a Row with the necessary fields for inserting into a list of Rows.
public class Row.UpdateRowBuilder
- Inheritance
-
Row.UpdateRowBuilder
- Inherited Members
Constructors
UpdateRowBuilder(long?)
Sets the required parameters to updating a row.
public UpdateRowBuilder(long? rowId)
Parameters
rowId
long?the row ID
Methods
Build()
Builds anad returns the Row.
public Row Build()
Returns
- Row
the row
GetCells()
Gets the cells.
public IList<Cell> GetCells()
Returns
GetExpanded()
Gets the expanded flag.
public bool? GetExpanded()
Returns
- bool?
the expanded flag
GetFormat()
Gets the format.
public string GetFormat()
Returns
- string
the format
GetId()
Gets the row id.
public long? GetId()
Returns
- long?
the row id
GetLocked()
Gets whether row is locked.
public bool? GetLocked()
Returns
- bool?
the locked
GetParentId()
Gets the parent Id.
public long? GetParentId()
Returns
- long?
the parent Id
GetSiblingId()
Gets the sibling Id.
public long? GetSiblingId()
Returns
- long?
the sibling Id
GetToBottom()
Gets the to bottom.
public bool? GetToBottom()
Returns
- bool?
the to bottom
GetToTop()
Gets the to top.
public bool? GetToTop()
Returns
- bool?
the to top
SetAbove(bool?)
Sets the above flag two move the Row directly above the specified sibling Row (at the same hierarchical level).
public Row.UpdateRowBuilder SetAbove(bool? above)
Parameters
above
bool?the above flag
Returns
- Row.UpdateRowBuilder
the update row builder
SetCells(IList<Cell>)
Sets the list of cells.
public Row.UpdateRowBuilder SetCells(IList<Cell> cells)
Parameters
Returns
- Row.UpdateRowBuilder
the update row builder
SetExpanded(bool?)
Sets if expanded.
public Row.UpdateRowBuilder SetExpanded(bool? expanded)
Parameters
expanded
bool?the expanded
Returns
- Row.UpdateRowBuilder
the update row builder
SetFormat(string)
Sets the Format.
public Row.UpdateRowBuilder SetFormat(string format)
Parameters
format
stringthe format
Returns
- Row.UpdateRowBuilder
the update row builder
SetIndent(int?)
Sets the number of times to indent this row
public Row.UpdateRowBuilder SetIndent(int? indent)
Parameters
indent
int?
Returns
SetLocked(bool?)
Sets whether row is locked (true) or not (false).
public Row.UpdateRowBuilder SetLocked(bool? locked)
Parameters
locked
bool?row locked
Returns
- Row.UpdateRowBuilder
the update row builder
SetOutdent(int?)
Sets the number of times to outdent this row
public Row.UpdateRowBuilder SetOutdent(int? outdent)
Parameters
outdent
int?
Returns
SetParentId(long?)
Sets the parent Id that puts the row as the first child of the specified Id.
public Row.UpdateRowBuilder SetParentId(long? parentId)
Parameters
parentId
long?the parent Id
Returns
- Row.UpdateRowBuilder
the update row builder
SetSiblingId(long?)
Sets the sibling Id that puts the row as the next row at the same hierarchical level of this row.
public Row.UpdateRowBuilder SetSiblingId(long? siblingId)
Parameters
siblingId
long?the sibling Id
Returns
- Row.UpdateRowBuilder
the update row builder
SetToBottom(bool?)
Sets the to bottom flag that puts the row at the bottom of the sheet.
public Row.UpdateRowBuilder SetToBottom(bool? toBottom)
Parameters
toBottom
bool?the to bottom
Returns
- Row.UpdateRowBuilder
the update row builder
SetToTop(bool?)
Sets the to top flag that puts the row at the top of the sheet.
public Row.UpdateRowBuilder SetToTop(bool? toTop)
Parameters
toTop
bool?the to top flag
Returns
- Row.UpdateRowBuilder
the update row builder