Class SetResponse
- 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.SetResponse
-
- All Implemented Interfaces:
GGEntity,GGObject,GGResponseObject
public class SetResponse extends AbstractGGResponseObject
A set
-
-
Constructor Summary
Constructors Constructor Description SetResponse()SetResponse(IDResponse id, TimestampResponse completedAt, TimestampResponse createdAt, StringResponse displayScore, EventResponse event, StringResponse fullRoundText, GameResponse game, ListResponse<GameResponse> games, BooleanResponse hasPlaceholder, StringResponse identifier, ListResponse<ImageResponse> images, IntResponse lPlacement, PhaseGroupResponse phaseGroup, IntResponse round, IntResponse setGamesType, ListResponse<SetSlotResponse> slots, TimestampResponse startAt, TimestampResponse startedAt, IntResponse state, StationsResponse station, StreamsResponse stream, IntResponse totalGames, StringResponse vodUrl, IntResponse wPlacement, IntResponse winnerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampResponsegetCompletedAt()The time this set was marked as completedTimestampResponsegetCreatedAt()The time this set was createdStringResponsegetDisplayScore()EventResponsegetEvent()Event that this set belongs to.StringResponsegetFullRoundText()Full round text of this set.GameResponsegetGame()ListResponse<GameResponse>getGames()BooleanResponsegetHasPlaceholder()Whether this set contains a placeholder entrantIDResponsegetId()StringResponsegetIdentifier()The letters that describe a unique identifier within the pool.ListResponse<ImageResponse>getImages()IntResponsegetLPlacement()PhaseGroupResponsegetPhaseGroup()Phase group that this Set belongs to.IntResponsegetRound()The round number of the set.IntResponsegetSetGamesType()Indicates whether the set is in best of or total games mode.ListResponse<SetSlotResponse>getSlots()A possible spot in a set.TimestampResponsegetStartAt()The start time of the Set.TimestampResponsegetStartedAt()IntResponsegetState()StationsResponsegetStation()Tournament event station for a setStreamsResponsegetStream()Tournament event stream for a setIntResponsegetTotalGames()If setGamesType is in total games mode, this defined the number of games in the set.StringResponsegetVodUrl()Url of a VOD for this setIntResponsegetWinnerId()IntResponsegetWPlacement()-
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
-
SetResponse
public SetResponse()
-
SetResponse
public SetResponse(IDResponse id, TimestampResponse completedAt, TimestampResponse createdAt, StringResponse displayScore, EventResponse event, StringResponse fullRoundText, GameResponse game, ListResponse<GameResponse> games, BooleanResponse hasPlaceholder, StringResponse identifier, ListResponse<ImageResponse> images, IntResponse lPlacement, PhaseGroupResponse phaseGroup, IntResponse round, IntResponse setGamesType, ListResponse<SetSlotResponse> slots, TimestampResponse startAt, TimestampResponse startedAt, IntResponse state, StationsResponse station, StreamsResponse stream, IntResponse totalGames, StringResponse vodUrl, IntResponse wPlacement, IntResponse winnerId)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getCompletedAt
public TimestampResponse getCompletedAt()
The time this set was marked as completed
-
getCreatedAt
public TimestampResponse getCreatedAt()
The time this set was created
-
getDisplayScore
public StringResponse getDisplayScore()
-
getEvent
public EventResponse getEvent()
Event that this set belongs to.
-
getFullRoundText
public StringResponse getFullRoundText()
Full round text of this set.
-
getGame
public GameResponse getGame()
-
getGames
public ListResponse<GameResponse> getGames()
-
getHasPlaceholder
public BooleanResponse getHasPlaceholder()
Whether this set contains a placeholder entrant
-
getIdentifier
public StringResponse getIdentifier()
The letters that describe a unique identifier within the pool. Eg. F, AT
-
getImages
public ListResponse<ImageResponse> getImages()
-
getLPlacement
public IntResponse getLPlacement()
-
getPhaseGroup
public PhaseGroupResponse getPhaseGroup()
Phase group that this Set belongs to.
-
getRound
public IntResponse getRound()
The round number of the set. Negative numbers are losers bracket
-
getSetGamesType
public IntResponse getSetGamesType()
Indicates whether the set is in best of or total games mode. This instructs which field is used to figure out how many games are in this set.
-
getSlots
public ListResponse<SetSlotResponse> getSlots()
A possible spot in a set. Use this to get all entrants in a set. Use this for all bracket types (FFA, elimination, etc)
-
getStartAt
public TimestampResponse getStartAt()
The start time of the Set. If there is no startAt time on the Set, will pull it from phaseGroup rounds configuration.
-
getStartedAt
public TimestampResponse getStartedAt()
-
getState
public IntResponse getState()
-
getStation
public StationsResponse getStation()
Tournament event station for a set
-
getStream
public StreamsResponse getStream()
Tournament event stream for a set
-
getTotalGames
public IntResponse getTotalGames()
If setGamesType is in total games mode, this defined the number of games in the set.
-
getVodUrl
public StringResponse getVodUrl()
Url of a VOD for this set
-
getWPlacement
public IntResponse getWPlacement()
-
getWinnerId
public IntResponse getWinnerId()
-
-