getBody

public final Object getBody()

The request body: a CreateEventRequest for create operations, an UpdateEventRequest for update operations, and null for delete operations. Typed as Any? so one field holds either request type; the factory methods keep it type-safe.