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

A convenience class for creating a RowWrapper with the necessary fields for moving 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 ) : MoveRowBuilder

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

SetSiblingId ( long siblingId ) : MoveRowBuilder

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

SetToBottom ( bool toBottom ) : MoveRowBuilder

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

SetToTop ( bool toTop ) : MoveRowBuilder

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 ) : MoveRowBuilder
parentId long the parent Id
return MoveRowBuilder

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 ) : MoveRowBuilder
siblingId long the sibling Id
return MoveRowBuilder

SetToBottom() public method

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

SetToTop() public method

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