code: public ApiResponse<ApiSuccessResponse> sendUserEventWithHttpInfo(SendUserEventData userEventData) throws ApiException {
          com.squareup.okhttp.Call call = sendUserEventValidateBeforeCall(userEventData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
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 ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body