@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    PhotosContainerResource that = (PhotosContainerResource) o;
    return Objects.equals(getAlbums(), that.getAlbums())
        && Objects.equals(getPhotos(), that.getPhotos());
  }
A Wrapper for all the possible objects that can be returned by a photos exporter.
portability-types-common/src/main/java/org/datatransferproject/types/common/models/photos/PhotosContainerResource.java