package com.namelessmc.java_api;

public class UserFilter<FilterValue> {

	public static UserFilter<Boolean> BANNED = new UserFilter<>("banned", true);
	public static UserFilter<Boolean> UNBANNED = new UserFilter<>("banned", false);
	public static UserFilter<Boolean> VERIFIED = new UserFilter<>("verified", true);
	public static UserFilter<Boolean> UNVERIFIED = new UserFilter<>("verified", false);

	private final String filterName;
	private FilterValue value;

	public UserFilter(final String filterName, final FilterValue defaultValue) {
		this.filterName = filterName;
		this.value = defaultValue;
	}

	public void value(final FilterValue value) {
		this.value = value;
	}

	public String getName() {
		return this.filterName;
	}

	public FilterValue getValue() {
		return this.value;
	}

}

@@ -62,16 +62,20 @@
 terValue
+Type
 %3E %7B%0A%0A%09pu
@@ -396,16 +396,207 @@
  false);
+%0A%09public static UserFilter%3CBoolean%3E DISCORD_LINKED = new UserFilter%3C%3E(%22discord_linked%22, true);%0A%09public static UserFilter%3CBoolean%3E DISCORD_UNLINKED = new UserFilter%3C%3E(%22discord_linked%22, false);
 %0A%0A%09priva
@@ -639,24 +639,28 @@
  FilterValue
+Type
  value;%0A%0A%09pu
@@ -717,16 +717,20 @@
 terValue
+Type
  default
@@ -839,16 +839,20 @@
 terValue
+Type
  value) 
@@ -955,16 +955,20 @@
 terValue
+Type
  getValu

add discord linked filters