Class CreatePlayerSessionRequest

    • Constructor Detail

      • CreatePlayerSessionRequest

        public CreatePlayerSessionRequest()
    • Method Detail

      • setGameSessionId

        public void setGameSessionId​(String gameSessionId)

        Unique identifier for a game session. Specify the game session you want to add a player to.

        Parameters:
        gameSessionId - Unique identifier for a game session. Specify the game session you want to add a player to.
      • getGameSessionId

        public String getGameSessionId()

        Unique identifier for a game session. Specify the game session you want to add a player to.

        Returns:
        Unique identifier for a game session. Specify the game session you want to add a player to.
      • withGameSessionId

        public CreatePlayerSessionRequest withGameSessionId​(String gameSessionId)

        Unique identifier for a game session. Specify the game session you want to add a player to.

        Parameters:
        gameSessionId - Unique identifier for a game session. Specify the game session you want to add a player to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlayerId

        public void setPlayerId​(String playerId)

        Unique identifier for the player to be added.

        Parameters:
        playerId - Unique identifier for the player to be added.
      • getPlayerId

        public String getPlayerId()

        Unique identifier for the player to be added.

        Returns:
        Unique identifier for the player to be added.
      • withPlayerId

        public CreatePlayerSessionRequest withPlayerId​(String playerId)

        Unique identifier for the player to be added.

        Parameters:
        playerId - Unique identifier for the player to be added.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object