public class Event extends Object
| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessTokenName()
Gets the access token name associated with the event, can be null
|
EventAction |
getAction()
Gets the action associated with the event (EventAction enumeration)
|
HashMap<String,Object> |
getAdditionalDetails()
Returns a hashmap of additional details associated with the event
|
String |
getEventId()
Gets a unique event ID
|
Object |
getEventTimestamp()
Gets an event timestamp, either a Date object, or Long if numericDates parameter is true on API call.
|
Object |
getObjectId()
Get the object ID of the object associated with the event
|
EventObjectType |
getObjectType()
Gets the object type of the object associated with the event (EventObjectType enumeration)
|
Long |
getRequestUserId()
Get the user ID of the user whose credential initiated the request
|
EventSource |
getSource()
Gets the source of the event request (EventSource enumeration)
|
Long |
getUserId()
Gets the assumed user ID for the event request
|
Event |
setAccessTokenName(String accessTokenName)
Sets the access token name associated with the event
|
Event |
setAction(EventAction action)
Sets the action associated with the event (EventAction enumeration)
|
Event |
setAdditionalDetails(HashMap<String,Object> additionalDetails)
Set the hashmap of additional details associated with the event
|
Event |
setEventId(String eventId)
Sets a unique event ID
|
Event |
setEventTimestamp(Object eventTimestamp)
Sets an event timestamp
|
Event |
setObjectId(Object objectId)
Sets an object ID for the object associated with the event
|
Event |
setObjectType(EventObjectType objectType)
Sets the object type of the object associated with the event
|
Event |
setRequestUserId(Long requestUserId)
Sets the user ID of the user whose credential initiated the request
|
Event |
setSource(EventSource source)
Sets the source of the event request
|
Event |
setUserId(Long userId)
Sets the assumed user ID for the event request
|
public String getAccessTokenName()
public Event setAccessTokenName(String accessTokenName)
accessTokenName - the access token namepublic EventAction getAction()
public Event setAction(EventAction action)
action - public HashMap<String,Object> getAdditionalDetails()
public Event setAdditionalDetails(HashMap<String,Object> additionalDetails)
additionalDetails - the hashmappublic String getEventId()
public Event setEventId(String eventId)
eventId - the event IDpublic Object getEventTimestamp()
public Event setEventTimestamp(Object eventTimestamp)
eventTimestamp - String if Date, Long if numericDate true on API call.public Object getObjectId()
public Event setObjectId(Object objectId)
objectId - the object IDpublic EventObjectType getObjectType()
public Event setObjectType(EventObjectType objectType)
objectType - the object typepublic Long getRequestUserId()
public Event setRequestUserId(Long requestUserId)
requestUserId - the request user IDpublic EventSource getSource()
public Event setSource(EventSource source)
source - the event sourcepublic Long getUserId()
Copyright © 2014–2019 Smartsheet. All rights reserved.