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