package com.jonatasleon.pokedex;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by jonatasleon on 12/09/16.
 */
public class Pokemon {

    @SerializedName("name")
    private String name;

    @SerializedName("attack")
    private Integer attack;

    @SerializedName("defense")
    private Integer defense;

    @SerializedName("height")
    private String height;

    @SerializedName("hp")
    private Integer health;

    @SerializedName("pkdx_id")
    private Integer pokedexId;

    @SerializedName("speed")
    private Integer speed;

    @SerializedName("weight")
    private String weight;

    @SerializedName("sprites")
    private List<Sprite> sprites = new ArrayList<>();

    @SerializedName("types")
    private List<PokeType> pokeTypes = new ArrayList<>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAttack() {
        return attack;
    }

    public void setAttack(Integer attack) {
        this.attack = attack;
    }

    public Integer getDefense() {
        return defense;
    }

    public void setDefense(Integer defense) {
        this.defense = defense;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public Integer getHealth() {
        return health;
    }

    public void setHealth(Integer health) {
        this.health = health;
    }

    public Integer getPokedexId() {
        return pokedexId;
    }

    public void setPokedexId(Integer pokedexId) {
        this.pokedexId = pokedexId;
    }

    public Integer getSpeed() {
        return speed;
    }

    public void setSpeed(Integer speed) {
        this.speed = speed;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public List<Sprite> getSprites() {
        return sprites;
    }

    public void setSprites(List<Sprite> sprites) {
        this.sprites = sprites;
    }

    public List<PokeType> getPokeTypes() {
        return pokeTypes;
    }

    public void setPokeTypes(List<PokeType> pokeTypes) {
        this.pokeTypes = pokeTypes;
    }
}

@@ -837,24 +837,536 @@
 yList%3C%3E();%0A%0A
+    public Pokemon(String name, Integer attack, Integer defense, String height, Integer health, Integer pokedexId, Integer speed, String weight, List%3CSprite%3E sprites, List%3CPokeType%3E pokeTypes) %7B%0A        this.name = name;%0A        this.attack = attack;%0A        this.defense = defense;%0A        this.height = height;%0A        this.health = health;%0A        this.pokedexId = pokedexId;%0A        this.speed = speed;%0A        this.weight = weight;%0A        this.sprites = sprites;%0A        this.pokeTypes = pokeTypes;%0A    %7D%0A%0A
     public S

Update Pokemon.java