Class Action

java.lang.Object
com.auth0.json.mgmt.actions.Action

public class Action extends Object
Represents the Action entity.
See Also:
  • Constructor Details

    • Action

      public Action(String name, List<Trigger> supportedTriggers)
      Create a new instance.
      Parameters:
      name - the name of the action
      supportedTriggers - the action's supported triggers
    • Action

      public Action()
      Create a new instance.
  • Method Details

    • getSupportedTriggers

      public List<Trigger> getSupportedTriggers()
      Returns:
      the supported triggers for this action.
    • setSupportedTriggers

      public void setSupportedTriggers(List<Trigger> supportedTriggers)
      Set the supported triggers for this action.
      Parameters:
      supportedTriggers - the supported triggers.
    • getId

      public String getId()
      Returns:
      the ID of this action.
    • setName

      public void setName(String name)
      Sets the name of this action.
      Parameters:
      name - the name of the action.
    • getName

      public String getName()
      Returns:
      the name of this action.
    • getCreatedAt

      public Date getCreatedAt()
      Returns:
      the created at date of this action.
    • getUpdatedAt

      public Date getUpdatedAt()
      Returns:
      the updated at date of this action.
    • getCode

      public String getCode()
      Returns:
      the code of this action.
    • setCode

      public void setCode(String code)
      Sets the code of this action.
      Parameters:
      code - the code of this action.
    • getDependencies

      public List<Dependency> getDependencies()
      Returns:
      the dependencies of this action.
    • setDependencies

      public void setDependencies(List<Dependency> dependencies)
      Sets the dependencies of this action.
      Parameters:
      dependencies - the dependencies of this action.
    • getRuntime

      public String getRuntime()
      Returns:
      the runtime of this action.
    • setRuntime

      public void setRuntime(String runtime)
      Sets the runtime of this action.
      Parameters:
      runtime - the runtime of this action.
    • getStatus

      public String getStatus()
      Returns:
      the status of this action.
    • getSecrets

      public List<Secret> getSecrets()
      Returns:
      the secrets of this action.
    • setSecrets

      public void setSecrets(List<Secret> secrets)
      Sets the secrets of this action.
      Parameters:
      secrets - the secrets of this action.
    • getAllChangesDeployed

      public Boolean getAllChangesDeployed()
      Returns:
      whether all changes have been deployed for this action.
    • getDeployedVersion

      public Version getDeployedVersion()
      Returns:
      the deployed version of this action.