Package com.smartsheet.api.models
Class ReportDestination
- java.lang.Object
-
- com.smartsheet.api.models.ReportDestination
-
public class ReportDestination extends java.lang.ObjectRepresents the destination container when creating a report.
-
-
Constructor Summary
Constructors Constructor Description ReportDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetDestinationId()Gets the destination ID.ReportDestinationTypegetDestinationType()Gets the destination type.ReportDestinationsetDestinationId(java.lang.Long destinationId)Sets the destination ID.ReportDestinationsetDestinationType(ReportDestinationType destinationType)Sets the destination type.
-
-
-
Method Detail
-
getDestinationId
public java.lang.Long getDestinationId()
Gets the destination ID.- Returns:
- the destination ID
-
setDestinationId
public ReportDestination setDestinationId(java.lang.Long destinationId)
Sets the destination ID.- Parameters:
destinationId- the ID of the destination folder or workspace- Returns:
- this ReportDestination object for method chaining
-
getDestinationType
public ReportDestinationType getDestinationType()
Gets the destination type.- Returns:
- the destination type
-
setDestinationType
public ReportDestination setDestinationType(ReportDestinationType destinationType)
Sets the destination type.- Parameters:
destinationType- the type of destination (FOLDER or WORKSPACE)- Returns:
- this ReportDestination object for method chaining
-
-