Module de.stklcode.jvault.connector
Class SecretMetadata
java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.SecretMetadata
- All Implemented Interfaces:
Serializable
Embedded metadata for Key-Value v2 secrets.
- Since:
- 0.8, 1.1 implements
Serializable
- Author:
- Stefan Kalscheuer
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only.Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only.int
hashCode()
-
Constructor Details
-
SecretMetadata
public SecretMetadata()
-
-
Method Details
-
getCreatedTimeString
Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only. UsegetCreatedTime()
instead.- Returns:
- Time of secret creation as raw string representation.
-
getCreatedTime
- Returns:
- Time of secret creation.
-
getCurrentVersion
- Returns:
- Current version number.
-
getMaxVersions
- Returns:
- Maximum number of versions.
-
getOldestVersion
- Returns:
- Oldest available version number.
-
getUpdatedTimeString
Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only. UsegetUpdatedTime()
instead.- Returns:
- Time of secret update as raw string representation.
-
getUpdatedTime
- Returns:
- Time of secret update.
-
getVersions
- Returns:
- Version of the entry.
-
equals
-
hashCode
public int hashCode()
-