me.xhsun.guildwars2wrapper.model.util.itemDetail.subobject.InfixUpgrade 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.util.itemDetail.subobject;
import java.util.List;
/**
* For more info on Infix upgrade API go here
* Infix upgrade model class
*
* @author xhsun
* @see InfixAttribute infix attribute
* @see Buff infix buff
* @since 2017-02-10
*/
public class InfixUpgrade {
private List attributes;
private Buff buff;
public List getAttributes() {
return attributes;
}
public Buff getBuff() {
return buff;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
InfixUpgrade that = (InfixUpgrade) o;
return (attributes != null ? attributes.equals(that.attributes) : that.attributes == null) &&
(buff != null ? buff.equals(that.buff) : that.buff == null);
}
@Override
public int hashCode() {
int result = attributes != null ? attributes.hashCode() : 0;
result = 31 * result + (buff != null ? buff.hashCode() : 0);
return result;
}
@Override
public String toString() {
return "InfixUpgrade{" +
"attributes=" + attributes +
", buff=" + buff +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy