me.xhsun.guildwars2wrapper.model.MaterialCategory 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;
import java.util.List;
/**
* For more info on Material Category API go here
* Material category model class
*
* @author xhsun
* @see Item item info
* @since 2017-02-07
*/
public class MaterialCategory {
private int id;
private String name;
private List items;
public int getId() {
return id;
}
public String getName() {
return name;
}
public List getItems() {
return items;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
MaterialCategory that = (MaterialCategory) o;
return id == that.id;
}
@Override
public int hashCode() {
return id;
}
@Override
public String toString() {
return "MaterialCategory{" +
"id=" + id +
", name='" + name + '\'' +
", items=" + items +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy