Class LogicalResponse

java.lang.Object
io.github.jopenlibs.vault.response.VaultResponse
io.github.jopenlibs.vault.response.LogicalResponse
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DatabaseResponse, MountResponse, PkiResponse

public class LogicalResponse extends VaultResponse
This class is a container for the information returned by Vault in logical API operations (e.g. read, write).
See Also:
  • Constructor Details

    • LogicalResponse

      public LogicalResponse(RestResponse restResponse, int retries, Logical.logicalOperations operation)
      Parameters:
      restResponse - The raw HTTP response from Vault.
      retries - The number of retry attempts that occurred during the API call (can be zero).
      operation - The operation requested.
  • Method Details

    • getData

      public Map<String,String> getData()
    • getListData

      public List<String> getListData()
    • getDataObject

      public JsonObject getDataObject()
    • getLeaseId

      public String getLeaseId()
    • getRenewable

      public Boolean getRenewable()
    • getLeaseDuration

      public Long getLeaseDuration()
    • getWrapResponse

      public WrapResponse getWrapResponse()
    • getDataMetadata

      public DataMetadata getDataMetadata()