54 lines
1.5 KiB
Java
54 lines
1.5 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 ReportNodeElementData {
|
|
private final String elementKey;
|
|
private final String elementValue;
|
|
|
|
public ReportNodeElementData(String str, String str2) {
|
|
m.checkNotNullParameter(str, "elementKey");
|
|
m.checkNotNullParameter(str2, "elementValue");
|
|
this.elementKey = str;
|
|
this.elementValue = str2;
|
|
}
|
|
|
|
public final String a() {
|
|
return this.elementKey;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.elementValue;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ReportNodeElementData)) {
|
|
return false;
|
|
}
|
|
ReportNodeElementData reportNodeElementData = (ReportNodeElementData) obj;
|
|
return m.areEqual(this.elementKey, reportNodeElementData.elementKey) && m.areEqual(this.elementValue, reportNodeElementData.elementValue);
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.elementKey;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.elementValue;
|
|
if (str2 != null) {
|
|
i = str2.hashCode();
|
|
}
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("ReportNodeElementData(elementKey=");
|
|
L.append(this.elementKey);
|
|
L.append(", elementValue=");
|
|
return a.D(L, this.elementValue, ")");
|
|
}
|
|
}
|