public class Sight extends NamedModel<Long>
| Constructor and Description |
|---|
Sight() |
| Modifier and Type | Method and Description |
|---|---|
AccessLevel |
getAccessLevel()
User's permissions on the Sight (OWNDER, ADMIN, VIEWER)
|
String |
getBackgroundColor()
Get the background color of the Sight
|
Integer |
getColumnCount()
Get the number of columns that the Sight contains
|
Date |
getCreatedAt()
Get time of Sight creation
|
Boolean |
getFavorite()
Get flag indicating whether the user has marked the Sight as a favorite
|
Date |
getModifiedAt()
Get time of last modification
|
String |
getPermalink()
URL that represents a direct link to the Sight
|
List<Widget> |
getWidgets()
Get the array of Sight widgets
|
Workspace |
getWorkspace()
A workspace object limited to only id and name
|
Sight |
setAccessLevel(AccessLevel accessLevel)
Set User's permissions on the Sight
|
Sight |
setBackgroundColor(String backgroundColor)
Set the background color of the Sight
|
Sight |
setColumnCount(Integer columnCount)
Set the number of columns that the Sight contains
|
Sight |
setCreatedAt(Date createdAt)
Set time of Sight creation
|
Sight |
setFavorite(Boolean favorite)
Set flag indicating whether the user has marked the Sight as a favorite
|
Sight |
setModifiedAt(Date modifiedAt)
Set time of last modification
|
Sight |
setName(String name)
Provide an 'override' of setName (returns Sight not NamedModel)
|
Sight |
setPermalink(String permalink)
Set URL pointing to a direct link to the Sight
|
Sight |
setWidgets(List<Widget> widgets)
Set the array of Sight widgets
|
Sight |
setWorkspace(Workspace workspace)
Set workspace object for this Sight (limited to only id and name)
|
getNameequals, getId, hashCode, setIdpublic Sight setName(String name)
setName in class NamedModel<Long>name - the new namepublic Integer getColumnCount()
public Sight setColumnCount(Integer columnCount)
columnCount - public List<Widget> getWidgets()
public Sight setWidgets(List<Widget> widgets)
widgets - public Boolean getFavorite()
public Sight setFavorite(Boolean favorite)
favorite - public AccessLevel getAccessLevel()
public Sight setAccessLevel(AccessLevel accessLevel)
accessLevel - public String getPermalink()
public Sight setPermalink(String permalink)
permalink - public Date getCreatedAt()
public Sight setCreatedAt(Date createdAt)
createdAt - public Date getModifiedAt()
public Sight setModifiedAt(Date modifiedAt)
modifiedAt - public Workspace getWorkspace()
public Sight setWorkspace(Workspace workspace)
workspace - public String getBackgroundColor()
Copyright © 2014–2019 Smartsheet. All rights reserved.