public class Favorite extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Favorite.AddFavoriteBuilder
|
| Constructor and Description |
|---|
Favorite() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getObjectId()
Gets the ID of the favorited item.
|
FavoriteType |
getType()
Gets the type of favorite (workspace, folder, sheet, report, template).
|
Favorite |
setObjectId(Long objectId)
Sets the ID of the favorited item.
|
Favorite |
setType(FavoriteType type)
Sets the type of favorite (workspace, folder, sheet, report, template).
|
public Long getObjectId()
public Favorite setObjectId(Long objectId)
objectId - ID of the favorited item.public FavoriteType getType()
public Favorite setType(FavoriteType type)
type - the new dependencies enabledCopyright © 2014–2019 Smartsheet. All rights reserved.