58 lines
1.6 KiB
Java
58 lines
1.6 KiB
Java
package com.discord.api.connectedaccounts;
|
|
|
|
import b.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: ConnectedIntegrationGuild.kt */
|
|
public final class ConnectedIntegrationGuild {
|
|
private final String icon;
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
|
private final long f2030id;
|
|
private final String name;
|
|
|
|
public final String a() {
|
|
return this.icon;
|
|
}
|
|
|
|
public final long b() {
|
|
return this.f2030id;
|
|
}
|
|
|
|
public final String c() {
|
|
return this.name;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ConnectedIntegrationGuild)) {
|
|
return false;
|
|
}
|
|
ConnectedIntegrationGuild connectedIntegrationGuild = (ConnectedIntegrationGuild) obj;
|
|
return this.f2030id == connectedIntegrationGuild.f2030id && m.areEqual(this.icon, connectedIntegrationGuild.icon) && m.areEqual(this.name, connectedIntegrationGuild.name);
|
|
}
|
|
|
|
public int hashCode() {
|
|
long j = this.f2030id;
|
|
int i = ((int) (j ^ (j >>> 32))) * 31;
|
|
String str = this.icon;
|
|
int i2 = 0;
|
|
int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31;
|
|
String str2 = this.name;
|
|
if (str2 != null) {
|
|
i2 = str2.hashCode();
|
|
}
|
|
return hashCode + i2;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = a.R("ConnectedIntegrationGuild(id=");
|
|
R.append(this.f2030id);
|
|
R.append(", icon=");
|
|
R.append(this.icon);
|
|
R.append(", name=");
|
|
return a.H(R, this.name, ")");
|
|
}
|
|
}
|