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 TimestampResponse
getCompletedAt()
The time this set was marked as completedTimestampResponse
getCreatedAt()
The time this set was createdStringResponse
getDisplayScore()
EventResponse
getEvent()
Event that this set belongs to.StringResponse
getFullRoundText()
Full round text of this set.GameResponse
getGame()
ListResponse<GameResponse>
getGames()
BooleanResponse
getHasPlaceholder()
Whether this set contains a placeholder entrantIDResponse
getId()
StringResponse
getIdentifier()
The letters that describe a unique identifier within the pool.ListResponse<ImageResponse>
getImages()
IntResponse
getLPlacement()
PhaseGroupResponse
getPhaseGroup()
Phase group that this Set belongs to.IntResponse
getRound()
The round number of the set.IntResponse
getSetGamesType()
Indicates whether the set is in best of or total games mode.ListResponse<SetSlotResponse>
getSlots()
A possible spot in a set.TimestampResponse
getStartAt()
The start time of the Set.TimestampResponse
getStartedAt()
IntResponse
getState()
StationsResponse
getStation()
Tournament event station for a setStreamsResponse
getStream()
Tournament event stream for a setIntResponse
getTotalGames()
If setGamesType is in total games mode, this defined the number of games in the set.StringResponse
getVodUrl()
Url of a VOD for this setIntResponse
getWinnerId()
IntResponse
getWPlacement()
-
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()
-
-