Package us.kbase.workspace
Class RenameWorkspaceParams
- java.lang.Object
-
- us.kbase.workspace.RenameWorkspaceParams
-
@Generated("com.googlecode.jsonschema2pojo") public class RenameWorkspaceParams extends Object
Original spec-file type: RenameWorkspaceParams
Input parameters for the 'rename_workspace' function. Required arguments: WorkspaceIdentity wsi - the workspace to rename. ws_name new_name - the new name for the workspace.
-
-
Constructor Summary
Constructors Constructor Description RenameWorkspaceParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
String
getNewName()
WorkspaceIdentity
getWsi()
Original spec-file type: WorkspaceIdentityvoid
setAdditionalProperties(String name, Object value)
void
setNewName(String newName)
void
setWsi(WorkspaceIdentity wsi)
Original spec-file type: WorkspaceIdentityString
toString()
RenameWorkspaceParams
withNewName(String newName)
RenameWorkspaceParams
withWsi(WorkspaceIdentity wsi)
-
-
-
Method Detail
-
getWsi
public WorkspaceIdentity getWsi()
Original spec-file type: WorkspaceIdentity
A workspace identifier. Select a workspace by one, and only one, of the numerical id or name. ws_id id - the numerical ID of the workspace. ws_name workspace - the name of the workspace.
-
setWsi
public void setWsi(WorkspaceIdentity wsi)
Original spec-file type: WorkspaceIdentity
A workspace identifier. Select a workspace by one, and only one, of the numerical id or name. ws_id id - the numerical ID of the workspace. ws_name workspace - the name of the workspace.
-
withWsi
public RenameWorkspaceParams withWsi(WorkspaceIdentity wsi)
-
getNewName
public String getNewName()
-
setNewName
public void setNewName(String newName)
-
withNewName
public RenameWorkspaceParams withNewName(String newName)
-
-