public class AddEntityVdrJson extends BaseJson
Constructor and Description |
---|
AddEntityVdrJson() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Set description (only for groups)
|
AddMembersToGroupJson |
getGroupMembers()
In case of a workspace group these members will be added to the group,
otherwise this will be ignored.
|
String |
getIdentifier()
Only for workspace groups - adds another identifier to find the group
by.
|
boolean |
getIsDefaultEntity()
Deprecated.
|
PermissionFromUserJson |
getNewPermissions()
Workspace permissions
|
PermittedEntityFromUserJson |
getPermittedEntity()
The entity to add
|
String |
getRole()
The new role in the workspace.
|
boolean |
isAddEntityToAllDocs()
If left empty will be treated as false.
|
boolean |
isIsDefaultEntity()
Set if the entity is default for workspace
|
void |
setAddEntityToAllDocs(boolean addEntityToAllDocs)
If left empty will be treated as false.
|
void |
setDescription(String description)
Set description (only for groups)
|
void |
setGroupMembers(AddMembersToGroupJson groupMembers)
In case of a workspace group these members will be added to the group,
otherwise this will be ignored.
|
void |
setIdentifier(String identifier)
Only for workspace groups - adds another identifier to find the group
by.
|
void |
setIsDefaultEntity(boolean isDefaultEntity)
Set if the entity is default for workspace
|
void |
setNewPermissions(PermissionFromUserJson newPermissions)
Workspace permissions
|
void |
setPermittedEntity(PermittedEntityFromUserJson permittedEntity)
The entity to add
|
void |
setRole(String role)
The new role in the workspace.
|
getObjType, setObjType, toString
public AddMembersToGroupJson getGroupMembers()
public void setGroupMembers(AddMembersToGroupJson groupMembers)
groupMembers
- In case of a workspace group these members will be
added to the group, otherwise this will be ignored.public PermittedEntityFromUserJson getPermittedEntity()
public void setPermittedEntity(PermittedEntityFromUserJson permittedEntity)
permittedEntity
- The entity to addpublic String getIdentifier()
public void setIdentifier(String identifier)
identifier
- Only for workspace groups - adds another identifier
to find the group by. This identifier may be supplied instead of
workspace group name or address, in all workspace group based
operations.public String getRole()
public void setRole(String role)
role
- The new role in the workspace.public boolean isAddEntityToAllDocs()
public void setAddEntityToAllDocs(boolean addEntityToAllDocs)
addEntityToAllDocs
- If left empty will be treated as false.public boolean isIsDefaultEntity()
@Deprecated public boolean getIsDefaultEntity()
public void setIsDefaultEntity(boolean isDefaultEntity)
isDefaultEntity
- Set if the entity is default for workspacepublic String getDescription()
public void setDescription(String description)
description
- Set description (only for groups)public PermissionFromUserJson getNewPermissions()
public void setNewPermissions(PermissionFromUserJson newPermissions)
newPermissions
- Workspace permissionsCopyright © 2019. All rights reserved.