Click or drag to resize

AddRowBuilder Class

A convenience class for creating a Row with the necessary fields for inserting into a list of Rows.
Inheritance Hierarchy
SystemObject
  Smartsheet.Api.ModelsAddRowBuilder

Namespace:  Smartsheet.Api.Models
Assemblies:   smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
  smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
Syntax
public class AddRowBuilder

The AddRowBuilder type exposes the following members.

Constructors
  NameDescription
Public methodAddRowBuilder
Sets the required property/properties for Adding a Row
Top
Methods
  NameDescription
Public methodBuild
Builds the Row.
Public methodGetAbove
Gets the above flag.
Public methodGetCells
Gets the cells.
Public methodGetExpanded
Gets the expanded flag.
Public methodGetFormat
Gets the format
Public methodGetParentId
Gets the parent Id.
Public methodGetSiblingId
Gets the sibling Id.
Public methodGetToBottom
Gets the to bottom.
Public methodGetToTop
Gets the to top.
Public methodSetAbove
Sets the flag which which is used in conjunction with siblingId with a value of true to indicate that the row should be added above the specified sibling row.
Public methodSetCells
Sets the cells of the row.
Public methodSetExpanded
Sets if expanded.
Public methodSetFormat
Sets the Format.
Public methodSetParentId
Sets the parent Id that puts the row as the first child of the specified Id.
Public methodSetSiblingId
Sets the sibling Id that puts the row as the next row at the same hierarchical level of this row.
Public methodSetToBottom
Sets the to bottom flag that puts the row at the bottom of the sheet.
Public methodSetToTop
Sets the to top flag that puts the row at the top of the sheet.
Top
Remarks
If multiple rows are specified in the request, all rows must be inserted at the same location (i.e. the toTop, toBottom, parentId, siblingId, and above attributes must be the same for all rows in the request).
See Also