Class ObjectMetadataUpdate


  • @Generated("com.googlecode.jsonschema2pojo")
    public class ObjectMetadataUpdate
    extends java.lang.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.
         
      • 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)
      • 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:
        toString in class java.lang.Object