code: public ApiResponse<ApiSuccessResponse> placeInQueueWithHttpInfo(String mediatype, String id, PlaceInQueueData placeInQueueData) throws ApiException {
          com.squareup.okhttp.Call call = placeInQueueValidateBeforeCall(mediatype, id, placeInQueueData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Place an interaction in a queue
  Place the interaction in the specified queue.
  @param mediatype The media channel. (required)
  @param id The ID of the interaction. (required)
  @param placeInQueueData  (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body