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