Class ShieldBreakAPI.RankResponse
java.lang.Object
dev.sbmc.freezy.shieldbreakapi.ShieldBreakAPI.RankResponse
- Enclosing class:
ShieldBreakAPI
Response object for rank endpoints.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RankResponse
Constructs a RankResponse from JSON.- Parameters:
json- the JSON response string
-
-
Method Details
-
getRid
public int getRid()- Returns:
- the rank ID
-
getPrefix
- Returns:
- the rank prefix
-
getSuffix
- Returns:
- the rank suffix
-
getColor
- Returns:
- the rank color
-
getCreated
- Returns:
- true if the rank was created, false if updated
-