Class UserResponse
- 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.UserResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class UserResponse extends AbstractGGResponseObject
A user
-
-
Constructor Summary
Constructors Constructor Description UserResponse()
UserResponse(IDResponse id, ListResponse<ProfileAuthorizationResponse> authorizations, StringResponse bio, StringResponse birthday, StringResponse discriminator, EventConnectionResponse events, StringResponse genderPronoun, ListResponse<ImageResponse> images, LeagueConnectionResponse leagues, AddressResponse location, StringResponse name, PlayerResponse player, StringResponse slug, TournamentConnectionResponse tournaments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListResponse<ProfileAuthorizationResponse>
getAuthorizations()
Authorizations to external services (i.e.StringResponse
getBio()
StringResponse
getBirthday()
Public facing user birthday that respects user publishing settingsStringResponse
getDiscriminator()
Uniquely identifying token for user.EventConnectionResponse
getEvents()
Events this user has competed inStringResponse
getGenderPronoun()
IDResponse
getId()
ListResponse<ImageResponse>
getImages()
LeagueConnectionResponse
getLeagues()
Leagues this user has competed inAddressResponse
getLocation()
Public location info for this userStringResponse
getName()
Public facing user name that respects user publishing settingsPlayerResponse
getPlayer()
player for userStringResponse
getSlug()
TournamentConnectionResponse
getTournaments()
Tournaments this user is organizing or competing in-
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
-
UserResponse
public UserResponse()
-
UserResponse
public UserResponse(IDResponse id, ListResponse<ProfileAuthorizationResponse> authorizations, StringResponse bio, StringResponse birthday, StringResponse discriminator, EventConnectionResponse events, StringResponse genderPronoun, ListResponse<ImageResponse> images, LeagueConnectionResponse leagues, AddressResponse location, StringResponse name, PlayerResponse player, StringResponse slug, TournamentConnectionResponse tournaments)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getAuthorizations
public ListResponse<ProfileAuthorizationResponse> getAuthorizations()
Authorizations to external services (i.e. Twitch, Twitter)
-
getBio
public StringResponse getBio()
-
getBirthday
public StringResponse getBirthday()
Public facing user birthday that respects user publishing settings
-
getDiscriminator
public StringResponse getDiscriminator()
Uniquely identifying token for user. Same as the hashed part of the slug
-
getEvents
public EventConnectionResponse getEvents()
Events this user has competed in
-
getGenderPronoun
public StringResponse getGenderPronoun()
-
getImages
public ListResponse<ImageResponse> getImages()
-
getLeagues
public LeagueConnectionResponse getLeagues()
Leagues this user has competed in
-
getLocation
public AddressResponse getLocation()
Public location info for this user
-
getName
public StringResponse getName()
Public facing user name that respects user publishing settings
-
getPlayer
public PlayerResponse getPlayer()
player for user
-
getSlug
public StringResponse getSlug()
-
getTournaments
public TournamentConnectionResponse getTournaments()
Tournaments this user is organizing or competing in
-
-