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

me.xhsun.guildwars2wrapper.model.TokenInfo 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 TokenInfo API go here
* Token info model class * * @author xhsun * @since 2017-02-07 */ public class TokenInfo { private String id; private String name; private List permissions; public String getId() { return id; } public String getName() { return name; } public List getPermissions() { return permissions; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TokenInfo tokenInfo = (TokenInfo) o; return id != null ? id.equals(tokenInfo.id) : tokenInfo.id == null; } @Override public int hashCode() { return id != null ? id.hashCode() : 0; } @Override public String toString() { return "TokenInfo{" + "id='" + id + '\'' + ", name='" + name + '\'' + ", permissions=" + permissions + '}'; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy