code: public Photos getPhotosOf(String userId, String ownerId, EnumSet<JinxConstants.PhotoExtras> extras,
                              int perPage, int page, boolean sign) throws JinxException {
      JinxUtils.validateParams(userId);
      Map<String, String> params = new TreeMap<>();
      params.put("method", "flickr.people.getPhotosOf");
      params.put("user_id", userId);
      if (!JinxUtils.isNullOrEmpty(ownerId)) {
        params.put("owner_id", ownerId);
      }
      if (!JinxUtils.isNullOrEmpty(extras)) {
        params.put("extras", JinxUtils.buildCommaDelimitedList(extras));
      }
      if (perPage > 0) {
        params.put("per_page", Integer.toString(perPage));
      }
      if (page > 0) {
        params.put("page", Integer.toString(page));
      }
      return jinx.flickrGet(params, Photos.class, sign);
    }
docs: Returns a list of photos containing a particular Flickr member.
  <br>
  This method does not require authentication.
  
  @param userId  (Required) The userId of the user you want to find photos of. A value of "me" will search against photos of the calling user, for authenticated calls.
  @param ownerId (Optional) A userId of a Flickr member. This will restrict the list of photos to those taken by that member.
  @param extras  (Optional) extra information to return for each photo.
  @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 photos of the specified Flickr member.
  @throws JinxException if required parameters are missing, or if there are any errors.
  @see <a href="https://www.flickr.com/services/api/flickr.people.getPhotosOf.html">flickr.people.getPhotosOf</a>