Class StandingContainerResponse
- 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.unions.UnionResponse
- 
- com.github.gpluscb.ggjava.entity.object.response.unions.StandingContainerResponse
 
 
 
 
 
- 
- All Implemented Interfaces:
- GGEntity,- GGObject,- GGResponseObject
 
 public class StandingContainerResponse extends UnionResponse The containing entity that this standing is for
- 
- 
Constructor SummaryConstructors Constructor Description StandingContainerResponse()StandingContainerResponse(EventResponse onEvent)StandingContainerResponse(PhaseGroupResponse onPhaseGroup)StandingContainerResponse(SetResponse onSet)StandingContainerResponse(TournamentResponse onTournament)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventResponsegetEvent()The event or null if this is not an eventPhaseGroupResponsegetPhaseGroup()The phase group or null if this is not a phase groupSetResponsegetSet()The set or null if this is not a setTournamentResponsegetTournament()The tournament or null if this is not a tournamentStandingContainerResponseonEvent(java.util.function.Consumer<EventResponse> consumer)The consumer is executed only if this is an eventStandingContainerResponseonPhaseGroup(java.util.function.Consumer<PhaseGroupResponse> consumer)The consumer is executed if this is a phase groupStandingContainerResponseonSet(java.util.function.Consumer<SetResponse> consumer)The consumer is executed if this is a setStandingContainerResponseonTournament(java.util.function.Consumer<TournamentResponse> consumer)The consumer is executed only if this is a tournamentstatic java.lang.Class<? extends GGResponseObject>typeForTypename(java.lang.String __typename)- 
Methods inherited from class com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObjectcheckProvided, isProvided
 - 
Methods inherited from class com.github.gpluscb.ggjava.entity.AbstractGGEntitygetGGEntityType
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.github.gpluscb.ggjava.entity.GGEntitygetGGEntityType
 
- 
 
- 
- 
- 
Constructor Detail- 
StandingContainerResponsepublic StandingContainerResponse() 
 - 
StandingContainerResponsepublic StandingContainerResponse(@Nonnull TournamentResponse onTournament)
 - 
StandingContainerResponsepublic StandingContainerResponse(@Nonnull EventResponse onEvent)
 - 
StandingContainerResponsepublic StandingContainerResponse(@Nonnull PhaseGroupResponse onPhaseGroup)
 - 
StandingContainerResponsepublic StandingContainerResponse(@Nonnull SetResponse onSet)
 
- 
 - 
Method Detail- 
typeForTypenamepublic static java.lang.Class<? extends GGResponseObject> typeForTypename(@Nonnull java.lang.String __typename) throws java.lang.IllegalArgumentException - Throws:
- java.lang.IllegalArgumentException
 
 - 
onTournament@Nonnull public StandingContainerResponse onTournament(@Nonnull java.util.function.Consumer<TournamentResponse> consumer) The consumer is executed only if this is a tournament- Returns:
- itself for chaining
 
 - 
onEvent@Nonnull public StandingContainerResponse onEvent(@Nonnull java.util.function.Consumer<EventResponse> consumer) The consumer is executed only if this is an event- Returns:
- itself for chaining
 
 - 
onPhaseGroup@Nonnull public StandingContainerResponse onPhaseGroup(@Nonnull java.util.function.Consumer<PhaseGroupResponse> consumer) The consumer is executed if this is a phase group- Returns:
- itself for chaining
 
 - 
onSet@Nonnull public StandingContainerResponse onSet(@Nonnull java.util.function.Consumer<SetResponse> consumer) The consumer is executed if this is a set- Returns:
- itself for chaining
 
 - 
getTournament@Nullable public TournamentResponse getTournament() The tournament or null if this is not a tournament
 - 
getEvent@Nullable public EventResponse getEvent() The event or null if this is not an event
 - 
getPhaseGroup@Nullable public PhaseGroupResponse getPhaseGroup() The phase group or null if this is not a phase group
 - 
getSet@Nullable public SetResponse getSet() The set or null if this is not a set
 
- 
 
-