code: public ApiSuccessResponse sendUserEvent(SendUserEventData userEventData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = sendUserEventWithHttpInfo(userEventData);
          return resp.getData();
      }
docs: Send a userEvent event to T-Server
  Send EventUserEvent to T-Server with the provided attached data. For details about EventUserEvent, refer to the [*Genesys Events and Models Reference Manual*](https://docs.genesys.com/Documentation/System).
  @param userEventData The data to send. This is an array of objects with the properties key, type, and value. (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body