Package us.kbase.workspace
Class CreateWorkspaceParams
- java.lang.Object
-
- us.kbase.workspace.CreateWorkspaceParams
-
@Generated("com.googlecode.jsonschema2pojo") public class CreateWorkspaceParams extends Object
Original spec-file type: CreateWorkspaceParams
Input parameters for the "create_workspace" function. Required arguments: ws_name workspace - name of the workspace to be created. Optional arguments: permission globalread - 'r' to set the new workspace globally readable, default 'n'. string description - A free-text description of the new workspace, 1000 characters max. Longer strings will be mercilessly and brutally truncated. usermeta meta - arbitrary user-supplied metadata for the workspace.
-
-
Constructor Summary
Constructors Constructor Description CreateWorkspaceParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
String
getDescription()
String
getGlobalread()
Map<String,String>
getMeta()
String
getWorkspace()
void
setAdditionalProperties(String name, Object value)
void
setDescription(String description)
void
setGlobalread(String globalread)
void
setMeta(Map<String,String> meta)
void
setWorkspace(String workspace)
String
toString()
CreateWorkspaceParams
withDescription(String description)
CreateWorkspaceParams
withGlobalread(String globalread)
CreateWorkspaceParams
withMeta(Map<String,String> meta)
CreateWorkspaceParams
withWorkspace(String workspace)
-
-
-
Method Detail
-
getWorkspace
public String getWorkspace()
-
setWorkspace
public void setWorkspace(String workspace)
-
withWorkspace
public CreateWorkspaceParams withWorkspace(String workspace)
-
getGlobalread
public String getGlobalread()
-
setGlobalread
public void setGlobalread(String globalread)
-
withGlobalread
public CreateWorkspaceParams withGlobalread(String globalread)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
withDescription
public CreateWorkspaceParams withDescription(String description)
-
withMeta
public CreateWorkspaceParams withMeta(Map<String,String> meta)
-
-