Package com.auth0.json.mgmt.actions
Class Secret
java.lang.Object
com.auth0.json.mgmt.actions.Secret
Represents a secret of an action.
- See Also:
Action
,ActionsEntity
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Secret
Creates a new instance.- Parameters:
name
- the name of the secret, e.g., "API_KEY"value
- the value of the secret.
-
-
Method Details
-
getName
- Returns:
- the name of this secret.
-
setName
Sets the name of this secret.- Parameters:
name
- the name of the secret, e.g., "API_KEY"
-
getValue
Get the value of this secret.Secret values will never be returned by the API. This will only return a value if the instance is being used to create or update a secret.
- Returns:
- the value of this secret.
-
setValue
Sets the value of this secret.- Parameters:
value
- the value of this secret.
-
getUpdatedAt
- Returns:
- the date this secret was updated at.
-