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