discord-jadx/app/src/main/java/com/discord/api/report/ReportNode.java

106 lines
3.5 KiB
Java

package com.discord.api.report;
import c.d.b.a.a;
import d0.z.d.m;
import java.util.List;
/* compiled from: InAppReportsMenu.kt */
public final class ReportNode {
private final ReportNodeBottomButton button;
private final List<ReportNodeChild> children;
private final String description;
private final List<ReportNodeElement> elements;
private final String header;
/* renamed from: id reason: collision with root package name */
private final int f1571id;
private final String info;
private final String menu_name;
private final String subheader;
public final ReportNodeBottomButton a() {
return this.button;
}
public final List<ReportNodeChild> b() {
return this.children;
}
public final List<ReportNodeElement> c() {
return this.elements;
}
public final String d() {
return this.header;
}
public final int e() {
return this.f1571id;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ReportNode)) {
return false;
}
ReportNode reportNode = (ReportNode) obj;
return this.f1571id == reportNode.f1571id && m.areEqual(this.menu_name, reportNode.menu_name) && m.areEqual(this.header, reportNode.header) && m.areEqual(this.subheader, reportNode.subheader) && m.areEqual(this.info, reportNode.info) && m.areEqual(this.description, reportNode.description) && m.areEqual(this.children, reportNode.children) && m.areEqual(this.elements, reportNode.elements) && m.areEqual(this.button, reportNode.button);
}
public final String f() {
return this.info;
}
public final String g() {
return this.subheader;
}
public int hashCode() {
int i = this.f1571id * 31;
String str = this.menu_name;
int i2 = 0;
int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.header;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.subheader;
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
String str4 = this.info;
int hashCode4 = (hashCode3 + (str4 != null ? str4.hashCode() : 0)) * 31;
String str5 = this.description;
int hashCode5 = (hashCode4 + (str5 != null ? str5.hashCode() : 0)) * 31;
List<ReportNodeChild> list = this.children;
int hashCode6 = (hashCode5 + (list != null ? list.hashCode() : 0)) * 31;
List<ReportNodeElement> list2 = this.elements;
int hashCode7 = (hashCode6 + (list2 != null ? list2.hashCode() : 0)) * 31;
ReportNodeBottomButton reportNodeBottomButton = this.button;
if (reportNodeBottomButton != null) {
i2 = reportNodeBottomButton.hashCode();
}
return hashCode7 + i2;
}
public String toString() {
StringBuilder L = a.L("ReportNode(id=");
L.append(this.f1571id);
L.append(", menu_name=");
L.append(this.menu_name);
L.append(", header=");
L.append(this.header);
L.append(", subheader=");
L.append(this.subheader);
L.append(", info=");
L.append(this.info);
L.append(", description=");
L.append(this.description);
L.append(", children=");
L.append(this.children);
L.append(", elements=");
L.append(this.elements);
L.append(", button=");
L.append(this.button);
L.append(")");
return L.toString();
}
}