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