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