code: public void create() throws APIException {
          CreateDirectoryRequest reqObj = new CreateDirectoryRequest(this.getName(), null);
          Gson gson = new Gson();
          JsonElement inputJson = gson.toJsonTree(reqObj);
  
          String url = this.getParent().getUrl();
          HttpResponse response = this.client.post(url, new StringEntity(inputJson.toString(), ContentType.APPLICATION_JSON));
          HttpClientHelpers.throwIfNotOk(response);
      }
docs: Creates this directory via the Algorithmia Data API
  @throws APIException if there were any problems communicating with the Algorithmia API