Class ParticipantResponse
- 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.ParticipantResponse
-
- All Implemented Interfaces:
GGEntity,GGObject,GGResponseObject
public class ParticipantResponse extends AbstractGGResponseObject
A participant of a tournament; either a spectator or competitor
-
-
Constructor Summary
Constructors Constructor Description ParticipantResponse()ParticipantResponse(IDResponse id, BooleanResponse checkedIn, TimestampResponse checkedInAt, JSONResponse connectedAccounts, ContactInfoResponse contactInfo, StringResponse email, ListResponse<EntrantResponse> entrants, ListResponse<EventResponse> events, StringResponse gamerTag, ListResponse<ImageResponse> images, PlayerResponse player, StringResponse prefix, ListResponse<ProfileAuthorizationResponse> requiredConnections, UserResponse user, BooleanResponse verified)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanResponsegetCheckedIn()If this participant was checked-in by adminTimestampResponsegetCheckedInAt()The time this participant was checked-in by adminJSONResponsegetConnectedAccounts()Info for connected accounts to external services.ContactInfoResponsegetContactInfo()Contact Info selected during registration.StringResponsegetEmail()Email of the user, only available to admins within 18 months of tournamentListResponse<EntrantResponse>getEntrants()ListResponse<EventResponse>getEvents()The events this participant registered for.StringResponsegetGamerTag()The tag that was used in registration e.g.IDResponsegetId()ListResponse<ImageResponse>getImages()PlayerResponsegetPlayer()StringResponsegetPrefix()The prefix that was used in registration e.g.ListResponse<ProfileAuthorizationResponse>getRequiredConnections()Admin only field for required social connectionsUserResponsegetUser()The user this participant is associated to.BooleanResponsegetVerified()If this participant is verified as actually being in the tournament-
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
-
ParticipantResponse
public ParticipantResponse()
-
ParticipantResponse
public ParticipantResponse(IDResponse id, BooleanResponse checkedIn, TimestampResponse checkedInAt, JSONResponse connectedAccounts, ContactInfoResponse contactInfo, StringResponse email, ListResponse<EntrantResponse> entrants, ListResponse<EventResponse> events, StringResponse gamerTag, ListResponse<ImageResponse> images, PlayerResponse player, StringResponse prefix, ListResponse<ProfileAuthorizationResponse> requiredConnections, UserResponse user, BooleanResponse verified)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getCheckedIn
public BooleanResponse getCheckedIn()
If this participant was checked-in by admin
-
getCheckedInAt
public TimestampResponse getCheckedInAt()
The time this participant was checked-in by admin
-
getConnectedAccounts
public JSONResponse getConnectedAccounts()
Info for connected accounts to external services.
-
getContactInfo
public ContactInfoResponse getContactInfo()
Contact Info selected during registration. Falls back to User.location and/or User.name if necessary. These fields are for admin use only and do not respect user privacy settings. DO NOT display this information publicly.
-
getEmail
public StringResponse getEmail()
Email of the user, only available to admins within 18 months of tournament
-
getEntrants
public ListResponse<EntrantResponse> getEntrants()
-
getEvents
public ListResponse<EventResponse> getEvents()
The events this participant registered for.
-
getGamerTag
public StringResponse getGamerTag()
The tag that was used in registration e.g. Mang0
-
getImages
public ListResponse<ImageResponse> getImages()
-
getPlayer
public PlayerResponse getPlayer()
-
getPrefix
public StringResponse getPrefix()
The prefix that was used in registration e.g. C9
-
getRequiredConnections
public ListResponse<ProfileAuthorizationResponse> getRequiredConnections()
Admin only field for required social connections
-
getUser
public UserResponse getUser()
The user this participant is associated to.
-
getVerified
public BooleanResponse getVerified()
If this participant is verified as actually being in the tournament
-
-