Package us.kbase.workspace
Class AlterWorkspaceMetadataParams
- java.lang.Object
-
- us.kbase.workspace.AlterWorkspaceMetadataParams
-
@Generated("com.googlecode.jsonschema2pojo") public class AlterWorkspaceMetadataParams extends Object
Original 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. list
remove - 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()
WorkspaceIdentity
getWsi()
Original spec-file type: WorkspaceIdentityvoid
setAdditionalProperties(String name, Object value)
void
setNew(Map<String,String> _new)
void
setRemove(List<String> remove)
void
setWsi(WorkspaceIdentity wsi)
Original spec-file type: WorkspaceIdentityString
toString()
AlterWorkspaceMetadataParams
withNew(Map<String,String> _new)
AlterWorkspaceMetadataParams
withRemove(List<String> remove)
AlterWorkspaceMetadataParams
withWsi(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)
-
-