Package us.kbase.workspace
Class CloneWorkspaceParams
- java.lang.Object
-
- us.kbase.workspace.CloneWorkspaceParams
-
@Generated("com.googlecode.jsonschema2pojo") public class CloneWorkspaceParams extends java.lang.ObjectOriginal spec-file type: CloneWorkspaceParams
Input parameters for the "clone_workspace" function. Note that deleted objects are not cloned, although hidden objects are and remain hidden in the new workspace. Required arguments: WorkspaceIdentity wsi - the workspace to be cloned. ws_name workspace - name of the workspace to be cloned into. This must be a non-existant workspace name. 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. listexclude - exclude the specified objects from the cloned workspace. Either an object ID or a object name must be specified in each ObjectIdentity - any supplied reference strings, workspace names or IDs, and versions are ignored.
-
-
Constructor Summary
Constructors Constructor Description CloneWorkspaceParams()
-
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.StringgetDescription()java.util.List<ObjectIdentity>getExclude()java.lang.StringgetGlobalread()java.util.Map<java.lang.String,java.lang.String>getMeta()java.lang.StringgetWorkspace()WorkspaceIdentitygetWsi()Original spec-file type: WorkspaceIdentityvoidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetDescription(java.lang.String description)voidsetExclude(java.util.List<ObjectIdentity> exclude)voidsetGlobalread(java.lang.String globalread)voidsetMeta(java.util.Map<java.lang.String,java.lang.String> meta)voidsetWorkspace(java.lang.String workspace)voidsetWsi(WorkspaceIdentity wsi)Original spec-file type: WorkspaceIdentityjava.lang.StringtoString()CloneWorkspaceParamswithDescription(java.lang.String description)CloneWorkspaceParamswithExclude(java.util.List<ObjectIdentity> exclude)CloneWorkspaceParamswithGlobalread(java.lang.String globalread)CloneWorkspaceParamswithMeta(java.util.Map<java.lang.String,java.lang.String> meta)CloneWorkspaceParamswithWorkspace(java.lang.String workspace)CloneWorkspaceParamswithWsi(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 CloneWorkspaceParams withWsi(WorkspaceIdentity wsi)
-
getWorkspace
public java.lang.String getWorkspace()
-
setWorkspace
public void setWorkspace(java.lang.String workspace)
-
withWorkspace
public CloneWorkspaceParams withWorkspace(java.lang.String workspace)
-
getGlobalread
public java.lang.String getGlobalread()
-
setGlobalread
public void setGlobalread(java.lang.String globalread)
-
withGlobalread
public CloneWorkspaceParams withGlobalread(java.lang.String globalread)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
withDescription
public CloneWorkspaceParams withDescription(java.lang.String description)
-
getMeta
public java.util.Map<java.lang.String,java.lang.String> getMeta()
-
setMeta
public void setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
-
withMeta
public CloneWorkspaceParams withMeta(java.util.Map<java.lang.String,java.lang.String> meta)
-
getExclude
public java.util.List<ObjectIdentity> getExclude()
-
setExclude
public void setExclude(java.util.List<ObjectIdentity> exclude)
-
withExclude
public CloneWorkspaceParams withExclude(java.util.List<ObjectIdentity> exclude)
-
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
-
-