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

me.xhsun.guildwars2wrapper.model.account.Cat Maven / Gradle / Ivy

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

/**
 * Cat
 *
 * @author xhsun
 * @since 2017-06-05
 */
public class Cat {
	private int id;
	private String hint;

	public int getId() {
		return id;
	}

	public String getHint() {
		return hint;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;

		Cat cat = (Cat) o;

		return id == cat.id;
	}

	@Override
	public int hashCode() {
		return id;
	}

	@Override
	public String toString() {
		return "Cat{" +
				"id=" + id +
				", hint='" + hint + '\'' +
				'}';
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy