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

me.xhsun.guildwars2wrapper.model.v2.account.Account Maven / Gradle / Ivy

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

import me.xhsun.guildwars2wrapper.model.identifiable.IdentifiableStr;
import me.xhsun.guildwars2wrapper.model.v2.World;

import java.util.List;

/**
 * For more info on Account API go here
* Account Model class * Note: world id equals to negative one if there is an error * * @author xhsun * @see World world info * @since 2017-02-06 */ public class Account extends IdentifiableStr { public enum Access {None, PlayForFree, GuildWars2, HeartOfThorns} private long age; private String name; private int world = -1; private List guilds; private List guild_leader; private String created; private Access access; private boolean commander = false; private int fractal_level; private long daily_ap; private long monthly_ap; private long wvw_rank; public long getAge() { return age; } public String getName() { return name; } public int getWorldId() { return world; } public List getGuilds() { return guilds; } public List getGuildLeader() { return guild_leader; } /** * @return ISO-8601 standard timestamp */ public String getCreated() { return created; } public Access getAccess() { return access; } public boolean isCommander() { return commander; } public int getFractalLevel() { return fractal_level; } public long getDailyAP() { return daily_ap; } public long getMonthlyAP() { return monthly_ap; } public long getWvwRank() { return wvw_rank; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy