public class CreatePlayerSessionsResult
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 java.util.List<PlayerSession> |
playerSessions
Collection of player session objects created for the added players.
|
Constructor and Description |
---|
CreatePlayerSessionsResult() |
Modifier and Type | Method and Description |
---|---|
CreatePlayerSessionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<PlayerSession> |
getPlayerSessions()
Collection of player session objects created for the added players.
|
int |
hashCode() |
void |
setPlayerSessions(java.util.Collection<PlayerSession> playerSessions)
Collection of player session objects created for the added players.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreatePlayerSessionsResult |
withPlayerSessions(java.util.Collection<PlayerSession> playerSessions)
Collection of player session objects created for the added players.
|
CreatePlayerSessionsResult |
withPlayerSessions(PlayerSession... playerSessions)
Collection of player session objects created for the added players.
|
private java.util.List<PlayerSession> playerSessions
Collection of player session objects created for the added players.
public java.util.List<PlayerSession> getPlayerSessions()
Collection of player session objects created for the added players.
public void setPlayerSessions(java.util.Collection<PlayerSession> playerSessions)
Collection of player session objects created for the added players.
playerSessions
- Collection of player session objects created for the added
players.public CreatePlayerSessionsResult withPlayerSessions(PlayerSession... playerSessions)
Collection of player session objects created for the added players.
NOTE: This method appends the values to the existing list (if
any). Use setPlayerSessions(java.util.Collection)
or
withPlayerSessions(java.util.Collection)
if you want to override
the existing values.
playerSessions
- Collection of player session objects created for the added
players.public CreatePlayerSessionsResult withPlayerSessions(java.util.Collection<PlayerSession> playerSessions)
Collection of player session objects created for the added players.
playerSessions
- Collection of player session objects created for the added
players.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 CreatePlayerSessionsResult clone()
clone
in class java.lang.Object