Event Details API Schema
JSON does not differentaite between fields/attributes; What you’re seeing is just a fairly standard JSON-object hierarchy keyed by ID. To deserialize these you’d need to iterate them manually and build your objects rather than attempt to flat map JSON values directly to OO-language object properties.
Have you considered using one of the community Java libraries from https://forum-en.gw2archive.eu/forum/community/api/API-implementation-library-master-list/?