code: public Response setContentType(String photoId, JinxConstants.ContentType contentType) throws JinxException {
      JinxUtils.validateParams(photoId, contentType);
      Map<String, String> params = new TreeMap<>();
      params.put("method", "flickr.photos.setContentType");
      params.put("photo_id", photoId);
      params.put("content_type", Integer.toString(JinxUtils.contentTypeToFlickrContentTypeId(contentType)));
      return jinx.flickrPost(params, Response.class);
    }
docs: Set the content type of a photo.
  <br>
  This method requires authentication with 'write' permission.
  
  @param photoId     Required. The id of the photo to set the content of.
  @param contentType Required. Content type of the photo.
  @return response object with the result of the requested operation.
  @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.photos.setContentType.html">flickr.photos.setContentType</a>