public static Staffing fromString(String inputString) {
        if (inputString != null) {
            for (Staffing staffing : Staffing.values()) {
                if (inputString.equalsIgnoreCase(staffing.text)) {
                    return staffing;
                }
            }
        }
        return UNRESTRICTED;
    }