public static vpnurl [ ] get ( nitro_service service , String urlname [ ] ) throws Exception { if ( urlname != null && urlname . length > 0 ) { vpnurl response [ ] = new vpnurl [ urlname . length ] ; vpnurl obj [ ] = new vpnurl [ urlname . length ] ; for ( int i = 0 ; i < urlname . length ; i ++ ) { obj [ i ] = new vpnurl ( ) ; obj [ i ] . set_urlname ( urlname [ i ] ) ; response [ i ] = ( vpnurl ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
Use this API to fetch vpnurl resources of given names .