public class ContainerDestination extends NamedModel<Long>
| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerDestination.AddContainerDestinationBuilder
A convenience class to generate a comment with the appropriate fields for adding it to a sheet.
|
| Constructor and Description |
|---|
ContainerDestination() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getDestinationId()
Gets the destination id when copying or moving a Sheet or a Folder.
|
DestinationType |
getDestinationType()
Gets the destination type when copying or moving a Sheet or a Folder.
|
String |
getNewName()
Gets the destination name when copying or moving a Sheet or a Folder.
|
ContainerDestination |
setDestinationId(Long destinationId)
Sets the id for the folder
|
ContainerDestination |
setDestinationType(DestinationType destinationType)
Sets the type for the folder
|
ContainerDestination |
setNewName(String newName)
Sets the name for the destination
|
getName, setNameequals, getId, hashCode, setIdpublic DestinationType getDestinationType()
public ContainerDestination setDestinationType(DestinationType destinationType)
destinationType - the destination typepublic Long getDestinationId()
public ContainerDestination setDestinationId(Long destinationId)
destinationId - the destination idpublic String getNewName()
public ContainerDestination setNewName(String newName)
newName - the new nameCopyright © 2014–2017 Smartsheet. All rights reserved.