Class Series


  • public class Series
    extends IdentifiableResource
    A collection of multiple games as part of one franchise.
    For example: Super Mario, Sonic, Doom, Halo, and so on.
    The special series named N/A is a placeholder when a game is not part of a series.

    This class is immutable and thread-safe.
    • Constructor Detail

      • Series

        public Series​(kong.unirest.json.JSONObject data)
    • Method Detail

      • getNames

        public Names getNames()
        Gets the Names for this series.
        Returns:
        a Names for the series name
      • getAbbreviation

        public String getAbbreviation()
        Gets the abbreviation for this series as used on SRC.
        Returns:
        the abbreviation
      • getWeblink

        public String getWeblink()
        Gets the link to this series on SRC.
        Returns:
        the link
      • getDiscord

        public Optional<String> getDiscord()
        Gets the Discord invite link for the Discord server dedicated to this series.
        Returns:
        an Optional with the invite link
      • getCreationTime

        public Optional<Instant> getCreationTime()
        Gets the time that this series was created on SRC.
        Returns:
        an Optional with the Instant this series was created, empty if unknown.
      • getAssets

        public GameAssets getAssets()
        Gets the GameAssets for this series.
        Returns:
        a GameAssets object