update(data) {
    return this._send(data).then((response) => {
      this.fromJSON(response.entity);
      return this;
    });
  }
/**
   * The provided options object will be forwarded to the UpdateAllSchemas resource.
   * The underlying schema of this Metamodel object will be replaced by the result.
   *
   * @param {json} data The JSON which will be send to the UpdateAllSchemas resource.
   * @returns {Promise<metamodel.Metamodel>}
   */
The provided options object will be forwarded to the UpdateAllSchemas resource.
The underlying schema of this Metamodel object will be replaced by the result.

@param {json} data The JSON which will be send to the UpdateAllSchemas resource.
@returns {Promise}
The provided options object will be forwarded to the UpdateAllSchemas resource . The underlying schema of this Metamodel object will be replaced by the result . @param { json } data The JSON which will be send to the UpdateAllSchemas resource . @returns { Promise }
update(data) {
    return this._send(data).then((response) => {
      this.fromJSON(response.entity);
      return this;
    });
  }
update ( data ) { return this . _send ( data ) . then ( ( response ) => { this . fromJSON ( response . entity ) ; return this ; } ) ; }
The provided options object will be forwarded to the UpdateAllSchemas resource.
The provided options object will be forwarded to the UpdateAllSchemas resource .