package com.discord.api.report; import c.d.b.a.a; import d0.z.d.m; /* compiled from: InAppReportsMenu.kt */ public final class NodeResult { private final ReportNodeChild destination; private final NodeElementResult elementResult; private final ReportNode node; public NodeResult(ReportNode reportNode, ReportNodeChild reportNodeChild, NodeElementResult nodeElementResult) { m.checkNotNullParameter(reportNode, "node"); this.node = reportNode; this.destination = reportNodeChild; this.elementResult = nodeElementResult; } public final ReportNodeChild a() { return this.destination; } public final NodeElementResult b() { return this.elementResult; } public final ReportNode c() { return this.node; } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof NodeResult)) { return false; } NodeResult nodeResult = (NodeResult) obj; return m.areEqual(this.node, nodeResult.node) && m.areEqual(this.destination, nodeResult.destination) && m.areEqual(this.elementResult, nodeResult.elementResult); } public int hashCode() { ReportNode reportNode = this.node; int i = 0; int hashCode = (reportNode != null ? reportNode.hashCode() : 0) * 31; ReportNodeChild reportNodeChild = this.destination; int hashCode2 = (hashCode + (reportNodeChild != null ? reportNodeChild.hashCode() : 0)) * 31; NodeElementResult nodeElementResult = this.elementResult; if (nodeElementResult != null) { i = nodeElementResult.hashCode(); } return hashCode2 + i; } public String toString() { StringBuilder L = a.L("NodeResult(node="); L.append(this.node); L.append(", destination="); L.append(this.destination); L.append(", elementResult="); L.append(this.elementResult); L.append(")"); return L.toString(); } }