45 lines
1.3 KiB
Java
45 lines
1.3 KiB
Java
package com.discord.api.connectedaccounts;
|
|
|
|
import b.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: ConnectedIntegrationAccount.kt */
|
|
public final class ConnectedIntegrationAccount {
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
|
private final String f2029id;
|
|
private final String name;
|
|
|
|
public final String a() {
|
|
return this.name;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ConnectedIntegrationAccount)) {
|
|
return false;
|
|
}
|
|
ConnectedIntegrationAccount connectedIntegrationAccount = (ConnectedIntegrationAccount) obj;
|
|
return m.areEqual(this.f2029id, connectedIntegrationAccount.f2029id) && m.areEqual(this.name, connectedIntegrationAccount.name);
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.f2029id;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.name;
|
|
if (str2 != null) {
|
|
i = str2.hashCode();
|
|
}
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = a.R("ConnectedIntegrationAccount(id=");
|
|
R.append(this.f2029id);
|
|
R.append(", name=");
|
|
return a.H(R, this.name, ")");
|
|
}
|
|
}
|