Class AuditRecordRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.event.EventRepresentation
com.cumulocity.rest.representation.audit.AuditRecordRepresentation
- All Implemented Interfaces:
ResourceRepresentation
,SourceableRepresentation
,org.svenson.DynamicProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getUser()
int
hashCode()
void
setActivity
(String activity) void
setApplication
(String application) void
setChanges
(Set<ChangeRepresentation> changes) void
setSeverity
(String severity) void
Methods inherited from class com.cumulocity.rest.representation.event.EventRepresentation
getCreationDateTime, getCreationTime, getDateTime, getExternalSource, getId, getLastUpdatedDateTime, getSource, getText, getTime, getType, setCreationDateTime, setCreationTime, setDateTime, setExternalSource, setId, setLastUpdatedDateTime, setSource, setText, setTime, setType
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
Constructor Details
-
AuditRecordRepresentation
public AuditRecordRepresentation()
-
-
Method Details
-
getUser
-
setUser
-
getApplication
-
setApplication
-
getActivity
-
setActivity
-
getSeverity
-
setSeverity
-
getChanges
@JSONTypeHint(ChangeRepresentation.class) @JSONProperty(ignoreIfNull=true) public Set<ChangeRepresentation> getChanges() -
setChanges
-
equals
- Overrides:
equals
in classEventRepresentation
-
canEqual
- Overrides:
canEqual
in classEventRepresentation
-
hashCode
public int hashCode()- Overrides:
hashCode
in classEventRepresentation
-