public class EventType
extends Object
implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
EventType.ScopeEnum
Scope of the event type
|
Constructor and Description |
---|
EventType() |
Modifier and Type | Method and Description |
---|---|
EventType |
addFieldsItem(Field fieldsItem) |
boolean |
equals(Object o) |
EventType |
fields(List<Field> fields) |
Long |
getEtag()
Get etag
|
List<Field> |
getFields()
Get fields
|
String |
getId()
ID of the created event type
|
EventTypeLinks |
getLinks()
Get links
|
String |
getName()
Name of the event type
|
String |
getOwner()
The owner who created the event type
|
String |
getParentId()
Parent event type ID
|
EventType.ScopeEnum |
getScope()
Scope of the event type
|
Integer |
getTtl()
Time to live in days
|
int |
hashCode() |
EventType |
id(String id) |
EventType |
links(EventTypeLinks links) |
EventType |
name(String name) |
EventType |
parentId(String parentId) |
EventType |
scope(EventType.ScopeEnum scope) |
void |
setFields(List<Field> fields) |
void |
setId(String id) |
void |
setLinks(EventTypeLinks links) |
void |
setName(String name) |
void |
setParentId(String parentId) |
void |
setScope(EventType.ScopeEnum scope) |
void |
setTtl(Integer ttl) |
String |
toString() |
EventType |
ttl(Integer ttl) |
public EventType id(String id)
public String getId()
public void setId(String id)
public EventType name(String name)
public String getName()
public void setName(String name)
public EventType parentId(String parentId)
public String getParentId()
public void setParentId(String parentId)
public EventType ttl(Integer ttl)
public Integer getTtl()
public void setTtl(Integer ttl)
public Long getEtag()
public String getOwner()
public EventType scope(EventType.ScopeEnum scope)
public EventType.ScopeEnum getScope()
public void setScope(EventType.ScopeEnum scope)
public List<Field> getFields()
public void setFields(List<Field> fields)
public EventType links(EventTypeLinks links)
public EventTypeLinks getLinks()
public void setLinks(EventTypeLinks links)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object