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.
Afficher le fichier Open project: smartsheet-platform/smartsheet-csharp-sdk

Méthodes publiques

Méthode 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 méthode

Builds the RowWrapper.
public Build ( ) : RowWrapper
Résultat RowWrapper

SetParentId() public méthode

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
Résultat MoveRowBuilder

SetSiblingId() public méthode

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
Résultat MoveRowBuilder

SetToBottom() public méthode

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
Résultat MoveRowBuilder

SetToTop() public méthode

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
Résultat MoveRowBuilder