Package com.smartsheet.api.models
Class RowWrapper.MoveRowBuilder
- java.lang.Object
-
- com.smartsheet.api.models.RowWrapper.MoveRowBuilder
-
- Enclosing class:
- RowWrapper
public static class RowWrapper.MoveRowBuilder extends java.lang.ObjectA convenience class for creating aRowWrapperwith the necessary fields for moving aRowor set of rows.
-
-
Constructor Summary
Constructors Constructor Description MoveRowBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RowWrapperbuild()Builds the RowWrapper.java.lang.LonggetParentId()Gets the parent id.java.lang.LonggetSiblingId()Gets the sibling id.java.lang.BooleangetToBottom()Gets the to bottom.java.lang.BooleangetToTop()Gets the to top.RowWrapper.MoveRowBuildersetParentId(java.lang.Long parentId)Sets the parent id that puts the row as the first child of the specified id.RowWrapper.MoveRowBuildersetSiblingId(java.lang.Long siblingId)Sets the sibling id that puts the row as the next row at the same hierarchical level of this row.RowWrapper.MoveRowBuildersetToBottom(java.lang.Boolean toBottom)Sets the to bottom flag that puts the row at the bottom of the sheet.RowWrapper.MoveRowBuildersetToTop(java.lang.Boolean toTop)Sets the to top flag that puts the row at the top of the sheet.
-
-
-
Method Detail
-
setToTop
public RowWrapper.MoveRowBuilder setToTop(java.lang.Boolean toTop)
Sets the to top flag that puts the row at the top of the sheet.- Parameters:
toTop- the to top- Returns:
- the move row builder
-
setToBottom
public RowWrapper.MoveRowBuilder setToBottom(java.lang.Boolean toBottom)
Sets the to bottom flag that puts the row at the bottom of the sheet.- Parameters:
toBottom- the to bottom- Returns:
- the move row builder
-
setParentId
public RowWrapper.MoveRowBuilder setParentId(java.lang.Long parentId)
Sets the parent id that puts the row as the first child of the specified id.- Parameters:
parentId- the parent id- Returns:
- the move row builder
-
setSiblingId
public RowWrapper.MoveRowBuilder setSiblingId(java.lang.Long siblingId)
Sets the sibling id that puts the row as the next row at the same hierarchical level of this row.- Parameters:
siblingId- the sibling id- Returns:
- the move row builder
-
getToTop
public java.lang.Boolean getToTop()
Gets the to top.- Returns:
- the to top
-
getToBottom
public java.lang.Boolean getToBottom()
Gets the to bottom.- Returns:
- the to bottom
-
getParentId
public java.lang.Long getParentId()
Gets the parent id.- Returns:
- the parent id
-
getSiblingId
public java.lang.Long getSiblingId()
Gets the sibling id.- Returns:
- the sibling id
-
build
public RowWrapper build()
Builds the RowWrapper.- Returns:
- the row wrapper
-
-