me.xhsun.guildwars2wrapper.model.unlockable.Outfit 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.unlockable;
import java.util.Arrays;
/**
* For more info on Outfits API go here
* Model class for outfit
*
* @author xhsun
* @since 2017-06-06
*/
public class Outfit extends Unlockable {
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Outfit outfit = (Outfit) o;
return getId() == outfit.getId();
}
@Override
public int hashCode() {
return getId();
}
@Override
public String toString() {
return "Outfit{" +
"id=" + getId() +
", unlock_items=" + Arrays.toString(getUnlockItems()) +
", icon='" + getIcon() + '\'' +
", name='" + getName() + '\'' +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy