Closed SMadani closed 6 months ago
Merging #508 (a79373c) into main (a50c7bb) will increase coverage by
0.93%
. The diff coverage is100.00%
.:exclamation: Current head a79373c differs from pull request most recent head 18cdbbc. Consider uploading reports for the commit 18cdbbc to get more accurate results
Along with addressing #134, this PR aims to add convenience when debugging API responses and using the deserialised objects in collections, by implementing the
equals
andhashCode
methods. ThetoString
is implemented based on the class name and serialised JSON value. A reflective approach is taken to all these methods, using a common base object for JSON payloads in the form ofcom.vonage.client.JsonableBaseObject
, which is implemented throughout the entire classs hierarchy / object graph for all JSON responses, and even some requests.