Package xyz.titanecho.topgamesapi.model
Klasse Game
java.lang.Object
xyz.titanecho.topgamesapi.model.Game
Represents a game object from the Top-Games API.
This class models the data structure of a game as returned by the API.
-
Konstruktordetails
-
Game
public Game()
-
-
Methodendetails
-
getId
- Gibt zurück:
- The unique identifier of the game.
-
setId
-
getName
- Gibt zurück:
- The name of the game.
-
setName
-
getRank
public int getRank()- Gibt zurück:
- The ranking of the game.
-
setRank
public void setRank(int rank) -
getPublisher
- Gibt zurück:
- The publisher of the game.
-
setPublisher
-
getScore
public double getScore()- Gibt zurück:
- The score or rating of the game.
-
setScore
public void setScore(double score) -
getCoverImageUrl
- Gibt zurück:
- The URL of the game's cover image.
-
setCoverImageUrl
-
toString
-