@Entity public class ScriptTagEntity extends AuditableEntityWithResourceSupport
Modifier and Type | Field and Description |
---|---|
private AppInstallationOAuth2Entity |
appInstallationOAuth2 |
static javax.ws.rs.core.GenericType<ItemCollection<ScriptTagEntity>> |
COLLECTION_TYPE |
private GUID |
scriptTagId |
private ScriptType |
scriptType |
private java.lang.String |
scriptUrl |
(package private) static java.lang.String |
SHOP_SCRIPTTAG |
Constructor and Description |
---|
ScriptTagEntity() |
Modifier and Type | Method and Description |
---|---|
AppInstallationOAuth2Entity |
getAppInstallationOAuth2() |
GUID |
getScriptTagId() |
ScriptType |
getScriptType() |
java.lang.String |
getScriptUrl() |
void |
setAppInstallationOAuth2(AppInstallationOAuth2Entity appInstallationOAuth2) |
void |
setScriptTagId(GUID scriptTagId) |
void |
setScriptType(ScriptType scriptType) |
void |
setScriptUrl(java.lang.String scriptUrl) |
java.lang.String |
toString() |
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn
add, add, equals, getLink, getLinks, getSelfLinkUri, hashCode, hasLink, hasLinks, removeLinks
public static final javax.ws.rs.core.GenericType<ItemCollection<ScriptTagEntity>> COLLECTION_TYPE
static final java.lang.String SHOP_SCRIPTTAG
private GUID scriptTagId
@NotBlank(message="Please provide a script url") @URL(protocol="https", message="Must be a valid URL, https only") private java.lang.String scriptUrl
@NotNull private ScriptType scriptType
private AppInstallationOAuth2Entity appInstallationOAuth2
public GUID getScriptTagId()
public void setScriptTagId(GUID scriptTagId)
public java.lang.String getScriptUrl()
public void setScriptUrl(java.lang.String scriptUrl)
public ScriptType getScriptType()
public void setScriptType(ScriptType scriptType)
public AppInstallationOAuth2Entity getAppInstallationOAuth2()
public void setAppInstallationOAuth2(AppInstallationOAuth2Entity appInstallationOAuth2)
public java.lang.String toString()
toString
in class ResourceSupport