Package com.smartsheet.api.models
Class CopyOrMoveRowDirective.InsertCopyOrMoveRowDirectiveBuilder
- java.lang.Object
-
- com.smartsheet.api.models.CopyOrMoveRowDirective.InsertCopyOrMoveRowDirectiveBuilder
-
- Enclosing class:
- CopyOrMoveRowDirective
public static class CopyOrMoveRowDirective.InsertCopyOrMoveRowDirectiveBuilder extends java.lang.Object
A convenience class to help create a CopyOrMoveRowDestination object with the appropriate fields for adding to a sheet.
-
-
Constructor Summary
Constructors Constructor Description InsertCopyOrMoveRowDirectiveBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyOrMoveRowDirective
build()
Builds the CopyOrMoveRowDirective.java.util.List<java.lang.Long>
getRowIds()
Gets the IDs of the rows to move or copy from the source sheet..CopyOrMoveRowDestination
getTo()
Gets the CopyOrMoveRowDestination object that identifies the destination sheet.CopyOrMoveRowDirective.InsertCopyOrMoveRowDirectiveBuilder
setRowIds(java.util.List<java.lang.Long> rowIds)
Sets the IDs of the rows to move or copy from the source sheet.CopyOrMoveRowDirective.InsertCopyOrMoveRowDirectiveBuilder
setTo(CopyOrMoveRowDestination to)
Sets the CopyOrMoveRowDestination object that identifies the destination sheet.
-
-
-
Method Detail
-
getRowIds
public java.util.List<java.lang.Long> getRowIds()
Gets the IDs of the rows to move or copy from the source sheet..- Returns:
- the IDs of the rows to move or copy from the source sheet.
-
setRowIds
public CopyOrMoveRowDirective.InsertCopyOrMoveRowDirectiveBuilder setRowIds(java.util.List<java.lang.Long> rowIds)
Sets the IDs of the rows to move or copy from the source sheet.- Parameters:
rowIds
- ID of the destination sheet- Returns:
- the builder
-
getTo
public CopyOrMoveRowDestination getTo()
Gets the CopyOrMoveRowDestination object that identifies the destination sheet.- Returns:
- the CopyOrMoveRowDestination object that identifies the destination sheet.
-
setTo
public CopyOrMoveRowDirective.InsertCopyOrMoveRowDirectiveBuilder setTo(CopyOrMoveRowDestination to)
Sets the CopyOrMoveRowDestination object that identifies the destination sheet.- Parameters:
to
- CopyOrMoveRowDestination object- Returns:
- the builder
-
build
public CopyOrMoveRowDirective build()
Builds the CopyOrMoveRowDirective.- Returns:
- the CopyOrMoveRowDirective
-
-