code: public static JinxConstants.SuggestionStatus suggestionStatusIdToSuggestionStatusEnum(Integer id) {
          if (id == null) {
              return null;
          }
          JinxConstants.SuggestionStatus status;
          switch (id) {
              case 0:
                  status = JinxConstants.SuggestionStatus.pending;
                  break;
              case 1:
                  status = JinxConstants.SuggestionStatus.approved;
                  break;
              case 2:
                  status = JinxConstants.SuggestionStatus.rejected;
                  break;
              default:
                  status = null;
                  break;
          }
          return status;
      }
docs: Convert a Flickr suggestion status id to the corresponding SuggestionStatus value.
  
  @param id the Flickr suggestion status id.
  @return corresponding SuggestionStatus value.