94 lines
3.0 KiB
Java
94 lines
3.0 KiB
Java
|
package com.discord.api.report;
|
||
|
|
||
|
import c.d.b.a.a;
|
||
|
import d0.z.d.m;
|
||
|
import java.util.Map;
|
||
|
/* compiled from: InAppReportsMenu.kt */
|
||
|
public final class MenuAPIResponse {
|
||
|
private final String language;
|
||
|
private final String name;
|
||
|
private final Map<Integer, ReportNode> nodes;
|
||
|
private final String postback_url;
|
||
|
private final int root_node_id;
|
||
|
private final int success_node_id;
|
||
|
private final String variant;
|
||
|
private final String version;
|
||
|
|
||
|
public final String a() {
|
||
|
return this.language;
|
||
|
}
|
||
|
|
||
|
public final String b() {
|
||
|
return this.name;
|
||
|
}
|
||
|
|
||
|
public final Map<Integer, ReportNode> c() {
|
||
|
return this.nodes;
|
||
|
}
|
||
|
|
||
|
public final int d() {
|
||
|
return this.root_node_id;
|
||
|
}
|
||
|
|
||
|
public final int e() {
|
||
|
return this.success_node_id;
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof MenuAPIResponse)) {
|
||
|
return false;
|
||
|
}
|
||
|
MenuAPIResponse menuAPIResponse = (MenuAPIResponse) obj;
|
||
|
return m.areEqual(this.name, menuAPIResponse.name) && m.areEqual(this.variant, menuAPIResponse.variant) && m.areEqual(this.version, menuAPIResponse.version) && m.areEqual(this.language, menuAPIResponse.language) && this.success_node_id == menuAPIResponse.success_node_id && this.root_node_id == menuAPIResponse.root_node_id && m.areEqual(this.postback_url, menuAPIResponse.postback_url) && m.areEqual(this.nodes, menuAPIResponse.nodes);
|
||
|
}
|
||
|
|
||
|
public final String f() {
|
||
|
return this.variant;
|
||
|
}
|
||
|
|
||
|
public final String g() {
|
||
|
return this.version;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
String str = this.name;
|
||
|
int i = 0;
|
||
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
||
|
String str2 = this.variant;
|
||
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
||
|
String str3 = this.version;
|
||
|
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
|
||
|
String str4 = this.language;
|
||
|
int hashCode4 = (((((hashCode3 + (str4 != null ? str4.hashCode() : 0)) * 31) + this.success_node_id) * 31) + this.root_node_id) * 31;
|
||
|
String str5 = this.postback_url;
|
||
|
int hashCode5 = (hashCode4 + (str5 != null ? str5.hashCode() : 0)) * 31;
|
||
|
Map<Integer, ReportNode> map = this.nodes;
|
||
|
if (map != null) {
|
||
|
i = map.hashCode();
|
||
|
}
|
||
|
return hashCode5 + i;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = a.L("MenuAPIResponse(name=");
|
||
|
L.append(this.name);
|
||
|
L.append(", variant=");
|
||
|
L.append(this.variant);
|
||
|
L.append(", version=");
|
||
|
L.append(this.version);
|
||
|
L.append(", language=");
|
||
|
L.append(this.language);
|
||
|
L.append(", success_node_id=");
|
||
|
L.append(this.success_node_id);
|
||
|
L.append(", root_node_id=");
|
||
|
L.append(this.root_node_id);
|
||
|
L.append(", postback_url=");
|
||
|
L.append(this.postback_url);
|
||
|
L.append(", nodes=");
|
||
|
return a.F(L, this.nodes, ")");
|
||
|
}
|
||
|
}
|