Use this API to update appqoeaction.
325275
public static base_response update(nitro_service client, appqoeaction resource) throws Exception {
		appqoeaction updateresource = new appqoeaction();
		updateresource.name = resource.name;
		updateresource.priority = resource.priority;
		updateresource.altcontentsvcname = resource.altcontentsvcname;
		updateresource.altcontentpath = resource.altcontentpath;
		updateresource.polqdepth = resource.polqdepth;
		updateresource.priqdepth = resource.priqdepth;
		updateresource.maxconn = resource.maxconn;
		updateresource.delay = resource.delay;
		updateresource.dostrigexpression = resource.dostrigexpression;
		updateresource.dosaction = resource.dosaction;
		return updateresource.update_resource(client);
	}
531185
def updateQTable( self, reward, current_state ):
        """"""
        
        # retrieve the old action value from the Q-table (indexed by the previous state and the previous action)
        old_q = self.q_table[self.prev_s][self.prev_a]
        
        # TODO: what should the new action value be?
        new_q = old_q
        
        # assign the new action value to the Q-table
        self.q_table[self.prev_s][self.prev_a] = new_q
992906
def _update_activities(self):
        """"""
        self._activities = self._activities_request()
        _LOGGER.debug("Device Activities Response: %s", self._activities)

        if not self._activities:
            self._activities = []
        elif not isinstance(self._activities, (list, tuple)):
            self._activities = [self._activities]

        self._update_events()
845973
def users_update(self, user_id, **kwargs):
        """"""
        return self.__call_api_post('users.update', userId=user_id, data=kwargs)
528486
def project_update(object_id, input_params={}, always_retry=True, **kwargs):
    
    return DXHTTPRequest('/%s/update' % object_id, input_params, always_retry=always_retry, **kwargs)
625172
def _update(self, api_obj):
    """"""
    if not isinstance(self, api_obj.__class__):
      raise ValueError(
          "Class %s does not derive from %s; cannot update attributes." %
          (self.__class__, api_obj.__class__))

    for name in self._get_attributes().keys():
      try:
        val = getattr(api_obj, name)
        setattr(self, name, val)
      except AttributeError, ignored:
        pass
1058338
def update(self, params, args, data):
        # type: (str, dict, dict) -> Union[List[AppModel], AppModel]
        
        ctx = self._create_context(params, args, data)
        row_id = ctx.get_row_id()

        if row_id is not None:
            model = self._update_one(ctx)
            return None if model is None else model.get_app_model()
        else:
            return app_models(self._update_collection(ctx))
1359288
public static appqoeaction get(nitro_service service, String name) throws Exception{
		appqoeaction obj = new appqoeaction();
		obj.set_name(name);
		appqoeaction response = (appqoeaction) obj.get_resource(service);
		return response;
	}
682873
def reload(self):
        """"""

        app_profile_pb = self.instance_admin_client.get_app_profile(self.name)

        # NOTE: _update_from_pb does not check that the project and
        #       app_profile ID on the response match the request.
        self._update_from_pb(app_profile_pb)
1326811
def update_project(id, **kwargs):
    
    content = update_project_raw(id, **kwargs)
    if content:
        return utils.format_json(content)
238303
function updateMbaasApp(req, res, next){
  var model = req.appMbaasModel;

  model.name = req.params.appname;
  model.domain = req.params.domain;
  model.environment = req.params.environment;
  model.guid = req.body.appGuid;
  model.apiKey = req.body.apiKey;
  model.coreHost = req.body.coreHost;
  model.type = req.body.type;
  model.mbaasUrl = req.body.mbaasUrl;
  //If the serviceApp is not set yet and it is a service app, then make sure it is set.
  model.isServiceApp = typeof model.isServiceApp === "undefined" ? req.body.isServiceApp : model.isServiceApp;
  model.url = req.body.url || model.url;
  model.accessKey = model.accessKey || new mongoose.Types.ObjectId();

  model.save(next);
}
1135187
public static base_responses change(nitro_service client, appqoecustomresp resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			appqoecustomresp updateresources[] = new appqoecustomresp[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new appqoecustomresp();
				updateresources[i].name = resources[i].name;
			}
			result = perform_operation_bulk_request(client, updateresources,"update");
		}
		return result;
	}
16623
void update() {
        Application.update(filter, list, main, footer, toggleAll, count, clearCompleted);
    }
348368
def update(self, response, **kwargs):
        '''
        
        '''
        response_cls = self._get_instance(**kwargs)
        if response_cls:
            setattr(response_cls, self.column, self.accessor(response))
            _action_and_commit(response_cls, session.add)
        else:
            self.get_or_create_from_legacy_response(response, **kwargs)
798603
public static appqoeaction[] get(nitro_service service) throws Exception{
		appqoeaction obj = new appqoeaction();
		appqoeaction[] response = (appqoeaction[])obj.get_resources(service);
		return response;
	}
115900
def modify(self, **params):
        """"""
        data = self.api_client.update_account(self.id, **params)
        self.update(data)
        return data
74873
function updateApplication(uuid, opts, callback) {
    assert.string(uuid, 'uuid');
    assert.object(opts, 'opts');

    return (this.put(sprintf('/applications/%s', uuid), opts, callback));
}