package ch.mod_p.sre24.e5.ui.login;

/* loaded from: classes.dex */
class LoginFormState {
    private final boolean isDataValid;
    private final Integer passwordError;
    private final Integer usernameError;

    Integer getPasswordError() {
        return this.passwordError;
    }

    Integer getUsernameError() {
        return this.usernameError;
    }

    boolean isDataValid() {
        return this.isDataValid;
    }

    LoginFormState(Integer num, Integer num2) {
        this.usernameError = num;
        this.passwordError = num2;
        this.isDataValid = false;
    }

    LoginFormState(boolean z) {
        this.usernameError = null;
        this.passwordError = null;
        this.isDataValid = z;
    }
}
