@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    MediaContainerResource that = (MediaContainerResource) o;
    return Objects.equals(getAlbums(), that.getAlbums())
        && Objects.equals(getPhotos(), that.getPhotos())
        && Objects.equals(getVideos(), that.getVideos());
  }
Extracts a new VideosContainerResource from the relevant matching fields in a given
MediaContainerResource.
portability-types-common/src/main/java/org/datatransferproject/types/common/models/media/MediaContainerResource.java