discord-jadx/app/src/main/java/c/a/z/b0.java
2021-07-04 01:36:06 +02:00

83 lines
2.6 KiB
Java

package c.a.z;
import androidx.annotation.ColorInt;
import c.d.b.a.a;
import d0.z.d.m;
import java.io.Serializable;
/* compiled from: SelectorBottomSheet.kt */
public final class b0 implements Serializable {
private final CharSequence description;
private final String iconUri;
private final String title;
private final Integer titleTextColor;
public b0(String str, CharSequence charSequence, String str2, @ColorInt Integer num) {
m.checkNotNullParameter(str, "title");
this.title = str;
this.description = charSequence;
this.iconUri = str2;
this.titleTextColor = num;
}
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
public /* synthetic */ b0(String str, CharSequence charSequence, String str2, Integer num, int i) {
this(str, charSequence, str2, null);
int i2 = i & 8;
}
public final CharSequence a() {
return this.description;
}
public final String b() {
return this.iconUri;
}
public final String c() {
return this.title;
}
public final Integer d() {
return this.titleTextColor;
}
@Override // java.lang.Object
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof b0)) {
return false;
}
b0 b0Var = (b0) obj;
return m.areEqual(this.title, b0Var.title) && m.areEqual(this.description, b0Var.description) && m.areEqual(this.iconUri, b0Var.iconUri) && m.areEqual(this.titleTextColor, b0Var.titleTextColor);
}
@Override // java.lang.Object
public int hashCode() {
String str = this.title;
int i = 0;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
CharSequence charSequence = this.description;
int hashCode2 = (hashCode + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
String str2 = this.iconUri;
int hashCode3 = (hashCode2 + (str2 != null ? str2.hashCode() : 0)) * 31;
Integer num = this.titleTextColor;
if (num != null) {
i = num.hashCode();
}
return hashCode3 + i;
}
@Override // java.lang.Object
public String toString() {
StringBuilder L = a.L("SimpleBottomSheetItem(title=");
L.append(this.title);
L.append(", description=");
L.append(this.description);
L.append(", iconUri=");
L.append(this.iconUri);
L.append(", titleTextColor=");
return a.B(L, this.titleTextColor, ")");
}
}