Class TeamResponse
- 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.interfaces.TeamResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
- Direct Known Subclasses:
EventTeamResponse
,GlobalTeamResponse
public class TeamResponse extends AbstractGGResponseObject
A team, either at the global level or within the context of an event
-
-
Constructor Summary
Constructors Constructor Description TeamResponse()
TeamResponse(EntityType type)
TeamResponse(EntityType type, IDResponse id, StringResponse discriminator, EntrantResponse entrant, EventResponse event, ListResponse<ImageResponse> images, ListResponse<TeamMemberResponse> members, StringResponse name)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringResponse
getDiscriminator()
Uniquely identifying token for team.EntrantResponse
getEntrant()
Deprecated.Use the entrant field off the EventTeam typeEventResponse
getEvent()
Deprecated.Use the event field off the EventTeam typeIDResponse
getId()
ListResponse<ImageResponse>
getImages()
ListResponse<TeamMemberResponse>
getMembers()
StringResponse
getName()
-
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
-
TeamResponse
public TeamResponse()
-
TeamResponse
public TeamResponse(@Nonnull EntityType type)
-
TeamResponse
public TeamResponse(@Nonnull EntityType type, IDResponse id, StringResponse discriminator, EntrantResponse entrant, EventResponse event, ListResponse<ImageResponse> images, ListResponse<TeamMemberResponse> members, StringResponse name)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getDiscriminator
public StringResponse getDiscriminator()
Uniquely identifying token for team. Same as the hashed part of the slug
-
getEntrant
@Deprecated public EntrantResponse getEntrant()
Deprecated.Use the entrant field off the EventTeam type
-
getEvent
@Deprecated public EventResponse getEvent()
Deprecated.Use the event field off the EventTeam type
-
getImages
public ListResponse<ImageResponse> getImages()
-
getMembers
public ListResponse<TeamMemberResponse> getMembers()
-
getName
public StringResponse getName()
-
-