code: @Override
      public void validate() throws OpsGenieClientValidationException {
          super.validate();
          if (name == null && id == null)
              throw OpsGenieClientValidationException.missingMultipleMandatoryProperty(OpsGenieClientConstants.API.NAME, OpsGenieClientConstants.API.ID);
      }
docs: check the parameters for validation.
  
  @throws OpsGenieClientValidationException when api key is null!