Package com.vonage.client.account
Class SecretResponse
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.account.SecretResponse
- All Implemented Interfaces:
Jsonable
Represents metadata about an API account secret.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecretResponseDeprecated.Time the secret was created.getId()ID of the secret.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
SecretResponse
public SecretResponse()
-
-
Method Details
-
getId
ID of the secret.- Returns:
- The secret ID as a string.
-
getCreated
Time the secret was created.- Returns:
- The creation time as an Instant, or
nullif unknown.
-
fromJson
Deprecated.
-