code: @Override
      public Map<String, Object> detail() {
          final Map<String, Object> details = super.detail();
          details.put("link", link);
          details.put("caption", caption);
  
          if (pendingPhotos != null && pendingPhotos.size() > 0) {
              PhotoType type = pendingPhotos.get(0).getType();
              if (type == PhotoType.SOURCE) {
                  details.put(type.getPrefix(), pendingPhotos.get(0).getDetail());
              } else if (type == PhotoType.FILE) {
                  for (int i = 0; i < pendingPhotos.size(); i++) {
                      details.put(type.getPrefix() + "[" + i + "]", pendingPhotos.get(i).getDetail());
                  }
              }
          }
  
          return details;
      }
docs: Get the detail for this post (and the base detail)
  @return the details