55 lines
1.4 KiB
Java
55 lines
1.4 KiB
Java
package com.discord.api.report;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: ReportReason.kt */
|
|
public final class ReportReason {
|
|
private final String description;
|
|
private final String label;
|
|
private final int reason;
|
|
|
|
public final String a() {
|
|
return this.description;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.label;
|
|
}
|
|
|
|
public final int c() {
|
|
return this.reason;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ReportReason)) {
|
|
return false;
|
|
}
|
|
ReportReason reportReason = (ReportReason) obj;
|
|
return this.reason == reportReason.reason && m.areEqual(this.label, reportReason.label) && m.areEqual(this.description, reportReason.description);
|
|
}
|
|
|
|
public int hashCode() {
|
|
int i = this.reason * 31;
|
|
String str = this.label;
|
|
int i2 = 0;
|
|
int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31;
|
|
String str2 = this.description;
|
|
if (str2 != null) {
|
|
i2 = str2.hashCode();
|
|
}
|
|
return hashCode + i2;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("ReportReason(reason=");
|
|
L.append(this.reason);
|
|
L.append(", label=");
|
|
L.append(this.label);
|
|
L.append(", description=");
|
|
return a.D(L, this.description, ")");
|
|
}
|
|
}
|