code: public static dnstxtrec[] get(nitro_service service) throws Exception{
  		dnstxtrec obj = new dnstxtrec();
  		dnstxtrec[] response = (dnstxtrec[])obj.get_resources(service);
  		return response;
  	}
docs: Use this API to fetch all the dnstxtrec resources that are configured on netscaler.