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