Use this API to update nsacl.
321550
public static base_response update(nitro_service client, nsacl resource) throws Exception {
		nsacl updateresource = new nsacl();
		updateresource.aclname = resource.aclname;
		updateresource.aclaction = resource.aclaction;
		updateresource.srcip = resource.srcip;
		updateresource.srcipop = resource.srcipop;
		updateresource.srcipval = resource.srcipval;
		updateresource.srcport = resource.srcport;
		updateresource.srcportop = resource.srcportop;
		updateresource.srcportval = resource.srcportval;
		updateresource.destip = resource.destip;
		updateresource.destipop = resource.destipop;
		updateresource.destipval = resource.destipval;
		updateresource.destport = resource.destport;
		updateresource.destportop = resource.destportop;
		updateresource.destportval = resource.destportval;
		updateresource.srcmac = resource.srcmac;
		updateresource.protocol = resource.protocol;
		updateresource.protocolnumber = resource.protocolnumber;
		updateresource.icmptype = resource.icmptype;
		updateresource.icmpcode = resource.icmpcode;
		updateresource.vlan = resource.vlan;
		updateresource.Interface = resource.Interface;
		updateresource.priority = resource.priority;
		updateresource.logstate = resource.logstate;
		updateresource.ratelimit = resource.ratelimit;
		updateresource.established = resource.established;
		return updateresource.update_resource(client);
	}
552771
public static base_responses update(nitro_service client, sslcertkey resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			sslcertkey updateresources[] = new sslcertkey[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new sslcertkey();
				updateresources[i].certkey = resources[i].certkey;
				updateresources[i].expirymonitor = resources[i].expirymonitor;
				updateresources[i].notificationperiod = resources[i].notificationperiod;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
57985
public static base_response enable(nitro_service client, String aclname) throws Exception {
		nsacl enableresource = new nsacl();
		enableresource.aclname = aclname;
		return enableresource.perform_operation(client,"enable");
	}
22550
public static base_response update(nitro_service client, nsspparams resource) throws Exception {
		nsspparams updateresource = new nsspparams();
		updateresource.basethreshold = resource.basethreshold;
		updateresource.throttle = resource.throttle;
		return updateresource.update_resource(client);
	}
1181618
public static base_responses enable(nitro_service client, nsacl resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nsacl enableresources[] = new nsacl[resources.length];
			for (int i=0;i<resources.length;i++){
				enableresources[i] = new nsacl();
				enableresources[i].aclname = resources[i].aclname;
			}
			result = perform_operation_bulk_request(client, enableresources,"enable");
		}
		return result;
	}
386118
public static base_response add(nitro_service client, nsacl6 resource) throws Exception {
		nsacl6 addresource = new nsacl6();
		addresource.acl6name = resource.acl6name;
		addresource.acl6action = resource.acl6action;
		addresource.td = resource.td;
		addresource.srcipv6 = resource.srcipv6;
		addresource.srcipop = resource.srcipop;
		addresource.srcipv6val = resource.srcipv6val;
		addresource.srcport = resource.srcport;
		addresource.srcportop = resource.srcportop;
		addresource.srcportval = resource.srcportval;
		addresource.destipv6 = resource.destipv6;
		addresource.destipop = resource.destipop;
		addresource.destipv6val = resource.destipv6val;
		addresource.destport = resource.destport;
		addresource.destportop = resource.destportop;
		addresource.destportval = resource.destportval;
		addresource.ttl = resource.ttl;
		addresource.srcmac = resource.srcmac;
		addresource.protocol = resource.protocol;
		addresource.protocolnumber = resource.protocolnumber;
		addresource.vlan = resource.vlan;
		addresource.Interface = resource.Interface;
		addresource.established = resource.established;
		addresource.icmptype = resource.icmptype;
		addresource.icmpcode = resource.icmpcode;
		addresource.priority = resource.priority;
		addresource.state = resource.state;
		return addresource.add_resource(client);
	}
536513
public static base_response update(nitro_service client, nsparam resource) throws Exception {
		nsparam updateresource = new nsparam();
		updateresource.httpport = resource.httpport;
		updateresource.maxconn = resource.maxconn;
		updateresource.maxreq = resource.maxreq;
		updateresource.cip = resource.cip;
		updateresource.cipheader = resource.cipheader;
		updateresource.cookieversion = resource.cookieversion;
		updateresource.securecookie = resource.securecookie;
		updateresource.pmtumin = resource.pmtumin;
		updateresource.pmtutimeout = resource.pmtutimeout;
		updateresource.ftpportrange = resource.ftpportrange;
		updateresource.crportrange = resource.crportrange;
		updateresource.timezone = resource.timezone;
		updateresource.grantquotamaxclient = resource.grantquotamaxclient;
		updateresource.exclusivequotamaxclient = resource.exclusivequotamaxclient;
		updateresource.grantquotaspillover = resource.grantquotaspillover;
		updateresource.exclusivequotaspillover = resource.exclusivequotaspillover;
		updateresource.useproxyport = resource.useproxyport;
		updateresource.internaluserlogin = resource.internaluserlogin;
		updateresource.aftpallowrandomsourceport = resource.aftpallowrandomsourceport;
		updateresource.icaports = resource.icaports;
		return updateresource.update_resource(client);
	}
1308516
public static base_response update(nitro_service client, nsip resource) throws Exception {
		nsip updateresource = new nsip();
		updateresource.ipaddress = resource.ipaddress;
		updateresource.td = resource.td;
		updateresource.netmask = resource.netmask;
		updateresource.arp = resource.arp;
		updateresource.icmp = resource.icmp;
		updateresource.vserver = resource.vserver;
		updateresource.telnet = resource.telnet;
		updateresource.ftp = resource.ftp;
		updateresource.gui = resource.gui;
		updateresource.ssh = resource.ssh;
		updateresource.snmp = resource.snmp;
		updateresource.mgmtaccess = resource.mgmtaccess;
		updateresource.restrictaccess = resource.restrictaccess;
		updateresource.dynamicrouting = resource.dynamicrouting;
		updateresource.ospf = resource.ospf;
		updateresource.bgp = resource.bgp;
		updateresource.rip = resource.rip;
		updateresource.hostroute = resource.hostroute;
		updateresource.hostrtgw = resource.hostrtgw;
		updateresource.metric = resource.metric;
		updateresource.vserverrhilevel = resource.vserverrhilevel;
		updateresource.ospflsatype = resource.ospflsatype;
		updateresource.ospfarea = resource.ospfarea;
		updateresource.vrid = resource.vrid;
		updateresource.icmpresponse = resource.icmpresponse;
		updateresource.arpresponse = resource.arpresponse;
		return updateresource.update_resource(client);
	}
1292269
def update(self, buf):
        """"""
        if self._final:
            raise InvalidOperation("Cannot update finalised tlsh")
        else:
	    self._buf_len += len(buf)
            return self._tlsh.update(buf)
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
535940
def update(self, *args, **kwargs):
        """"""
        for system in self.systems:
            system.update(self, *args, **kwargs)
967583
def update(cls, id, params):
        """"""
        cls.echo('Updating your vlan.')
        result = cls.call('hosting.vlan.update', cls.usable_id(id), params)
        return result
1132081
public static base_responses update(nitro_service client, sslcrl resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			sslcrl updateresources[] = new sslcrl[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new sslcrl();
				updateresources[i].crlname = resources[i].crlname;
				updateresources[i].refresh = resources[i].refresh;
				updateresources[i].cacert = resources[i].cacert;
				updateresources[i].server = resources[i].server;
				updateresources[i].method = resources[i].method;
				updateresources[i].url = resources[i].url;
				updateresources[i].port = resources[i].port;
				updateresources[i].basedn = resources[i].basedn;
				updateresources[i].scope = resources[i].scope;
				updateresources[i].interval = resources[i].interval;
				updateresources[i].day = resources[i].day;
				updateresources[i].time = resources[i].time;
				updateresources[i].binddn = resources[i].binddn;
				updateresources[i].password = resources[i].password;
				updateresources[i].binary = resources[i].binary;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
1085198
public static nsacl_stats[] get(nitro_service service) throws Exception{
		nsacl_stats obj = new nsacl_stats();
		nsacl_stats[] response = (nsacl_stats[])obj.stat_resources(service);
		return response;
	}
1048169
def update(self):
        
        con = self.subpars.pars.control
        self(con.eqb*con.tind)
416227
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);
	}
689587
public static base_response update(nitro_service client, aaakcdaccount resource) throws Exception {
		aaakcdaccount updateresource = new aaakcdaccount();
		updateresource.kcdaccount = resource.kcdaccount;
		updateresource.keytab = resource.keytab;
		updateresource.realmstr = resource.realmstr;
		updateresource.delegateduser = resource.delegateduser;
		updateresource.kcdpassword = resource.kcdpassword;
		updateresource.usercert = resource.usercert;
		updateresource.cacert = resource.cacert;
		return updateresource.update_resource(client);
	}