Class ShieldBreakAPI.RankResponse

java.lang.Object
dev.sbmc.freezy.shieldbreakapi.ShieldBreakAPI.RankResponse
Enclosing class:
ShieldBreakAPI

public static class ShieldBreakAPI.RankResponse extends Object
Response object for rank endpoints.
  • Constructor Details

    • RankResponse

      public RankResponse(String json)
      Constructs a RankResponse from JSON.
      Parameters:
      json - the JSON response string
  • Method Details

    • getRid

      public int getRid()
      Returns:
      the rank ID
    • getPrefix

      public String getPrefix()
      Returns:
      the rank prefix
    • getSuffix

      public String getSuffix()
      Returns:
      the rank suffix
    • getColor

      public String getColor()
      Returns:
      the rank color
    • getCreated

      public Boolean getCreated()
      Returns:
      true if the rank was created, false if updated