115 lines
4.7 KiB
Java
115 lines
4.7 KiB
Java
package com.discord.api.report;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: InAppReportsMenu.kt */
|
|
public final class ReportSubmissionBody {
|
|
public static final Companion Companion = new Companion(null);
|
|
private final List<Integer> breadcrumbs;
|
|
private final long channel_id;
|
|
private final Map<String, List<String>> elements;
|
|
private final Long guild_id;
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
|
private final long f1572id;
|
|
private final String language;
|
|
private final Long message_id;
|
|
private final String name;
|
|
private final String variant;
|
|
private final String version;
|
|
|
|
/* compiled from: InAppReportsMenu.kt */
|
|
public static final class Companion {
|
|
public Companion() {
|
|
}
|
|
|
|
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
}
|
|
}
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r13v0, resolved type: java.util.Map<java.lang.String, ? extends java.util.List<java.lang.String>> */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public ReportSubmissionBody(long j, Long l, long j2, Long l2, String str, String str2, String str3, String str4, List<Integer> list, Map<String, ? extends List<String>> map) {
|
|
m.checkNotNullParameter(str, "language");
|
|
m.checkNotNullParameter(str2, "variant");
|
|
m.checkNotNullParameter(str3, "name");
|
|
m.checkNotNullParameter(str4, "version");
|
|
m.checkNotNullParameter(list, "breadcrumbs");
|
|
m.checkNotNullParameter(map, "elements");
|
|
this.f1572id = j;
|
|
this.message_id = l;
|
|
this.channel_id = j2;
|
|
this.guild_id = l2;
|
|
this.language = str;
|
|
this.variant = str2;
|
|
this.name = str3;
|
|
this.version = str4;
|
|
this.breadcrumbs = list;
|
|
this.elements = map;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ReportSubmissionBody)) {
|
|
return false;
|
|
}
|
|
ReportSubmissionBody reportSubmissionBody = (ReportSubmissionBody) obj;
|
|
return this.f1572id == reportSubmissionBody.f1572id && m.areEqual(this.message_id, reportSubmissionBody.message_id) && this.channel_id == reportSubmissionBody.channel_id && m.areEqual(this.guild_id, reportSubmissionBody.guild_id) && m.areEqual(this.language, reportSubmissionBody.language) && m.areEqual(this.variant, reportSubmissionBody.variant) && m.areEqual(this.name, reportSubmissionBody.name) && m.areEqual(this.version, reportSubmissionBody.version) && m.areEqual(this.breadcrumbs, reportSubmissionBody.breadcrumbs) && m.areEqual(this.elements, reportSubmissionBody.elements);
|
|
}
|
|
|
|
public int hashCode() {
|
|
long j = this.f1572id;
|
|
int i = ((int) (j ^ (j >>> 32))) * 31;
|
|
Long l = this.message_id;
|
|
int i2 = 0;
|
|
int hashCode = l != null ? l.hashCode() : 0;
|
|
long j2 = this.channel_id;
|
|
int i3 = (((i + hashCode) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31;
|
|
Long l2 = this.guild_id;
|
|
int hashCode2 = (i3 + (l2 != null ? l2.hashCode() : 0)) * 31;
|
|
String str = this.language;
|
|
int hashCode3 = (hashCode2 + (str != null ? str.hashCode() : 0)) * 31;
|
|
String str2 = this.variant;
|
|
int hashCode4 = (hashCode3 + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
String str3 = this.name;
|
|
int hashCode5 = (hashCode4 + (str3 != null ? str3.hashCode() : 0)) * 31;
|
|
String str4 = this.version;
|
|
int hashCode6 = (hashCode5 + (str4 != null ? str4.hashCode() : 0)) * 31;
|
|
List<Integer> list = this.breadcrumbs;
|
|
int hashCode7 = (hashCode6 + (list != null ? list.hashCode() : 0)) * 31;
|
|
Map<String, List<String>> map = this.elements;
|
|
if (map != null) {
|
|
i2 = map.hashCode();
|
|
}
|
|
return hashCode7 + i2;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("ReportSubmissionBody(id=");
|
|
L.append(this.f1572id);
|
|
L.append(", message_id=");
|
|
L.append(this.message_id);
|
|
L.append(", channel_id=");
|
|
L.append(this.channel_id);
|
|
L.append(", guild_id=");
|
|
L.append(this.guild_id);
|
|
L.append(", language=");
|
|
L.append(this.language);
|
|
L.append(", variant=");
|
|
L.append(this.variant);
|
|
L.append(", name=");
|
|
L.append(this.name);
|
|
L.append(", version=");
|
|
L.append(this.version);
|
|
L.append(", breadcrumbs=");
|
|
L.append(this.breadcrumbs);
|
|
L.append(", elements=");
|
|
return a.F(L, this.elements, ")");
|
|
}
|
|
}
|