Package com.smartsheet.api.models
Class ContainerDestination
- java.lang.Object
-
- com.smartsheet.api.models.ContainerDestination
-
public class ContainerDestination extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContainerDestination.AddContainerDestinationBuilder
A convenience class to generate a comment with the appropriate fields for adding it to a sheet.
-
Constructor Summary
Constructors Constructor Description ContainerDestination()
ConstructorsContainerDestination(java.lang.Long destinationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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.java.lang.String
getNewName()
Gets the destination name when copying or moving a Sheet or a Folder.ContainerDestination
setDestinationId(java.lang.Long destinationId)
Sets the id for the folderContainerDestination
setDestinationType(DestinationType destinationType)
Sets the type for the folderContainerDestination
setNewName(java.lang.String newName)
Sets the name for the destination
-
-
-
Method Detail
-
getDestinationType
public DestinationType getDestinationType()
Gets the destination type when copying or moving a Sheet or a Folder.- Returns:
- the destination type
-
setDestinationType
public ContainerDestination setDestinationType(DestinationType destinationType)
Sets the type for the folder- Parameters:
destinationType
- the destination type
-
getDestinationId
public java.lang.Long getDestinationId()
Gets the destination id when copying or moving a Sheet or a Folder.- Returns:
- the destination id
-
setDestinationId
public ContainerDestination setDestinationId(java.lang.Long destinationId)
Sets the id for the folder- Parameters:
destinationId
- the destination id
-
getNewName
public java.lang.String getNewName()
Gets the destination name when copying or moving a Sheet or a Folder.- Returns:
- the destination id
-
setNewName
public ContainerDestination setNewName(java.lang.String newName)
Sets the name for the destination- Parameters:
newName
- the new name
-
-