Package us.kbase.workspace
Class SetGlobalPermissionsParams
- java.lang.Object
-
- us.kbase.workspace.SetGlobalPermissionsParams
-
@Generated("com.googlecode.jsonschema2pojo") public class SetGlobalPermissionsParams extends ObjectOriginal spec-file type: SetGlobalPermissionsParams
Input parameters for the "set_global_permission" 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 all users, either 'n' or 'r'. 'r' means that all users will be able to read the workspace; otherwise users must have specific permission to access the workspace.
-
-
Constructor Summary
Constructors Constructor Description SetGlobalPermissionsParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()LonggetId()StringgetNewPermission()StringgetWorkspace()voidsetAdditionalProperties(String name, Object value)voidsetId(Long id)voidsetNewPermission(String newPermission)voidsetWorkspace(String workspace)StringtoString()SetGlobalPermissionsParamswithId(Long id)SetGlobalPermissionsParamswithNewPermission(String newPermission)SetGlobalPermissionsParamswithWorkspace(String workspace)
-
-
-
Method Detail
-
getWorkspace
public String getWorkspace()
-
setWorkspace
public void setWorkspace(String workspace)
-
withWorkspace
public SetGlobalPermissionsParams withWorkspace(String workspace)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
withId
public SetGlobalPermissionsParams withId(Long id)
-
getNewPermission
public String getNewPermission()
-
setNewPermission
public void setNewPermission(String newPermission)
-
withNewPermission
public SetGlobalPermissionsParams withNewPermission(String newPermission)
-
-