Package us.kbase.workspace
Class ObjectMetadataUpdate
- java.lang.Object
-
- us.kbase.workspace.ObjectMetadataUpdate
-
@Generated("com.googlecode.jsonschema2pojo") public class ObjectMetadataUpdate extends Object
Original 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. list
remove - 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()
ObjectIdentity
getOi()
Original spec-file type: ObjectIdentityList<String>
getRemove()
void
setAdditionalProperties(String name, Object value)
void
setNew(Map<String,String> _new)
void
setOi(ObjectIdentity oi)
Original spec-file type: ObjectIdentityvoid
setRemove(List<String> remove)
String
toString()
ObjectMetadataUpdate
withNew(Map<String,String> _new)
ObjectMetadataUpdate
withOi(ObjectIdentity oi)
ObjectMetadataUpdate
withRemove(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)
-
-