All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quorum.tessera.p2p.recovery.PushBatchRequest Maven / Gradle / Ivy

Go to download

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy