Package com.github.twitch4j.helix.domain
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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBoxArtUrl()Template URL for the game’s box art.java.lang.StringgetBoxArtUrl(java.lang.Integer width, java.lang.Integer height)Gets the game's box art url for specific dimensionsjava.lang.StringgetId()Game ID.java.lang.StringgetName()Game name.inthashCode()java.lang.StringtoString()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 widthheight- 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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-