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

    • getCreatedTimeString

      public String getCreatedTimeString()
      Returns:
      Time of secret creation as raw string representation.
    • getCreatedTime

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

      public String getDeletionTimeString()
      Returns:
      Time for secret deletion as raw string representation.
    • 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.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object