discord-jadx/app/src/main/java/c/a/y/c0.java

117 lines
3.7 KiB
Java

package c.a.y;
import c.d.b.a.a;
import d0.z.d.m;
import java.io.Serializable;
/* compiled from: SelectorBottomSheet.kt */
public final class c0 implements Serializable {
private final CharSequence description;
private final Integer iconRes;
private final Integer iconTint;
private final String iconUri;
private final String title;
private final Integer titleEndIcon;
private final Integer titleTextColor;
public c0() {
this(null, null, null, null, null, null, null, 127);
}
public c0(String str, CharSequence charSequence, Integer num, String str2, Integer num2, Integer num3, Integer num4, int i) {
str = (i & 1) != 0 ? null : str;
charSequence = (i & 2) != 0 ? null : charSequence;
num = (i & 4) != 0 ? null : num;
str2 = (i & 8) != 0 ? null : str2;
int i2 = i & 16;
num3 = (i & 32) != 0 ? null : num3;
int i3 = i & 64;
this.title = str;
this.description = charSequence;
this.iconRes = num;
this.iconUri = str2;
this.iconTint = null;
this.titleTextColor = num3;
this.titleEndIcon = null;
}
public final CharSequence a() {
return this.description;
}
public final Integer b() {
return this.iconRes;
}
public final Integer c() {
return this.iconTint;
}
public final String d() {
return this.iconUri;
}
public final String e() {
return this.title;
}
@Override // java.lang.Object
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof c0)) {
return false;
}
c0 c0Var = (c0) obj;
return m.areEqual(this.title, c0Var.title) && m.areEqual(this.description, c0Var.description) && m.areEqual(this.iconRes, c0Var.iconRes) && m.areEqual(this.iconUri, c0Var.iconUri) && m.areEqual(this.iconTint, c0Var.iconTint) && m.areEqual(this.titleTextColor, c0Var.titleTextColor) && m.areEqual(this.titleEndIcon, c0Var.titleEndIcon);
}
public final Integer f() {
return this.titleEndIcon;
}
public final Integer g() {
return this.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;
Integer num = this.iconRes;
int hashCode3 = (hashCode2 + (num != null ? num.hashCode() : 0)) * 31;
String str2 = this.iconUri;
int hashCode4 = (hashCode3 + (str2 != null ? str2.hashCode() : 0)) * 31;
Integer num2 = this.iconTint;
int hashCode5 = (hashCode4 + (num2 != null ? num2.hashCode() : 0)) * 31;
Integer num3 = this.titleTextColor;
int hashCode6 = (hashCode5 + (num3 != null ? num3.hashCode() : 0)) * 31;
Integer num4 = this.titleEndIcon;
if (num4 != null) {
i = num4.hashCode();
}
return hashCode6 + i;
}
@Override // java.lang.Object
public String toString() {
StringBuilder P = a.P("SimpleBottomSheetItem(title=");
P.append(this.title);
P.append(", description=");
P.append(this.description);
P.append(", iconRes=");
P.append(this.iconRes);
P.append(", iconUri=");
P.append(this.iconUri);
P.append(", iconTint=");
P.append(this.iconTint);
P.append(", titleTextColor=");
P.append(this.titleTextColor);
P.append(", titleEndIcon=");
return a.E(P, this.titleEndIcon, ")");
}
}