Package com.smartsheet.api.models
Class RowWrapper
- java.lang.Object
-
- com.smartsheet.api.models.RowWrapper
-
public class RowWrapper extends java.lang.Object
Represents the RowWrapper object that is used to specify the location for aRow
or set of Rows.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RowWrapper.InsertRowsBuilder
A convenience class for creating aRowWrapper
with the necessary fields for inserting aRow
or set of rows.static class
RowWrapper.MoveRowBuilder
A convenience class for creating aRowWrapper
with the necessary fields for moving aRow
or set of rows.
-
Constructor Summary
Constructors Constructor Description RowWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getParentId()
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.Long
getSiblingId()
Gets the sibling id that puts the row as the next row at the same hierarchical level of this row.java.lang.Boolean
getToBottom()
Gets the to bottom flag that puts the row at the bottom of the sheet.java.lang.Boolean
getToTop()
Gets the to top flag that puts the row at the top of the sheet.RowWrapper
setParentId(java.lang.Long parentId)
Sets the parent id that puts the row as the first child of the specified id.RowWrapper
setRows(java.util.List<Row> rows)
Sets the rows.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.RowWrapper
setToBottom(java.lang.Boolean toBottom)
Sets the to bottom flag that puts the row at the bottom of the sheet.RowWrapper
setToTop(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
-
-