me.xhsun.guildwars2wrapper.model.character.CharacterInventory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gw2wrapper Show documentation
Show all versions of gw2wrapper Show documentation
Guild Wars 2 API wrapper for Android
package me.xhsun.guildwars2wrapper.model.character;
import me.xhsun.guildwars2wrapper.model.util.Bag;
import java.util.List;
/**
* For more info on Character Inventory API go here
* Character inventory model class
*
* @author xhsun
* @see Bag bag item
* @since 2017-02-09
*/
public class CharacterInventory {
private List bags;
public List getBags() {
return bags;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CharacterInventory that = (CharacterInventory) o;
return bags != null ? bags.equals(that.bags) : that.bags == null;
}
@Override
public int hashCode() {
return bags != null ? bags.hashCode() : 0;
}
@Override
public String toString() {
return "CharacterInventory{" +
"bags=" + bags +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy