docs: protected void validateParamExists(JSONObject parameters, String name) throws ApiException {
  		if (!parameters.has(name) || parameters.getString(name).length() == 0) {
  			throw new ApiException(ApiException.Type.MISSING_PARAMETER, name);
  		}
  	}