Package us.kbase.workspace
Class SetPermissionsParams
- java.lang.Object
-
- us.kbase.workspace.SetPermissionsParams
-
@Generated("com.googlecode.jsonschema2pojo") public class SetPermissionsParams extends Object
Original spec-file type: SetPermissionsParams
Input parameters for the "set_permissions" function. One, and only one, of the following is required: ws_id id - the numerical ID of the workspace. ws_name workspace - the name of the workspace. Required arguments: permission new_permission - the permission to assign to the users. list
users - the users whose permissions will be altered.
-
-
Constructor Summary
Constructors Constructor Description SetPermissionsParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
Long
getId()
String
getNewPermission()
List<String>
getUsers()
String
getWorkspace()
void
setAdditionalProperties(String name, Object value)
void
setId(Long id)
void
setNewPermission(String newPermission)
void
setUsers(List<String> users)
void
setWorkspace(String workspace)
String
toString()
SetPermissionsParams
withId(Long id)
SetPermissionsParams
withNewPermission(String newPermission)
SetPermissionsParams
withUsers(List<String> users)
SetPermissionsParams
withWorkspace(String workspace)
-
-
-
Method Detail
-
getWorkspace
public String getWorkspace()
-
setWorkspace
public void setWorkspace(String workspace)
-
withWorkspace
public SetPermissionsParams withWorkspace(String workspace)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
withId
public SetPermissionsParams withId(Long id)
-
getNewPermission
public String getNewPermission()
-
setNewPermission
public void setNewPermission(String newPermission)
-
withNewPermission
public SetPermissionsParams withNewPermission(String newPermission)
-
withUsers
public SetPermissionsParams withUsers(List<String> users)
-
-