public class Event extends Object
| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
Event |
createdAt(Date createdAt)
The date at which the event was originally created.
|
boolean |
equals(Object o) |
Date |
getCreatedAt() |
String |
getPayload() |
String |
getSourceId() |
String |
getSourceName() |
String |
getSourceUrl() |
List<String> |
getTags() |
String |
getType() |
String |
getUserId() |
String |
getWorkspaceId() |
int |
hashCode() |
Event |
payload(String payload) |
void |
setCreatedAt(Date createdAt) |
void |
setPayload(String payload) |
void |
setSourceId(String sourceId) |
void |
setSourceName(String sourceName) |
void |
setSourceUrl(String sourceUrl) |
void |
setTags(List<String> tags) |
void |
setType(String type) |
void |
setUserId(String userId) |
void |
setWorkspaceId(String workspaceId) |
Event |
sourceId(String sourceId)
The id in the source system.
|
Event |
sourceName(String sourceName)
The name of the source system, e.g.
|
Event |
sourceUrl(String sourceUrl)
The url of the source system, e.g.
|
Event |
tags(List<String> tags)
a list of tags describing the nature of this event, used to find subscriptions for this event
|
String |
toString() |
Event |
type(String type) |
Event |
userId(String userId)
An optional UUID string if the event is related to a user.
|
Event |
workspaceId(String workspaceId)
An optional UUID string if the event is related to a workspace.
|
public Event createdAt(Date createdAt)
public Date getCreatedAt()
public void setCreatedAt(Date createdAt)
public String getType()
public void setType(String type)
public Event sourceName(String sourceName)
public String getSourceName()
public void setSourceName(String sourceName)
public String getSourceId()
public void setSourceId(String sourceId)
public Event sourceUrl(String sourceUrl)
public String getSourceUrl()
public void setSourceUrl(String sourceUrl)
public Event workspaceId(String workspaceId)
public String getWorkspaceId()
public void setWorkspaceId(String workspaceId)
public Event userId(String userId)
public String getUserId()
public void setUserId(String userId)
public Event tags(List<String> tags)
public String getPayload()
public void setPayload(String payload)
Copyright © 2017 LeanIX GmbH. All rights reserved.