code: public ApiResponse<ApiSuccessResponse> asyncPutOnHoldWithHttpInfo(String id, PutOnHoldData putOnHoldData) throws ApiException {
          com.squareup.okhttp.Call call = asyncPutOnHoldValidateBeforeCall(id, putOnHoldData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Put the interaction chat on hold
  Put the interaction chat on hold.
  @param id The ID of the interaction. (required)
  @param putOnHoldData  (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body