Package us.kbase.workspace
Class SetGlobalPermissionsParams
- java.lang.Object
-
- us.kbase.workspace.SetGlobalPermissionsParams
-
@Generated("com.googlecode.jsonschema2pojo") public class SetGlobalPermissionsParams extends Object
Original 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()
Long
getId()
String
getNewPermission()
String
getWorkspace()
void
setAdditionalProperties(String name, Object value)
void
setId(Long id)
void
setNewPermission(String newPermission)
void
setWorkspace(String workspace)
String
toString()
SetGlobalPermissionsParams
withId(Long id)
SetGlobalPermissionsParams
withNewPermission(String newPermission)
SetGlobalPermissionsParams
withWorkspace(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)
-
-