code: public CollectionInfo getInfo(String collectionId) throws JinxException {
      JinxUtils.validateParams(collectionId);
      Map<String, String> params = new TreeMap<>();
      params.put("method", "flickr.collections.getInfo");
      params.put("collection_id", collectionId);
      return jinx.flickrGet(params, CollectionInfo.class);
    }
docs: Returns information for a single collection. Currently can only be called by the collection owner, this may change.
  <br>
  This method requires authentication with 'read' permission.
  
  @param collectionId Required. The id of the collection to fetch information for.
  @return information about the collection.
  @throws JinxException if required parameters are null or empty, or if there are any errors.
  @see <a href="https://www.flickr.com/services/api/flickr.collections.getInfo.html">flickr.collections.getInfo</a>