Class VersionMetadata
- 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 Summary
Constructors Constructor Description VersionMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZonedDateTime
getCreatedTime()
String
getCreatedTimeString()
ZonedDateTime
getDeletionTime()
String
getDeletionTimeString()
Integer
getVersion()
boolean
isDestroyed()
-
-
-
Method Detail
-
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.
-
-