public class System
extends java.lang.Object
Every ContentItem and ContentType in a JSON response from the Delivery API contains a system
attribute. This attribute represents the System object with information about the retrieved content item
| Constructor and Description |
|---|
System() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCodename()
Codename of the content item
|
java.lang.String |
getCollection()
Codename of the collection
|
java.lang.String |
getId()
Unique identifier of the content item
|
java.lang.String |
getLanguage()
Codename of the language variant
|
java.time.ZonedDateTime |
getLastModified()
When was the content item last modified
|
java.lang.String |
getName()
Display name of the content item.
|
java.util.List<java.lang.String> |
getSitemapLocations()
A list of sitemap locations the content item is in
|
java.lang.String |
getType()
Codename of the content type
|
java.lang.String |
getWorkflowStep()
The codename of the item's current workflow step.
|
int |
hashCode() |
void |
setCodename(java.lang.String codename)
Codename of the content item
|
void |
setCollection(java.lang.String collection)
Codename of the collection
|
void |
setId(java.lang.String id)
Unique identifier of the content item
|
void |
setLanguage(java.lang.String language)
Codename of the language variant
|
void |
setLastModified(java.time.ZonedDateTime lastModified)
When was the content item last modified
|
void |
setName(java.lang.String name)
Display name of the content item.
|
void |
setSitemapLocations(java.util.List<java.lang.String> sitemapLocations)
A list of sitemap locations the content item is in
|
void |
setType(java.lang.String type)
Codename of the content type
|
void |
setWorkflowStep(java.lang.String workflowStep)
The codename of the item's current workflow step.
|
java.lang.String |
toString() |
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getCodename()
Generated from the content item's display name.
public java.lang.String getLanguage()
public java.lang.String getType()
public java.lang.String getCollection()
public java.util.List<java.lang.String> getSitemapLocations()
public java.time.ZonedDateTime getLastModified()
public java.lang.String getWorkflowStep()
public void setId(java.lang.String id)
id - Sets the id of this.public void setName(java.lang.String name)
name - Sets the name of this.public void setCodename(java.lang.String codename)
Generated from the content item's display name.
codename - Sets the codename of this.public void setLanguage(java.lang.String language)
language - Sets the language of this.public void setType(java.lang.String type)
type - Sets the type of this.public void setCollection(java.lang.String collection)
collection - Sets the collection of this.public void setSitemapLocations(java.util.List<java.lang.String> sitemapLocations)
sitemapLocations - Sets the sitemapLocations of this.public void setLastModified(java.time.ZonedDateTime lastModified)
lastModified - Sets the lastModified time of this.public void setWorkflowStep(java.lang.String workflowStep)
workflowStep - Sets the workflowStep of this.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object