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

me.xhsun.guildwars2wrapper.model.Dungeon Maven / Gradle / Ivy

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

import java.util.List;

/**
 * For more info on Dungeons API go here
* Model class for dungeon * * @author xhsun * @since 2017-06-06 */ public class Dungeon { private String id; private List paths; public String getId() { return id; } public List getPaths() { return paths; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Dungeon dungeon = (Dungeon) o; return id != null ? id.equals(dungeon.id) : dungeon.id == null; } @Override public int hashCode() { return id != null ? id.hashCode() : 0; } @Override public String toString() { return "Dungeon{" + "id='" + id + '\'' + ", paths=" + paths + '}'; } public class Path { private String id; public String getId() { return id; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Path path = (Path) o; return id != null ? id.equals(path.id) : path.id == null; } @Override public int hashCode() { return id != null ? id.hashCode() : 0; } @Override public String toString() { return "Path{" + "id='" + id + '\'' + '}'; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy