com.quorum.tessera.p2p.recovery.ResendBatchRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sync-jaxrs Show documentation
Show all versions of sync-jaxrs Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
The newest version!
package com.quorum.tessera.p2p.recovery;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Model representation of a JSON body on incoming HTTP requests. Used when a request is received to
* resend existing transactions. Contains:
*
*
* - the public key who is a recipient
*
- the batch size
*
*/
public class ResendBatchRequest {
@Schema(
description = "resend transactions involving this public key",
format = "base64",
required = true)
private String publicKey;
@Schema(description = "default value is used if not provided")
private Integer batchSize;
public String getPublicKey() {
return publicKey;
}
public void setPublicKey(final String publicKey) {
this.publicKey = publicKey;
}
public Integer getBatchSize() {
return batchSize;
}
public void setBatchSize(Integer batchSize) {
this.batchSize = batchSize;
}
}