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

      @Deprecated(since="1.2", forRemoval=true) public String getCreatedTimeString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Method left for backwards compatibility only. Use getCreatedTime() instead.
      Returns:
      Time of secret creation as raw string representation.
    • getCreatedTime

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

      @Deprecated(since="1.2", forRemoval=true) public String getDeletionTimeString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Method left for backwards compatibility only. Use getDeletionTime() instead.
      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