Class BanEntry<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Date created  
      static java.text.SimpleDateFormat DATE_FORMAT  
      protected java.util.Date expires  
      protected java.lang.String reason  
      protected java.lang.String source  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BanEntry​(T p_i1174_1_, com.google.gson.JsonObject p_i1174_2_)  
        BanEntry​(T p_i46334_1_, java.util.Date p_i46334_2_, java.lang.String p_i46334_3_, java.util.Date p_i46334_4_, java.lang.String p_i46334_5_)  
    • Field Detail

      • DATE_FORMAT

        public static final java.text.SimpleDateFormat DATE_FORMAT
      • created

        protected final java.util.Date created
      • source

        protected final java.lang.String source
      • expires

        protected final java.util.Date expires
      • reason

        protected final java.lang.String reason
    • Constructor Detail

      • BanEntry

        public BanEntry​(T p_i46334_1_,
                        @Nullable
                        java.util.Date p_i46334_2_,
                        @Nullable
                        java.lang.String p_i46334_3_,
                        @Nullable
                        java.util.Date p_i46334_4_,
                        @Nullable
                        java.lang.String p_i46334_5_)
      • BanEntry

        protected BanEntry​(T p_i1174_1_,
                           com.google.gson.JsonObject p_i1174_2_)
    • Method Detail

      • getSource

        public java.lang.String getSource()
      • getExpires

        public java.util.Date getExpires()
      • getReason

        public java.lang.String getReason()
      • serialize

        protected void serialize​(com.google.gson.JsonObject p_152641_1_)
        Specified by:
        serialize in class UserListEntry<T>