code: public static base_response update(nitro_service client, hanode resource) throws Exception {
  		hanode updateresource = new hanode();
  		updateresource.id = resource.id;
  		updateresource.hastatus = resource.hastatus;
  		updateresource.hasync = resource.hasync;
  		updateresource.haprop = resource.haprop;
  		updateresource.hellointerval = resource.hellointerval;
  		updateresource.deadinterval = resource.deadinterval;
  		updateresource.failsafe = resource.failsafe;
  		updateresource.maxflips = resource.maxflips;
  		updateresource.maxfliptime = resource.maxfliptime;
  		updateresource.syncvlan = resource.syncvlan;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update hanode.