public class AdminEvent extends Object
| Constructor and Description |
|---|
AdminEvent() |
| Modifier and Type | Method and Description |
|---|---|
AuthDetails |
getAuthDetails()
Returns authentication details
|
String |
getError()
If the event was unsuccessful returns the error message.
|
OperationType |
getOperationType()
Returns the type of the operation
|
String |
getOrganizationId()
Returns the id of the organization
|
String |
getRepresentation()
Returns the updated JSON representation if
operationType is CREATE or UPDATE. |
String |
getResourcePath()
Returns the path of the resource.
|
String |
getResourceType()
Returns the type of the affected
ResourceType for this AdminEvent, e.g. |
long |
getTime()
Returns the time of the event
|
void |
setAuthDetails(AuthDetails authDetails) |
void |
setError(String error) |
void |
setOperationType(OperationType operationType) |
void |
setOrganizationId(String organizationId) |
void |
setRepresentation(String representation) |
void |
setResourcePath(String resourcePath) |
void |
setResourceType(ResourceType resourceType) |
void |
setResourceType(String resourceType) |
void |
setTime(long time) |
public long getTime()
public void setTime(long time)
public String getOrganizationId()
public void setOrganizationId(String organizationId)
public AuthDetails getAuthDetails()
public void setAuthDetails(AuthDetails authDetails)
public OperationType getOperationType()
public void setOperationType(OperationType operationType)
public String getResourcePath()
public void setResourcePath(String resourcePath)
public String getRepresentation()
operationType is CREATE or UPDATE.
Otherwise returns null.public void setRepresentation(String representation)
public String getError()
null.public void setError(String error)
public String getResourceType()
public void setResourceType(ResourceType resourceType)
public void setResourceType(String resourceType)
Copyright © 2018. All rights reserved.