code: public static base_response update(nitro_service client, nstimer resource) throws Exception {
  		nstimer updateresource = new nstimer();
  		updateresource.name = resource.name;
  		updateresource.interval = resource.interval;
  		updateresource.unit = resource.unit;
  		updateresource.comment = resource.comment;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update nstimer.