code: public Collection<Monitor> list(String name, String type, int offset, int limit)
      {
          List<Monitor> ret = new ArrayList<Monitor>();
          Collection<Monitor> monitors = list(offset, limit);
          for(Monitor monitor : monitors)
          {
              if((name == null || monitor.getName().toLowerCase().indexOf(name) != -1)
                  && (type == null || monitor.getType().equals(type)))
              {
                  ret.add(monitor);
              }
          }
          return ret;
      }
docs: Returns the set of monitors with the given type and where the name contains the given (partial) name.
  @param name The name of the monitors to return. Can be a partial name. A null value returns all monitors.
  @param type The type of the monitors to return. A null value returns all monitors.
  @param offset The monitor count offset. Defaults to 0.
  @param limit The number of results per page, maximum 100. Defaults to 20.
  @return The set of monitors