code: public ApiResponse<ApiSuccessResponse> publishTopicWithHttpInfo(String topic, PublishEventData publishEventData) throws ApiException {
          com.squareup.okhttp.Call call = publishTopicValidateBeforeCall(topic, publishEventData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Publish an user event regarding specific topic
  Publish a user event on interaction server channel regarding specific topic.
  @param topic The specific topic (required)
  @param publishEventData  (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body