code: public com.cloudant.client.api.model.Response remove(Object object) {
          Response couchDbResponse = db.remove(object);
          com.cloudant.client.api.model.Response response = new com.cloudant.client.api.model
                  .Response(couchDbResponse);
          return response;
      }
docs: Removes a document from the database.
  <p>The object must have the correct {@code _id} and {@code _rev} values.</p>
  <P>Example usage:</P>
  <pre>
  {@code
  //get a Bar object from the database
  Bar bar = db.find(Bar.class, "exampleId");
  //now remove the remote Bar
  Response response = db.remove(bar);
  }
  </pre>
  
  @param object the document to remove as an object
  @return {@link com.cloudant.client.api.model.Response}
  @throws NoDocumentException If the document is not found in the database.
  @see <a
  href="https://console.bluemix.net/docs/services/Cloudant/api/document.html#delete"
  target="_blank">Documents - delete</a>