discord-jadx/app/src/main/java/com/discord/api/application/Team.java

54 lines
1.5 KiB
Java

package com.discord.api.application;
import b.d.b.a.a;
import d0.z.d.m;
/* compiled from: Team.kt */
public final class Team {
private final String icon;
/* renamed from: id reason: collision with root package name */
private final long f2005id;
private final String name;
private final long ownerUserId;
public final long a() {
return this.f2005id;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Team)) {
return false;
}
Team team = (Team) obj;
return this.f2005id == team.f2005id && m.areEqual(this.icon, team.icon) && m.areEqual(this.name, team.name) && this.ownerUserId == team.ownerUserId;
}
public int hashCode() {
long j = this.f2005id;
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();
}
long j2 = this.ownerUserId;
return ((hashCode + i2) * 31) + ((int) (j2 ^ (j2 >>> 32)));
}
public String toString() {
StringBuilder R = a.R("Team(id=");
R.append(this.f2005id);
R.append(", icon=");
R.append(this.icon);
R.append(", name=");
R.append(this.name);
R.append(", ownerUserId=");
return a.B(R, this.ownerUserId, ")");
}
}