Class Match
java.lang.Object
dev.getelements.elements.sdk.model.match.Match
- All Implemented Interfaces:
Serializable
Created by patricktwohig on 7/18/17.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the system assigned game ID for the match.getId()Gets the unique server-assigned ID of this match.Gets the date at which the last modification was made to this match.Gets the metdata associated with the match.TheProfilebelonging to the opponent.Gets theProfileof the player requesting the match.Gets the desired matchmaking scheme.getScope()Gets the scope of the match.inthashCode()voidSets the system assigned game ID for the match.voidSets the unique server-assigned ID of this match.voidsetLastUpdatedTimestamp(Long lastUpdatedTimestamp) Sets the date at which the last modification was made to this match.voidsetMetadata(Map<String, Object> metadata) Sets the metadata associated with the match.voidsetOpponent(Profile opponent) Sets theProfilebelonging to the opponent.voidSets theProfileof the player requesting the match.voidSets the desired matchmaking scheme.voidSets the scope of the scheme.toString()
-
Field Details
-
ROOT_TOPIC
- See Also:
-
-
Constructor Details
-
Match
public Match()
-
-
Method Details
-
getId
Gets the unique server-assigned ID of this match.- Returns:
- the id
-
setId
Sets the unique server-assigned ID of this match.- Parameters:
id-
-
getScheme
Gets the desired matchmaking scheme.- Returns:
- the desired matchmaking scheme.
-
setScheme
Sets the desired matchmaking scheme.- Parameters:
scheme-
-
getScope
Gets the scope of the match.- Returns:
- the scope
-
setScope
Sets the scope of the scheme.- Parameters:
scope- the scope
-
getPlayer
Gets theProfileof the player requesting the match.- Returns:
- the player's
Profile
-
setPlayer
Sets theProfileof the player requesting the match.- Parameters:
player- the player
-
getOpponent
TheProfilebelonging to the opponent.- Returns:
- the opponent
-
setOpponent
Sets theProfilebelonging to the opponent.- Parameters:
opponent- the opponent
-
getLastUpdatedTimestamp
Gets the date at which the last modification was made to this match.- Returns:
- the last-updated date
-
setLastUpdatedTimestamp
Sets the date at which the last modification was made to this match.- Parameters:
lastUpdatedTimestamp- the last-updated date
-
getGameId
Gets the system assigned game ID for the match.- Returns:
- the system-assigned game id
-
setGameId
Sets the system assigned game ID for the match.- Parameters:
gameId-
-
getMetadata
Gets the metdata associated with the match.- Returns:
- the metadata associated with the match
-
setMetadata
Sets the metadata associated with the match.- Parameters:
metadata-
-
equals
-
hashCode
public int hashCode() -
toString
-