Class Game

java.lang.Object
com.github.twitch4j.helix.domain.Game

public class Game
extends java.lang.Object
Game
  • Constructor Summary

    Constructors
    Constructor Description
    Game()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getBoxArtUrl()
    Template URL for the game’s box art.
    java.lang.String getBoxArtUrl​(java.lang.Integer width, java.lang.Integer height)
    Gets the game's box art url for specific dimensions
    java.lang.String getId()
    Game ID.
    java.lang.String getName()
    Game name.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Game

      public Game()
  • Method Details

    • getBoxArtUrl

      public java.lang.String getBoxArtUrl​(java.lang.Integer width, java.lang.Integer height)
      Gets the game's box art url for specific dimensions
      Parameters:
      width - game's box art width
      height - game's box art height
      Returns:
      String
    • getId

      public java.lang.String getId()
      Game ID.
    • getName

      public java.lang.String getName()
      Game name.
    • getBoxArtUrl

      public java.lang.String getBoxArtUrl()
      Template URL for the game’s box art.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object