Package us.kbase.workspace
Class AlterWorkspaceMetadataParams
- java.lang.Object
-
- us.kbase.workspace.AlterWorkspaceMetadataParams
-
@Generated("com.googlecode.jsonschema2pojo") public class AlterWorkspaceMetadataParams extends 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 Map<String,Object>getAdditionalProperties()Map<String,String>getNew()List<String>getRemove()WorkspaceIdentitygetWsi()Original spec-file type: WorkspaceIdentityvoidsetAdditionalProperties(String name, Object value)voidsetNew(Map<String,String> _new)voidsetRemove(List<String> remove)voidsetWsi(WorkspaceIdentity wsi)Original spec-file type: WorkspaceIdentityStringtoString()AlterWorkspaceMetadataParamswithNew(Map<String,String> _new)AlterWorkspaceMetadataParamswithRemove(List<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)
-
withNew
public AlterWorkspaceMetadataParams withNew(Map<String,String> _new)
-
withRemove
public AlterWorkspaceMetadataParams withRemove(List<String> remove)
-
-