Package com.strongdm.api
Class AccountPermission
java.lang.Object
com.strongdm.api.AccountPermission
AccountPermission represents an individual API action available to an account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Account this permission belongs to.The most recent time at which the permission was granted.The value of this permission, split into vertical and action, one of the Permission constants.getScope()
The scope of this permission.The ID to which or in whose context this operation is permitted.void
setAccountId
(String in) The unique identifier of the Account this permission belongs to.void
setGrantedAt
(Date in) The most recent time at which the permission was granted.void
setPermission
(String in) The value of this permission, split into vertical and action, one of the Permission constants.void
The scope of this permission.void
setScopedId
(String in) The ID to which or in whose context this operation is permitted.
-
Constructor Details
-
AccountPermission
public AccountPermission()
-
-
Method Details
-
getAccountId
The unique identifier of the Account this permission belongs to. -
setAccountId
The unique identifier of the Account this permission belongs to. -
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
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
The value of this permission, split into vertical and action, one of the Permission constants. -
setPermission
The value of this permission, split into vertical and action, one of the Permission constants. -
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
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
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
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.
-