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

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

    • SecretMetadata

      public SecretMetadata()
  • Method Details

    • getCreatedTimeString

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

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

      public Integer getCurrentVersion()
      Returns:
      Current version number.
    • getMaxVersions

      public Integer getMaxVersions()
      Returns:
      Maximum number of versions.
    • getOldestVersion

      public Integer getOldestVersion()
      Returns:
      Oldest available version number.
    • getUpdatedTimeString

      public String getUpdatedTimeString()
      Returns:
      Time of secret update as raw string representation.
    • getUpdatedTime

      public ZonedDateTime getUpdatedTime()
      Returns:
      Time of secret update..
    • getVersions

      public Map<Integer,VersionMetadata> getVersions()
      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