public class UpdateGameSessionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the returned data in response to a request action.
Modifier and Type | Field and Description |
---|---|
private GameSession |
gameSession
Object containing the updated game session metadata.
|
Constructor and Description |
---|
UpdateGameSessionResult() |
Modifier and Type | Method and Description |
---|---|
UpdateGameSessionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
GameSession |
getGameSession()
Object containing the updated game session metadata.
|
int |
hashCode() |
void |
setGameSession(GameSession gameSession)
Object containing the updated game session metadata.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateGameSessionResult |
withGameSession(GameSession gameSession)
Object containing the updated game session metadata.
|
private GameSession gameSession
Object containing the updated game session metadata.
public void setGameSession(GameSession gameSession)
Object containing the updated game session metadata.
gameSession
- Object containing the updated game session metadata.public GameSession getGameSession()
Object containing the updated game session metadata.
public UpdateGameSessionResult withGameSession(GameSession gameSession)
Object containing the updated game session metadata.
gameSession
- Object containing the updated game session metadata.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateGameSessionResult clone()
clone
in class java.lang.Object