public static VideoModel convertToVideoModel(
      Optional<String> albumId, GoogleMediaItem mediaItem) throws ParseException{
    Preconditions.checkArgument(mediaItem.isVideo());

    return new VideoModel(
        mediaItem.getFilename(),
        mediaItem.getFetchableUrl(),
        mediaItem.getDescription(),
        getMimeType(mediaItem),
        mediaItem.getId(),
        albumId.orElse(null),
        false /*inTempStore*/,
        getCreationTime(mediaItem),
        new FavoriteInfo(getFavorite(mediaItem), getLastUpdateTime(mediaItem)));
  }
Media item returned by queries to the Google Photos API. Represents what is stored by Google.
extensions/data-transfer/portability-data-transfer-google/src/main/java/org/datatransferproject/datatransfer/google/mediaModels/GoogleMediaItem.java