code: public ApiResponse<ApiSuccessResponse> rejectWithHttpInfo(String mediatype, String id, RejectData rejectData) throws ApiException {
          com.squareup.okhttp.Call call = rejectValidateBeforeCall(mediatype, id, rejectData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Reject an incoming interaction
  Reject the specified interaction.
  @param mediatype The media channel. (required)
  @param id The ID of the interaction to reject. (required)
  @param rejectData Request parameters. (optional)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body