Package com.smartsheet.api.models
Class Cell.AddRowCellsBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Cell.AddRowCellsBuilder
-
- Enclosing class:
- Cell
public static class Cell.AddRowCellsBuilder extends java.lang.Object
A convenience class for quickly creating a List of cells to add.
-
-
Constructor Summary
Constructors Constructor Description AddRowCellsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cell.AddRowCellsBuilder
addCell(java.lang.Long columnId, java.lang.Object value)
Adds the cell.Cell.AddRowCellsBuilder
addCell(java.lang.Long columnId, java.lang.Object value, java.lang.Boolean strict, Hyperlink hyperlink, CellLink linkInFromCell)
Adds the cell.Cell.AddRowCellsBuilder
addCell(java.lang.Long columnId, java.lang.Object value, java.lang.Boolean strict, Hyperlink hyperlink, CellLink linkInFromCell, java.lang.Boolean overrideValidation)
Adds the celljava.util.List<Cell>
build()
Returns the list of cells.java.util.List<Cell>
getCells()
-
-
-
Method Detail
-
addCell
public Cell.AddRowCellsBuilder addCell(java.lang.Long columnId, java.lang.Object value, java.lang.Boolean strict, Hyperlink hyperlink, CellLink linkInFromCell)
Adds the cell.- Parameters:
columnId
- the column idvalue
- the valuestrict
- the stricthyperlink
- the hyperlinklinkInFromCell
- the link- Returns:
- the add row cells builder
-
addCell
public Cell.AddRowCellsBuilder addCell(java.lang.Long columnId, java.lang.Object value, java.lang.Boolean strict, Hyperlink hyperlink, CellLink linkInFromCell, java.lang.Boolean overrideValidation)
Adds the cell- Parameters:
columnId
- the column idvalue
- the valuestrict
- the stricthyperlink
- the hyperlinklinkInFromCell
- the linkoverrideValidation
- the overrideValidation flag- Returns:
- the add row cells builder
-
addCell
public Cell.AddRowCellsBuilder addCell(java.lang.Long columnId, java.lang.Object value)
Adds the cell.- Parameters:
columnId
- the column idvalue
- the value- Returns:
- the builder
-
getCells
public java.util.List<Cell> getCells()
-
build
public java.util.List<Cell> build()
Returns the list of cells.- Returns:
- the list
-
-