public class Event extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
additionalDetails
This object provides additional information about the event if available.
|
protected OffsetDateTime |
createdAt
When the event object was created.
|
protected UserMini |
createdBy |
protected String |
eventId
The ID of the event object.
|
protected EnumWrapper<EventEventTypeField> |
eventType |
protected OffsetDateTime |
recordedAt
When the event object was recorded in database.
|
protected String |
sessionId
The session of the user that performed the action.
|
protected EventSourceResource |
source |
protected String |
type
The value will always be `event`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
Event() |
protected |
Event(Event.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<String,Object> |
getAdditionalDetails() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
String |
getEventId() |
EnumWrapper<EventEventTypeField> |
getEventType() |
OffsetDateTime |
getRecordedAt() |
String |
getSessionId() |
EventSourceResource |
getSource() |
String |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected OffsetDateTime createdAt
protected OffsetDateTime recordedAt
protected String eventId
protected EnumWrapper<EventEventTypeField> eventType
protected String sessionId
protected EventSourceResource source
protected Map<String,Object> additionalDetails
This can include how a user performed an event as well as additional information to correlate an event to external KeySafe logs. Not all events have an `additional_details` object. This object is only available in the Enterprise Events.
public Event()
protected Event(Event.Builder builder)
public OffsetDateTime getCreatedAt()
public OffsetDateTime getRecordedAt()
public String getEventId()
public UserMini getCreatedBy()
public EnumWrapper<EventEventTypeField> getEventType()
public String getSessionId()
public EventSourceResource getSource()
public Map<String,Object> getAdditionalDetails()