public static MediaContainerResource photoToMedia(PhotosContainerResource photosContainer) {
    return new MediaContainerResource(
        photosContainer
            .getAlbums()
            .stream()
            .map(MediaAlbum::photoToMediaAlbum)
            .collect(Collectors.toList()),
        photosContainer.getPhotos(),
        null /*videos*/);
  }
Builds a MediaContainerResource without video by mapping a PhotosContainerResource's fields
1:1 to MediaContainerResource.
portability-types-common/src/main/java/org/datatransferproject/types/common/models/media/MediaContainerResource.java