Class CloneWorkspaceParams


  • @Generated("com.googlecode.jsonschema2pojo")
    public class CloneWorkspaceParams
    extends java.lang.Object

    Original 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.
                     list exclude - 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 Detail

      • CloneWorkspaceParams

        public CloneWorkspaceParams()
    • 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.
         
      • getWorkspace

        public java.lang.String getWorkspace()
      • setWorkspace

        public void setWorkspace​(java.lang.String workspace)
      • getGlobalread

        public java.lang.String getGlobalread()
      • setGlobalread

        public void setGlobalread​(java.lang.String globalread)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(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)
      • setExclude

        public void setExclude​(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:
        toString in class java.lang.Object