All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.xhsun.guildwars2wrapper.model.unlockable.MailCarrier Maven / Gradle / Ivy

There is a newer version: 1.3.2
Show newest version
package me.xhsun.guildwars2wrapper.model.unlockable;

import java.util.Arrays;
import java.util.List;

/**
 * For more info on mail carriers API go here
* Model class for mail carrier * * @author xhsun * @since 2017-06-06 */ public class MailCarrier extends Unlockable { private List flags; public List getFlags() { return flags; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MailCarrier that = (MailCarrier) o; return getId() == that.getId(); } @Override public int hashCode() { return getId(); } @Override public String toString() { return "MailCarrier{" + "id=" + getId() + ", unlock_items=" + Arrays.toString(getUnlockItems()) + ", order=" + getOrder() + ", icon='" + getIcon() + '\'' + ", name='" + getName() + '\'' + ", flags=" + flags + '}'; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy