Package us.kbase.workspace
Class ObjectMetadataUpdate
- java.lang.Object
-
- us.kbase.workspace.ObjectMetadataUpdate
-
@Generated("com.googlecode.jsonschema2pojo") public class ObjectMetadataUpdate extends ObjectOriginal spec-file type: ObjectMetadataUpdate
An object metadata update specification. Required arguments: ObjectIdentity oi - the object 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 ObjectMetadataUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()Map<String,String>getNew()ObjectIdentitygetOi()Original spec-file type: ObjectIdentityList<String>getRemove()voidsetAdditionalProperties(String name, Object value)voidsetNew(Map<String,String> _new)voidsetOi(ObjectIdentity oi)Original spec-file type: ObjectIdentityvoidsetRemove(List<String> remove)StringtoString()ObjectMetadataUpdatewithNew(Map<String,String> _new)ObjectMetadataUpdatewithOi(ObjectIdentity oi)ObjectMetadataUpdatewithRemove(List<String> remove)
-
-
-
Method Detail
-
getOi
public ObjectIdentity getOi()
Original spec-file type: ObjectIdentity
An object identifier. Select an object by either: One, and only one, of the numerical id or name of the workspace. ws_id wsid - the numerical ID of the workspace. ws_name workspace - the name of the workspace. AND One, and only one, of the numerical id or name of the object. obj_id objid- the numerical ID of the object. obj_name name - name of the object. OPTIONALLY obj_ver ver - the version of the object. OR an object reference string: obj_ref ref - an object reference string.
-
setOi
public void setOi(ObjectIdentity oi)
Original spec-file type: ObjectIdentity
An object identifier. Select an object by either: One, and only one, of the numerical id or name of the workspace. ws_id wsid - the numerical ID of the workspace. ws_name workspace - the name of the workspace. AND One, and only one, of the numerical id or name of the object. obj_id objid- the numerical ID of the object. obj_name name - name of the object. OPTIONALLY obj_ver ver - the version of the object. OR an object reference string: obj_ref ref - an object reference string.
-
withOi
public ObjectMetadataUpdate withOi(ObjectIdentity oi)
-
withNew
public ObjectMetadataUpdate withNew(Map<String,String> _new)
-
withRemove
public ObjectMetadataUpdate withRemove(List<String> remove)
-
-