Class RowWrapper.MoveRowBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class for creating a RowWrapper with the necessary fields for moving a Row or set of Rows.
public class RowWrapper.MoveRowBuilder
- Inheritance
-
RowWrapper.MoveRowBuilder
- Inherited Members
Properties
ParentId
Gets the parent Id.
public long? ParentId { get; }
Property Value
- long?
the parent Id
SiblingId
Gets the sibling Id.
public long? SiblingId { get; }
Property Value
- long?
the sibling Id
ToBottom
Gets the to bottom.
public bool? ToBottom { get; }
Property Value
- bool?
the to bottom
ToTop
Gets the to top.
public bool? ToTop { get; }
Property Value
- bool?
the to top
Methods
Build()
Builds the RowWrapper.
public RowWrapper Build()
Returns
- RowWrapper
the row wrapper
SetParentId(long?)
Sets the parent Id that puts the row as the first child of the specified Id.
public RowWrapper.MoveRowBuilder SetParentId(long? parentId)
Parameters
parentId
long?the parent Id
Returns
- RowWrapper.MoveRowBuilder
the move 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 RowWrapper.MoveRowBuilder SetSiblingId(long? siblingId)
Parameters
siblingId
long?the sibling Id
Returns
- RowWrapper.MoveRowBuilder
the move row builder
SetToBottom(bool?)
Sets the to bottom flag that puts the row at the bottom of the sheet.
public RowWrapper.MoveRowBuilder SetToBottom(bool? toBottom)
Parameters
toBottom
bool?the to bottom
Returns
- RowWrapper.MoveRowBuilder
the move row builder
SetToTop(bool?)
Sets the to top flag that puts the row at the top of the sheet.
public RowWrapper.MoveRowBuilder SetToTop(bool? toTop)
Parameters
toTop
bool?the to top
Returns
- RowWrapper.MoveRowBuilder
the move row builder