Package com.smartsheet.api.models
Class Favorite
- java.lang.Object
-
- com.smartsheet.api.models.Favorite
-
public class Favorite extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFavorite.AddFavoriteBuilder
-
Constructor Summary
Constructors Constructor Description Favorite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetObjectId()Gets the ID of the favorited item.FavoriteTypegetType()Gets the type of favorite (workspace, folder, sheet, report, template).FavoritesetObjectId(java.lang.Long objectId)Sets the ID of the favorited item.FavoritesetType(FavoriteType type)Sets the type of favorite (workspace, folder, sheet, report, template).
-
-
-
Method Detail
-
getObjectId
public java.lang.Long getObjectId()
Gets the ID of the favorited item.- Returns:
- the objectId
-
setObjectId
public Favorite setObjectId(java.lang.Long objectId)
Sets the ID of the favorited item.- Parameters:
objectId- ID of the favorited item.
-
getType
public FavoriteType getType()
Gets the type of favorite (workspace, folder, sheet, report, template).- Returns:
- the type
-
setType
public Favorite setType(FavoriteType type)
Sets the type of favorite (workspace, folder, sheet, report, template).- Parameters:
type- the new dependencies enabled
-
-