Package us.kbase.workspace
Class RenameWorkspaceParams
- java.lang.Object
-
- us.kbase.workspace.RenameWorkspaceParams
-
@Generated("com.googlecode.jsonschema2pojo") public class RenameWorkspaceParams extends java.lang.ObjectOriginal 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 java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetNewName()WorkspaceIdentitygetWsi()Original spec-file type: WorkspaceIdentityvoidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetNewName(java.lang.String newName)voidsetWsi(WorkspaceIdentity wsi)Original spec-file type: WorkspaceIdentityjava.lang.StringtoString()RenameWorkspaceParamswithNewName(java.lang.String newName)RenameWorkspaceParamswithWsi(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 java.lang.String getNewName()
-
setNewName
public void setNewName(java.lang.String newName)
-
withNewName
public RenameWorkspaceParams withNewName(java.lang.String newName)
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
setAdditionalProperties
public void setAdditionalProperties(java.lang.String name, java.lang.Object value)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-