package org.wikipedia.dataclient.mwapi;

import android.support.annotation.Nullable;

import com.google.gson.annotations.SerializedName;

import java.util.List;
import java.util.Map;

@SuppressWarnings("unused")
public class EditorTaskCounts {
    @Nullable private Counts counts;
    @Nullable @SerializedName("targets_passed") private Targets targetsPassed;

    @Nullable
    public Map<String, Integer> getDescriptionEditsPerLanguage() {
        return counts != null && counts.appDescriptionEdits != null ? counts.appDescriptionEdits : null;
    }

    @Nullable
    public List<Integer> getDescriptionEditTargetsPassed() {
        return targetsPassed != null && targetsPassed.appDescriptionEdits != null ? targetsPassed.appDescriptionEdits : null;
    }

    public class Counts {
        @Nullable @SerializedName("app_description_edits") private Map<String, Integer> appDescriptionEdits;
    }

    public class Targets {
        @Nullable @SerializedName("app_description_edits") private List<Integer> appDescriptionEdits;
    }
}

@@ -352,16 +352,55 @@
 sPassed;
+%0A    @Nullable private Targets targets;
 %0A%0A    @N
@@ -786,32 +786,216 @@
  : null;%0A    %7D%0A%0A
+    @Nullable%0A    public List%3CInteger%3E getDescriptionEditTargets() %7B%0A        return targets != null && targets.appDescriptionEdits != null ? targets.appDescriptionEdits : null;%0A    %7D%0A%0A
     public class

Update to latest API.