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