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