Class ShieldBreakAPI.RankResponse
java.lang.Object
dev.sbmc.freezy.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.- Returns:
- the rank ID
-
getPrefix
-
getSuffix
-
getColor
-
getCreated
Returns whether the rank was created.- Returns:
- true if the rank was created, false if updated
-