public Pairs getPairs(String namespace, String predicate, int perPage, int page, boolean sign) throws JinxException {
    Map<String, String> params = new TreeMap<>();
    params.put("method", "flickr.machinetags.getPairs");
    if (!JinxUtils.isNullOrEmpty(namespace)) {
      params.put("namespace", namespace);
    }
    if (!JinxUtils.isNullOrEmpty(predicate)) {
      params.put("predicate", predicate);
    }
    if (perPage > 0) {
      params.put("per_page", Integer.toString(perPage));
    }
    if (page > 0) {
      params.put("page", Integer.toString(page));
    }
    return jinx.flickrGet(params, Pairs.class, sign);
  }
public Pairs getPairs ( String namespace , String predicate , int perPage , int page , boolean sign ) throws JinxException { Map < String , String > params = new TreeMap < > ( ) ; params . put ( "method" , "flickr.machinetags.getPairs" ) ; if ( ! JinxUtils . isNullOrEmpty ( namespace ) ) { params . put ( "namespace" , namespace ) ; } if ( ! JinxUtils . isNullOrEmpty ( predicate ) ) { params . put ( "predicate" , predicate ) ; } if ( perPage > 0 ) { params . put ( "per_page" , Integer . toString ( perPage ) ) ; } if ( page > 0 ) { params . put ( "page" , Integer . toString ( page ) ) ; } return jinx . flickrGet ( params , Pairs . class , sign ) ; }
Return a list of unique namespace and predicate pairs, optionally limited by predicate or namespace, in alphabetical order.
<br>
This method does not require authentication.

@param namespace (Optional) Limit the list of pairs returned to those that have this namespace.
@param predicate (Optional) Limit the list of pairs returned to those that have this predicate.
@param perPage   Number of photos to return per page. If this argument is less than 1, it defaults to 100. The maximum allowed value is 500.
@param page      The page of results to return. If this argument is less than 1, it defaults to 1.
@param sign      if true, the request will be signed.
@return object containing a list of unique namespace and predicate parts.
@throws JinxException if there are any errors.
@see <a href="https://www.flickr.com/services/api/flickr.machinetags.getPairs.html">flickr.machinetags.getPairs</a>