Class TournamentResponse
- 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.TournamentResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class TournamentResponse extends AbstractGGResponseObject
A tournament
-
-
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
-
TournamentResponse
public TournamentResponse()
-
TournamentResponse
public TournamentResponse(IDResponse id, StringResponse addrState, ListResponse<UserResponse> admins, StringResponse city, StringResponse countryCode, TimestampResponse createdAt, StringResponse currency, TimestampResponse endAt, TimestampResponse eventRegistrationClosesAt, ListResponse<EventResponse> events, BooleanResponse hasOfflineEvents, BooleanResponse hasOnlineEvents, StringResponse hashtag, ListResponse<ImageResponse> images, BooleanResponse isOnline, BooleanResponse isRegistrationOpen, FloatResponse lat, TournamentLinksResponse links, FloatResponse lng, StringResponse mapsPlaceId, StringResponse name, IntResponse numAttendees, UserResponse owner, ParticipantConnectionResponse participants, StringResponse postalCode, StringResponse primaryContact, StringResponse primaryContactType, JSONResponse publishing, TimestampResponse registrationClosesAt, StringResponse rules, StringResponse shortSlug, StringResponse slug, TimestampResponse startAt, IntResponse state, StationsConnectionResponse stations, ListResponse<StreamQueueResponse> streamQueue, ListResponse<StreamsResponse> streams, TimestampResponse teamCreationClosesAt, TeamConnectionResponse teams, StringResponse timezone, IntResponse tournamentType, TimestampResponse updatedAt, StringResponse url, StringResponse venueAddress, StringResponse venueName, ListResponse<WaveResponse> waves)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getAddrState
public StringResponse getAddrState()
-
getAdmins
public ListResponse<UserResponse> getAdmins()
Admin-only view of admins for this tournament
-
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
-
getEventRegistrationClosesAt
public TimestampResponse getEventRegistrationClosesAt()
When does event registration close
-
getEvents
public ListResponse<EventResponse> getEvents()
-
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
-
getIsRegistrationOpen
public BooleanResponse getIsRegistrationOpen()
Is tournament registration open
-
getLat
public FloatResponse getLat()
-
getLinks
public TournamentLinksResponse getLinks()
-
getLng
public FloatResponse getLng()
-
getMapsPlaceId
public StringResponse getMapsPlaceId()
-
getName
public StringResponse getName()
The tournament name
-
getNumAttendees
public IntResponse getNumAttendees()
Number of attendees including spectators, if public
-
getOwner
public UserResponse getOwner()
The user who created the tournament
-
getParticipants
public ParticipantConnectionResponse getParticipants()
Paginated, queryable list of participants
-
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
-
getSlug
public StringResponse getSlug()
The slug used to form the url
-
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
-
getStations
public StationsConnectionResponse getStations()
-
getStreamQueue
public ListResponse<StreamQueueResponse> getStreamQueue()
-
getStreams
public ListResponse<StreamsResponse> getStreams()
-
getTeamCreationClosesAt
public TimestampResponse getTeamCreationClosesAt()
When is the team creation deadline
-
getTeams
public TeamConnectionResponse getTeams()
Paginated, queryable list of teams
-
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()
-
getWaves
public ListResponse<WaveResponse> getWaves()
List of all waves in this tournament
-
-