public class CreateGameSessionResult
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 newly created game session record.
|
Constructor and Description |
---|
CreateGameSessionResult() |
Modifier and Type | Method and Description |
---|---|
CreateGameSessionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
GameSession |
getGameSession()
Object containing the newly created game session record.
|
int |
hashCode() |
void |
setGameSession(GameSession gameSession)
Object containing the newly created game session record.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateGameSessionResult |
withGameSession(GameSession gameSession)
Object containing the newly created game session record.
|
private GameSession gameSession
Object containing the newly created game session record.
public void setGameSession(GameSession gameSession)
Object containing the newly created game session record.
gameSession
- Object containing the newly created game session record.public GameSession getGameSession()
Object containing the newly created game session record.
public CreateGameSessionResult withGameSession(GameSession gameSession)
Object containing the newly created game session record.
gameSession
- Object containing the newly created game session record.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 CreateGameSessionResult clone()
clone
in class java.lang.Object