com.quorum.tessera.p2p.recovery.PushBatchRequest 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.ArraySchema;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.xml.bind.annotation.XmlMimeType;
import java.util.List;
/** Model representation of a list of encoded payloads */
public class PushBatchRequest {
@ArraySchema(
schema = @Schema(description = "list of encoded payloads", type = "string", format = "byte"))
@XmlMimeType("base64Binary")
private List encodedPayloads;
public PushBatchRequest() {}
public PushBatchRequest(List encodedPayloads) {
this.encodedPayloads = encodedPayloads;
}
public List getEncodedPayloads() {
return encodedPayloads;
}
public void setEncodedPayloads(List encodedPayloads) {
this.encodedPayloads = encodedPayloads;
}
}