@Override
  public ExportResult<PhotosContainerResource> export(
      UUID jobId, TokensAndUrlAuthData authData, Optional<ExportInformation> exportInformation)
      throws IOException {
    if (!exportInformation.isPresent()) {
      return exportOneDrivePhotos(authData, Optional.empty(), Optional.empty(), jobId);
    }

    IdOnlyContainerResource idOnlyContainerResource =
        (IdOnlyContainerResource) exportInformation.get().getContainerResource();
    StringPaginationToken paginationToken =
        (StringPaginationToken) exportInformation.get().getPaginationData();

    return exportOneDrivePhotos(
        authData,
        Optional.ofNullable(idOnlyContainerResource),
        Optional.ofNullable(paginationToken),
        jobId);
  }
Exports Microsoft OneDrive photos using the Graph API.

<p>Converts folders to albums.
extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/photos/MicrosoftPhotosExporter.java