Use this API to update vpnsessionaction resources.
971883
public static base_responses update(nitro_service client, vpnsessionaction resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			vpnsessionaction updateresources[] = new vpnsessionaction[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new vpnsessionaction();
				updateresources[i].name = resources[i].name;
				updateresources[i].httpport = resources[i].httpport;
				updateresources[i].winsip = resources[i].winsip;
				updateresources[i].dnsvservername = resources[i].dnsvservername;
				updateresources[i].splitdns = resources[i].splitdns;
				updateresources[i].sesstimeout = resources[i].sesstimeout;
				updateresources[i].clientsecurity = resources[i].clientsecurity;
				updateresources[i].clientsecuritygroup = resources[i].clientsecuritygroup;
				updateresources[i].clientsecuritymessage = resources[i].clientsecuritymessage;
				updateresources[i].clientsecuritylog = resources[i].clientsecuritylog;
				updateresources[i].splittunnel = resources[i].splittunnel;
				updateresources[i].locallanaccess = resources[i].locallanaccess;
				updateresources[i].rfc1918 = resources[i].rfc1918;
				updateresources[i].spoofiip = resources[i].spoofiip;
				updateresources[i].killconnections = resources[i].killconnections;
				updateresources[i].transparentinterception = resources[i].transparentinterception;
				updateresources[i].windowsclienttype = resources[i].windowsclienttype;
				updateresources[i].defaultauthorizationaction = resources[i].defaultauthorizationaction;
				updateresources[i].authorizationgroup = resources[i].authorizationgroup;
				updateresources[i].clientidletimeout = resources[i].clientidletimeout;
				updateresources[i].proxy = resources[i].proxy;
				updateresources[i].allprotocolproxy = resources[i].allprotocolproxy;
				updateresources[i].httpproxy = resources[i].httpproxy;
				updateresources[i].ftpproxy = resources[i].ftpproxy;
				updateresources[i].socksproxy = resources[i].socksproxy;
				updateresources[i].gopherproxy = resources[i].gopherproxy;
				updateresources[i].sslproxy = resources[i].sslproxy;
				updateresources[i].proxyexception = resources[i].proxyexception;
				updateresources[i].proxylocalbypass = resources[i].proxylocalbypass;
				updateresources[i].clientcleanupprompt = resources[i].clientcleanupprompt;
				updateresources[i].forcecleanup = resources[i].forcecleanup;
				updateresources[i].clientoptions = resources[i].clientoptions;
				updateresources[i].clientconfiguration = resources[i].clientconfiguration;
				updateresources[i].sso = resources[i].sso;
				updateresources[i].ssocredential = resources[i].ssocredential;
				updateresources[i].windowsautologon = resources[i].windowsautologon;
				updateresources[i].usemip = resources[i].usemip;
				updateresources[i].useiip = resources[i].useiip;
				updateresources[i].clientdebug = resources[i].clientdebug;
				updateresources[i].loginscript = resources[i].loginscript;
				updateresources[i].logoutscript = resources[i].logoutscript;
				updateresources[i].homepage = resources[i].homepage;
				updateresources[i].icaproxy = resources[i].icaproxy;
				updateresources[i].wihome = resources[i].wihome;
				updateresources[i].citrixreceiverhome = resources[i].citrixreceiverhome;
				updateresources[i].wiportalmode = resources[i].wiportalmode;
				updateresources[i].clientchoices = resources[i].clientchoices;
				updateresources[i].epaclienttype = resources[i].epaclienttype;
				updateresources[i].iipdnssuffix = resources[i].iipdnssuffix;
				updateresources[i].forcedtimeout = resources[i].forcedtimeout;
				updateresources[i].forcedtimeoutwarning = resources[i].forcedtimeoutwarning;
				updateresources[i].ntdomain = resources[i].ntdomain;
				updateresources[i].clientlessvpnmode = resources[i].clientlessvpnmode;
				updateresources[i].emailhome = resources[i].emailhome;
				updateresources[i].clientlessmodeurlencoding = resources[i].clientlessmodeurlencoding;
				updateresources[i].clientlesspersistentcookie = resources[i].clientlesspersistentcookie;
				updateresources[i].allowedlogingroups = resources[i].allowedlogingroups;
				updateresources[i].securebrowse = resources[i].securebrowse;
				updateresources[i].storefronturl = resources[i].storefronturl;
				updateresources[i].kcdaccount = resources[i].kcdaccount;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
805128
public static base_responses update(nitro_service client, snmpview resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			snmpview updateresources[] = new snmpview[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new snmpview();
				updateresources[i].name = resources[i].name;
				updateresources[i].subtree = resources[i].subtree;
				updateresources[i].type = resources[i].type;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
918603
def updateActionState(self, unSizeOfVRSelectedActionSet_t, unSetCount):
        

        fn = self.function_table.updateActionState
        pSets = VRActiveActionSet_t()
        result = fn(byref(pSets), unSizeOfVRSelectedActionSet_t, unSetCount)
        return result, pSets
1113483
def update_subscription(netid, action, subscription_code, data_field=None):
    
    url = '{0}/subscription.json'.format(url_version())
    action_list = []

    if isinstance(subscription_code, list):
        for code in subscription_code:
            action_list.append(_set_action(
                netid, action, code, data_field))
    else:
        action_list.append(_set_action(
            netid, action, subscription_code, data_field))

    body = {'actionList': action_list}
    response = post_resource(url, json.dumps(body))
    return _json_to_subscription_post_response(response)
138693
public static base_responses update(nitro_service client, onlinkipv6prefix resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			onlinkipv6prefix updateresources[] = new onlinkipv6prefix[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new onlinkipv6prefix();
				updateresources[i].ipv6prefix = resources[i].ipv6prefix;
				updateresources[i].onlinkprefix = resources[i].onlinkprefix;
				updateresources[i].autonomusprefix = resources[i].autonomusprefix;
				updateresources[i].depricateprefix = resources[i].depricateprefix;
				updateresources[i].decrementprefixlifetimes = resources[i].decrementprefixlifetimes;
				updateresources[i].prefixvalidelifetime = resources[i].prefixvalidelifetime;
				updateresources[i].prefixpreferredlifetime = resources[i].prefixpreferredlifetime;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
1231979
public static base_response update(nitro_service client, dnspolicy resource) throws Exception {
		dnspolicy updateresource = new dnspolicy();
		updateresource.name = resource.name;
		updateresource.rule = resource.rule;
		updateresource.viewname = resource.viewname;
		updateresource.preferredlocation = resource.preferredlocation;
		updateresource.preferredloclist = resource.preferredloclist;
		updateresource.drop = resource.drop;
		updateresource.cachebypass = resource.cachebypass;
		updateresource.actionname = resource.actionname;
		return updateresource.update_resource(client);
	}
163463
public static base_response update(nitro_service client, vpntrafficaction resource) throws Exception {
		vpntrafficaction updateresource = new vpntrafficaction();
		updateresource.name = resource.name;
		updateresource.apptimeout = resource.apptimeout;
		updateresource.sso = resource.sso;
		updateresource.formssoaction = resource.formssoaction;
		updateresource.fta = resource.fta;
		updateresource.wanscaler = resource.wanscaler;
		updateresource.kcdaccount = resource.kcdaccount;
		updateresource.samlssoprofile = resource.samlssoprofile;
		return updateresource.update_resource(client);
	}
346062
def update(self, vips):
        

        data = {'vips': vips}
        vips_ids = [str(vip.get('id')) for vip in vips]

        return super(ApiVipRequest, self).put('api/v3/vip-request/%s/' %
                                              ';'.join(vips_ids), data)
90853
def _update_from_api_repr(self, resource):
        """"""
        self.destination = resource["destination"]
        self.filter_ = resource.get("filter")
        self._writer_identity = resource.get("writerIdentity")
388657
public static base_response update(nitro_service client, vpnsessionaction resource) throws Exception {
		vpnsessionaction updateresource = new vpnsessionaction();
		updateresource.name = resource.name;
		updateresource.httpport = resource.httpport;
		updateresource.winsip = resource.winsip;
		updateresource.dnsvservername = resource.dnsvservername;
		updateresource.splitdns = resource.splitdns;
		updateresource.sesstimeout = resource.sesstimeout;
		updateresource.clientsecurity = resource.clientsecurity;
		updateresource.clientsecuritygroup = resource.clientsecuritygroup;
		updateresource.clientsecuritymessage = resource.clientsecuritymessage;
		updateresource.clientsecuritylog = resource.clientsecuritylog;
		updateresource.splittunnel = resource.splittunnel;
		updateresource.locallanaccess = resource.locallanaccess;
		updateresource.rfc1918 = resource.rfc1918;
		updateresource.spoofiip = resource.spoofiip;
		updateresource.killconnections = resource.killconnections;
		updateresource.transparentinterception = resource.transparentinterception;
		updateresource.windowsclienttype = resource.windowsclienttype;
		updateresource.defaultauthorizationaction = resource.defaultauthorizationaction;
		updateresource.authorizationgroup = resource.authorizationgroup;
		updateresource.clientidletimeout = resource.clientidletimeout;
		updateresource.proxy = resource.proxy;
		updateresource.allprotocolproxy = resource.allprotocolproxy;
		updateresource.httpproxy = resource.httpproxy;
		updateresource.ftpproxy = resource.ftpproxy;
		updateresource.socksproxy = resource.socksproxy;
		updateresource.gopherproxy = resource.gopherproxy;
		updateresource.sslproxy = resource.sslproxy;
		updateresource.proxyexception = resource.proxyexception;
		updateresource.proxylocalbypass = resource.proxylocalbypass;
		updateresource.clientcleanupprompt = resource.clientcleanupprompt;
		updateresource.forcecleanup = resource.forcecleanup;
		updateresource.clientoptions = resource.clientoptions;
		updateresource.clientconfiguration = resource.clientconfiguration;
		updateresource.sso = resource.sso;
		updateresource.ssocredential = resource.ssocredential;
		updateresource.windowsautologon = resource.windowsautologon;
		updateresource.usemip = resource.usemip;
		updateresource.useiip = resource.useiip;
		updateresource.clientdebug = resource.clientdebug;
		updateresource.loginscript = resource.loginscript;
		updateresource.logoutscript = resource.logoutscript;
		updateresource.homepage = resource.homepage;
		updateresource.icaproxy = resource.icaproxy;
		updateresource.wihome = resource.wihome;
		updateresource.citrixreceiverhome = resource.citrixreceiverhome;
		updateresource.wiportalmode = resource.wiportalmode;
		updateresource.clientchoices = resource.clientchoices;
		updateresource.epaclienttype = resource.epaclienttype;
		updateresource.iipdnssuffix = resource.iipdnssuffix;
		updateresource.forcedtimeout = resource.forcedtimeout;
		updateresource.forcedtimeoutwarning = resource.forcedtimeoutwarning;
		updateresource.ntdomain = resource.ntdomain;
		updateresource.clientlessvpnmode = resource.clientlessvpnmode;
		updateresource.emailhome = resource.emailhome;
		updateresource.clientlessmodeurlencoding = resource.clientlessmodeurlencoding;
		updateresource.clientlesspersistentcookie = resource.clientlesspersistentcookie;
		updateresource.allowedlogingroups = resource.allowedlogingroups;
		updateresource.securebrowse = resource.securebrowse;
		updateresource.storefronturl = resource.storefronturl;
		updateresource.kcdaccount = resource.kcdaccount;
		return updateresource.update_resource(client);
	}
219962
public static vpnsessionaction get(nitro_service service, String name) throws Exception{
		vpnsessionaction obj = new vpnsessionaction();
		obj.set_name(name);
		vpnsessionaction response = (vpnsessionaction) obj.get_resource(service);
		return response;
	}
98593
public static base_response update(nitro_service client, dnsaction64 resource) throws Exception {
		dnsaction64 updateresource = new dnsaction64();
		updateresource.actionname = resource.actionname;
		updateresource.prefix = resource.prefix;
		updateresource.mappedrule = resource.mappedrule;
		updateresource.excluderule = resource.excluderule;
		return updateresource.update_resource(client);
	}
793437
public static base_response update(nitro_service client, transformaction resource) throws Exception {
		transformaction updateresource = new transformaction();
		updateresource.name = resource.name;
		updateresource.priority = resource.priority;
		updateresource.requrlfrom = resource.requrlfrom;
		updateresource.requrlinto = resource.requrlinto;
		updateresource.resurlfrom = resource.resurlfrom;
		updateresource.resurlinto = resource.resurlinto;
		updateresource.cookiedomainfrom = resource.cookiedomainfrom;
		updateresource.cookiedomaininto = resource.cookiedomaininto;
		updateresource.state = resource.state;
		updateresource.comment = resource.comment;
		return updateresource.update_resource(client);
	}
1369456
def update_vpnservice(self, vpnservice, desc):
        '''
        
        '''
        vpnservice_id = self._find_vpnservice_id(vpnservice)
        body = {'description': desc}
        return self.network_conn.update_vpnservice(vpnservice_id,
                                                   body={'vpnservice': body})
1181501
public static base_responses update(nitro_service client, pqpolicy resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			pqpolicy updateresources[] = new pqpolicy[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new pqpolicy();
				updateresources[i].policyname = resources[i].policyname;
				updateresources[i].weight = resources[i].weight;
				updateresources[i].qdepth = resources[i].qdepth;
				updateresources[i].polqdepth = resources[i].polqdepth;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
68786
public static base_response update(nitro_service client, nsappflowparam resource) throws Exception {
		nsappflowparam updateresource = new nsappflowparam();
		updateresource.templaterefresh = resource.templaterefresh;
		updateresource.udppmtu = resource.udppmtu;
		updateresource.httpurl = resource.httpurl;
		updateresource.httpcookie = resource.httpcookie;
		updateresource.httpreferer = resource.httpreferer;
		updateresource.httpmethod = resource.httpmethod;
		updateresource.httphost = resource.httphost;
		updateresource.httpuseragent = resource.httpuseragent;
		updateresource.clienttrafficonly = resource.clienttrafficonly;
		return updateresource.update_resource(client);
	}
272919
public static base_response update(nitro_service client, snmpoption resource) throws Exception {
		snmpoption updateresource = new snmpoption();
		updateresource.snmpset = resource.snmpset;
		updateresource.snmptraplogging = resource.snmptraplogging;
		return updateresource.update_resource(client);
	}