Package us.kbase.workspace
Class ObjectMetadataUpdate
- java.lang.Object
-
- us.kbase.workspace.ObjectMetadataUpdate
-
@Generated("com.googlecode.jsonschema2pojo") public class ObjectMetadataUpdate extends java.lang.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 java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Map<java.lang.String,java.lang.String>getNew()ObjectIdentitygetOi()Original spec-file type: ObjectIdentityjava.util.List<java.lang.String>getRemove()voidsetAdditionalProperties(java.lang.String name, java.lang.Object value)voidsetNew(java.util.Map<java.lang.String,java.lang.String> _new)voidsetOi(ObjectIdentity oi)Original spec-file type: ObjectIdentityvoidsetRemove(java.util.List<java.lang.String> remove)java.lang.StringtoString()ObjectMetadataUpdatewithNew(java.util.Map<java.lang.String,java.lang.String> _new)ObjectMetadataUpdatewithOi(ObjectIdentity oi)ObjectMetadataUpdatewithRemove(java.util.List<java.lang.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)
-
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 ObjectMetadataUpdate 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 ObjectMetadataUpdate 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
-
-