Package com.smartsheet.api.models
Class CopyOrMoveRowDirective
- java.lang.Object
-
- com.smartsheet.api.models.CopyOrMoveRowDirective
-
public class CopyOrMoveRowDirective extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCopyOrMoveRowDirective.InsertCopyOrMoveRowDirectiveBuilderA convenience class to help create a CopyOrMoveRowDestination object with the appropriate fields for adding to a sheet.
-
Constructor Summary
Constructors Constructor Description CopyOrMoveRowDirective()ConstructorsCopyOrMoveRowDirective(java.lang.Long destinationSheetId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Long>getRowIds()Gets the IDs of the rows to move or copy from the source sheet..CopyOrMoveRowDestinationgetTo()Gets the CopyOrMoveRowDestination object that identifies the destination sheet.CopyOrMoveRowDirectivesetRowIds(java.util.List<java.lang.Long> rowIds)Sets the IDs of the rows to move or copy from the source sheet.CopyOrMoveRowDirectivesetTo(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 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
-
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 setTo(CopyOrMoveRowDestination to)
Sets the CopyOrMoveRowDestination object that identifies the destination sheet.- Parameters:
to- CopyOrMoveRowDestination object
-
-