public static base_responses update ( nitro_service client , vpnurl resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { vpnurl updateresources [ ] = new vpnurl [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new vpnurl ( ) ; updateresources [ i ] . urlname = resources [ i ] . urlname ; updateresources [ i ] . linkname = resources [ i ] . linkname ; updateresources [ i ] . actualurl = resources [ i ] . actualurl ; updateresources [ i ] . clientlessaccess = resources [ i ] . clientlessaccess ; updateresources [ i ] . comment = resources [ i ] . comment ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update vpnurl resources .