com.quorum.tessera.api.DeleteRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-jaxrs Show documentation
Show all versions of common-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.api;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
/**
* Model representation of a JSON body on incoming HTTP requests
*
* Contains information that is used to delete a transaction
*/
public class DeleteRequest {
@Schema(
description = "hash indicating encrypted payload to delete from database",
format = "base64")
@Size(min = 1)
@NotNull
private String key;
public String getKey() {
return key;
}
public void setKey(final String key) {
this.key = key;
}
}