| java.lang.Object | |
| ↳ | com.atlassian.bitbucket.permission.PermissionRequest | 
Represents a permission request, which can be used to request users with a specific permission, or verify that users have a specific permission.
 Note that this class does not validate the relationship between the permission and
 the resource that it holds. The APIs accepting instances of permission requests are
 responsible for verifying whether given permission request is valid.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PermissionRequest.Builder | |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Resource to which the  permissionshould apply. | |||||||||||
| Resource to which the  permissionshould apply, as a client-specified instance ofresourceType. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
global permission,
 or a resource permission to the specified resource
Resource to which the permission should apply. This could be a domain object (e.g.
 project or repository), as well as an ID.
permission should apply, or null if this request
         does not concern any particular resource (which should be the case for
         global permissions)
Resource to which the permission should apply, as a client-specified instance of
 resourceType.
permission should apply, or null if this request
         does not concern any particular resource (which should be the case for
         global permissions)| ClassCastException | if the resource is not an instance of the expected resourceType | 
|---|
permission, or null if this request does
 not concern any particular user