package com.proxerme.library.connection.user.result;

import android.support.annotation.NonNull;

import com.afollestad.bridge.annotations.Body;
import com.proxerme.library.connection.user.entitiy.UserMediaListEntry;
import com.proxerme.library.interfaces.ProxerResult;

/**
 * Result of a {@link com.proxerme.library.connection.user.request.UserMediaListRequest}.
 *
 * @author Ruben Gees
 */

public class UserMediaListResult implements ProxerResult<UserMediaListEntry[]> {

    @Body(name = "data")
    UserMediaListEntry[] item;

    /**
     * The constructor.
     *
     * @param item The array of entries..
     */
    public UserMediaListResult(@NonNull UserMediaListEntry[] item) {
        this.item = item;
    }

    /**
     * Returns the array of entries.
     *
     * @return The array of entries.
     */
    @NonNull
    @Override
    public UserMediaListEntry[] getItem() {
        return item;
    }
}

@@ -527,16 +527,52 @@
  item;%0A%0A
+    UserMediaListResult() %7B%0A%0A    %7D%0A%0A
     /**%0A

Add missing empty constructor for UserMediaListResult