discord-jadx/app/src/main/java/com/discord/api/connectedaccounts/ConnectedAccountIntegration...

69 lines
2.3 KiB
Java

package com.discord.api.connectedaccounts;
import b.d.b.a.a;
import d0.z.d.m;
/* compiled from: ConnectedAccountIntegration.kt */
public final class ConnectedAccountIntegration {
private final ConnectedIntegrationAccount account;
private final ConnectedIntegrationGuild guild;
/* renamed from: id reason: collision with root package name */
private final String f2028id;
private final String type;
public final ConnectedIntegrationAccount a() {
return this.account;
}
public final ConnectedIntegrationGuild b() {
return this.guild;
}
public final String c() {
return this.f2028id;
}
public final String d() {
return this.type;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ConnectedAccountIntegration)) {
return false;
}
ConnectedAccountIntegration connectedAccountIntegration = (ConnectedAccountIntegration) obj;
return m.areEqual(this.f2028id, connectedAccountIntegration.f2028id) && m.areEqual(this.type, connectedAccountIntegration.type) && m.areEqual(this.account, connectedAccountIntegration.account) && m.areEqual(this.guild, connectedAccountIntegration.guild);
}
public int hashCode() {
String str = this.f2028id;
int i = 0;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
String str2 = this.type;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
ConnectedIntegrationAccount connectedIntegrationAccount = this.account;
int hashCode3 = (hashCode2 + (connectedIntegrationAccount != null ? connectedIntegrationAccount.hashCode() : 0)) * 31;
ConnectedIntegrationGuild connectedIntegrationGuild = this.guild;
if (connectedIntegrationGuild != null) {
i = connectedIntegrationGuild.hashCode();
}
return hashCode3 + i;
}
public String toString() {
StringBuilder R = a.R("ConnectedAccountIntegration(id=");
R.append(this.f2028id);
R.append(", type=");
R.append(this.type);
R.append(", account=");
R.append(this.account);
R.append(", guild=");
R.append(this.guild);
R.append(")");
return R.toString();
}
}