Class InfoResponse

java.lang.Object
net.minheur.potoflux.login.response.BaseResponse
net.minheur.potoflux.login.response.InfoResponse

public class InfoResponse extends BaseResponse
Response when you ask for a specific user's info.
You can then use it to fill an Account class
  • Field Details

    • uuid

      public String uuid
      Stores the target user's uuid
    • firstName

      @SerializedName("first_name") public String firstName
      Stores the first name of the targeted user
    • lastName

      @SerializedName("last_name") public String lastName
      Stores the last name of the targeted user
    • email

      @SerializedName("mail") public String email
      Store the email adress of the user
    • perms

      public String[] perms
      Array containing all codes of Perms detained by the user.
    • rank

      public int rank
      Rank of the user.
      0 is full powers, 100 is last
    • locked

      public boolean locked
      Tells if the user is locked. If so, it cannot be modified without having the Perms.LOCK perm.
  • Constructor Details

    • InfoResponse

      public InfoResponse()