Class AccountPermission

java.lang.Object
com.strongdm.api.AccountPermission

public class AccountPermission extends Object
AccountPermission represents an individual API action available to an account.
  • Constructor Details

    • AccountPermission

      public AccountPermission()
  • Method Details

    • getAccountId

      public String getAccountId()
      The unique identifier of the Account this permission belongs to.
    • setAccountId

      public void setAccountId(String in)
      The unique identifier of the Account this permission belongs to.
    • getGrantedAt

      public Date getGrantedAt()
      The most recent time at which the permission was granted. If a permission was granted, revoked, and granted again, this will reflect the later time.
    • setGrantedAt

      public void setGrantedAt(Date in)
      The most recent time at which the permission was granted. If a permission was granted, revoked, and granted again, this will reflect the later time.
    • getPermission

      public String getPermission()
      The value of this permission, split into vertical and action, one of the Permission constants.
    • setPermission

      public void setPermission(String in)
      The value of this permission, split into vertical and action, one of the Permission constants.
    • getScope

      public String getScope()
      The scope of this permission. A global scope means this action can be taken on any entity; otherwise the action can only be taken on or in the scope of the scoped id.
    • setScope

      public void setScope(String in)
      The scope of this permission. A global scope means this action can be taken on any entity; otherwise the action can only be taken on or in the scope of the scoped id.
    • getScopedId

      public String getScopedId()
      The ID to which or in whose context this operation is permitted. e.g. The ID of a role that a team leader has the abillity to remove and add accounts to, or the ID of a resource that a user has the permission to connect to. If Scope is global, scoped id is not populated.
    • setScopedId

      public void setScopedId(String in)
      The ID to which or in whose context this operation is permitted. e.g. The ID of a role that a team leader has the abillity to remove and add accounts to, or the ID of a resource that a user has the permission to connect to. If Scope is global, scoped id is not populated.