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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetUser()inthashCode()voidsetActivity(String activity) voidsetApplication(String application) voidsetChanges(Set<ChangeRepresentation> changes) voidsetSeverity(String severity) voidMethods 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, setTypeMethods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setPropertyMethods 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:
equalsin classEventRepresentation
-
canEqual
- Overrides:
canEqualin classEventRepresentation
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventRepresentation
-