public static interface GetGameResponse.Builder extends GameSparksResponse.Builder, SdkPojo, CopyableBuilder<GetGameResponse.Builder,GetGameResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetGameResponse.Builder |
game(Consumer<GameDetails.Builder> game)
The details of the game.
|
GetGameResponse.Builder |
game(GameDetails game)
The details of the game.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetGameResponse.Builder game(GameDetails game)
The details of the game.
game - The details of the game.default GetGameResponse.Builder game(Consumer<GameDetails.Builder> game)
The details of the game.
This is a convenience method that creates an instance of theGameDetails.Builder avoiding the need to
create one manually via GameDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to game(GameDetails).
game - a consumer that will call methods on GameDetails.Buildergame(GameDetails)Copyright © 2022. All rights reserved.