
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.
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 int batchSize;
public String getPublicKey() {
return publicKey;
}
public void setPublicKey(final String publicKey) {
this.publicKey = publicKey;
}
public int getBatchSize() {
return batchSize;
}
public void setBatchSize(int batchSize) {
this.batchSize = batchSize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy