docs: private void validateMandatoryParams(JSONObject params, ApiElement element) throws ApiException {
  		if (element == null) {
  			return;
  		}
  
  		List<String> mandatoryParams = element.getMandatoryParamNames();
  		if (mandatoryParams != null) {
  			for (String param : mandatoryParams) {
  				if (!params.has(param) || params.getString(param).length() == 0) {
  					throw new ApiException(ApiException.Type.MISSING_PARAMETER, param);
  				}
  			}
  		}
  	}