java.lang.Object
de.stklcode.jvault.connector.model.response.VaultDataResponse
All Implemented Interfaces:
VaultResponse, Serializable
Direct Known Subclasses:
AppRoleResponse, AppRoleSecretResponse, AuthMethodsResponse, AuthResponse, MetadataResponse, RawDataResponse, SecretListResponse, SecretResponse, SecretVersionResponse, TokenResponse, TokenRoleResponse

public abstract class VaultDataResponse extends Object implements VaultResponse
Abstract Vault response with default payload fields.
Since:
0.1
Author:
Stefan Kalscheuer
See Also:
  • Constructor Details

    • VaultDataResponse

      public VaultDataResponse()
  • Method Details

    • getRequestId

      public final String getRequestId()
      Returns:
      Request ID
      Since:
      1.1
    • getLeaseId

      public final String getLeaseId()
      Returns:
      Lease ID
    • isRenewable

      public final boolean isRenewable()
      Returns:
      Lease is renewable
    • getLeaseDuration

      public final Integer getLeaseDuration()
      Returns:
      Lease duration
    • getWarnings

      public final List<String> getWarnings()
      Returns:
      List of warnings
    • getWrapInfo

      public final WrapInfo getWrapInfo()
      Returns:
      Wrapping information
      Since:
      1.1
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object