Package com.smartsheet.api.models
Class Row.UpdateRowBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Row.UpdateRowBuilder
-
- Enclosing class:
- Row
public static class Row.UpdateRowBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UpdateRowBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Row
build()
Builds the row objectjava.lang.Boolean
getAbove()
Gets the above flagjava.util.List<Cell>
getCells()
Gets the list of cellsjava.lang.Boolean
getExpanded()
Gets the expanded flagFormat
getFormat()
Gets the formatjava.lang.Integer
getIndent()
Gets the number of levels of indentjava.lang.Boolean
getLocked()
Gets the locked flagjava.lang.Integer
getOutdent()
Gets the number of levels of outdentjava.lang.Long
getParentId()
Gets the parent id.java.lang.Long
getRowId()
java.lang.Long
getSiblingId()
Gets the sibling id.java.lang.Boolean
getToBottom()
Gets the to bottom.java.lang.Boolean
getToTop()
Gets the to top.Row.UpdateRowBuilder
setAbove(java.lang.Boolean above)
Sets the above flagRow.UpdateRowBuilder
setCells(java.util.List<Cell> cells)
Sets the list of cellsRow.UpdateRowBuilder
setExpanded(java.lang.Boolean expanded)
Sets the expanded flagRow.UpdateRowBuilder
setFormat(Format format)
Sets the formatRow.UpdateRowBuilder
setIndent(java.lang.Integer indent)
Sets the number of levels of indentRow.UpdateRowBuilder
setLocked(java.lang.Boolean locked)
Sets the locked flagRow.UpdateRowBuilder
setOutdent(java.lang.Integer outdent)
Sets the number of levels of outdentRow.UpdateRowBuilder
setParentId(java.lang.Long parentId)
Sets the parent id that puts the row as the first child of the specified id.Row.UpdateRowBuilder
setRowId(java.lang.Long rowId)
Set the Row IDRow.UpdateRowBuilder
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.Row.UpdateRowBuilder
setToBottom(java.lang.Boolean toBottom)
Sets the to bottom flag that puts the row at the bottom of the sheet.Row.UpdateRowBuilder
setToTop(java.lang.Boolean toTop)
Sets the to top flag that puts the row at the top of the sheet.
-
-
-
Method Detail
-
getRowId
public java.lang.Long getRowId()
-
setRowId
public Row.UpdateRowBuilder setRowId(java.lang.Long rowId)
Set the Row ID
-
getToTop
public java.lang.Boolean getToTop()
Gets the to top.- Returns:
- the to top
-
setToTop
public Row.UpdateRowBuilder 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 flag- Returns:
- the update rows builder
-
getToBottom
public java.lang.Boolean getToBottom()
Gets the to bottom.- Returns:
- the to bottom
-
setToBottom
public Row.UpdateRowBuilder 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 update rows builder
-
getParentId
public java.lang.Long getParentId()
Gets the parent id.- Returns:
- the parent id
-
setParentId
public Row.UpdateRowBuilder 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 update rows builder
-
getSiblingId
public java.lang.Long getSiblingId()
Gets the sibling id.- Returns:
- the sibling id
-
setSiblingId
public Row.UpdateRowBuilder 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 update rows builder
-
getAbove
public java.lang.Boolean getAbove()
Gets the above flag- Returns:
- the above flag
-
setAbove
public Row.UpdateRowBuilder setAbove(java.lang.Boolean above)
Sets the above flag- Parameters:
above
- the above flag- Returns:
- the insert rows builder
-
getIndent
public java.lang.Integer getIndent()
Gets the number of levels of indent- Returns:
- the number of levels of indent
-
setIndent
public Row.UpdateRowBuilder setIndent(java.lang.Integer indent)
Sets the number of levels of indent- Parameters:
indent
- number of levels of indent- Returns:
- the update rows builder
-
getOutdent
public java.lang.Integer getOutdent()
Gets the number of levels of outdent- Returns:
- the number of levels of outdent
-
setOutdent
public Row.UpdateRowBuilder setOutdent(java.lang.Integer outdent)
Sets the number of levels of outdent- Parameters:
outdent
- number of levels of outdent- Returns:
- the update rows builder
-
getFormat
public Format getFormat()
Gets the format- Returns:
- the format
-
setFormat
public Row.UpdateRowBuilder setFormat(Format format)
Sets the format- Parameters:
format
- the format- Returns:
- the update rows builder
-
getExpanded
public java.lang.Boolean getExpanded()
Gets the expanded flag- Returns:
- the expanded flag
-
setExpanded
public Row.UpdateRowBuilder setExpanded(java.lang.Boolean expanded)
Sets the expanded flag- Parameters:
expanded
- the expanded flag- Returns:
- the update rows builder
-
getCells
public java.util.List<Cell> getCells()
Gets the list of cells- Returns:
- the list of cells
-
setCells
public Row.UpdateRowBuilder setCells(java.util.List<Cell> cells)
Sets the list of cells- Parameters:
cells
- the list of cells- Returns:
- the update rows builder
-
getLocked
public java.lang.Boolean getLocked()
Gets the locked flag- Returns:
- the locked flag
-
setLocked
public Row.UpdateRowBuilder setLocked(java.lang.Boolean locked)
Sets the locked flag- Parameters:
locked
- the locked flag- Returns:
- the update rows builder
-
build
public Row build()
Builds the row object- Returns:
- the row object
-
-