Package com.auth0.json.mgmt.actions
Class Action
java.lang.Object
com.auth0.json.mgmt.actions.Action
Represents the Action entity.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getId()
getName()
void
Sets the code of this action.void
setDependencies
(List<Dependency> dependencies) Sets the dependencies of this action.void
Sets the name of this action.void
setRuntime
(String runtime) Sets the runtime of this action.void
setSecrets
(List<Secret> secrets) Sets the secrets of this action.void
setSupportedTriggers
(List<Trigger> supportedTriggers) Set the supported triggers for this action.
-
Constructor Details
-
Action
Create a new instance.- Parameters:
name
- the name of the actionsupportedTriggers
- the action's supported triggers
-
Action
public Action()Create a new instance.
-
-
Method Details
-
getSupportedTriggers
- Returns:
- the supported triggers for this action.
-
setSupportedTriggers
Set the supported triggers for this action.- Parameters:
supportedTriggers
- the supported triggers.
-
getId
- Returns:
- the ID of this action.
-
setName
Sets the name of this action.- Parameters:
name
- the name of the action.
-
getName
- Returns:
- the name of this action.
-
getCreatedAt
- Returns:
- the created at date of this action.
-
getUpdatedAt
- Returns:
- the updated at date of this action.
-
getCode
- Returns:
- the code of this action.
-
setCode
Sets the code of this action.- Parameters:
code
- the code of this action.
-
getDependencies
- Returns:
- the dependencies of this action.
-
setDependencies
Sets the dependencies of this action.- Parameters:
dependencies
- the dependencies of this action.
-
getRuntime
- Returns:
- the runtime of this action.
-
setRuntime
Sets the runtime of this action.- Parameters:
runtime
- the runtime of this action.
-
getStatus
- Returns:
- the status of this action.
-
getSecrets
- Returns:
- the secrets of this action.
-
setSecrets
Sets the secrets of this action.- Parameters:
secrets
- the secrets of this action.
-
getAllChangesDeployed
- Returns:
- whether all changes have been deployed for this action.
-
getDeployedVersion
- Returns:
- the deployed version of this action.
-