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
public class AuditRecordRepresentation extends EventRepresentation
-
-
Constructor Summary
Constructors Constructor Description AuditRecordRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getActivity()
String
getApplication()
Set<ChangeRepresentation>
getChanges()
String
getSeverity()
String
getUser()
int
hashCode()
void
setActivity(String activity)
void
setApplication(String application)
void
setChanges(Set<ChangeRepresentation> changes)
void
setSeverity(String severity)
void
setUser(String user)
-
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
-
-
-
-
Method Detail
-
getUser
@JSONProperty(ignoreIfNull=true) public String getUser()
-
setUser
public void setUser(String user)
-
getApplication
@JSONProperty(ignoreIfNull=true) public String getApplication()
-
setApplication
public void setApplication(String application)
-
getActivity
@JSONProperty(ignoreIfNull=true) public String getActivity()
-
setActivity
public void setActivity(String activity)
-
getSeverity
@JSONProperty(ignoreIfNull=true) public String getSeverity()
-
setSeverity
public void setSeverity(String severity)
-
getChanges
@JSONTypeHint(ChangeRepresentation.class) @JSONProperty(ignoreIfNull=true) public Set<ChangeRepresentation> getChanges()
-
setChanges
public void setChanges(Set<ChangeRepresentation> changes)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classEventRepresentation
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classEventRepresentation
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classEventRepresentation
-
-