Class LeagueResponse
- 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.LeagueResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class LeagueResponse extends AbstractGGResponseObject
A league
-
-
Constructor Summary
-
Method Summary
-
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
-
LeagueResponse
public LeagueResponse()
-
LeagueResponse
public LeagueResponse(IDResponse id, StringResponse addrState, StringResponse city, StringResponse countryCode, TimestampResponse createdAt, StringResponse currency, TimestampResponse endAt, IntResponse entrantCount, EventOwnerConnectionResponse eventOwners, TimestampResponse eventRegistrationClosesAt, EventConnectionResponse events, IntResponse finalEventId, BooleanResponse hasOfflineEvents, BooleanResponse hasOnlineEvents, StringResponse hashtag, ListResponse<ImageResponse> images, BooleanResponse isOnline, FloatResponse lat, TournamentLinksResponse links, FloatResponse lng, StringResponse mapsPlaceId, StringResponse name, IntResponse numProgressingToFinalEvent, IntResponse numUniquePlayers, StringResponse postalCode, StringResponse primaryContact, StringResponse primaryContactType, JSONResponse publishing, TimestampResponse registrationClosesAt, StringResponse rules, StringResponse shortSlug, BooleanResponse showStandings, StringResponse slug, StandingConnectionResponse standings, TimestampResponse startAt, IntResponse state, TimestampResponse teamCreationClosesAt, ListResponse<EventTierResponse> tiers, StringResponse timezone, IntResponse tournamentType, TimestampResponse updatedAt, StringResponse url, StringResponse venueAddress, StringResponse venueName, ListResponse<VideogameResponse> videogames)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getAddrState
public StringResponse getAddrState()
-
getCity
public StringResponse getCity()
-
getCountryCode
public StringResponse getCountryCode()
-
getCreatedAt
public TimestampResponse getCreatedAt()
When the tournament was created (unix timestamp)
-
getCurrency
public StringResponse getCurrency()
-
getEndAt
public TimestampResponse getEndAt()
When the tournament ends
-
getEntrantCount
public IntResponse getEntrantCount()
-
getEventOwners
public EventOwnerConnectionResponse getEventOwners()
-
getEventRegistrationClosesAt
public TimestampResponse getEventRegistrationClosesAt()
When does event registration close
-
getEvents
public EventConnectionResponse getEvents()
Paginated list of events in a league
-
getFinalEventId
@Deprecated public IntResponse getFinalEventId()
Deprecated.No longer usedHacked "progression" into this final event
-
getHasOfflineEvents
public BooleanResponse getHasOfflineEvents()
True if tournament has at least one offline event
-
getHasOnlineEvents
public BooleanResponse getHasOnlineEvents()
-
getHashtag
public StringResponse getHashtag()
-
getImages
public ListResponse<ImageResponse> getImages()
-
getIsOnline
public BooleanResponse getIsOnline()
True if tournament has at least one online event
-
getLat
public FloatResponse getLat()
-
getLinks
public TournamentLinksResponse getLinks()
-
getLng
public FloatResponse getLng()
-
getMapsPlaceId
public StringResponse getMapsPlaceId()
-
getName
public StringResponse getName()
The tournament name
-
getNumProgressingToFinalEvent
@Deprecated public IntResponse getNumProgressingToFinalEvent()
Deprecated.No longer usedTop X number of people in the standings who progress to final event
-
getNumUniquePlayers
public IntResponse getNumUniquePlayers()
-
getPostalCode
public StringResponse getPostalCode()
-
getPrimaryContact
public StringResponse getPrimaryContact()
-
getPrimaryContactType
public StringResponse getPrimaryContactType()
-
getPublishing
public JSONResponse getPublishing()
Publishing settings for this tournament
-
getRegistrationClosesAt
public TimestampResponse getRegistrationClosesAt()
When does registration for the tournament end
-
getRules
public StringResponse getRules()
-
getShortSlug
public StringResponse getShortSlug()
The short slug used to form the url
-
getShowStandings
public BooleanResponse getShowStandings()
Whether standings for this league should be visible
-
getSlug
public StringResponse getSlug()
-
getStandings
public StandingConnectionResponse getStandings()
Paginated list of standings
-
getStartAt
public TimestampResponse getStartAt()
When the tournament Starts
-
getState
public IntResponse getState()
State of the tournament, can be ActivityState::CREATED, ActivityState::ACTIVE, or ActivityState::COMPLETED
-
getTeamCreationClosesAt
public TimestampResponse getTeamCreationClosesAt()
When is the team creation deadline
-
getTiers
public ListResponse<EventTierResponse> getTiers()
-
getTimezone
public StringResponse getTimezone()
The timezone of the tournament
-
getTournamentType
public IntResponse getTournamentType()
The type of tournament from TournamentType
-
getUpdatedAt
public TimestampResponse getUpdatedAt()
When the tournament was last modified (unix timestamp)
-
getUrl
public StringResponse getUrl()
Build Tournament URL
-
getVenueAddress
public StringResponse getVenueAddress()
-
getVenueName
public StringResponse getVenueName()
-
getVideogames
public ListResponse<VideogameResponse> getVideogames()
-
-