C# Class Smartsheet.Api.Models.RowWrapper.InsertRowsBuilder

A convenience class for creating a RowWrapper with the necessary fields for inserting a Row or set of Rows.
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

Method Description
Build ( ) : RowWrapper

Builds the RowWrapper.

SetParentId ( long parentId ) : InsertRowsBuilder

Sets the parent Id that puts the row as the first child of the specified Id.

SetRows ( IList rows ) : InsertRowsBuilder

Sets the Rows.

SetSiblingId ( long siblingId ) : InsertRowsBuilder

Sets the sibling Id that puts the row as the next row at the same hierarchical level of this row.

SetToBottom ( bool toBottom ) : InsertRowsBuilder

Sets the To bottom flag that puts the row at the bottom of the sheet.

SetToTop ( bool toTop ) : InsertRowsBuilder

Sets the To top flag that puts the row at the top of the sheet.

Method Details

Build() public method

Builds the RowWrapper.
public Build ( ) : RowWrapper
return RowWrapper

SetParentId() public method

Sets the parent Id that puts the row as the first child of the specified Id.
public SetParentId ( long parentId ) : InsertRowsBuilder
parentId long the parent Id
return InsertRowsBuilder

SetRows() public method

Sets the Rows.
public SetRows ( IList rows ) : InsertRowsBuilder
rows IList the Rows
return InsertRowsBuilder

SetSiblingId() public method

Sets the sibling Id that puts the row as the next row at the same hierarchical level of this row.
public SetSiblingId ( long siblingId ) : InsertRowsBuilder
siblingId long the sibling Id
return InsertRowsBuilder

SetToBottom() public method

Sets the To bottom flag that puts the row at the bottom of the sheet.
public SetToBottom ( bool toBottom ) : InsertRowsBuilder
toBottom bool the To bottom
return InsertRowsBuilder

SetToTop() public method

Sets the To top flag that puts the row at the top of the sheet.
public SetToTop ( bool toTop ) : InsertRowsBuilder
toTop bool the To top flag
return InsertRowsBuilder