package com.xamoom.android.mapping;

import com.google.gson.annotations.SerializedName;
import com.xamoom.android.APICallback;
import com.xamoom.android.mapping.ContentBlocks.MenuItem;

import java.util.List;

/**
 * Used for mapping menu responses from the xamoom-cloud-api.
 * Menu will have only a list of MenuItems.
 *
 * @author Raphael Seher
 *
 * @see MenuItem
 * @see com.xamoom.android.XamoomEndUserApi#getContentbyIdFull(String, boolean, boolean, String, boolean, APICallback)
 * @see com.xamoom.android.XamoomEndUserApi#getContentByLocationIdentifier(String, String, boolean, boolean, String, APICallback)
 */
public class Menu {

    private List<MenuItem> items;

    @Override
    public String toString() {
        String output = "items: ";

        for (MenuItem item : items) {
            output += item.toString();
        }

        return output;
    }

    public List<MenuItem> getItems() {
        return items;
    }
}

@@ -45,143 +45,34 @@
 com.
-google.gson.annotations.SerializedName;%0Aimport com.xamoom.android.APICallback;%0Aimport com.xamoom.android.mapping.ContentBlocks.MenuItem
+xamoom.android.APICallback
 ;%0A%0Ai
@@ -314,12 +314,8 @@
 byId
-Full
 (Str
@@ -353,16 +353,25 @@
 boolean,
+ boolean,
  APICall

Change category from String to int