public JSONObject batch(List<JSONObject> actions, RequestOptions requestOptions) throws AlgoliaException {
    return postBatch(actions, requestOptions);
  }
public JSONObject batch ( List < JSONObject > actions , RequestOptions requestOptions ) throws AlgoliaException { return postBatch ( actions , requestOptions ) ; }
Custom batch

@param actions        the array of actions
@param requestOptions Options to pass to this request