public class Template extends NamedModel<Long>
| Constructor and Description |
|---|
Template() |
| Modifier and Type | Method and Description |
|---|---|
AccessLevel |
getAccessLevel()
Gets the access level of the template.
|
List<String> |
getCategories()
Gets the list of categories this template belongs to
|
String |
getDescription()
Gets the description of the template.
|
GlobalTemplate |
getGlobalTemplate()
Gets the type of global template
|
String |
getImage()
Gets the URL to the small preview image for this template.
|
String |
getLargeImage()
Gets the URL to the large preview image for this template.
|
String |
getLocale()
Gets the locate of the template.
|
List<String> |
getTags()
Gets the list of search tags for this template.
|
String |
getType()
Gets the type of the template.
|
Boolean |
isBlank()
Returns true if this template is blank
|
Template |
setAccessLevel(AccessLevel accessLevel)
Sets the access level of the template.
|
Template |
setBlank(Boolean blank)
Sets the flag indicating whether this template is blank.
|
Template |
setCategories(List<String> categories)
Sets the array of categories this template belongs to
|
Template |
setDescription(String description)
Sets the description of the template.
|
Template |
setGlobalTemplate(GlobalTemplate globalTemplate)
Sets the type of global template
|
Template |
setImage(String image)
Sets the URL to the small preview image for this template.
|
Template |
setLargeImage(String largeImage)
Sets the URL to the large preview image for this template.
|
Template |
setLocale(String locale)
Sets the locate of the template.
|
Template |
setTags(List<String> tags)
Sets the array of search tags for this template.
|
Template |
setType(String type)
Sets the type of the template.
|
getName, setNameequals, getId, hashCode, setIdpublic String getDescription()
public Template setDescription(String description)
description - the new descriptionpublic AccessLevel getAccessLevel()
public Template setAccessLevel(AccessLevel accessLevel)
accessLevel - the new access levelpublic String getImage()
public Template setImage(String image)
image - public String getLargeImage()
public Template setLargeImage(String largeImage)
largeImage - public String getLocale()
public Template setLocale(String locale)
locale - public String getType()
public Template setType(String type)
type - public List<String> getTags()
public Template setTags(List<String> tags)
tags - public List<String> getCategories()
public Template setCategories(List<String> categories)
categories - public Boolean isBlank()
public Template setBlank(Boolean blank)
blank - public GlobalTemplate getGlobalTemplate()
public Template setGlobalTemplate(GlobalTemplate globalTemplate)
globalTemplate - Copyright © 2014–2019 Smartsheet. All rights reserved.