Package com.smartsheet.api.models
Class RowWrapper
- java.lang.Object
-
- com.smartsheet.api.models.RowWrapper
-
public class RowWrapper extends java.lang.ObjectRepresents the RowWrapper object that is used to specify the location for aRowor set of Rows.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRowWrapper.InsertRowsBuilderA convenience class for creating aRowWrapperwith the necessary fields for inserting aRowor set of rows.static classRowWrapper.MoveRowBuilderA convenience class for creating aRowWrapperwith the necessary fields for moving aRowor set of rows.
-
Constructor Summary
Constructors Constructor Description RowWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetParentId()Gets the parent id that puts the row as the first child of the specified id.java.util.List<Row>getRows()Gets the rows.java.lang.LonggetSiblingId()Gets the sibling id that puts the row as the next row at the same hierarchical level of this row.java.lang.BooleangetToBottom()Gets the to bottom flag that puts the row at the bottom of the sheet.java.lang.BooleangetToTop()Gets the to top flag that puts the row at the top of the sheet.RowWrappersetParentId(java.lang.Long parentId)Sets the parent id that puts the row as the first child of the specified id.RowWrappersetRows(java.util.List<Row> rows)Sets the rows.RowWrappersetSiblingId(java.lang.Long siblingId)Sets the sibling id that puts the row as the next row at the same hierarchical level of this row.RowWrappersetToBottom(java.lang.Boolean toBottom)Sets the to bottom flag that puts the row at the bottom of the sheet.RowWrappersetToTop(java.lang.Boolean toTop)Sets the to top flag that puts the row at the top of the sheet.
-
-
-
Method Detail
-
getToTop
public java.lang.Boolean getToTop()
Gets the to top flag that puts the row at the top of the sheet.- Returns:
- the to top
-
setToTop
public RowWrapper setToTop(java.lang.Boolean toTop)
Sets the to top flag that puts the row at the top of the sheet.- Parameters:
toTop- the new to top
-
getToBottom
public java.lang.Boolean getToBottom()
Gets the to bottom flag that puts the row at the bottom of the sheet.- Returns:
- the to bottom
-
setToBottom
public RowWrapper setToBottom(java.lang.Boolean toBottom)
Sets the to bottom flag that puts the row at the bottom of the sheet.- Parameters:
toBottom- the new to bottom
-
getParentId
public java.lang.Long getParentId()
Gets the parent id that puts the row as the first child of the specified id.- Returns:
- the parent id
-
setParentId
public RowWrapper setParentId(java.lang.Long parentId)
Sets the parent id that puts the row as the first child of the specified id.- Parameters:
parentId- the new parent id
-
getSiblingId
public java.lang.Long getSiblingId()
Gets the sibling id that puts the row as the next row at the same hierarchical level of this row.- Returns:
- the sibling id
-
setSiblingId
public RowWrapper 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 new sibling id
-
getRows
public java.util.List<Row> getRows()
Gets the rows.- Returns:
- the rows
-
setRows
public RowWrapper setRows(java.util.List<Row> rows)
Sets the rows.- Parameters:
rows- the new rows
-
-