Class 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 Detail

      • ObjectMetadataUpdate

        public ObjectMetadataUpdate()
    • 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.
         
      • setRemove

        public void setRemove​(List<String> remove)
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperties

        public void setAdditionalProperties​(String name,
                                            Object value)