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