Package us.kbase.workspace
Class AlterWorkspaceMetadataParams
- java.lang.Object
-
- us.kbase.workspace.AlterWorkspaceMetadataParams
-
@Generated("com.googlecode.jsonschema2pojo") public class AlterWorkspaceMetadataParams extends java.lang.ObjectOriginal spec-file type: AlterWorkspaceMetadataParams
Input parameters for the "alter_workspace_metadata" function. Required arguments: WorkspaceIdentity wsi - the workspace to be altered One or both of the following arguments are required: usermeta new - metadata to assign to the workspace. Duplicate keys will be overwritten. listremove - these keys will be removed from the workspace metadata key/value pairs.
-
-
Constructor Summary
Constructors Constructor Description AlterWorkspaceMetadataParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Map<java.lang.String,java.lang.String>getNew()java.util.List<java.lang.String>getRemove()WorkspaceIdentitygetWsi()Original spec-file type: WorkspaceIdentityvoidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetNew(java.util.Map<java.lang.String,java.lang.String> _new)voidsetRemove(java.util.List<java.lang.String> remove)voidsetWsi(WorkspaceIdentity wsi)Original spec-file type: WorkspaceIdentityjava.lang.StringtoString()AlterWorkspaceMetadataParamswithNew(java.util.Map<java.lang.String,java.lang.String> _new)AlterWorkspaceMetadataParamswithRemove(java.util.List<java.lang.String> remove)AlterWorkspaceMetadataParamswithWsi(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 AlterWorkspaceMetadataParams withWsi(WorkspaceIdentity wsi)
-
getNew
public java.util.Map<java.lang.String,java.lang.String> getNew()
-
setNew
public void setNew(java.util.Map<java.lang.String,java.lang.String> _new)
-
withNew
public AlterWorkspaceMetadataParams withNew(java.util.Map<java.lang.String,java.lang.String> _new)
-
getRemove
public java.util.List<java.lang.String> getRemove()
-
setRemove
public void setRemove(java.util.List<java.lang.String> remove)
-
withRemove
public AlterWorkspaceMetadataParams withRemove(java.util.List<java.lang.String> remove)
-
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
-
-