goauth

Fabric plugin for enhanced whitelists
git clone git://git.bain.cz/goauth.git
Log | Files | Refs | README | LICENSE

AuthUpdate.java (418B)


      1 package cz.bain.plugins.goauth;
      2 
      3 import com.google.gson.annotations.SerializedName;
      4 
      5 public class AuthUpdate {
      6     public enum UpdateType {
      7         @SerializedName("update")
      8         UPDATE,
      9         @SerializedName("remove")
     10         REMOVE
     11     }
     12 
     13     UpdateType type;
     14     String username;
     15 
     16     public UpdateType getType() {
     17         return type;
     18     }
     19 
     20     public String getUsername() {
     21         return username;
     22     }
     23 }