java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.VersionMetadata

public final class VersionMetadata extends Object
Embedded metadata for a single Key-Value v2 version.
Since:
0.8
Author:
Stefan Kalscheuer
  • 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.