public class PermittedEntityWithPermissionsFromUserJson extends BaseJson
Constructor and Description |
---|
PermittedEntityWithPermissionsFromUserJson() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getIsDefault()
Will the entity be added to new files by default
|
PermissionFromUserJson |
getPermissions()
New permissions
|
PermittedEntityFromUserJson |
getPermittedEntity()
The entity to change
|
boolean |
getRevokePermissions()
Deprecated.
|
String |
getRole()
For backwards compatibility - can be left null and this will leave the
role unchanged.
|
boolean |
isRevokePermissions()
Whether to revoke entity's permissions from existing files in the
folder
|
void |
setIsDefault(Boolean isDefault)
Will the entity be added to new files by default
|
void |
setPermissions(PermissionFromUserJson permissions)
New permissions
|
void |
setPermittedEntity(PermittedEntityFromUserJson permittedEntity)
The entity to change
|
void |
setRevokePermissions(boolean revokePermissions)
Whether to revoke entity's permissions from existing files in the
folder
|
void |
setRole(String role)
For backwards compatibility - can be left null and this will leave the
role unchanged.
|
getObjType, setObjType, toString
public PermittedEntityWithPermissionsFromUserJson()
public PermittedEntityFromUserJson getPermittedEntity()
public void setPermittedEntity(PermittedEntityFromUserJson permittedEntity)
permittedEntity
- The entity to changepublic Boolean getIsDefault()
public void setIsDefault(Boolean isDefault)
isDefault
- Will the entity be added to new files by defaultpublic String getRole()
public void setRole(String role)
role
- For backwards compatibility - can be left null and this
will leave the role unchanged.public PermissionFromUserJson getPermissions()
public void setPermissions(PermissionFromUserJson permissions)
permissions
- New permissionspublic boolean isRevokePermissions()
@Deprecated public boolean getRevokePermissions()
public void setRevokePermissions(boolean revokePermissions)
revokePermissions
- Whether to revoke entity's permissions from
existing files in the folderCopyright © 2019. All rights reserved.