me.xhsun.guildwars2wrapper.model.account.UnlockedFinisher 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.account;
/**
* For more info on Account finishers API go here
* Model class for account finishers
*
* @author xhsun
* @since 2017-06-05
*/
public class UnlockedFinisher {
private int id;
private boolean permanent;
private int quantity;
public int getId() {
return id;
}
public boolean isPermanent() {
return permanent;
}
public int getQuantity() {
return quantity;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
UnlockedFinisher finisher = (UnlockedFinisher) o;
return id == finisher.id;
}
@Override
public int hashCode() {
return id;
}
@Override
public String toString() {
return "UnlockedFinisher{" +
"id=" + id +
", permanent=" + permanent +
", quantity=" + quantity +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy