Class EventResponse
- 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.EventResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class EventResponse extends AbstractGGResponseObject
An event in a tournament
-
-
Constructor Summary
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IntResponse
getCheckInBuffer()
How long before the event start will the check-in end (in seconds)IntResponse
getCheckInDuration()
How long the event check-in will last (in seconds)BooleanResponse
getCheckInEnabled()
Whether check-in is enabled for this eventTimestampResponse
getCreatedAt()
When the event was created (unix timestamp)TimestampResponse
getDeckSubmissionDeadline()
Last date attendees are able to create teams for team eventsEntrantConnectionResponse
getEntrants()
The entrants that belong to an event, paginated by filter criteriaIntResponse
getEntrantSizeMax()
Deprecated.Migrate to teamRosterSizeIntResponse
getEntrantSizeMin()
Deprecated.Migrate to teamRosterSizeBooleanResponse
getHasDecks()
Whether the event has decksBooleanResponse
getHasTasks()
Are player tasks enabled for this eventIDResponse
getId()
ListResponse<ImageResponse>
getImages()
BooleanResponse
getIsOnline()
Whether the event is an online event or notLeagueResponse
getLeague()
StringResponse
getMatchRulesMarkdown()
Markdown field for match rules/instructionsStringResponse
getName()
Title of event set by organizerIntResponse
getNumEntrants()
Gets the number of entrants in this eventListResponse<PhaseGroupResponse>
getPhaseGroups()
The phase groups that belong to an event.ListResponse<PhaseResponse>
getPhases()
The phases that belong to an event.JSONResponse
getPrizingInfo()
TO settings for prizingJSONResponse
getPublishing()
IntResponse
getRulesetId()
Id of the event rulesetJSONResponse
getRulesetSettings()
Deprecated.Use rulesetStringResponse
getRulesMarkdown()
Markdown field for event rules/instructionsSetConnectionResponse
getSets()
Paginated sets for this EventStringResponse
getSlug()
StandingConnectionResponse
getStandings()
Paginated list of standingsTimestampResponse
getStartAt()
When does this event start?ActivityStateResponse
getState()
The state of the Event.StationsConnectionResponse
getStations()
Paginated stations on this eventTimestampResponse
getTeamManagementDeadline()
Last date attendees are able to create teams for team eventsBooleanResponse
getTeamNameAllowed()
If this is a teams event, returns whether or not teams can set custom namesTeamRosterSizeResponse
getTeamRosterSize()
Team roster size requirementsTournamentResponse
getTournament()
IntResponse
getType()
The type of the event, whether an entrant will have one participant or multipleTimestampResponse
getUpdatedAt()
When the event was last modified (unix timestamp)BooleanResponse
getUseEventSeeds()
Whether the event uses the new EventSeeds for seedingVideogameResponse
getVideogame()
ListResponse<WaveResponse>
getWaves()
The waves being used by the event-
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
-
EventResponse
public EventResponse()
-
EventResponse
public EventResponse(IDResponse id, IntResponse checkInBuffer, IntResponse checkInDuration, BooleanResponse checkInEnabled, TimestampResponse createdAt, TimestampResponse deckSubmissionDeadline, IntResponse entrantSizeMax, IntResponse entrantSizeMin, EntrantConnectionResponse entrants, BooleanResponse hasDecks, BooleanResponse hasTasks, ListResponse<ImageResponse> images, BooleanResponse isOnline, LeagueResponse league, StringResponse matchRulesMarkdown, StringResponse name, IntResponse numEntrants, ListResponse<PhaseGroupResponse> phaseGroups, ListResponse<PhaseResponse> phases, JSONResponse prizingInfo, JSONResponse publishing, StringResponse rulesMarkdown, IntResponse rulesetId, JSONResponse rulesetSettings, SetConnectionResponse sets, StringResponse slug, StandingConnectionResponse standings, TimestampResponse startAt, ActivityStateResponse state, StationsConnectionResponse stations, TimestampResponse teamManagementDeadline, BooleanResponse teamNameAllowed, TeamRosterSizeResponse teamRosterSize, TournamentResponse tournament, IntResponse type, TimestampResponse updatedAt, BooleanResponse useEventSeeds, VideogameResponse videogame, ListResponse<WaveResponse> waves)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getCheckInBuffer
public IntResponse getCheckInBuffer()
How long before the event start will the check-in end (in seconds)
-
getCheckInDuration
public IntResponse getCheckInDuration()
How long the event check-in will last (in seconds)
-
getCheckInEnabled
public BooleanResponse getCheckInEnabled()
Whether check-in is enabled for this event
-
getCreatedAt
public TimestampResponse getCreatedAt()
When the event was created (unix timestamp)
-
getDeckSubmissionDeadline
public TimestampResponse getDeckSubmissionDeadline()
Last date attendees are able to create teams for team events
-
getEntrantSizeMax
@Deprecated public IntResponse getEntrantSizeMax()
Deprecated.Migrate to teamRosterSizeMaximum number of participants each Entrant can have
-
getEntrantSizeMin
@Deprecated public IntResponse getEntrantSizeMin()
Deprecated.Migrate to teamRosterSizeMinimum number of participants each Entrant can have
-
getEntrants
public EntrantConnectionResponse getEntrants()
The entrants that belong to an event, paginated by filter criteria
-
getHasDecks
public BooleanResponse getHasDecks()
Whether the event has decks
-
getHasTasks
public BooleanResponse getHasTasks()
Are player tasks enabled for this event
-
getImages
public ListResponse<ImageResponse> getImages()
-
getIsOnline
public BooleanResponse getIsOnline()
Whether the event is an online event or not
-
getLeague
public LeagueResponse getLeague()
-
getMatchRulesMarkdown
public StringResponse getMatchRulesMarkdown()
Markdown field for match rules/instructions
-
getName
public StringResponse getName()
Title of event set by organizer
-
getNumEntrants
public IntResponse getNumEntrants()
Gets the number of entrants in this event
-
getPhaseGroups
public ListResponse<PhaseGroupResponse> getPhaseGroups()
The phase groups that belong to an event.
-
getPhases
public ListResponse<PhaseResponse> getPhases()
The phases that belong to an event.
-
getPrizingInfo
public JSONResponse getPrizingInfo()
TO settings for prizing
-
getPublishing
public JSONResponse getPublishing()
-
getRulesMarkdown
public StringResponse getRulesMarkdown()
Markdown field for event rules/instructions
-
getRulesetId
public IntResponse getRulesetId()
Id of the event ruleset
-
getRulesetSettings
@Deprecated public JSONResponse getRulesetSettings()
Deprecated.Use rulesetSettings pulled from the event ruleset, if one exists
-
getSets
public SetConnectionResponse getSets()
Paginated sets for this Event
-
getSlug
public StringResponse getSlug()
-
getStandings
public StandingConnectionResponse getStandings()
Paginated list of standings
-
getStartAt
public TimestampResponse getStartAt()
When does this event start?
-
getState
public ActivityStateResponse getState()
The state of the Event.
-
getStations
public StationsConnectionResponse getStations()
Paginated stations on this event
-
getTeamManagementDeadline
public TimestampResponse getTeamManagementDeadline()
Last date attendees are able to create teams for team events
-
getTeamNameAllowed
public BooleanResponse getTeamNameAllowed()
If this is a teams event, returns whether or not teams can set custom names
-
getTeamRosterSize
public TeamRosterSizeResponse getTeamRosterSize()
Team roster size requirements
-
getTournament
public TournamentResponse getTournament()
-
getType
public IntResponse getType()
The type of the event, whether an entrant will have one participant or multiple
-
getUpdatedAt
public TimestampResponse getUpdatedAt()
When the event was last modified (unix timestamp)
-
getUseEventSeeds
public BooleanResponse getUseEventSeeds()
Whether the event uses the new EventSeeds for seeding
-
getVideogame
public VideogameResponse getVideogame()
-
getWaves
public ListResponse<WaveResponse> getWaves()
The waves being used by the event
-
-