Package com.smartsheet.api.models
Class CreateReportResult
- java.lang.Object
-
- com.smartsheet.api.models.CreateReportResult
-
public class CreateReportResult extends java.lang.ObjectRepresents the result returned when creating a new report.
-
-
Constructor Summary
Constructors Constructor Description CreateReportResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessLevelgetAccessLevel()Gets the access level.java.util.List<ReportColumn>getColumns()Gets the columns in the report.java.lang.LonggetId()Gets the report ID.java.lang.BooleangetIsSummaryReport()Gets whether this is a summary report.java.lang.StringgetName()Gets the report name.java.lang.StringgetPermalink()Gets the permalink to the report.CreateReportResultsetAccessLevel(AccessLevel accessLevel)Sets the access level.CreateReportResultsetColumns(java.util.List<ReportColumn> columns)Sets the columns in the report.CreateReportResultsetId(java.lang.Long id)Sets the report ID.CreateReportResultsetIsSummaryReport(java.lang.Boolean isSummaryReport)Sets whether this is a summary report.CreateReportResultsetName(java.lang.String name)Sets the report name.CreateReportResultsetPermalink(java.lang.String permalink)Sets the permalink to the report.
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
Gets the report ID.- Returns:
- the report ID
-
setId
public CreateReportResult setId(java.lang.Long id)
Sets the report ID.- Parameters:
id- the report ID
-
getName
public java.lang.String getName()
Gets the report name.- Returns:
- the report name
-
setName
public CreateReportResult setName(java.lang.String name)
Sets the report name.- Parameters:
name- the report name
-
getAccessLevel
public AccessLevel getAccessLevel()
Gets the access level.- Returns:
- the access level
-
setAccessLevel
public CreateReportResult setAccessLevel(AccessLevel accessLevel)
Sets the access level.- Parameters:
accessLevel- the access level
-
getPermalink
public java.lang.String getPermalink()
Gets the permalink to the report.- Returns:
- the permalink URL
-
setPermalink
public CreateReportResult setPermalink(java.lang.String permalink)
Sets the permalink to the report.- Parameters:
permalink- the permalink URL
-
getIsSummaryReport
public java.lang.Boolean getIsSummaryReport()
Gets whether this is a summary report.- Returns:
- true if this is a sheet summary report, false if it is a row report
-
setIsSummaryReport
public CreateReportResult setIsSummaryReport(java.lang.Boolean isSummaryReport)
Sets whether this is a summary report.- Parameters:
isSummaryReport- true for sheet summary report, false for row report
-
getColumns
public java.util.List<ReportColumn> getColumns()
Gets the columns in the report.- Returns:
- the list of report columns
-
setColumns
public CreateReportResult setColumns(java.util.List<ReportColumn> columns)
Sets the columns in the report.- Parameters:
columns- the list of report columns
-
-