Class AddViewPermissionRequest
Object
AddViewPermissionRequest
- All Implemented Interfaces:
Serializable
Contains the parameters needed to create view permissions.
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Required. The resource on which we want to provide the view permission.The userGroupId of the group that should receive the view permission.The userId of the person who should receive the view permission.int
hashCode()
void
setBaseResource
(ResourceReference baseResource) Required. The resource on which we want to provide the view permission.void
setUserGroupId
(UUID userGroupId) The userGroupId of the group that should receive the view permission.void
The userId of the person who should receive the view permission.toString()
-
Constructor Details
-
AddViewPermissionRequest
public AddViewPermissionRequest()
-
-
Method Details
-
builder
-
getUserId
The userId of the person who should receive the view permission. Either this or the userGroupId is required. -
getUserGroupId
The userGroupId of the group that should receive the view permission. Either this or the userId is required. -
getBaseResource
Required. The resource on which we want to provide the view permission. -
setUserId
The userId of the person who should receive the view permission. Either this or the userGroupId is required. -
setUserGroupId
The userGroupId of the group that should receive the view permission. Either this or the userId is required. -
setBaseResource
Required. The resource on which we want to provide the view permission. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-