def check_for_mutual_exclusivity(required_param_names=[], params)
      i = 0
      required_param_names.each { |p|
        if !params[p].nil? && !params[p].empty?
          i += 1
        end
      }

      if i == 0
        raise Hoiio::RequestError.new "All required params are missing"
      elsif i > 1
        raise Hoiio::RequestError.new "More than 1 required, mutually exclusive param are present."
      end
    end
def check_for_mutual_exclusivity(required_param_names=[], params)
      i = 0
      required_param_names.each { |p|
        if !params[p].nil? && !params[p].empty?
          i += 1
        end
      }

      if i == 0
        raise Hoiio::RequestError.new "All required params are missing"
      elsif i > 1
        raise Hoiio::RequestError.new "More than 1 required, mutually exclusive param are present."
      end
    end
Check that only 1 required parameter is needed for specific API calls

 @param required_param_names array of names of required parameters that need to be checked
 @param params hash of params that will be used to check the presence of each required_param_name

 @return Hoiio::InputError if a required param is missing or if all required params are present