Class StandingResponse
- java.lang.Object
-
- com.github.gpluscb.ggjava.entity.AbstractGGEntity
-
- com.github.gpluscb.ggjava.entity.object.AbstractGGObject
-
- com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
-
- com.github.gpluscb.ggjava.entity.object.response.objects.StandingResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class StandingResponse extends AbstractGGResponseObject
A standing indicates the placement of something within a container.
-
-
Constructor Summary
Constructors Constructor Description StandingResponse()
StandingResponse(IDResponse id, StandingContainerResponse container, EntrantResponse entrant, BooleanResponse isFinal, JSONResponse metadata, IntResponse placement, PlayerResponse player, IntResponse standing, StandingStatsResponse stats, FloatResponse totalPoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StandingContainerResponse
getContainer()
The containing entity that contextualizes this standing.EntrantResponse
getEntrant()
If the entity this standing is assigned to can be resolved into an entrant, this will provide the entrant.IDResponse
getId()
BooleanResponse
getIsFinal()
JSONResponse
getMetadata()
Metadata that goes along with this standing.IntResponse
getPlacement()
PlayerResponse
getPlayer()
The player(s) tied to this standing's entityIntResponse
getStanding()
Deprecated.The "placement" field is identical and will eventually replace "standing"StandingStatsResponse
getStats()
FloatResponse
getTotalPoints()
-
Methods inherited from class com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
checkProvided, isProvided
-
Methods inherited from class com.github.gpluscb.ggjava.entity.AbstractGGEntity
getGGEntityType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.gpluscb.ggjava.entity.GGEntity
getGGEntityType
-
-
-
-
Constructor Detail
-
StandingResponse
public StandingResponse()
-
StandingResponse
public StandingResponse(IDResponse id, StandingContainerResponse container, EntrantResponse entrant, BooleanResponse isFinal, JSONResponse metadata, IntResponse placement, PlayerResponse player, IntResponse standing, StandingStatsResponse stats, FloatResponse totalPoints)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getContainer
public StandingContainerResponse getContainer()
The containing entity that contextualizes this standing. Event standings, for example, represent an entrant's standing in the entire event vs. Set standings which is an entrant's standing in only a single set within an event.
-
getEntrant
public EntrantResponse getEntrant()
If the entity this standing is assigned to can be resolved into an entrant, this will provide the entrant.
-
getIsFinal
public BooleanResponse getIsFinal()
-
getMetadata
public JSONResponse getMetadata()
Metadata that goes along with this standing. Can take on different forms based on standing group type and settings.
-
getPlacement
public IntResponse getPlacement()
-
getPlayer
public PlayerResponse getPlayer()
The player(s) tied to this standing's entity
-
getStanding
@Deprecated public IntResponse getStanding()
Deprecated.The "placement" field is identical and will eventually replace "standing"
-
getStats
public StandingStatsResponse getStats()
-
getTotalPoints
public FloatResponse getTotalPoints()
-
-