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 TypeMethodDescriptionboolean
Gets 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.TheProfile
belonging to the opponent.Gets theProfile
of the player requesting the match.Gets the desired matchmaking scheme.getScope()
Gets the scope of the match.int
hashCode()
void
Sets the system assigned game ID for the match.void
Sets the unique server-assigned ID of this match.void
setLastUpdatedTimestamp
(Long lastUpdatedTimestamp) Sets the date at which the last modification was made to this match.void
setMetadata
(Map<String, Object> metadata) Sets the metadata associated with the match.void
setOpponent
(Profile opponent) Sets theProfile
belonging to the opponent.void
Sets theProfile
of the player requesting the match.void
Sets the desired matchmaking scheme.void
Sets 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 theProfile
of the player requesting the match.- Returns:
- the player's
Profile
-
setPlayer
Sets theProfile
of the player requesting the match.- Parameters:
player
- the player
-
getOpponent
TheProfile
belonging to the opponent.- Returns:
- the opponent
-
setOpponent
Sets theProfile
belonging 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
-