public static PhotoAlbum mediaToPhotoAlbum(MediaAlbum mediaAlbum) {
    return new PhotoAlbum(mediaAlbum.getId(), mediaAlbum.getName(), mediaAlbum.getDescription());
  }
Extracts photos-specific data from a MediaAlbum and drops anything unsupported by PhotoAlbum
(eg: video content is ignored).
portability-types-common/src/main/java/org/datatransferproject/types/common/models/media/MediaAlbum.java