java.lang.Object
dev.getelements.elements.sdk.model.match.Match
All Implemented Interfaces:
Serializable

public class Match extends Object implements Serializable
Created by patricktwohig on 7/18/17.
See Also:
  • Field Details

  • Constructor Details

    • Match

      public Match()
  • Method Details

    • getId

      public String getId()
      Gets the unique server-assigned ID of this match.
      Returns:
      the id
    • setId

      public void setId(String id)
      Sets the unique server-assigned ID of this match.
      Parameters:
      id -
    • getScheme

      public String getScheme()
      Gets the desired matchmaking scheme.
      Returns:
      the desired matchmaking scheme.
    • setScheme

      public void setScheme(String scheme)
      Sets the desired matchmaking scheme.
      Parameters:
      scheme -
    • getScope

      public String getScope()
      Gets the scope of the match.
      Returns:
      the scope
    • setScope

      public void setScope(String scope)
      Sets the scope of the scheme.
      Parameters:
      scope - the scope
    • getPlayer

      public Profile getPlayer()
      Gets the Profile of the player requesting the match.
      Returns:
      the player's Profile
    • setPlayer

      public void setPlayer(Profile player)
      Sets the Profile of the player requesting the match.
      Parameters:
      player - the player
    • getOpponent

      public Profile getOpponent()
      The Profile belonging to the opponent.
      Returns:
      the opponent
    • setOpponent

      public void setOpponent(Profile opponent)
      Sets the Profile belonging to the opponent.
      Parameters:
      opponent - the opponent
    • getLastUpdatedTimestamp

      public Long getLastUpdatedTimestamp()
      Gets the date at which the last modification was made to this match.
      Returns:
      the last-updated date
    • setLastUpdatedTimestamp

      public void setLastUpdatedTimestamp(Long lastUpdatedTimestamp)
      Sets the date at which the last modification was made to this match.
      Parameters:
      lastUpdatedTimestamp - the last-updated date
    • getGameId

      public String getGameId()
      Gets the system assigned game ID for the match.
      Returns:
      the system-assigned game id
    • setGameId

      public void setGameId(String gameId)
      Sets the system assigned game ID for the match.
      Parameters:
      gameId -
    • getMetadata

      public Map<String,Object> getMetadata()
      Gets the metdata associated with the match.
      Returns:
      the metadata associated with the match
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
      Sets the metadata associated with the match.
      Parameters:
      metadata -
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object