Class GetGamesResponse.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.games.games.types.GetGamesResponse.Builder
-
- All Implemented Interfaces:
GetGamesResponse._FinalStage,GetGamesResponse.WatchStage
- Enclosing class:
- GetGamesResponse
public static final class GetGamesResponse.Builder extends java.lang.Object implements GetGamesResponse.WatchStage, GetGamesResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetGamesResponse._FinalStageaddAllGames(java.util.List<GameSummary> games)A list of game summaries.GetGamesResponse._FinalStageaddAllGroups(java.util.List<Handle> groups)A list of group summaries.GetGamesResponse._FinalStageaddGames(GameSummary games)A list of game summaries.GetGamesResponse._FinalStageaddGroups(Handle groups)A list of group summaries.GetGamesResponsebuild()GetGamesResponse.Builderfrom(GetGamesResponse other)GetGamesResponse._FinalStagegames(java.util.List<GameSummary> games)GetGamesResponse._FinalStagegroups(java.util.List<Handle> groups)GetGamesResponse._FinalStagewatch(WatchResponse watch)
-
-
-
Method Detail
-
from
public GetGamesResponse.Builder from(GetGamesResponse other)
- Specified by:
fromin interfaceGetGamesResponse.WatchStage
-
watch
public GetGamesResponse._FinalStage watch(WatchResponse watch)
- Specified by:
watchin interfaceGetGamesResponse.WatchStage
-
addAllGroups
public GetGamesResponse._FinalStage addAllGroups(java.util.List<Handle> groups)
A list of group summaries.
- Specified by:
addAllGroupsin interfaceGetGamesResponse._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addGroups
public GetGamesResponse._FinalStage addGroups(Handle groups)
A list of group summaries.
- Specified by:
addGroupsin interfaceGetGamesResponse._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
groups
public GetGamesResponse._FinalStage groups(java.util.List<Handle> groups)
- Specified by:
groupsin interfaceGetGamesResponse._FinalStage
-
addAllGames
public GetGamesResponse._FinalStage addAllGames(java.util.List<GameSummary> games)
A list of game summaries.
- Specified by:
addAllGamesin interfaceGetGamesResponse._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addGames
public GetGamesResponse._FinalStage addGames(GameSummary games)
A list of game summaries.
- Specified by:
addGamesin interfaceGetGamesResponse._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
games
public GetGamesResponse._FinalStage games(java.util.List<GameSummary> games)
- Specified by:
gamesin interfaceGetGamesResponse._FinalStage
-
build
public GetGamesResponse build()
- Specified by:
buildin interfaceGetGamesResponse._FinalStage
-
-