79 lines
2.3 KiB
Java
79 lines
2.3 KiB
Java
package com.discord.api.report;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.util.List;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: InAppReportsMenu.kt */
|
|
public final class ReportNodeElement {
|
|
public static final Companion Companion = new Companion(null);
|
|
private final List<ReportNodeElementData> data;
|
|
private final String name;
|
|
private final boolean should_submit_data;
|
|
private final String type;
|
|
|
|
/* compiled from: InAppReportsMenu.kt */
|
|
public static final class Companion {
|
|
public Companion() {
|
|
}
|
|
|
|
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
}
|
|
}
|
|
|
|
public final List<ReportNodeElementData> a() {
|
|
return this.data;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.name;
|
|
}
|
|
|
|
public final String c() {
|
|
return this.type;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ReportNodeElement)) {
|
|
return false;
|
|
}
|
|
ReportNodeElement reportNodeElement = (ReportNodeElement) obj;
|
|
return m.areEqual(this.type, reportNodeElement.type) && m.areEqual(this.name, reportNodeElement.name) && m.areEqual(this.data, reportNodeElement.data) && this.should_submit_data == reportNodeElement.should_submit_data;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.type;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.name;
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
List<ReportNodeElementData> list = this.data;
|
|
if (list != null) {
|
|
i = list.hashCode();
|
|
}
|
|
int i2 = (hashCode2 + i) * 31;
|
|
boolean z2 = this.should_submit_data;
|
|
if (z2) {
|
|
z2 = true;
|
|
}
|
|
int i3 = z2 ? 1 : 0;
|
|
int i4 = z2 ? 1 : 0;
|
|
int i5 = z2 ? 1 : 0;
|
|
return i2 + i3;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("ReportNodeElement(type=");
|
|
L.append(this.type);
|
|
L.append(", name=");
|
|
L.append(this.name);
|
|
L.append(", data=");
|
|
L.append(this.data);
|
|
L.append(", should_submit_data=");
|
|
return a.G(L, this.should_submit_data, ")");
|
|
}
|
|
}
|