code: public static int contentTypeToFlickrContentTypeId(JinxConstants.ContentType contentType) {
          if (contentType == null) {
              return -1;
          }
          int ret;
          switch (contentType) {
              case photo:
                  ret = 1;
                  break;
              case screenshot:
                  ret = 2;
                  break;
              case other:
                  ret = 3;
                  break;
              case photos_and_screenshots:
                  ret = 4;
                  break;
              case screenshots_and_other:
                  ret = 5;
                  break;
              case photos_and_other:
                  ret = 6;
                  break;
              case all:
                  ret = 7;
                  break;
              default:
                  ret = -1;
                  break;
          }
          return ret;
      }
docs: Convert  {@link net.jeremybrooks.jinx.JinxConstants.ContentType} enum to the equivalent Flickr content type id.
  
  @param contentType ContentType enum to convert.
  @return equivalent Flickr content type id, or -1 if the parameter is null.