73 lines
2.1 KiB
Java
73 lines
2.1 KiB
Java
package b.a.q.l0;
|
|
|
|
import com.discord.models.domain.ModelAuditLogEntry;
|
|
import d0.z.d.m;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: WiredHeadsetState.kt */
|
|
public abstract class a {
|
|
|
|
/* compiled from: WiredHeadsetState.kt */
|
|
/* renamed from: b.a.q.l0.a$a reason: collision with other inner class name */
|
|
public static final class C0033a extends a {
|
|
public final String a;
|
|
|
|
/* renamed from: b reason: collision with root package name */
|
|
public final boolean f262b;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public C0033a(String str, boolean z2) {
|
|
super(false, null);
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
|
this.a = str;
|
|
this.f262b = z2;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof C0033a)) {
|
|
return false;
|
|
}
|
|
C0033a aVar = (C0033a) obj;
|
|
return m.areEqual(this.a, aVar.a) && this.f262b == aVar.f262b;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.a;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
boolean z2 = this.f262b;
|
|
if (z2) {
|
|
z2 = true;
|
|
}
|
|
int i = z2 ? 1 : 0;
|
|
int i2 = z2 ? 1 : 0;
|
|
int i3 = z2 ? 1 : 0;
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = b.d.b.a.a.R("PluggedIn(name=");
|
|
R.append(this.a);
|
|
R.append(", hasMic=");
|
|
return b.d.b.a.a.M(R, this.f262b, ")");
|
|
}
|
|
}
|
|
|
|
/* compiled from: WiredHeadsetState.kt */
|
|
public static final class b extends a {
|
|
public static final b a = new b();
|
|
|
|
public b() {
|
|
super(false, null);
|
|
}
|
|
|
|
public String toString() {
|
|
return "WiredHeadsetState.Unplugged";
|
|
}
|
|
}
|
|
|
|
public a(boolean z2, DefaultConstructorMarker defaultConstructorMarker) {
|
|
}
|
|
}
|