Class BatchDownloadResponse
- java.lang.Object
-
- app.coronawarn.server.services.download.BatchDownloadResponse
-
public class BatchDownloadResponse extends Object
Contains theDiagnosisKeyBatch
and batch tag metadata as served by the federation gateway.
-
-
Constructor Summary
Constructors Constructor Description BatchDownloadResponse(String batchTag, Optional<DiagnosisKeyBatch> diagnosisKeyBatch, Optional<String> nextBatchTag)
Creates a FederationGatewayResponse that holds aDiagnosisKeyBatch
and batch tag metadata as served by the federation gateway.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBatchTag()
Optional<DiagnosisKeyBatch>
getDiagnosisKeyBatch()
Optional<String>
getNextBatchTag()
int
hashCode()
-
-
-
Constructor Detail
-
BatchDownloadResponse
public BatchDownloadResponse(String batchTag, Optional<DiagnosisKeyBatch> diagnosisKeyBatch, Optional<String> nextBatchTag)
Creates a FederationGatewayResponse that holds aDiagnosisKeyBatch
and batch tag metadata as served by the federation gateway.
-
-
Method Detail
-
getDiagnosisKeyBatch
public Optional<DiagnosisKeyBatch> getDiagnosisKeyBatch()
-
getBatchTag
public String getBatchTag()
-
-