@Gw2ApiVersion(value="v1") public class WorldEventStatus extends Object
Event
status as
returned by
/v1/events.Modifier and Type | Field and Description |
---|---|
static String |
STATUS_ACTIVE |
static String |
STATUS_FAIL |
static String |
STATUS_INACTIVE |
static String |
STATUS_PREPARATION |
static String |
STATUS_SUCCESS |
static String |
STATUS_WARMUP |
Constructor and Description |
---|
WorldEventStatus() |
Modifier and Type | Method and Description |
---|---|
String |
getEventId()
The UUID that represents the event throughout the rest of the API.
|
int |
getMapId()
The identifier for the
Map
where the event is located. |
String |
getState()
The current status of the event.
|
int |
getWorldId()
An identifier for the game world where the event takes place.
|
void |
setEventId(String eventId) |
void |
setMapId(int mapId) |
void |
setState(String state) |
void |
setWorldId(int worldId) |
public static final String STATUS_ACTIVE
public static final String STATUS_FAIL
public static final String STATUS_INACTIVE
public static final String STATUS_PREPARATION
public static final String STATUS_SUCCESS
public static final String STATUS_WARMUP
public int getWorldId()
WorldName
.public void setWorldId(int worldId)
public int getMapId()
Map
where the event is located.public void setMapId(int mapId)
public String getEventId()
public void setEventId(String eventId)
public String getState()
The current status of the event. The possible states are:
public void setState(String state)
Copyright © 2014. All Rights Reserved.