discord-jadx/app/src/main/java/com/discord/utilities/auth/SmartLockSignInAttempt.java

89 lines
2.8 KiB
Java

package com.discord.utilities.auth;
import c.d.b.a.a;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* compiled from: GoogleSmartLockRepo.kt */
public final class SmartLockSignInAttempt {
private final boolean signedInWithoutError;
private final boolean usedAutomaticCredentials;
public SmartLockSignInAttempt() {
this(false, false, 3, null);
}
public SmartLockSignInAttempt(boolean z2, boolean z3) {
this.usedAutomaticCredentials = z2;
this.signedInWithoutError = z3;
}
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
public /* synthetic */ SmartLockSignInAttempt(boolean z2, boolean z3, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? false : z2, (i & 2) != 0 ? true : z3);
}
public static /* synthetic */ SmartLockSignInAttempt copy$default(SmartLockSignInAttempt smartLockSignInAttempt, boolean z2, boolean z3, int i, Object obj) {
if ((i & 1) != 0) {
z2 = smartLockSignInAttempt.usedAutomaticCredentials;
}
if ((i & 2) != 0) {
z3 = smartLockSignInAttempt.signedInWithoutError;
}
return smartLockSignInAttempt.copy(z2, z3);
}
public final boolean component1() {
return this.usedAutomaticCredentials;
}
public final boolean component2() {
return this.signedInWithoutError;
}
public final SmartLockSignInAttempt copy(boolean z2, boolean z3) {
return new SmartLockSignInAttempt(z2, z3);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof SmartLockSignInAttempt)) {
return false;
}
SmartLockSignInAttempt smartLockSignInAttempt = (SmartLockSignInAttempt) obj;
return this.usedAutomaticCredentials == smartLockSignInAttempt.usedAutomaticCredentials && this.signedInWithoutError == smartLockSignInAttempt.signedInWithoutError;
}
public final boolean getSignedInWithoutError() {
return this.signedInWithoutError;
}
public final boolean getUsedAutomaticCredentials() {
return this.usedAutomaticCredentials;
}
public int hashCode() {
boolean z2 = this.usedAutomaticCredentials;
int i = 1;
if (z2) {
z2 = true;
}
int i2 = z2 ? 1 : 0;
int i3 = z2 ? 1 : 0;
int i4 = z2 ? 1 : 0;
int i5 = i2 * 31;
boolean z3 = this.signedInWithoutError;
if (!z3) {
i = z3 ? 1 : 0;
}
return i5 + i;
}
public String toString() {
StringBuilder L = a.L("SmartLockSignInAttempt(usedAutomaticCredentials=");
L.append(this.usedAutomaticCredentials);
L.append(", signedInWithoutError=");
return a.G(L, this.signedInWithoutError, ")");
}
}