java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.VersionMetadata
All Implemented Interfaces:
Serializable

public final class VersionMetadata extends Object implements Serializable
Embedded metadata for a single Key-Value v2 version.
Since:
0.8, 1.1 implements Serializable
Author:
Stefan Kalscheuer
See Also:
  • Constructor Details

    • VersionMetadata

      public VersionMetadata()
  • Method Details

    • getCreatedTime

      public ZonedDateTime getCreatedTime()
      Returns:
      Time of secret creation.
    • getDeletionTime

      public ZonedDateTime getDeletionTime()
      Returns:
      Time for secret deletion.
    • isDestroyed

      public boolean isDestroyed()
      Returns:
      Whether the secret is destroyed.
    • getVersion

      public Integer getVersion()
      Returns:
      Version of the entry.
    • getCustomMetadata

      public Map<String,String> getCustomMetadata()
      Returns:
      Custom metadata.
      Since:
      1.3
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object