docs: public static BoxCollaborationWhitelist.Info create(final BoxAPIConnection api, String domain,
                                                          WhitelistDirection direction) {
  
          URL url = COLLABORATION_WHITELIST_ENTRIES_URL_TEMPLATE.build(api.getBaseURL());
          BoxJSONRequest request = new BoxJSONRequest(api, url, HttpMethod.POST);
          JsonObject requestJSON = new JsonObject()
                  .add("domain", domain)
                  .add("direction", direction.toString());
  
          request.setBody(requestJSON.toString());
          BoxJSONResponse response = (BoxJSONResponse) request.send();
          JsonObject responseJSON = JsonObject.readFrom(response.getJSON());
          BoxCollaborationWhitelist domainWhitelist =
                  new BoxCollaborationWhitelist(api, responseJSON.get("id").asString());
  
          return domainWhitelist.new Info(responseJSON);
      }