public class Folder extends NamedModel<Long>
| Modifier and Type | Class and Description |
|---|---|
static class |
Folder.CreateFolderBuilder
A convenience class for setting up a folder with the appropriate fields for updating the folder.
|
static class |
Folder.UpdateFolderBuilder
A convenience class for setting up a folder with the appropriate fields for updating the folder.
|
| Constructor and Description |
|---|
Folder()
Default constructor
|
Folder(Long id)
Construct a Folder with specified id
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getFavorite()
Gets the favorite boolean value of folder in Home.
|
List<Folder> |
getFolders()
Gets the folders contained in this folder.
|
String |
getPermalink()
Gets the Direct URL to Folder.
|
List<Report> |
getReports()
Gets the reports.
|
List<Sheet> |
getSheets()
Gets the sheets in the folder.
|
List<Sight> |
getSights()
Get the sights contained in this folder
|
List<Template> |
getTemplates()
Gets the templates contained in this folder.
|
Folder |
setFavorite(Boolean favorite)
Sets the favorite boolean value of folder in Home.
|
Folder |
setFolders(List<Folder> folders)
Sets the folders contained in this folder.
|
Folder |
setName(String name)
Provide an 'override' of setName (returns Folder not NamedModel)
|
Folder |
setPermalink(String permalink)
Sets the Direct URL to Folder.
|
Folder |
setReports(List<Report> reports)
Sets the reports.
|
Folder |
setSheets(List<Sheet> sheets)
Sets the sheets contained in the folder.
|
Folder |
setSights(List<Sight> sights)
Sets the sights contained in this folder.
|
Folder |
setTemplates(List<Template> templates)
Sets the templates contained in this folder.
|
getNameequals, getId, hashCode, setIdpublic Folder()
public Folder(Long id)
id - Folder idpublic Folder setName(String name)
setName in class NamedModel<Long>name - the new namepublic String getPermalink()
public Folder setPermalink(String permalink)
permalink - the new sheetspublic Boolean getFavorite()
public Folder setFavorite(Boolean favorite)
favorite - the new sheetspublic Folder setSheets(List<Sheet> sheets)
sheets - the new sheetspublic List<Folder> getFolders()
public Folder setFolders(List<Folder> folders)
folders - the new folderspublic Folder setReports(List<Report> reports)
reports - the new reportspublic List<Template> getTemplates()
public Folder setTemplates(List<Template> templates)
templates - the new templatespublic List<Sight> getSights()
Copyright © 2014–2019 Smartsheet. All rights reserved.