47 lines
1.1 KiB
Java
47 lines
1.1 KiB
Java
package com.discord.api.report;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: InAppReportsMenu.kt */
|
|
public final class ReportNodeChild {
|
|
private final String name;
|
|
private final int ref;
|
|
|
|
public ReportNodeChild(String str, int i) {
|
|
m.checkNotNullParameter(str, "name");
|
|
this.name = str;
|
|
this.ref = i;
|
|
}
|
|
|
|
public final String a() {
|
|
return this.name;
|
|
}
|
|
|
|
public final int b() {
|
|
return this.ref;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ReportNodeChild)) {
|
|
return false;
|
|
}
|
|
ReportNodeChild reportNodeChild = (ReportNodeChild) obj;
|
|
return m.areEqual(this.name, reportNodeChild.name) && this.ref == reportNodeChild.ref;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.name;
|
|
return ((str != null ? str.hashCode() : 0) * 31) + this.ref;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("ReportNodeChild(name=");
|
|
L.append(this.name);
|
|
L.append(", ref=");
|
|
return a.z(L, this.ref, ")");
|
|
}
|
|
}
|