Package net.dv8tion.jda.api.audit
Class AuditLogChange
java.lang.Object
net.dv8tion.jda.api.audit.AuditLogChange
Plain-Old-Java-Object (POJO) representing a single
 change for an 
This object holds the
AuditLogEntry!
 This object holds the
old- and new value for the
 updated field. The field is specified by the key.- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
AuditLogChange
 
- 
- 
Method Details- 
getOldValueThe previous value for the field specified bygetKey().- Type Parameters:
- T- The expected generic type for this value.
 This will be used to cast the value.
- Returns:
- The old value
- Throws:
- ClassCastException- If the type cast to the generic type fails
 
- 
getNewValueThe updated value for the field specified bygetKey().- Type Parameters:
- T- The expected generic type for this value.
 This will be used to cast the value.
- Returns:
- The new value
- Throws:
- ClassCastException- If the type cast to the generic type fails
 
- 
getKeyThe key which defines the field that was updated by this change- Returns:
- The key
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-